/* ==========================================================================
   D Rosa Digital — design system
   Dark studio canvas · editorial serif display · rose accent
   ========================================================================== */

:root {
  --ink:        #09090D;
  --ink-soft:   #101016;
  --ink-lift:   #17171F;
  --line:       rgba(255,255,255,.10);
  --line-soft:  rgba(255,255,255,.055);
  --paper:      #F7F5F2;
  --paper-dim:  rgba(247,245,242,.70);
  --paper-mute: rgba(247,245,242,.48);
  --rose:       #E0446E;
  --rose-lift:  #F2718F;
  --rose-glow:  rgba(224,68,110,.15);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(.22,.9,.3,1);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --gutter: clamp(1.15rem, 5vw, 2.5rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 2px solid var(--rose-lift); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--rose); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--tight { max-width: 820px; }
.container--mid { max-width: 1000px; }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 400;
  line-height: 1.07; letter-spacing: -.015em;
}
h1 { font-size: clamp(2.8rem, 7.6vw, 5.4rem); }
h2 { font-size: clamp(2.05rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

em, .em { font-style: italic; color: var(--rose-lift); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-size: .73rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--rose);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--rose); opacity: .7; }
.eyebrow--plain::before { display: none; }

.lede { font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--paper-dim); max-width: 62ch; }
p { color: var(--paper-dim); }
p.tight { max-width: 66ch; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .22s var(--ease-out), background .22s var(--ease-out),
              border-color .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 8px 30px -10px var(--rose); }
.btn-primary:hover { background: var(--rose-lift); box-shadow: 0 14px 40px -12px var(--rose); }
.btn-ghost { border: 1px solid var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--rose);
  transition: gap .22s var(--ease-out);
}
.text-link:hover { gap: .75rem; }
.text-link svg { width: 1em; height: 1em; }

/* ---------- Masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 200;
  background: rgba(9,9,13,.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.masthead-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0;
  background: var(--rose); box-shadow: 0 0 0 4px var(--rose-glow);
}
.brand-mark { width: 26px; height: 26px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.01em; line-height: 1; }
.brand-name span { font-style: italic; color: var(--rose-lift); }

.nav-primary { display: none; align-items: center; gap: 2rem; }
.nav-primary a {
  position: relative; font-size: .93rem; font-weight: 500;
  color: var(--paper-mute); transition: color .2s var(--ease-out);
}
.nav-primary a:hover, .nav-primary a[aria-current="page"] { color: var(--paper); }
.nav-primary a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--rose); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.nav-actions .btn { padding: .7rem 1.3rem; font-size: .88rem; }
.nav-cta { display: none; }

.nav-toggle {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--paper);
}
.nav-toggle svg { width: 1.15rem; height: 1.15rem; }

.mobile-nav { display: none; flex-direction: column; padding-block: .8rem 1.4rem; border-top: 1px solid var(--line-soft); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: .85rem .2rem; font-size: 1.02rem; font-weight: 500;
  border-bottom: 1px solid var(--line-soft); color: var(--paper-dim);
}
.mobile-nav a:last-child { border-bottom: 0; }

@media (min-width: 940px) {
  .nav-primary { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--lift { background: var(--ink-soft); }

.section-head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); max-width: 68ch; }
.section-head h2 { margin-block: .9rem .9rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(4rem, 10vw, 7rem); }
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  opacity: .5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, var(--ink) 12%, rgba(9,9,13,.86) 44%, rgba(9,9,13,.35) 78%),
    linear-gradient(to top, var(--ink) 2%, transparent 42%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: end; }
.hero h1 { margin-block: 1.3rem 1.5rem; max-width: 15ch; }
.hero .lede { margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-services { display: grid; gap: .55rem; align-content: end; }
.hero-services span {
  font-size: .92rem; font-weight: 500; color: var(--paper-mute);
  padding-block: .4rem; border-bottom: 1px solid var(--line-soft);
}
.hero-services span:first-child { color: var(--paper); }

.hero-statement {
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.3; max-width: 30ch; color: var(--paper);
}
.hero-statement em { color: var(--rose-lift); }

/* ---------- Offer band ---------- */

