/*
  Light + gold. Gold fills (buttons, main tile); darker gold for text on light.
  Shape rule: cards 20px, buttons 12px, small chips 999px.
*/
:root {
  color-scheme: light;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #f1f1ed;
  --ink: #161614;
  --muted: #5b5a55;
  --line: rgba(30, 28, 20, .09);
  --line-strong: rgba(30, 28, 20, .16);
  --accent: #f2c14e;
  --accent-ink: #17140c;
  --accent-soft: rgba(242, 193, 78, .20);
  --accent-text: #8a6400;
  --shadow: 0 1px 2px rgba(40, 35, 20, .05), 0 14px 32px -18px rgba(40, 35, 20, .20);
  --r-card: 20px;
  --r-btn: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; }
.icon { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; display: inline-block; vertical-align: middle; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 500; }
p { margin: 0; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 246, 243, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.brand span { color: var(--accent-text); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r-btn); font-family: inherit; font-weight: 500; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset; }
.btn-primary:hover { background: #f6cd68; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: rgba(30, 28, 20, .32); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

/* Hero: warm glow + soft tile mosaic, faded with a mask */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before {
  background:
    radial-gradient(60% 70% at 12% 40%, rgba(242, 193, 78, .22), transparent 70%),
    radial-gradient(40% 50% at 95% 10%, rgba(242, 193, 78, .07), transparent 70%);
}
.hero::after {
  background: repeating-conic-gradient(rgba(242, 193, 78, .10) 0 25%, transparent 0 50%) 0 0 / 200px 200px;
  -webkit-mask-image: radial-gradient(70% 80% at 20% 45%, #000 10%, transparent 75%);
          mask-image: radial-gradient(70% 80% at 20% 45%, #000 10%, transparent 75%);
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; z-index: 1; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); max-width: 15ch; }
.hero p { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 46ch; }
.hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.portrait { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line-strong); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 15px; padding: 24px; box-shadow: var(--shadow); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .wrap:not(:has(.portrait)) { grid-template-columns: 1fr; }
.hero .wrap:not(:has(.portrait)) h1 { font-size: clamp(40px, 6.4vw, 82px); max-width: 17ch; }
.hero .wrap:not(:has(.portrait)) p { font-size: 20px; max-width: 50ch; }
.hero:has(.wrap:not(:has(.portrait))) { padding: 120px 0 128px; }
@media (max-width: 860px) {
  .hero, .hero:has(.wrap:not(:has(.portrait))) { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 420px; aspect-ratio: 1 / 1; }
}

/* Section base */
section { padding: 104px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }
.section-title { font-size: clamp(30px, 3.6vw, 46px); max-width: 20ch; }
.lead { margin-top: 18px; color: var(--muted); max-width: 60ch; font-size: 18px; }

/* Statement: a single wide card */
.statement { padding: 24px 0; }
.statement .wrap > * { position: relative; }
.statement .wrap { }
.statement .wrap.reveal { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(32px, 6vw, 72px); max-width: 1140px; box-shadow: var(--shadow); }
@media (max-width: 1180px) { .statement .wrap.reveal { margin: 0 20px; width: auto; } }
.statement h2 { font-size: clamp(28px, 4vw, 50px); max-width: 22ch; }
.statement h2 em { font-style: normal; color: var(--accent-text); }
.statement p { margin-top: 24px; max-width: 58ch; font-size: 18px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 96px 1fr 1.2fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); align-items: baseline; }
.steps li::before { content: counter(step); font-size: 44px; font-weight: 500; color: var(--accent-text); line-height: 1; letter-spacing: -0.04em; }
.steps h3 { font-size: 24px; }
.steps p { color: var(--muted); max-width: 52ch; }
@media (max-width: 760px) {
  .steps li { grid-template-columns: 56px 1fr; gap: 8px 16px; }
  .steps li::before { grid-row: span 2; font-size: 34px; }
}

/* Services bento */
.bento { margin-top: 56px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.tile:hover { border-color: var(--line-strong); }
.tile h3 { font-size: 21px; }
.tile p { color: var(--muted); font-size: 16px; }
.tile-main { grid-row: span 2; background: var(--accent); color: var(--accent-ink); border: 0; justify-content: flex-end; min-height: 360px; }
.tile-main h3 { font-size: 32px; max-width: 14ch; }
.tile-main p { color: inherit; opacity: .78; max-width: 38ch; font-size: 17px; }
.tile-wide { grid-column: span 2; background: linear-gradient(120deg, var(--accent-soft), transparent 70%), var(--surface); }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .tile-main { grid-row: auto; min-height: 260px; }
  .tile-wide { grid-column: auto; }
}

/* Free audit: full-width tinted band, no card */
.audit { background: var(--surface-2); border-block: 1px solid var(--line); }
.audit .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.audit-ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.audit-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.audit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; font-size: 18px; }
.audit-list li { display: flex; gap: 14px; align-items: flex-start; }
.audit-list .icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 18px; }
@media (max-width: 860px) { .audit .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about p + p { margin-top: 16px; }
.about .copy p { color: var(--muted); font-size: 18px; max-width: 52ch; }
.about .copy p strong { color: var(--ink); font-weight: 500; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.promise::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 80%); }
.promise h3 { font-size: 22px; }
.promise p { margin-top: 12px; color: var(--muted); }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* FAQ */
.faq .wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 40px; border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 19px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease), color .2s; color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--accent-text); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* Contact */
.contact { padding-top: 0; }
.contact-box { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-card); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; box-shadow: var(--shadow); }
.contact-box::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 90% at 0% 100%, rgba(242, 193, 78, .14), transparent 70%); }
.contact-box > * { position: relative; }
.contact-box h2 { font-size: clamp(30px, 4vw, 48px); max-width: 16ch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; font-size: 17px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-btn); transition: border-color .2s; }
.contact-list a:hover { border-color: rgba(242, 193, 78, .45); }
.contact-list .icon { color: var(--accent-text); width: 32px; height: 32px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 999px; font-size: 18px; }
.contact-box .btn { margin-top: 28px; }
@media (max-width: 860px) { .contact-box { grid-template-columns: 1fr; gap: 32px; } }

/* Footer */
footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 104px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) { footer { margin-top: 64px; } }

/* Motion: hero load-in + reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .hero .copy > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
  .hero .copy > *:nth-child(2) { animation-delay: .08s; }
  .hero .copy > *:nth-child(3) { animation-delay: .16s; }
  .hero .portrait { opacity: 0; animation: fade 1s var(--ease) .2s forwards; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* Service pages (creare-site, seo-local) */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.hero.sub { padding: 64px 0 80px; }
.hero.sub h1 { font-size: clamp(36px, 5vw, 64px); max-width: 18ch; }
.hero.sub .copy > p { font-size: 19px; max-width: 48ch; }
.features { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 64px; }
.features h3 { font-size: 21px; display: flex; gap: 14px; align-items: center; }
.features p { margin-top: 10px; color: var(--muted); max-width: 46ch; padding-left: 42px; }
.features .icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 18px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; gap: 32px; } .features p { padding-left: 0; } }
.xlink { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; border-radius: var(--r-card); background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500; font-size: 19px; transition: transform .2s var(--ease); }
.xlink:hover { transform: translateY(-2px); }
.xlink .icon { font-size: 26px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }
.tile-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; color: var(--accent-text); }
.tile-main .tile-link { color: inherit; margin-top: 8px; }
.tile-link:hover { text-decoration: underline; text-underline-offset: 3px; }
