/* ============================================================
   Webmate — production stylesheet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink: #0d0e23;
  --ink-2: #2c2f4a;
  --mint: #2ee6a8;
  --mint-dark: #25c893;
  --green: #0ea77a;
  --green-dark: #0b8560;
  --muted: #4b4e6d;
  --line: #e8eaf3;
  --wash: #f4f5fb;
  --mint-wash: #eafff6;
  --shadow-sm: 0 1px 3px rgba(13,14,35,.06);
  --shadow-md: 0 12px 28px rgba(13,14,35,.1);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }

.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }

/* ---------- Layout ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1200px; }
.container--narrow { max-width: 820px; }
.section { padding: 88px 0; }
.section--wash { background: var(--wash); }
.section--ink { background: var(--ink); color: #fff; }
.center { text-align: center; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green); margin: 0 0 14px;
}
.eyebrow--mint { color: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; text-align: center;
  padding: 14px 28px; border-radius: 999px; font-size: 16px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mint); color: var(--ink); }
.btn-primary:hover { background: var(--mint-dark); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--mint); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--line); color: var(--ink); }
.btn-lg { padding: 16px 34px; font-size: 17px; }

/* ---------- Banner ---------- */
.banner {
  position: relative; background: var(--mint); color: var(--ink);
  font-size: 14px; padding: 10px 48px 10px 24px; text-align: center;
}
.banner p { margin: 0; }
.banner a { color: var(--ink); text-decoration: underline; font-weight: 700; }
.banner__close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--ink); font-size: 16px;
  cursor: pointer; line-height: 1;
}
.banner.is-hidden { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,14,35,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.nav__logo img { height: 30px; }
.nav__links {
  display: flex; align-items: center; gap: 28px;
  flex: 1 1 auto; justify-content: center; flex-wrap: wrap;
}
.nav__links a { color: rgba(255,255,255,.9); font-size: 15px; font-weight: 600; }
.nav__links a:hover { color: #fff; }
.nav__cta { flex: 0 0 auto; padding: 11px 22px; font-size: 15px; }
.nav__cta:hover { color: var(--ink); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 24px 48px; text-align: center; }
.hero__reviews {
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap; margin-bottom: 44px;
}
.hero__review { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.hero__review img { height: 16px; }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.08;
  max-width: 960px; margin: 0 auto 20px;
}
.hero__sub {
  font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: var(--muted);
  max-width: 660px; margin: 0 auto 32px; line-height: 1.5; text-wrap: pretty;
}
.hero__rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; }
.hero__rating img { height: 16px; }
.hero__rating span { font-size: 14px; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 16px 0 72px; }
.marquee__row { display: flex; gap: 20px; width: max-content; }
.marquee__row img { height: 280px; border-radius: 14px; }
.marquee__row--a { animation: marquee 60s linear infinite; }
.marquee__row--b { animation: marqueeRev 70s linear infinite; margin-top: 20px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- Section headings ---------- */
.section h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; }
.section__lead { font-size: 17px; color: var(--muted); line-height: 1.6; text-wrap: pretty; }
.section--ink .section__lead { color: rgba(255,255,255,.75); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: 18px; padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.card h3 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }

.icon-badge {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--mint-wash); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.icon-badge--sm { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px; }
.card__num { font-size: 44px; font-weight: 800; color: #e0e4f5; line-height: 1; }
.card__step { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.card__meta {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid #eef0f7; font-size: 14px; font-weight: 600; color: var(--ink);
}
.card__meta svg { color: var(--green); }

/* two-column feature block */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.split img { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); }
.feature-list { display: grid; gap: 14px; margin-top: 26px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; list-style: none; }
.feature-list { padding: 0; }
.feature-list svg { flex: none; }

/* ink CTA card (book/contact) */
.cta-card {
  background: var(--ink); border-radius: 24px; overflow: hidden; color: #fff;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.cta-card__body { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-card__body h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; margin: 0 0 14px; }
.cta-card__body p { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.6; margin: 0 0 28px; }
.cta-card img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }

/* why-choose list */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; margin-top: 48px; }
.why-item { border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; }
.why-item h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.why-item p { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.6; margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; }
.price-card--featured { border: 2px solid var(--mint); box-shadow: 0 12px 32px rgba(46,230,168,.2); }
.price-card h2 { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.price-card__amount { font-size: 34px; font-weight: 800; position: relative; white-space: nowrap; }
.price-card__from {
  display: inline-block; vertical-align: middle;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-dark); background: var(--mint-wash);
  padding: 3px 9px; border-radius: 999px; margin-right: 8px; transform: translateY(-3px);
}
.price-card__amount span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-card__addon { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--green); margin: 8px 0 12px; }
.price-card__desc { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0 0 22px; }
.price-card .btn { display: block; margin-bottom: 26px; padding: 13px 24px; font-size: 15px; }
.price-feats { display: grid; gap: 12px; font-size: 15px; }
.price-feats div { display: flex; gap: 10px; align-items: center; }
.price-feats img { width: 18px; height: 18px; }
.price-note { margin: 28px auto 0; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: 14px; padding: 20px 24px; background: var(--wash); }
.faq[open] { background: var(--wash); }
.faq summary { font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 14px 0 0; }
.faq__long { font-size: 15px; color: var(--muted); line-height: 1.65; margin-top: 14px; }
.faq__long p { margin: 0 0 8px; }