.offer-band {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 0% 0%, rgba(224,68,110,.10), transparent 55%), var(--ink-soft);
  padding: clamp(1.8rem, 5vw, 3.4rem);
}
.offer-band h2 { margin-block: 1rem 1.1rem; max-width: 20ch; }
.offer-steps { display: grid; grid-template-columns: 1fr; gap: 1.6rem; margin-top: clamp(2rem, 4vw, 3rem); }
.offer-step { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.offer-step-num { font-family: var(--font-display); font-size: 1.05rem; color: var(--rose); display: block; margin-bottom: .5rem; }
.offer-step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.offer-step p { font-size: .93rem; }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-soft); padding: clamp(1.5rem, 3.4vw, 2.2rem);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.card-icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--rose-glow); color: var(--rose-lift); margin-bottom: 1.3rem;
}
.card-icon svg { width: 1.35rem; height: 1.35rem; }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .95rem; }
.card-list { list-style: none; padding: 0; margin-top: 1.2rem; display: grid; gap: .6rem; }
.card-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .89rem; color: var(--paper-mute); }
.card-list svg { width: .95rem; height: .95rem; color: var(--rose); flex-shrink: 0; margin-top: .35rem; }

/* ---------- Numbered services ---------- */

.svc-item {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line);
}
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-num {
  font-family: var(--font-body); font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rose);
}
.svc-body h3 { margin-bottom: .8rem; max-width: 22ch; }
.svc-body p { max-width: 60ch; margin-bottom: 1.2rem; }

/* ---------- Work / case study ---------- */

.work-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-soft); overflow: hidden; }
.work-media { position: relative; background: var(--ink-lift); padding: clamp(1rem, 3vw, 2rem); }
.work-media > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top center; border-radius: var(--radius); }
.work-body { padding: clamp(1.5rem, 4vw, 2.6rem); }
.work-tag {
  display: inline-block; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper-mute); margin-bottom: 1.1rem;
}
.work-body h3 { margin-bottom: .8rem; }

.compare-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.8rem; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem; }
.compare-col h4 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem;
}
.compare-col--before { background: rgba(255,255,255,.02); }
.compare-col--before h4 { color: var(--paper-mute); }
.compare-col--after { background: var(--rose-glow); border-color: rgba(224,68,110,.3); }
.compare-col--after h4 { color: var(--rose-lift); }
.compare-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.compare-col li { font-size: .88rem; color: var(--paper-dim); display: flex; gap: .55rem; align-items: flex-start; }
.compare-col li::before { content: "—"; color: var(--paper-mute); flex-shrink: 0; }
.compare-col--after li::before { content: "+"; color: var(--rose-lift); font-weight: 700; }

/* ---------- Stats ---------- */

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw, 3rem);
  line-height: 1; color: var(--paper); display: block; margin-bottom: .4rem;
}
.stat-num em { color: var(--rose-lift); }
.stat-label { font-size: .83rem; color: var(--paper-mute); }

/* ---------- Process ---------- */

.process-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem;
  padding-block: 1.7rem; border-top: 1px solid var(--line-soft); align-items: start;
}
.process-item:last-child { border-bottom: 1px solid var(--line-soft); }
.process-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--rose); min-width: 2.4rem; padding-top: .25rem; }
.process-item h3 { font-size: 1.28rem; margin-bottom: .45rem; }
.process-item p { font-size: .93rem; max-width: 60ch; }

/* ---------- Guarantee panel (stands in for testimonials until real ones exist) ---------- */

.guarantee {
  border: 1px solid rgba(224,68,110,.3); border-radius: var(--radius-lg);
  background: radial-gradient(100% 130% at 50% 0%, rgba(224,68,110,.14), transparent 62%), var(--ink-soft);
  padding: clamp(1.8rem, 5vw, 3.4rem); text-align: center;
}
.guarantee h2 { margin-block: 1rem 1.1rem; max-width: 24ch; margin-inline: auto; }
.guarantee p { max-width: 56ch; margin-inline: auto; }
.guarantee-points { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2.4rem; text-align: left; }
.guarantee-point { display: flex; gap: .8rem; align-items: flex-start; }
.guarantee-point svg { width: 1.2rem; height: 1.2rem; color: var(--rose); flex-shrink: 0; margin-top: .2rem; }
.guarantee-point strong { display: block; font-size: .97rem; margin-bottom: .2rem; }
.guarantee-point span { font-size: .89rem; color: var(--paper-mute); }

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  width: 100%; text-align: left; padding: 1.4rem 0;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--paper); transition: color .2s var(--ease-out);
}
.faq-q:hover { color: var(--rose-lift); }
.faq-icon {
  flex-shrink: 0; width: 1.5rem; height: 1.5rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; color: var(--rose);
  transition: transform .25s var(--ease-out), background .25s var(--ease-out);
}
.faq-icon svg { width: .7rem; height: .7rem; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--rose-glow); }
.faq-a { display: none; padding-bottom: 1.5rem; }
.faq-item.is-open .faq-a { display: block; }
.faq-a p { font-size: .95rem; max-width: 68ch; }

