/* Maguregui Group — tokens from design-system/maguregui-group/MASTER.md */
:root {
  --color-primary: #0F172A;
  --color-on-primary: #FFFFFF;
  --color-secondary: #334155;
  --color-accent: #0369A1;
  --color-accent-hover: #075985;
  --color-on-accent: #FFFFFF;
  --color-background: #F8FAFC;
  --color-foreground: #020617;
  --color-card: #FFFFFF;
  --color-muted: #E8ECF1;
  --color-muted-foreground: #475569;
  --color-border: #E2E8F0;
  --color-destructive: #DC2626;
  --color-success: #15803D;
  --color-star: #B45309;
  --color-ring: #0F172A;

  --font-heading: "Outfit", system-ui, sans-serif;
  --font-body: "Rubik", system-ui, sans-serif;

  --radius: 12px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 8px 24px rgb(15 23 42 / 0.08);
  --shadow-lg: 0 20px 48px rgb(15 23 42 / 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--color-primary); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-dark { background: var(--color-primary); color: var(--color-on-primary); }
.btn-dark:hover { background: var(--color-secondary); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); }
.btn-light { background: #fff; color: var(--color-primary); }
.btn-light:hover { background: var(--color-muted); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(248 250 252 / 0.9); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.logo-word { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--color-primary); }
.logo-word span { font-weight: 500; color: #2563EB; margin-left: 0.18em; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--color-secondary); font-weight: 500; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.nav-links a:hover { background: var(--color-muted); color: var(--color-primary); }
.nav-cta { display: none; }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--color-border); background: #fff; cursor: pointer; color: var(--color-primary); }
.mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 12px 0 20px; }
.mobile-menu.is-open { display: block; }
.mobile-menu a:not(.btn) { display: block; padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--color-border); }
.mobile-menu .btn { margin-top: 16px; }
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
}

/* Sections */
section { padding-block: 64px; }
@media (min-width: 768px) { section { padding-block: 96px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); margin-bottom: 12px; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 16px; }
.section-head p { font-size: 1.125rem; color: var(--color-muted-foreground); }

