/*
Theme Name: Cloud Digital Breizhgo
Theme URI: https://example.com
Author: Cloud Digital Breizhgo Agency
Description: One-page agency theme for an AI automation agency. Green and white design with hero, workflow, services, case studies, pricing, testimonials and contact sections.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: cloud-digital-breizhgo
*/

/* Layout: corporate group site. White, mint and deep-green bands alternate, one oversized hero headline carries the personality, bright green is reserved for actions and key numbers. */
:root {
  --ink: #0a3a22;
  --ink-2: #0f4a2b;
  --ink-line: #226b43;
  --paper: #ffffff;
  --mist: #eef8f1;
  --mist-line: #c9e3d3;
  --green: #00b050;
  --green-deep: #007a38;
  --text-on-ink: #f3fcf6;
  --muted-on-ink: #a8d6b8;
  --muted: #4a6455;
  --f-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 60; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.band { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap { max-width: 1240px; margin: 0 auto; }
.band-pad { padding-block: clamp(72px, 10vw, 140px); }
.on-ink { background: var(--ink); color: var(--text-on-ink); }
.on-mist { background: var(--mist); }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); }
.on-ink .eyebrow { color: var(--muted-on-ink); }
.h-xl { font-size: clamp(40px, 6.4vw, 92px); }
.h-lg { font-size: clamp(34px, 4.6vw, 64px); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 56ch; }
.on-ink .lede { color: var(--muted-on-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; min-height: 52px; border-radius: 2px; font-weight: 600; font-size: 16px; border: 2px solid transparent; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn-green { background: var(--green); color: #04130a; }
.btn-green:hover { background: #0fc85f; transform: translateY(-2px); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--text-on-ink); border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--text-on-ink); }
.btn-dark:hover { background: var(--green); color: #04130a; }
.link-arrow { display: inline-flex; gap: 8px; font-weight: 600; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.link-arrow:hover { gap: 14px; }
.link-arrow { transition: gap .2s; }

/* NAV */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); color: var(--ink); border-bottom: 1px solid var(--mist-line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 38px; height: auto; }
.brand small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 9.5px; letter-spacing: .32em; color: var(--muted); margin-top: 2px; }
footer.site .brand small { color: var(--muted-on-ink); }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); border-color: var(--green); }
.nav .btn { padding: 12px 20px; min-height: 44px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--mist-line); color: var(--ink); width: 46px; height: 46px; border-radius: 2px; align-items: center; justify-content: center; }
.mobile-panel { display: none; border-top: 1px solid var(--mist-line); padding-block: 12px 24px; }
.mobile-panel a { display: block; padding: 14px 0; font-family: var(--f-display); font-size: 24px; font-weight: 600; border-bottom: 1px solid var(--mist-line); }
.mobile-panel .btn { margin-top: 20px; width: 100%; font-family: var(--f-body); font-size: 16px; border-bottom: 2px solid transparent; }
.mobile-panel.open { display: block; }

/* HERO */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 72%, var(--mist) 100%); color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7.6vw, 112px); line-height: .94; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: #009a46; }
.hero .lede { margin-top: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.mark-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 100%; }
.mark-stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, #d8f3e3 0%, rgba(216,243,227,0) 68%); }
.mark-stage img { position: relative; width: 78%; height: auto; z-index: 2; animation: float 7s ease-in-out infinite; }
.mark-stage .ring { position: absolute; inset: 0; margin: auto; border: 1px solid var(--mist-line); border-radius: 50%; }
.ring.r1 { width: 100%; height: 100%; }
.ring.r2 { width: 74%; height: 74%; border-color: #9fd4b4; animation: pulse 4s ease-in-out infinite; }
.ring.r3 { width: 52%; height: 52%; border-color: var(--green); opacity: .35; animation: pulse 4s ease-in-out 1.3s infinite; }
.ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.ring.r1 { animation: spin 40s linear infinite; }
.ring.r2 { animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .15; } }
@keyframes float { 50% { transform: translateY(-8px); } }