/* ---------- Testimonial ---------- */
.quote { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; max-width: 860px; margin: 0 auto 28px; text-wrap: pretty; }
.quote-author { font-size: 15px; font-weight: 700; }
.quote-role { font-size: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--mint); color: var(--ink); padding: 72px 24px; text-align: center; }
.cta-band .eyebrow { color: var(--ink); opacity: .8; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 0 0 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 36px; }
.footer__head { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 14px; }
.footer__col a, .footer__text { display: block; color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 10px; }
.footer__col a:hover { color: #fff; }
.footer__text { line-height: 1.5; }
.footer__bar {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer__bar img { height: 26px; }
.footer__bar span { font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Our Work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.work-card { color: var(--ink); }
.work-card:hover { color: var(--ink); }
.work-card img { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; margin-bottom: 14px; transition: transform .25s ease; }
.work-card:hover img { transform: translateY(-4px); }
.work-card__title { font-size: 19px; font-weight: 800; }

/* ---------- Project page ---------- */
.case__back { color: var(--muted); font-size: 14px; font-weight: 700; display: inline-block; margin-bottom: 28px; }
.case__back:hover { color: var(--ink); }
.case h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 20px; }
.case__blurb { font-size: 19px; color: var(--muted); line-height: 1.65; max-width: 680px; margin: 0 0 28px; text-wrap: pretty; }
.case__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.case__tags-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); width: 100%; margin-bottom: 2px; }
.tag { background: var(--mint-wash); color: var(--green-dark); font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.case__hero { width: 100%; border-radius: var(--radius); }
.case__gallery { display: grid; gap: 24px; }
.case__gallery img { width: 100%; border-radius: 18px; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 20px; background: var(--wash); border-radius: var(--radius); padding: 36px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; }
.form input, .form textarea {
  font-family: inherit; font-size: 15px; padding: 13px 16px;
  border: 1px solid #dde0ee; border-radius: 10px; background: #fff;
}
.form textarea { resize: vertical; }
.form__hint { font-size: 13px; font-weight: 500; color: var(--muted); }
.form__terms { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.form__terms input { width: 16px; height: 16px; }
.form button { border: none; }
.contact-note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 24px; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.is-loaded { opacity: 0; visibility: hidden; }
.preloader__mark {
  width: 120px; height: auto; display: block;
  animation: prepulse 1.5s ease-in-out infinite;
}
@keyframes prepulse {
  0%, 100% { transform: scale(1) translateY(0); opacity: 1; }
  50% { transform: scale(.9) translateY(-4px); opacity: .72; }
}
.no-js #preloader { display: none; }

/* ---------- Social icons ---------- */
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; margin: 0;
  background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.socials a:hover { background: var(--mint); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--zoom { transform: scale(.9); }
.reveal--blur { filter: blur(10px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.reveal--blur.is-visible { filter: blur(0); }

[data-stagger] > * { opacity: 0; transform: translateY(34px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: .05s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: .15s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: .25s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: .35s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: .45s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: .55s; }

.parallax { will-change: transform; }

.card, .price-card { transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13,14,35,.12); }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(13,14,35,.12); }
.icon-badge { transition: transform .28s cubic-bezier(.34,1.56,.64,1); }
.card:hover .icon-badge { transform: rotate(-6deg) scale(1.08); }

.hero h1 .serif {
  background: linear-gradient(100deg, var(--green) 0%, var(--mint) 50%, var(--green) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 6s ease-in-out infinite; }

.nav { transition: padding .25s ease, background .25s ease, box-shadow .25s ease; }
.nav.is-scrolled { background: rgba(13,14,35,.98); box-shadow: 0 8px 30px rgba(0,0,0,.28); }
.nav.is-scrolled .nav__inner { padding-top: 9px; padding-bottom: 9px; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .preloader__mark, .hero h1 .serif, .floaty, .marquee__row--a, .marquee__row--b { animation: none !important; }
  .parallax { transform: none !important; }
}
.fade-up { animation: fadeUp .7s ease both; }
.fade-up-1 { animation: fadeUp .7s .1s ease both; }
.fade-up-2 { animation: fadeUp .7s .2s ease both; }
.fade-up-3 { animation: fadeUp .7s .3s ease both; }
.fade-up-4 { animation: fadeUp .7s .4s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.maxw-680 { max-width: 680px; margin-left: auto; margin-right: auto; }
.maxw-620 { max-width: 620px; margin-left: auto; margin-right: auto; }
.maxw-760 { max-width: 760px; margin-left: auto; margin-right: auto; }
.maxw-640 { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .nav__inner { position: relative; }
  .nav__logo { order: 1; }
  .nav__cta { order: 2; margin-left: auto; padding: 10px 18px; }
  .nav__toggle {
    display: flex; order: 3; flex-direction: column; gap: 5px; margin-left: 12px;
    background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
  .nav__links {
    order: 4; display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; flex-basis: 100%;
    background: var(--ink); padding: 8px 24px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .split img { height: 320px; }
  .cta-card__body { padding: 40px 32px; }
}
@media (max-width: 520px) {
  .hero__reviews { gap: 16px; }
  .marquee__row img { height: 200px; }
}
