/* =============================================================
   Kestrel IT — demo site · Archetype 04 (Glassmorphism Modern)
   Design by Bautista Gabarro · fictional business
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f3f5fa;
  --mesh-1:    #a9d6ff;   /* sky */
  --mesh-2:    #b9f0dc;   /* mint */
  --mesh-3:    #d2c7ff;   /* lavender */
  --glass:     rgba(255, 255, 255, 0.52);
  --glass-2:   rgba(255, 255, 255, 0.30);
  --glass-solid: rgba(255, 255, 255, 0.86);
  --glass-line: rgba(255, 255, 255, 0.7);
  --ink:       #0f1b2d;
  --ink-soft:  #45546a;
  --ink-mute:  #6b7a90;
  --accent:    #4338ca;   /* indigo */
  --accent-2:  #0f9d8a;   /* teal: "online / ok" */
  --accent-soft: rgba(67, 56, 202, 0.10);
  --line:      rgba(15, 27, 45, 0.10);
  --shadow:    0 1px 1px rgba(15, 27, 45, 0.04), 0 18px 50px -18px rgba(30, 41, 90, 0.22);
  --shadow-lg: 0 40px 90px -30px rgba(30, 41, 90, 0.40);

  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;

  --r-sm: 14px;
  --r:    24px;
  --r-lg: 32px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section { padding-block: clamp(76px, 10vw, 136px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); margin-top: .8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.grad {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 10%, #2f7fe0 55%, var(--accent-2) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.demo-tag {
  display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 999px; background: rgba(255, 200, 87, .28); color: #7a4b00;
  border: 1px solid rgba(180, 120, 0, .25);
}

/* =============================================================
   4. Background mesh (signature effect 1)
   ============================================================= */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh span {
  position: absolute; border-radius: 50%;
  width: 70vmax; height: 70vmax;
  opacity: .75;
  animation: meshDrift 30s ease-in-out infinite;
}
.mesh span:nth-child(1) { background: radial-gradient(circle, var(--mesh-1) 0%, transparent 62%); top: -30vmax; left: -18vmax; }
.mesh span:nth-child(2) { background: radial-gradient(circle, var(--mesh-3) 0%, transparent 62%); top: 10vmax; right: -30vmax; animation-delay: -10s; animation-duration: 36s; }
.mesh span:nth-child(3) { background: radial-gradient(circle, var(--mesh-2) 0%, transparent 62%); bottom: -40vmax; left: 10vmax; animation-delay: -20s; animation-duration: 42s; }
@keyframes meshDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
  66%      { transform: translate3d(-4vmax, 6vmax, 0) scale(.94); }
}

/* =============================================================
   5. Components
   ============================================================= */