.trust { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--mist-line); display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.trust > span { flex: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: slide 36s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-weight: 600; font-size: 22px; color: #6f9a82; white-space: nowrap; letter-spacing: -0.01em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* HOW IT WORKS */
.flow { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.step { position: relative; padding-top: 32px; border-top: 1px solid var(--ink-line); min-width: 0; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--green); }
.step .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 12px 0 10px; }
.step p { color: var(--muted-on-ink); font-size: 16px; max-width: 30ch; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.about-visual { position: relative; min-height: 480px; background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; }
.about-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-visual .tag { position: relative; z-index: 2; padding: 24px; color: var(--text-on-ink); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.about-copy { display: flex; flex-direction: column; gap: 24px; justify-content: center; min-width: 0; }
.about-copy p { color: var(--muted); max-width: 54ch; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-top: 8px; }
.stat { padding: 22px 0; border-bottom: 1px solid var(--mist-line); }
.stat:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--mist-line); }
.stat:nth-child(even) { padding-left: 24px; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat b i { font-style: normal; color: var(--green-deep); }
.stat span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* SERVICES */
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lede { justify-self: end; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 14px; }
.tile { position: relative; background: var(--mist); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden; transition: background .25s, color .25s; min-width: 0; }
.tile .ico { width: 44px; height: 44px; color: var(--green-deep); transition: color .25s; }
.tile h3 { font-size: 26px; letter-spacing: -0.02em; }
.tile p { color: var(--muted); font-size: 16px; margin-top: 10px; transition: color .25s; }
.tile .more { font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; opacity: 0; transform: translateX(-6px); transition: .25s; margin-top: 14px; }
.tile:hover, .tile:focus-within { background: var(--green); color: #04130a; }
.tile:hover .ico, .tile:hover p, .tile:focus-within .ico, .tile:focus-within p { color: #04130a; }
.tile:hover .more, .tile:focus-within .more { opacity: 1; transform: none; }
.tile.feature { grid-column: span 2; grid-row: span 2; background: var(--ink); color: var(--text-on-ink); padding: 40px; }
.tile.feature::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0,176,80,.55), rgba(0,176,80,0) 68%); pointer-events: none; }
.tile.feature h3 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1; }
.tile.feature p { color: var(--muted-on-ink); font-size: 18px; max-width: 34ch; }
.tile.feature .ico { color: var(--green); width: 56px; height: 56px; }
.tile.feature .more { opacity: 1; transform: none; color: var(--green); }
.tile.feature:hover { background: var(--ink); color: var(--text-on-ink); }
.tile.feature:hover .ico { color: var(--green); }
.tile.feature:hover p { color: var(--muted-on-ink); }
.tile.wide { grid-column: span 2; }
.tile a.cover { position: absolute; inset: 0; z-index: 3; }
.svc-foot { margin-top: 40px; display: flex; justify-content: center; }