/* Hero */
.hero { padding-block: 48px 64px; }
@media (min-width: 768px) { .hero { padding-block: 72px 96px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.hero-title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; margin-bottom: 20px; }
.hero-title .accent { color: var(--color-accent); }
.hero-lead { font-size: 1.2rem; color: var(--color-muted-foreground); max-width: 34ch; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 0; color: var(--color-secondary); font-size: 0.95rem; }
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list .icon { color: var(--color-success); width: 18px; height: 18px; }
.source-note { margin-top: 20px; font-size: 0.8rem; color: var(--color-muted-foreground); max-width: 52ch; }

/* Before / after slider: two business-profile cards stacked; the "before" card is clipped to the handle */
.ba-wrap { max-width: 640px; margin-inline: auto; width: 100%; }
.ba { position: relative; display: grid; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); background: #fff; touch-action: pan-y; user-select: none; }
.ba-layer { grid-area: 1 / 1; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.ba-tag { position: absolute; top: 14px; z-index: 3; padding: 5px 12px; border-radius: 999px; font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none; box-shadow: var(--shadow-sm); }
.ba-tag-after { right: 14px; background: #DCFCE7; color: #166534; }
.ba-tag-before { left: 14px; background: #FEE2E2; color: #991B1B; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgb(15 23 42 / 0.12), 0 0 18px rgb(15 23 42 / 0.25); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgb(15 23 42 / 0.25); color: var(--color-primary); transition: transform 150ms var(--ease); }
.ba-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-handle span, .ba:hover .ba-handle span { transform: translate(-50%, -50%) scale(1.08); }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.ba-hint { margin-top: 12px; text-align: center; font-size: 0.9rem; color: var(--color-muted-foreground); }

.stars { display: inline-flex; gap: 1px; color: var(--color-star); }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }

/* Business profile card (Google-style) */
.gbp { background: #fff; color: #202124; font-size: 1.05rem; height: 100%; }
.gbp-photos { height: 250px; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.gbp-photos i { background: #DADCE0 center / cover no-repeat; }
.gbp-photos i:first-child { grid-row: span 2; }
.gbp-nophotos { display: grid; place-items: center; grid-template: none; background: repeating-linear-gradient(45deg, #F1F3F4 0 14px, #E8EAED 14px 28px); color: #80868B; }
.gbp-nophotos span { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.gbp-body { padding: 22px 26px 26px; display: grid; gap: 8px; }
.gbp-name { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; }
.gbp-bad .gbp-name { font-family: var(--font-body); font-weight: 400; color: #5F6368; }
.gbp-rating { display: flex; align-items: center; gap: 6px; }
.gbp-rating .stars { color: #FBBC05; }
.gbp-rating .stars .icon { width: 16px; height: 16px; }
.stars-empty { color: #DADCE0 !important; }
.gbp-muted { color: #5F6368; }
.gbp-ok { display: inline-flex; align-items: center; gap: 4px; color: #188038; font-weight: 500; }
.gbp-ok .icon { width: 16px; height: 16px; }
.gbp-warn { color: #B3261E; font-weight: 500; }
.gbp-claim { margin-top: 4px; padding: 8px 12px; border-radius: 10px; background: #FEF7E0; color: #7A5B00; font-size: 0.88rem; }
.gbp-claim .icon { display: inline-block; vertical-align: -3px; width: 16px; height: 16px; margin-right: 4px; }
.gbp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.gbp-actions span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid #DADCE0; color: #1A73E8; font-weight: 500; font-size: 0.88rem; }
.gbp-actions span.is-off { color: #9AA0A6; border-style: dashed; }
.gbp-actions .icon { width: 16px; height: 16px; }
.gbp-actions.is-live span:first-child { background: #1A73E8; border-color: #1A73E8; color: #fff; }
.gbp-rows { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid #E8EAED; display: grid; gap: 10px; }
.gbp-rows li { display: flex; align-items: flex-start; gap: 12px; }
.gbp-rows .icon { width: 18px; height: 18px; color: #1A73E8; margin-top: 2px; flex: none; }
.gbp-bad .gbp-rows .icon { color: #9AA0A6; }
.gbp-open { color: #188038; font-weight: 500; }
@media (max-width: 640px) {
  .gbp { font-size: 0.95rem; }
  .gbp-photos { height: 190px; }
  .gbp-body { padding: 18px 18px 22px; }
  .gbp-name { font-size: 1.45rem; }
  .gbp-actions span { padding: 6px 11px; }
}
.gbp-link { color: #1A73E8; }

/* Problem strip */
.problems { background: var(--color-primary); color: var(--color-on-primary); }
.problems .section-head p { color: #CBD5E1; }
.problems .eyebrow { color: #7DD3FC; }
.problems-lead { font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: #7DD3FC; margin: -16px 0 24px; }
.problem-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }
.problem { background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius); padding: 24px; }
.problem .icon { width: 28px; height: 28px; color: #7DD3FC; margin-bottom: 16px; }
.problem h3 { font-size: 1.15rem; margin-bottom: 8px; }
.problem p { color: #CBD5E1; font-size: 0.95rem; }

/* Personalized plans */
.plans-lead { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.75rem); text-align: center; margin-bottom: 28px; letter-spacing: -0.01em; }
.plan-examples { display: grid; gap: 20px; }
@media (min-width: 960px) { .plan-examples { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.plan-card { position: relative; background: var(--color-primary); color: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--shadow-md); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.plan-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgb(125 211 252 / 0.14); color: #7DD3FC; }
.plan-icon .icon { width: 24px; height: 24px; }
.plan-num { font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem; line-height: 1; color: rgb(255 255 255 / 0.12); }
.plan-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.plan-card p { color: #CBD5E1; line-height: 1.65; }
.plans-cta { display: grid; justify-items: center; gap: 4px; margin-top: 44px; text-align: center; }
.plans-cta .pay-note { margin-top: 12px; }
.field .optional { font-weight: 400; color: var(--color-muted-foreground); }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; color: var(--color-muted-foreground); font-size: 0.95rem; text-align: center; }
.pay-note .icon { width: 18px; height: 18px; color: var(--color-success); }
@media (max-width: 640px) { .pay-note { display: block; } .pay-note .icon { display: inline-block; vertical-align: -3px; margin-right: 6px; } }

/* Extras */
.extras { background: var(--color-card); border-block: 1px solid var(--color-border); }

/* Portfolio */
.portfolio-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
.project { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow 220ms var(--ease); }
.project:hover { box-shadow: var(--shadow-md); }
.project-thumb { aspect-ratio: 16 / 10; background: var(--color-muted); display: grid; place-items: center; color: var(--color-muted-foreground); position: relative; }
.project-thumb.candles { background: linear-gradient(135deg, #F5EEE6, #E7D8C6); color: #6B4F35; }
.project-thumb .label { font-family: var(--font-heading); font-weight: 700; font-size: 1.75rem; letter-spacing: 0.2em; }
.project-thumb.placeholder { border-bottom: 2px dashed var(--color-border); }
.project-body { padding: 24px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.project-tags span { font-size: 0.8rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--color-muted); color: var(--color-secondary); }
.project h3 { font-size: 1.3rem; margin-bottom: 6px; }
.project p { color: var(--color-muted-foreground); }

/* Process */
.steps { display: grid; gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--color-muted-foreground); }

/* About */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.1fr; } }
.about-grid.no-photo { grid-template-columns: 1fr; max-width: 820px; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 20px; background: var(--color-muted); border: 2px dashed #CBD5E1; display: grid; place-items: center; text-align: center; color: var(--color-muted-foreground); padding: 24px; }
.about-photo .icon { width: 40px; height: 40px; margin: 0 auto 12px; }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 20px; }
.about-copy p { font-size: 1.1rem; color: var(--color-secondary); margin-bottom: 16px; }
.values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.values li { display: flex; gap: 12px; align-items: flex-start; }
.values .icon { color: var(--color-accent); margin-top: 3px; }

/* FAQ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-list details { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { transition: transform 200ms var(--ease); color: var(--color-muted-foreground); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 20px; color: var(--color-muted-foreground); }

/* CTA + form */
.cta { background: var(--color-primary); color: #fff; }
.cta-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: 1fr 1fr; } }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.cta-lead { color: #CBD5E1; font-size: 1.15rem; margin-bottom: 24px; }
.cta-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: #E2E8F0; }
.cta-points li { display: flex; gap: 10px; align-items: center; }
.cta-points .icon { color: #86EFAC; }
.form-card { background: #fff; color: var(--color-foreground); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-lg); }
.cta-email { margin-top: 24px; color: #CBD5E1; }
.cta-email a { color: #7DD3FC; font-weight: 500; }
.footer-email { margin-top: 10px; }
.footer-email a { color: var(--color-accent); font-weight: 500; }
.form-intro { color: var(--color-muted-foreground); margin: -12px 0 20px; }
.form-card h3 { font-size: 1.35rem; margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--color-muted-foreground); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; min-height: 48px; padding: 10px 14px;
  border: 1px solid #CBD5E1; border-radius: 10px; background: #fff; color: var(--color-foreground);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgb(3 105 161 / 0.2); }
.field-row { display: grid; gap: 16px; align-items: start; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 0.82rem; line-height: 1.5; color: var(--color-muted-foreground); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--color-accent); cursor: pointer; }
.consent a { color: var(--color-accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact-form { position: relative; }
.form-status { margin-top: 12px; font-size: 0.95rem; color: var(--color-success); min-height: 1.5em; }

/* Footer */
.site-footer { padding-block: 48px 32px; border-top: 1px solid var(--color-border); color: var(--color-muted-foreground); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4 { color: var(--color-foreground); font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--color-primary); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--color-border); }

/* ============ INTRO ============ */
.intro { position: relative; height: 240vh; margin-top: -72px; background: #F4F8FF; padding: 0; }
.intro-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; color: var(--color-primary); }
.intro-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(32% 30% at 22% 30%, rgb(66 133 244 / 0.32), transparent 70%),
    radial-gradient(28% 26% at 78% 26%, rgb(251 188 5 / 0.22), transparent 70%),
    radial-gradient(30% 28% at 74% 74%, rgb(52 168 83 / 0.2), transparent 70%),
    radial-gradient(26% 24% at 26% 78%, rgb(234 67 53 / 0.14), transparent 70%),
    linear-gradient(180deg, #F4F8FF, #FFFFFF);
  animation: glow-drift 16s ease-in-out infinite alternate;
}
@keyframes glow-drift { to { transform: translate3d(3%, -2%, 0) scale(1.06) rotate(2deg); } }
.intro-grid {
  position: absolute; inset: 0; opacity: 0.6;
  background-image: linear-gradient(rgb(15 23 42 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(15 23 42 / 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
}

/* Devices */
.devices { position: absolute; inset: 0; pointer-events: none; }
.devices > * { position: absolute; will-change: transform, opacity; }

/* Laptop: dark glass bezel in an aluminium lid, glare across the screen */
.laptop { left: 50%; top: 50%; width: min(66vw, 860px); margin-left: calc(min(66vw, 860px) / -2); margin-top: calc(min(66vw, 860px) * -0.33); }
.laptop-photo { display: block; width: 100%; height: auto; filter: brightness(1.08) saturate(1.02); }
/* Screen area measured from the photo (px 187–1787 × 152–1156 of the original) */
.laptop-display { position: absolute; left: 9.179%; top: 6%; width: 81.591%; height: 83.667%; overflow: hidden; background: var(--color-background); }
.laptop-display .screen-site { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; background: var(--color-background); pointer-events: none; }
/* Example landscaping site on the laptop screen (designed at 1440px wide) */
.ls { font-family: var(--font-body); color: #fff; background: #F4F7F2; }
.ls-hero { height: 620px; background-size: cover; background-position: center 60%; padding: 0 72px; }
.ls-nav { display: flex; align-items: center; gap: 48px; height: 96px; }
.ls-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 28px; }
.ls-logo svg { width: 36px; height: 36px; fill: #86EFAC; stroke: #14532D; stroke-width: 1.2; }
.ls-links { display: flex; gap: 40px; margin-left: auto; font-size: 18px; font-weight: 500; }
.ls-links i { font-style: normal; }
.ls-btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: #22C55E; color: #052E16; font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.ls-copy { max-width: 640px; padding-top: 70px; }
.ls-rating { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / 0.14); font-size: 17px; margin-bottom: 28px; }
.ls-stars { color: #FBBF24; letter-spacing: 2px; }
.ls-title { font-family: var(--font-heading); font-weight: 700; font-size: 84px; line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 24px; }
.ls-text { font-size: 22px; line-height: 1.5; color: #DCFCE7; margin-bottom: 36px; }
.ls-btn-lg { padding: 18px 32px; font-size: 20px; margin-right: 14px; }
.ls-btn-ghost { background: transparent; color: #fff; border: 2px solid rgb(255 255 255 / 0.7); padding: 16px 30px; font-size: 20px; }
.ls-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 36px 72px; color: #14532D; }
.ls-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgb(20 83 45 / 0.12); display: grid; }
.ls-card span { height: 170px; background-size: cover; background-position: center; }
.ls-card b { font-family: var(--font-heading); font-size: 24px; padding: 18px 22px 4px; }
.ls-card small { font-size: 16px; color: #4D6B57; padding: 0 22px 22px; }
.screen-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(118deg, rgb(255 255 255 / 0.2) 0%, rgb(255 255 255 / 0.06) 24%, transparent 38%, transparent 70%, rgb(255 255 255 / 0.08) 100%); mix-blend-mode: screen; }


/* Phone: product photo; the screen content sits in the photo's screen area
   (measured from the photo: left 5.070%, top 2.046%, width 90.210%, height 95.396%) */
.phone { left: 50%; top: 50%; width: min(19vw, 230px); }
.phone-photo { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgb(15 23 42 / 0.25)) drop-shadow(0 8px 14px rgb(15 23 42 / 0.12)); }
.phone-screen { container-type: inline-size; position: absolute; left: 5.07%; top: 2.046%; width: 90.21%; height: 95.396%; background: #fff; border-radius: 13.5% / 6.25%; overflow: hidden; color: #202124; display: flex; flex-direction: column; }
.phone-screen::before { content: ""; position: absolute; top: 1.6%; left: 50%; width: 30.4%; height: 4.4%; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 4; }
.phone-status { position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 9%; display: flex; align-items: center; justify-content: space-between; padding: 0 8.5% 0 11%; font-size: 6.6cqi; color: #000; }
.phone-status b { font-weight: 600; letter-spacing: -0.01em; }
.phone-status span { display: flex; align-items: center; gap: 1.6cqi; }
.phone-status svg { height: 3.4cqi; width: auto; fill: currentColor; }
.phone-home { position: absolute; bottom: 1.3%; left: 50%; width: 36%; height: 0.75%; transform: translateX(-50%); border-radius: 999px; background: #111; z-index: 3; }
.phone .screen-glare { background: linear-gradient(125deg, rgb(255 255 255 / 0.22) 0%, rgb(255 255 255 / 0.05) 28%, transparent 40%); mix-blend-mode: normal; }

/* Phone screen: the Local Plumber profile card, laid out at 390px and scaled to the screen by main.js */
.phone-gbp { position: absolute; top: 9%; left: 0; width: 390px; transform-origin: 0 0; }
.phone-gbp .gbp { border-radius: 0; }

/* Floating Google-style pieces (built in main.js) */
.floats { position: absolute; inset: 0; }
.float { position: absolute; will-change: transform, opacity; opacity: 0; }
.float-card { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: rgb(255 255 255 / 0.92); backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / 0.9); color: var(--color-primary); font-weight: 600; font-size: clamp(0.72rem, 1vw, 0.92rem); box-shadow: 0 14px 34px rgb(15 23 42 / 0.12), 0 2px 6px rgb(15 23 42 / 0.06); white-space: nowrap; }
.float-card .icon { width: 18px; height: 18px; }
.float-card.is-green { color: #188038; }
.float-card.is-blue { color: #1A73E8; }
.float-card.is-solid { background: #1A73E8; color: #fff; border-color: #1A73E8; }
.float-review { display: grid; gap: 4px; width: clamp(170px, 17vw, 240px); white-space: normal; font-weight: 500; padding: 12px 14px; }
.float-review .stars .icon { width: 14px; height: 14px; }
.float-review q { quotes: "\201C" "\201D"; line-height: 1.35; }
.float-review small { color: var(--color-muted-foreground); font-weight: 400; font-size: 0.85em; }
.float-rating { display: flex; align-items: center; gap: 8px; }
.float-rating strong { font-family: var(--font-heading); font-size: 1.5em; line-height: 1; }
.float-pin { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50% 50% 50% 0; transform-origin: center; color: #fff; box-shadow: 0 12px 26px rgb(15 23 42 / 0.2); }
.float-pin span { transform: rotate(45deg); display: grid; place-items: center; }
.float-pin .icon { width: 22px; height: 22px; }
.intro .stars { display: inline-flex; gap: 1px; color: #FBBC05; }
.intro .stars .icon { fill: currentColor; stroke: none; }

.intro-scrim { position: absolute; inset: 0; background: radial-gradient(48% 40% at 50% 50%, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.4) 60%, transparent); pointer-events: none; }

/* Wordmark */
.wordmark { position: relative; z-index: 3; text-align: center; padding-inline: 16px; }
.wordmark [data-up], .wordmark [data-down] { will-change: transform, opacity; }
.wordmark-kicker { font-family: var(--font-heading); font-weight: 700; font-size: clamp(0.95rem, 1.8vw, 1.25rem); letter-spacing: 0.2em; text-transform: uppercase; color: #1E40AF; margin-bottom: 22px; }
/* Same treatment as the header logo: "maguregui" ink 700 + "group" blue 500, lowercase */
.wordmark h1 { font-size: clamp(3.6rem, 13vw, 10.5rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.04em; color: var(--color-primary); }
.wm-word { display: block; }
.wm-group { font-weight: 500; color: #2563EB; }
.wordmark-tag { margin-top: 28px; font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 500; color: #1E293B; }


.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--color-muted-foreground), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.skip-intro { position: absolute; right: 24px; bottom: 24px; z-index: 4; color: var(--color-secondary); background: rgb(255 255 255 / 0.7); font-size: 0.9rem; text-decoration: none; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--color-border); }
.skip-intro:hover { color: var(--color-primary); border-color: var(--color-primary); }
.intro-fade { position: absolute; inset: 0; background: var(--color-background); opacity: 0; z-index: 5; pointer-events: none; }

@media (max-width: 767px) {
  .laptop { width: 94vw; margin-left: -47vw; margin-top: -30vw; }
  .phone { width: 34vw; }
  .float[data-desktop] { display: none; }
  .float-review { width: 168px; }
  .skip-intro { right: 16px; bottom: auto; top: 84px; font-size: 0.85rem; }
  .scroll-cue { bottom: 16px; }
  .wordmark-kicker { letter-spacing: 0.1em; font-size: 0.85rem; }
}

/* Reduced motion: a single still screen, no long scroll */
@media (prefers-reduced-motion: reduce) {
  .intro { height: auto; }
  .intro-stage { position: relative; }
  .intro-glow, .scroll-cue i { animation: none; }
  .scroll-cue { display: none; }
}

/* Legal pages (privacy policy) */
.legal { padding-block: 56px 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 6px; }
.legal-date { color: var(--color-muted-foreground); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--color-secondary); line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--color-accent); }
.legal-back { margin-top: 44px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