/* ---------- Forms ---------- */

.form-shell {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--ink-soft); padding: clamp(1.5rem, 4vw, 2.6rem);
}
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .5rem; color: var(--paper-dim); }
.field .hint { font-weight: 400; color: var(--paper-mute); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .96rem; color: var(--paper);
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(247,245,242,.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); background: rgba(255,255,255,.06);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select option { background: var(--ink-soft); color: var(--paper); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 1.1rem; }

.form-status { margin-top: 1rem; font-size: .92rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok { color: #4ADE80; }
.form-status.is-error { color: var(--rose-lift); }
.form-note { margin-top: 1rem; font-size: .83rem; color: var(--paper-mute); }

/* ---------- Contact rail ---------- */

.contact-rail { display: grid; gap: 1rem; }
.contact-item {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.2rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-soft);
}
.contact-item svg { width: 1.2rem; height: 1.2rem; color: var(--rose); flex-shrink: 0; margin-top: .2rem; }
.contact-item strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.contact-item span { font-size: .88rem; color: var(--paper-mute); word-break: break-word; }

.placeholder-flag {
  display: inline-block; margin-left: .4rem; padding: .1rem .45rem; border-radius: 4px;
  background: rgba(224,68,110,.2); color: var(--rose-lift);
  font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}

/* ---------- CTA band ---------- */

.cta-band {
  border-radius: var(--radius-lg); padding: clamp(2.2rem, 6vw, 4.2rem);
  text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(90% 130% at 50% 0%, rgba(224,68,110,.18), transparent 60%), var(--ink-soft);
  border: 1px solid var(--line);
}
.cta-band h2 { margin-block: 1rem 1rem; }
.cta-band p { margin-inline: auto; max-width: 54ch; margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .92rem; margin-top: 1rem; max-width: 42ch; }
.footer-col h4 {
  font-family: var(--font-body); font-size: .73rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.footer-col a, .footer-col span { font-size: .92rem; color: var(--paper-dim); transition: color .2s var(--ease-out); }
.footer-col a:hover { color: var(--rose-lift); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line-soft); font-size: .83rem; color: var(--paper-mute);
}

/* ---------- Reveal ---------- */

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .offer-steps { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .guarantee-points { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 940px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .offer-steps { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
  .hero-grid { grid-template-columns: 1.5fr 1fr; gap: 4rem; }
  .svc-item { grid-template-columns: 180px 1fr; gap: 2.5rem; }
  .guarantee-points { grid-template-columns: repeat(4, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .split--form { grid-template-columns: 1.4fr 1fr; }
  .process-item { gap: 2rem; }
}

/* ==========================================================================
   Video hero · device frames · section banners
   ========================================================================== */

/* ---------- Video hero ---------- */

.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video video,
.hero-video img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .55;
}
.hero-video::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, var(--ink) 10%, rgba(9,9,13,.84) 44%, rgba(9,9,13,.30) 80%),
    linear-gradient(to top, var(--ink) 2%, transparent 40%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; }
}

/* Animated wordmark over the video — reads as a logo reveal, not a competing headline */
.hero-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.4vw, 2.9rem);
  line-height: 1; letter-spacing: -.01em;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 .26em;
  margin-bottom: 1.1rem; color: var(--paper-mute);
}
.hero-wordmark .brand-dot { margin-right: .3rem; }
.hero-wordmark span {
  display: inline-block;
  opacity: 0; transform: translateY(28px);
  animation: wordUp .9s var(--ease-out) forwards;
}
.hero-wordmark span:nth-child(1) { animation-delay: .05s; }
.hero-wordmark span:nth-child(2) { animation-delay: .17s; }
.hero-wordmark span:nth-child(3) { animation-delay: .29s; }
.hero-wordmark .em { font-style: italic; color: var(--rose-lift); }
@keyframes wordUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-wordmark span { opacity: 1; transform: none; animation: none; }
}

/* ---------- Browser / device frame ---------- */