/* CASES */
.cases-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { background: transparent; color: var(--text-on-ink); border: 1px solid #2f7a50; padding: 10px 18px; font-size: 14px; border-radius: 100px; min-height: 42px; }
.filters button:hover { border-color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #04130a; font-weight: 600; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-color: var(--green) var(--ink-2); }
.case { flex: 0 0 calc((100% - 32px) / 3); min-width: 280px; scroll-snap-align: start; background: var(--ink-2); border: 1px solid var(--ink-line); display: flex; flex-direction: column; }
.case[hidden] { display: none !important; }
.case-img { position: relative; height: 200px; overflow: hidden; background: #0a3a22; }
.case-img svg { width: 100%; height: 100%; display: block; }
.case-img .sector { position: absolute; left: 16px; top: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); padding: 6px 10px; color: var(--text-on-ink); }
.case-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.case-client { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-ink); }
.case-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 6vw, 84px); line-height: .9; letter-spacing: -0.045em; color: var(--green); font-variant-numeric: tabular-nums; }
.case-num small { font-size: .42em; letter-spacing: -0.02em; margin-left: 6px; color: var(--text-on-ink); font-weight: 600; }
.case p { color: var(--muted-on-ink); font-size: 16px; }
.case .link-arrow { margin-top: auto; align-self: flex-start; border-color: var(--green); }
.cases-foot { margin-top: 36px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.cases-foot small { color: var(--muted-on-ink); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* PRICING */
.price-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 48px; }
.toggle { display: inline-flex; border: 2px solid var(--ink); border-radius: 100px; padding: 3px; }
.toggle button { border: 0; background: transparent; padding: 10px 20px; border-radius: 100px; font-weight: 600; font-size: 14px; min-height: 40px; color: var(--ink); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--text-on-ink); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--mist-line); padding: 36px 30px; display: flex; flex-direction: column; gap: 22px; background: var(--paper); min-width: 0; }
.plan.pop { background: var(--ink); color: var(--text-on-ink); border-color: var(--ink); position: relative; margin-block: -20px; padding-block: 56px; }
.badge { position: absolute; top: 0; left: 30px; transform: translateY(-50%); background: var(--green); color: #04130a; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; }
.plan h3 { font-size: 32px; }
.plan .for { font-size: 15px; color: var(--muted); margin-top: 6px; }
.plan.pop .for { color: var(--muted-on-ink); }
.price { font-family: var(--f-display); font-size: clamp(40px, 4vw, 54px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; font-weight: 400; color: var(--muted); margin-left: 6px; }
.plan.pop .price small { color: var(--muted-on-ink); }
.price .from { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 400; }
.plan.pop .price .from { color: var(--muted-on-ink); }
.plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--mist-line); display: grid; gap: 12px; font-size: 16px; }
.plan.pop ul { border-color: var(--ink-line); }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.plan li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--green-deep); }
.plan.pop li svg { color: var(--green); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .btn-line { color: var(--ink); }
.plan .btn-line:hover { background: var(--ink); color: var(--text-on-ink); border-color: var(--ink); }
.enterprise { margin-top: 56px; background: var(--mist); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; }
.enterprise p { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; max-width: 40ch; }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); font-family: var(--f-mono); letter-spacing: .04em; }