/* --- Glass (signature effect 2) — solid fallback first --- */
.glass {
  background: var(--glass-solid);
  border: 1px solid var(--glass-line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}

/* --- Buttons --- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.45rem;
  border-radius: 999px; font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform .5s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #4338ca 0%, #3b5bdb 55%, #2f7fe0 100%);
  box-shadow: 0 10px 30px -10px rgba(67, 56, 202, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 16px 38px -12px rgba(67, 56, 202, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-line); box-shadow: var(--shadow); }
.btn-ghost:hover { background: rgba(255, 255, 255, .85); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* --- Status dot --- */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(15, 157, 138, .16); flex: none; }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Demo bar --- */
.demo-bar {
  position: relative; z-index: 60;
  display: flex; justify-content: center;
  padding: 8px var(--gutter) 0;
}
.demo-bar a {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: var(--ink-soft);
  padding: .32rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .55); border: 1px solid var(--glass-line);
  transition: color .25s, background-color .25s;
}
.demo-bar a:hover { color: var(--ink); background: rgba(255, 255, 255, .9); }
.demo-bar b { font-weight: 600; color: #7a4b00; }

/* --- Nav --- */
.site-header { position: sticky; top: 10px; z-index: 50; padding: 10px var(--gutter) 0; }
.nav {
  width: min(100%, var(--max)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  transition: box-shadow .4s var(--ease-out), background-color .4s;
}
.site-header.is-scrolled .nav { box-shadow: 0 1px 1px rgba(15, 27, 45, .04), 0 18px 40px -16px rgba(30, 41, 90, .3); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.brand svg { width: 32px; height: 32px; }
.brand small { font-family: var(--mono); font-weight: 500; font-size: .7rem; color: var(--ink-mute); letter-spacing: .04em; }
.nav-links { position: relative; display: none; align-items: center; gap: .15rem; }
.nav-links a { position: relative; z-index: 1; padding: .55rem .9rem; font-size: .93rem; font-weight: 500; color: var(--ink-soft); border-radius: 999px; transition: color .25s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-pill { /* signature effect 5: sliding hover indicator */
  position: absolute; z-index: 0; top: 0; left: 0; height: 100%;
  border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: 0 2px 10px -4px rgba(30, 41, 90, .25);
  opacity: 0; transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .25s;
}
.nav-cta { display: none; }
.burger { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .7); }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s; }
.burger span + span { margin-top: 5px; }
.burger-lines { display: grid; }
.site-header.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.site-header.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  width: min(100%, var(--max)); margin: 8px auto 0; padding: 10px;
  display: grid; gap: 2px; border-radius: var(--r);
}
.mobile-menu a { padding: .85rem 1rem; border-radius: 14px; font-weight: 500; }
.mobile-menu a:hover { background: rgba(255, 255, 255, .7); }
.mobile-menu .btn { margin-top: 6px; }
/* No-JS: menu is visible inline, burger hidden */
.no-js .burger { display: none; }
.no-js .mobile-menu[hidden] { display: grid !important; }

/* --- Hero --- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(70px, 9vw, 120px); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem .45rem .7rem; border-radius: 999px; font-size: .86rem; color: var(--ink-soft);
}
.hero h1 { font-size: clamp(2.5rem, 1.35rem + 5vw, 4.9rem); margin-top: 1.4rem; letter-spacing: -.035em; line-height: 1.02; }
.hero-sub { font-size: clamp(1.05rem, .98rem + .35vw, 1.24rem); color: var(--ink-soft); margin-top: 1.4rem; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2.2rem; color: var(--ink-soft); font-size: .92rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-proof svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; }

.hero-visual { position: relative; padding: 18px 8px 40px; }
.hero-frame {
  position: relative; border-radius: var(--r-lg); padding: 10px;
  animation: bob 9s ease-in-out infinite; /* signature effect 3: floating product */
}
.hero-frame img {
  width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: calc(var(--r-lg) - 10px);
  filter: saturate(1.05);
}
.hero-frame { box-shadow: var(--shadow-lg); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1rem; border-radius: 18px; font-size: .86rem; line-height: 1.35;
  animation: bob 7s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--display); font-size: .95rem; letter-spacing: -.01em; }
.float-card span { color: var(--ink-mute); font-size: .78rem; }
.float-card .icon {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, rgba(67, 56, 202, .14), rgba(15, 157, 138, .14)); color: var(--accent);
}
.float-card .icon svg { width: 20px; height: 20px; }
.float-card.glass { background: rgba(255, 255, 255, .82); }
.fc-1 { left: -6px; top: 34px; animation-delay: -2s; }
.fc-2 { right: -4px; top: 44%; animation-delay: -4.5s; }
.fc-3 { left: 8%; bottom: 0; animation-delay: -1s; }
.fc-mono { font-family: var(--mono); font-size: .76rem; color: var(--accent-2); }

/* --- Promise (why) --- */
.promise-grid { display: grid; gap: 18px; }
.promise-card { padding: clamp(24px, 3vw, 34px); position: relative; overflow: hidden; }
.promise-card .num { font-family: var(--mono); font-size: .76rem; color: var(--ink-mute); letter-spacing: .06em; }
.promise-card h3 { font-size: 1.45rem; margin-top: 1.4rem; }
.promise-card p { color: var(--ink-soft); margin-top: .7rem; }
.promise-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-top: 1.2rem;
  background: linear-gradient(135deg, #4338ca, #2f7fe0); color: #fff; box-shadow: 0 12px 26px -12px rgba(67, 56, 202, .7);
}
.promise-icon svg { width: 26px; height: 26px; }