.device-frame {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-lift);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03);
}
.device-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .7rem .9rem; background: #1C1C24; border-bottom: 1px solid var(--line);
}
.device-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.16); flex-shrink: 0; }
.device-dot:first-child { background: rgba(224,68,110,.6); }
.device-url {
  margin-left: .6rem; flex: 1; min-width: 0;
  font-size: .74rem; color: var(--paper-mute);
  background: rgba(255,255,255,.05); border-radius: 999px;
  padding: .25rem .8rem; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.device-screen { display: block; }
.device-screen img { width: 100%; display: block; }

.device-frame--float { transform: perspective(1400px) rotateX(3deg); }

/* ---------- Section banner ---------- */

.section-banner {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 21/9; border: 1px solid var(--line);
}
.section-banner img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.section-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,9,13,.8) 0%, transparent 55%);
}
.section-banner-label {
  position: absolute; left: clamp(1.2rem, 3vw, 2.2rem); bottom: clamp(1.1rem, 3vw, 2rem);
  z-index: 2; font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.9rem); color: var(--paper);
}

.banner-strip { position: relative; overflow: hidden; height: clamp(180px, 26vw, 340px); }
.banner-strip img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.banner-strip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--ink), transparent 30%, transparent 70%, var(--ink));
}

/* ---------- Split with media ---------- */

.media-panel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4/3;
}
.media-panel img { width: 100%; height: 100%; object-fit: cover; }
.media-panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(9,9,13,.55));
}

/* ==========================================================================
   Work tiles · pricing · add-ons · chat widget
   ========================================================================== */

/* ---------- Work tiles (homepage) ---------- */

.work-tile { display: flex; flex-direction: column; }
.work-tile-media {
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 1.2rem;
  aspect-ratio: 16/10; background: var(--ink-lift);
}
.work-tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work-tile .work-tag { margin-bottom: .7rem; }
.work-tile p { flex: 1; }
.work-tile .card-link { margin-top: 1rem; }

/* ---------- Pricing ---------- */

.price-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-soft); padding: clamp(1.6rem, 3.4vw, 2.2rem);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.price-card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.price-card--featured {
  border-color: rgba(224,68,110,.45);
  background: radial-gradient(120% 130% at 50% 0%, rgba(224,68,110,.12), transparent 60%), var(--ink-soft);
}
.price-badge {
  position: absolute; top: -.75rem; left: clamp(1.6rem, 3.4vw, 2.2rem);
  padding: .3rem .8rem; border-radius: 999px;
  background: var(--rose); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.price-name {
  font-family: var(--font-body); font-size: .76rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--paper-mute);
  margin-bottom: 1rem;
}
.price-amount {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1; color: var(--paper); display: block; margin-bottom: .3rem;
}
.price-card--featured .price-amount { color: var(--rose-lift); }
.price-sub { font-size: .88rem; color: var(--paper-mute); margin-bottom: 1.5rem; }
.price-card ul { list-style: none; padding: 0; display: grid; gap: .65rem; margin-bottom: 1.8rem; flex: 1; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; font-size: .91rem; color: var(--paper-dim); }
.price-card li svg { width: .95rem; height: .95rem; color: var(--rose); flex-shrink: 0; margin-top: .35rem; }

.price-note {
  margin-top: 2rem; padding: 1.2rem 1.4rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255,255,255,.02); font-size: .9rem;
}

/* ---------- Add-ons ---------- */

.addon-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.addon {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.2rem 1.3rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--ink-soft);
  transition: border-color .22s var(--ease-out);
}
.addon:hover { border-color: rgba(255,255,255,.18); }
.addon svg { width: 1.15rem; height: 1.15rem; color: var(--rose); flex-shrink: 0; margin-top: .25rem; }
.addon strong { display: block; font-size: .97rem; margin-bottom: .25rem; }
.addon span { font-size: .88rem; color: var(--paper-mute); }

/* ---------- Chat widget ---------- */

.chat-widget { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 300; }
.chat-fab {
  position: relative; display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 999px;
  background: var(--rose); color: #fff;
  box-shadow: 0 10px 30px -8px var(--rose);
  transition: transform .22s var(--ease-out);
}
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }
.chat-fab svg { width: 1.45rem; height: 1.45rem; position: absolute; transition: opacity .15s var(--ease-out), transform .15s var(--ease-out); }
.chat-fab .icon-close { opacity: 0; transform: scale(.6) rotate(-45deg); }
.chat-widget.is-open .chat-fab .icon-open { opacity: 0; transform: scale(.6) rotate(45deg); }
.chat-widget.is-open .chat-fab .icon-close { opacity: 1; transform: none; }