/* TESTIMONIALS */
.quote-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 36px; align-items: start; margin-bottom: 56px; }
.qmark { font-family: var(--f-display); font-weight: 800; font-size: clamp(110px, 14vw, 220px); line-height: .7; color: var(--green); height: .5em; }
.quote-main blockquote { margin: 0; }
.quote-main blockquote p { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; min-height: 3.3em; }
.who { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--green); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; flex: none; }
.who b { display: block; font-weight: 600; }
.who span { color: var(--muted); font-size: 15px; }
.dots { display: flex; gap: 8px; margin-top: 28px; }
.dots button { width: 44px; height: 6px; border: 0; padding: 0; background: var(--mist-line); position: relative; }
.dots button::after { content: ""; position: absolute; inset: -18px 0; }
.dots button[aria-current="true"] { background: var(--green); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.stars { color: var(--green-deep); letter-spacing: 3px; font-size: 16px; }
.review p { font-size: 17px; }
.review footer { margin-top: auto; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rating { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rating b { font-family: var(--f-display); font-size: 28px; color: var(--ink); letter-spacing: -0.03em; margin-right: 8px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact-l { background: var(--ink); color: var(--text-on-ink); padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.contact-r { background: var(--mist); padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px); min-width: 0; }
.contact-details { display: grid; gap: 14px; font-size: 16px; margin-top: 4px; }
.contact-details div { display: flex; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink-line); }
.contact-details dt, .contact-details span.k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-ink); width: 80px; flex: none; padding-top: 3px; }
.slots { border: 1px solid var(--ink-line); padding: 22px; display: grid; gap: 14px; }
.slots h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-ink); font-weight: 500; }
.slot-row { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-row button { background: transparent; color: var(--text-on-ink); border: 1px solid #2f7a50; padding: 10px 14px; font-size: 14px; font-variant-numeric: tabular-nums; min-height: 44px; }
.slot-row button:hover { border-color: var(--green); }
.slot-row button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #04130a; font-weight: 600; }
.slots .confirm { font-size: 14px; color: var(--muted-on-ink); min-height: 1.4em; }
.socials { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.socials a { border: 1px solid #2f7a50; padding: 9px 14px; font-size: 13px; font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.socials a:hover { border-color: var(--green); color: var(--green); }
form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; }
input, select, textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 14px 14px; border: 1px solid #c3cac5; background: var(--paper); color: var(--ink); border-radius: 0; width: 100%; min-height: 52px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--green); outline-offset: 0; border-color: var(--ink); }
.form-msg { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-msg.ok { color: var(--green-deep); font-weight: 600; }

/* FINAL CTA */
.final { background: var(--green); color: #04130a; position: relative; overflow: hidden; }
.final .wm { position: absolute; right: -4%; top: 50%; width: min(48vw, 520px); transform: translateY(-50%); opacity: .18; filter: brightness(0) invert(1); pointer-events: none; }
.final-in { position: relative; padding-block: clamp(64px, 8vw, 110px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.final h2 { font-size: clamp(44px, 7vw, 104px); letter-spacing: -0.04em; line-height: .92; }

/* FOOTER */
footer.site { background: var(--ink); color: var(--text-on-ink); padding-top: clamp(56px, 7vw, 100px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.giant { font-family: var(--f-display); font-weight: 800; font-size: clamp(64px, 17vw, 260px); letter-spacing: -0.06em; line-height: .8; color: var(--text-on-ink); margin-top: clamp(40px, 6vw, 80px); white-space: nowrap; }
.giant em { font-style: normal; color: var(--green); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h5 { margin: 0 0 14px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot-grid li a { display: inline-block; padding: 5px 0; color: #d6dcd8; font-size: 15px; }
.foot-grid li a:hover { color: var(--green); }
.news { display: flex; margin-top: 16px; max-width: 360px; }
.news input { background: var(--ink-2); border: 1px solid var(--ink-line); color: var(--text-on-ink); min-height: 48px; }
.news button { background: var(--green); border: 0; color: #04130a; font-weight: 600; padding: 0 18px; min-height: 48px; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted-on-ink); font-family: var(--f-mono); letter-spacing: .04em; }
.lang { display: inline-flex; gap: 4px; }
.lang button { background: none; border: 1px solid var(--ink-line); color: var(--muted-on-ink); padding: 6px 12px; font-family: var(--f-mono); font-size: 12px; min-height: 36px; }
.lang button[aria-pressed="true"] { color: #04130a; background: var(--green); border-color: var(--green); }

.chat { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 55; background: var(--green); color: #04130a; border: 0; border-radius: 100px; padding: 14px 20px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.28); min-height: 52px; }
.chat:hover { background: #0fc85f; }
.chat-pop { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 55; background: var(--paper); color: var(--ink); width: min(320px, calc(100vw - 40px)); padding: 20px; box-shadow: 0 14px 40px rgba(0,0,0,.3); font-size: 15px; }
.chat-pop b { font-family: var(--f-display); font-size: 20px; display: block; margin-bottom: 6px; letter-spacing: -0.02em; }

@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .mark-stage { max-width: 420px; justify-self: start; }
  .about-grid, .section-head, .contact-grid { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  .about-visual { min-height: 340px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.wide { grid-column: span 2; }
  .tile.feature { grid-row: span 1; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case { flex-basis: calc((100% - 16px) / 2); }
  .plans { grid-template-columns: 1fr; }
  .plan.pop { margin-block: 0; padding-block: 48px; order: -1; }
  .badge { top: 0; }
  .reviews { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .tile.feature, .tile.wide { grid-column: span 1; grid-row: span 1; }
  .tile.feature { padding: 28px; min-height: 340px; }
  .case { flex-basis: 84%; min-width: 0; }
  .trust { flex-direction: column; align-items: flex-start; gap: 14px; }
  .trust .marquee { width: 100%; flex: none; }
  .quote-main { grid-template-columns: 1fr; gap: 0; }
  .qmark { height: .35em; }
  .stat:nth-child(odd) { padding-right: 12px; }
  .stat:nth-child(even) { padding-left: 16px; }
  .chat span.lbl { display: none; }
  .chat { padding: 14px; width: 52px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* WordPress admin bar offset */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* v1.1 additions */
.case-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.02; letter-spacing: -0.03em; color: var(--green); }
.plans.single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.plans.single .plan.pop { margin-block: 0; padding-block: 56px; order: 0; }
.stat b.word { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.1; overflow-wrap: anywhere; }
.contact-details span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--green); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-l .lede { color: var(--muted-on-ink); }