/* --- Services --- */
.services-grid { display: grid; gap: 20px; }
.service-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-media { padding: 8px 8px 0; }
.service-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.service-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.service-body h3 { font-size: 1.32rem; }
.service-body p { color: var(--ink-soft); }
.ticks { display: grid; gap: .45rem; margin-top: .3rem; font-size: .93rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: rgba(15, 157, 138, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.also { margin-top: 20px; padding: 24px; display: grid; gap: 16px; align-items: center; }
.also h3 { font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }

/* --- Response times --- */
.sla { padding: clamp(22px, 3vw, 36px); display: grid; gap: 28px; }
.sla-head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: .7rem; }
.sla-head p { color: var(--ink-soft); margin-top: .7rem; }
.sla-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sla-table th, .sla-table td { text-align: left; padding: .95rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sla-table th { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.sla-table tr:last-child td { border-bottom: 0; }
.sla-table td:last-child { font-family: var(--mono); font-weight: 600; color: var(--accent); white-space: nowrap; }
.sev { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.sev i { width: 9px; height: 9px; border-radius: 50%; }
.sev-1 i { background: #e5484d; } .sev-2 i { background: #f5a524; } .sev-3 i { background: #2f7fe0; } .sev-4 i { background: #8b98ad; }
.sla-table small { display: block; color: var(--ink-mute); font-size: .84rem; margin-top: .15rem; font-weight: 400; }

/* --- Onboarding --- */
.onboard-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.onboard-aside { position: relative; }
.onboard-aside .photo { padding: 8px; border-radius: var(--r-lg); }
.onboard-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); }
.onboard-aside .note { margin-top: 16px; padding: 18px 20px; display: flex; gap: .9rem; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.onboard-aside .note strong { color: var(--ink); }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; position: relative; }
.step-num {
  grid-row: span 3; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: .9rem; color: var(--accent); background: var(--accent-soft);
}
.step h3 { font-size: 1.2rem; align-self: center; }
.step .when { font-family: var(--mono); font-size: .74rem; color: var(--accent-2); letter-spacing: .04em; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* --- Plans --- */
.estimator { padding: 18px 22px; display: grid; gap: 12px; align-items: center; margin-bottom: 22px; }
.estimator label { font-weight: 600; font-size: .95rem; }
.estimator output { font-family: var(--mono); font-weight: 600; color: var(--accent); font-size: 1.05rem; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input { flex: 1; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill, 11%), rgba(15, 27, 45, .12) var(--fill, 11%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 4px 12px -2px rgba(67, 56, 202, .5); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 4px 12px -2px rgba(67, 56, 202, .5); }
.estimator .fine { font-size: .82rem; color: var(--ink-mute); }
.plans-grid { display: grid; gap: 20px; align-items: stretch; }
.plan { padding: 28px 26px; display: flex; flex-direction: column; gap: 1rem; position: relative; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.plan h3 { font-size: 1.35rem; }
.plan .for { color: var(--ink-soft); font-size: .95rem; }
.price { display: flex; align-items: baseline; gap: .35rem; font-family: var(--display); }
.price b { font-size: 3rem; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--ink-mute); font-family: var(--sans); font-size: .9rem; }
.plan-total { font-family: var(--mono); font-size: .82rem; color: var(--ink-soft); padding: .55rem .8rem; border-radius: 12px; background: rgba(255, 255, 255, .6); border: 1px dashed var(--line); }
.plan-total b { color: var(--ink); }
.plan .ticks { flex: 1; }
.plan .btn { width: 100%; }
.plan-featured { border-color: transparent; background: rgba(255, 255, 255, .88); }
.plan-featured::before { /* gradient ring via mask — no negative z-index (glass creates a stacking context) */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: linear-gradient(140deg, #4338ca, #2f7fe0 50%, #0f9d8a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.badge { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; color: #fff; background: linear-gradient(120deg, #4338ca, #2f7fe0); }
.plans-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; color: var(--ink-soft); font-size: .92rem; }
.plans-foot li { display: inline-flex; align-items: center; gap: .5rem; }

/* --- FAQ --- */
.faq-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 20px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--display); font-weight: 600; font-size: 1.06rem; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338ca' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .4s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 22px 22px; color: var(--ink-soft); }
.faq-item .answer p + p { margin-top: .7rem; }
.faq-side { padding: 26px; }
.faq-side h3 { font-size: 1.3rem; margin-top: .6rem; }
.faq-side p { color: var(--ink-soft); margin: .6rem 0 1.2rem; }

/* --- Contact --- */
.contact-grid { display: grid; gap: 20px; align-items: stretch; }
.contact-info { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 1.4rem; position: relative; overflow: hidden; }
.contact-info h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.contact-info > p { color: var(--ink-soft); }
.contact-list { display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-family: var(--mono); font-size: .7rem; color: var(--ink-mute); letter-spacing: .06em; text-transform: uppercase; }
.contact-list a:hover { color: var(--accent); }
.contact-city { margin-top: auto; border-radius: 18px; overflow: hidden; position: relative; }
.contact-city img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.contact-city figcaption { position: absolute; left: 10px; bottom: 10px; padding: .35rem .7rem; border-radius: 999px; font-size: .78rem; background: rgba(255, 255, 255, .85); }

.form { padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.form-head h3 { font-size: 1.4rem; }
.form-head p { color: var(--ink-soft); font-size: .95rem; margin-top: .4rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 16px; }
.field label { font-size: .88rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem .95rem; border-radius: 14px; border: 1px solid rgba(15, 27, 45, .14);
  background: rgba(255, 255, 255, .78);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(67, 56, 202, .14); background: #fff; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.check input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-note { font-size: .82rem; color: var(--ink-mute); display: flex; gap: .5rem; align-items: center; }
.form-result {
  padding: 16px 18px; border-radius: 16px; font-size: .95rem;
  background: rgba(255, 200, 87, .22); border: 1px solid rgba(180, 120, 0, .3); color: #5c3a00;
}
.form-result strong { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: .2rem; }

/* --- Footer --- */
.site-footer { padding: 56px 0 36px; }
.footer-inner { padding: clamp(24px, 3vw, 36px); display: grid; gap: 28px; }
.footer-top { display: grid; gap: 24px; }
.footer-top p { color: var(--ink-soft); font-size: .93rem; max-width: 44ch; margin-top: .8rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; font-size: .93rem; }
.footer-nav a { color: var(--ink-soft); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-mute); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--ink); }

/* --- Simple pages (privacy, credits) --- */
.page { padding-block: clamp(40px, 7vw, 90px) clamp(60px, 8vw, 110px); }
.page-card { max-width: 820px; margin-inline: auto; padding: clamp(26px, 4vw, 52px); }
.page-card h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); margin-top: .9rem; }
.page-card .lead { color: var(--ink-soft); font-size: 1.1rem; margin-top: 1rem; }
.page-card h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.page-card p, .page-card li { color: var(--ink-soft); margin-top: .7rem; }
.page-card ul.bullets { list-style: disc; padding-left: 1.2rem; }
.page-card a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-card .aside-es { margin-top: 2.4rem; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); }
.credits-list { display: grid; gap: 12px; margin-top: 1.6rem; }
.credit { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); }
.credit img { width: 96px; height: 72px; object-fit: cover; border-radius: 12px; }
.credit p { margin: 0; font-size: .9rem; }
.credit p:first-child { color: var(--ink); font-weight: 600; }

/* =============================================================
   7. Effects — reveals & hero entrance
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
/* Safety: if JS stalls, everything shows at 3.5s */
.js [data-reveal] { animation: revealSafety .01s 3.5s forwards; }
.js [data-reveal].is-revealed { animation: none; }
@keyframes revealSafety { to { opacity: 1; transform: none; } }

.hero-anim { animation: heroIn 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .estimator { grid-template-columns: auto 1fr; }
  .estimator .fine { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .promise-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .also { grid-template-columns: auto 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
  .hero-grid { grid-template-columns: 1.08fr 1fr; }
  .fc-1 { left: -34px; }
  .fc-2 { right: -26px; }
  .sla { grid-template-columns: .8fr 1.2fr; align-items: center; }
  .onboard-grid { grid-template-columns: .9fr 1.1fr; }
  .onboard-aside { position: sticky; top: 110px; }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-featured { transform: translateY(-10px); }
  .faq-grid { grid-template-columns: 1.4fr .8fr; }
  .faq-side { position: sticky; top: 110px; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; }
  .footer-top { grid-template-columns: 1fr auto; align-items: start; }
}
@media (max-width: 539px) {
  .hero-ctas .btn { width: 100%; }
  .float-card { font-size: .8rem; padding: .65rem .8rem; }
  .fc-2 { display: none; }
  .demo-bar a { font-size: .72rem; text-align: center; }
  .sla-table th:nth-child(2), .sla-table td:nth-child(2) { display: none; }
}

/* =============================================================
   9. Reduced motion — only the intrusive loops
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-frame, .float-card { animation: none; }
  html { scroll-behavior: auto; }
}