.chat-panel {
  position: absolute; right: 0; bottom: calc(100% + .8rem);
  width: min(370px, calc(100vw - 2.2rem));
  height: min(540px, calc(100vh - 7rem));
  background: var(--ink-soft); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.9);
  overflow: hidden; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none;
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.chat-widget.is-open .chat-panel { opacity: 1; transform: none; pointer-events: auto; }

.chat-header {
  padding: 1rem 1.2rem; flex-shrink: 0;
  background: linear-gradient(120deg, rgba(224,68,110,.22), transparent), var(--ink-lift);
  border-bottom: 1px solid var(--line);
}
.chat-title { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.chat-sub { display: block; font-size: .78rem; color: var(--paper-mute); margin-top: .1rem; }

.chat-messages { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .7rem; }
.chat-msg { max-width: 86%; padding: .7rem .95rem; border-radius: 14px; font-size: .9rem; line-height: 1.55; white-space: pre-wrap; }
.chat-msg--bot { align-self: flex-start; background: rgba(255,255,255,.06); color: var(--paper-dim); border-bottom-left-radius: 4px; }
.chat-msg--user { align-self: flex-end; background: var(--rose); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing { display: inline-flex; gap: .25rem; align-items: center; }
.chat-typing span { width: 6px; height: 6px; border-radius: 999px; background: var(--paper-mute); animation: chatDot 1.1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-suggestions { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1.1rem .9rem; flex-shrink: 0; }
.chat-chip {
  font-size: .78rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--paper-dim);
  border: 1px solid var(--line); transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.chat-chip:hover { background: rgba(224,68,110,.18); color: var(--paper); }

.chat-input-row { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); flex-shrink: 0; }
.chat-input {
  flex: 1; min-width: 0; padding: .7rem .9rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  border-radius: 999px; font-size: .9rem; color: var(--paper);
}
.chat-input::placeholder { color: rgba(247,245,242,.32); }
.chat-input:focus { outline: none; border-color: var(--rose); }
.chat-send {
  flex-shrink: 0; display: grid; place-items: center; width: 2.55rem; height: 2.55rem;
  border-radius: 999px; background: var(--rose); color: #fff;
  transition: background .2s var(--ease-out);
}
.chat-send:hover { background: var(--rose-lift); }
.chat-send svg { width: 1.05rem; height: 1.05rem; }

@media (max-width: 539px) {
  .chat-widget { right: .8rem; bottom: .8rem; }
  .chat-fab { width: 3.2rem; height: 3.2rem; }
}

@media (min-width: 640px) {
  .price-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 940px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Recurring / monthly services
   ========================================================================== */

.recurring-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }

.recurring-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-soft); padding: clamp(1.5rem, 3.2vw, 2rem);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.recurring-card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-3px); }

.recurring-icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--rose-glow); color: var(--rose-lift);
  margin-bottom: 1.1rem; flex-shrink: 0;
}
.recurring-icon svg { width: 1.25rem; height: 1.25rem; }

.recurring-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.recurring-price {
  display: block; font-family: var(--font-display);
  font-size: 1.75rem; line-height: 1; color: var(--rose-lift); margin-bottom: .9rem;
}
.recurring-price span {
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  color: var(--paper-mute); letter-spacing: .02em;
}
.recurring-card p { font-size: .93rem; flex: 1; }
.recurring-note {
  display: block; margin-top: .9rem; padding-top: .9rem;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem; color: var(--paper-mute);
}

.recurring-card--linked {
  background: rgba(255,255,255,.02);
  border-style: dashed;
}

@media (min-width: 640px) { .recurring-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .recurring-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- "Our own project" disclosure badge on a case study ---------- */

.own-project-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem; margin-bottom: 1rem;
  border: 1px dashed rgba(255,255,255,.28); border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--paper-mute);
}
.own-project-tag svg { width: .85rem; height: .85rem; flex-shrink: 0; }

.own-project-note {
  margin-top: 1.2rem; padding: .9rem 1.1rem;
  border-left: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
  font-size: .88rem; color: var(--paper-mute);
}

/* ---------- WhatsApp button (main site only; the ads landing has none) ---------- */

.wa-fab {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 300;
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  border-radius: 999px; background: #25D366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.55);
  transition: transform .22s var(--ease-out);
}
.wa-fab:hover { transform: translateY(-2px) scale(1.04); }
.wa-fab svg { width: 1.7rem; height: 1.7rem; }
@media (max-width: 539px) {
  .wa-fab { left: .8rem; bottom: .8rem; width: 3.2rem; height: 3.2rem; }
}
