:root {
  --night: #0e0c23;
  --starlight: #fcfaff;
  --lilac: #cdc6db;
  --violet: #c743f6;
  --cyan: #00e9fa;
}
.home-page {
  color-scheme: dark;
  --paper: #090e20;
  --ink: #f3f5ff;
  --body: #bec8e3;
  --accent: #5bf0dc;
  --line: #303e63;
  --soft: #151d39;
  --card: #10172d;
  --orchid: #e098ff;
  --electric: #72acff;
  --spectrum: linear-gradient(105deg, var(--orchid), var(--electric) 48%, var(--accent));
  --hero-fade: linear-gradient(to bottom, transparent 87%, var(--paper));
}
.home-page a:focus-visible { outline-color: var(--cyan); }
.home-page .skip-link { background: var(--soft); }
.site-header, .terrain-hero { background-color: var(--night); color: var(--starlight); }
.site-header { position: relative; z-index: 1; background-image: linear-gradient(110deg, transparent 56%, #1f0e41); }
.site-header .shell, .terrain-content { width: min(100% - 3rem, 1170px); }
.site-header .header-inner { min-height: 85px; }
.site-header .brand { gap: clamp(.55rem, 1.8vw, 1.5rem); font-size: 1.45rem; white-space: nowrap; letter-spacing: -.035em; }
.site-header .brand img { width: clamp(5.5rem, 11vw, 9rem); height: auto; }
.site-header .brand span { border-left: 1px solid #9a8bb87a; padding-left: clamp(.55rem, 1.8vw, 1.7rem); }
.site-header nav { gap: clamp(.75rem, 2.6vw, 2.4rem); font-size: 1rem; }
.site-header nav a:hover { color: var(--cyan); }
.site-header .nav-cta {
  background: linear-gradient(105deg, #8422cf, #4a1979 56%, #006376) padding-box, linear-gradient(110deg, var(--violet), var(--cyan)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 0 12px #f4cbff55, -4px 0 14px #b334f98a, 4px 0 14px #00d9f36b;
}
.terrain-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse at 86% 22%, #962cde63, transparent 34%),
    radial-gradient(ellipse at 62% 49%, #ab25ee68, transparent 29%),
    radial-gradient(ellipse at 99% 54%, #08799583, transparent 36%),
    radial-gradient(ellipse at 0% 85%, #721cb561, transparent 34%),
    radial-gradient(ellipse at 77% 33%, #260b46, transparent 63%);
}
.terrain-art, .terrain-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.terrain-art { z-index: -2; }
.terrain-hero::after {
  content: "";
  z-index: -1;
  background: var(--hero-fade), radial-gradient(ellipse at 8% 24%, #100c25 12%, #100c25c4 35%, transparent 68%);
}
.terrain-content { position: relative; padding-top: clamp(3.1rem, 4.25vw, 4rem); padding-bottom: 4.75rem; }
.terrain-hero .hero-copy { max-width: 46rem; }
.terrain-hero h1 { font-size: clamp(2.65rem, 5.15vw, 4.65rem); line-height: 1.01; margin-bottom: 1.6rem; }
.terrain-hero h1 em span {
  color: var(--violet);
  background: linear-gradient(100deg, #e59afb, #b757f4 30%, #7b8eff 61%, var(--cyan) 98%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.terrain-hero .hero-intro { color: var(--lilac); line-height: 1.35; font-size: clamp(1.05rem, 1.7vw, 1.45rem); max-width: 34rem; }
.terrain-hero .hero-intro::before { content: ""; display: block; width: 7rem; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--violet)); border-radius: 2px; margin-bottom: 1.3rem; }
.terrain-hero .hero-actions { flex-direction: row; align-items: center; gap: clamp(.65rem, 2vw, 1.75rem); }
.terrain-hero .button { min-height: 52px; justify-content: center; padding: .7rem clamp(1rem, 2.5vw, 2rem); font-size: clamp(.86rem, 1.35vw, 1.15rem); }
.terrain-hero .terrain-cta {
  background: linear-gradient(110deg, #a33aee, #8522ce 49%, #6325b5);
  border: 1px solid #e285ff;
  box-shadow: inset 0 0 16px #f4b9ff77, 0 0 22px #be2cf287;
}
.terrain-hero .terrain-cta:hover { background: #8437bc; }
.terrain-secondary { border: 2px solid transparent; background: linear-gradient(var(--night), var(--night)) padding-box, linear-gradient(100deg, var(--violet), var(--cyan)) border-box; }
.terrain-secondary span { margin: 0 .7rem 0 0; }
.terrain-secondary:hover { color: var(--cyan); }
.terrain-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(4.5rem, 6vw, 6.25rem) 0 0;
  padding: .65rem 0;
  list-style: none;
  background: linear-gradient(90deg, transparent, #100c258c 18%, #100c258c 82%, transparent);
}
.terrain-services li + li { border-left: 1px solid #d5bdff35; }
.terrain-services a { display: flex; justify-content: center; align-items: center; gap: clamp(.5rem, 2.3vw, 2rem); min-height: 48px; text-decoration: none; font-size: clamp(1rem, 1.7vw, 1.45rem); font-weight: 700; }
.terrain-services a:hover { color: var(--cyan); }
.terrain-services svg { width: clamp(30px, 4vw, 52px); fill: none; stroke: #d377ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.terrain-toggle {
  position: absolute;
  right: 0;
  bottom: .7rem;
  min-height: 44px;
  padding-inline: .8rem;
  border: 1px solid #d5bdff50;
  border-radius: 100px;
  background: var(--night);
  color: var(--lilac);
  font: inherit;
  font-size: .75rem;
  cursor: pointer;
}
.site-header :focus-visible, .terrain-hero :focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.home-page .intro-band, .home-page .approach {
  border: 1px solid var(--line);
  border-radius: 22px;
}
.home-page .intro-band-inner, .home-page .approach-inner {
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.home-page .intro-band {
  background:
    radial-gradient(ellipse at 10% 24%, #281642, transparent 55%),
    radial-gradient(ellipse at 85% 0%, #103747, transparent 65%),
    var(--paper);
}
.home-page .intro-band p:last-child { color: var(--body); }
.home-page .service {
  --service-color: var(--orchid);
  --service-tint: #261b40;
  border-color: var(--line);
  border-top-color: var(--service-color);
  background: linear-gradient(155deg, var(--service-tint), var(--card) 70%);
}
.home-page #local-ai {
  --service-color: var(--electric);
  --service-tint: #172e54;
}
.home-page #workflows {
  --service-color: var(--accent);
  --service-tint: #12363e;
}
.home-page .service-icon {
  color: var(--service-color);
  background: var(--paper);
  border: 1px solid var(--line);
}
.home-page .service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-page .service-tag { color: var(--body); }
.home-page .approach {
  background: linear-gradient(112deg, #211636, #122649 55%, #0c2b34);
  color: var(--ink);
}
.home-page .approach-inner { padding-block: clamp(2rem, 5vw, 4rem); }
.home-page .approach .eyebrow { color: var(--electric); }
.home-page .approach h2 em { color: var(--orchid); }
.home-page .approach-copy { color: var(--body); }
.home-page .approach-copy .text-link { color: var(--accent); }
.home-page .approach-copy .text-link:hover { text-decoration: underline; }
.home-page .consultation-panel {
  border: 1px solid var(--line);
  background: linear-gradient(125deg, #27173f, #152b50 52%, #104044);
}
.home-page .booking-status {
  border: 1px solid var(--line);
  background: var(--paper);
}
.home-page .booking-status .button-primary {
  background: var(--spectrum);
  color: #080e22;
  box-shadow: none;
}
.home-page .booking-status .button-primary:hover { background: var(--accent); }
.home-page .booking-status .whatsapp-link { color: #93dfb6; }
.home-page .booking-status .whatsapp-link:hover { color: #b7f4d0; }
.home-page .footer { padding-right: 4.5rem; }
.home-page .footer .copyright { font-size: .7rem; }
.home-page .footer-brand img { width: 5.5rem; height: auto; }
.home-page .footer-brand span { border-left: 1px solid var(--line); padding-left: .75rem; }
.whatsapp-bubble {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid #72ebcf;
  border-radius: 50%;
  background: #72ebcf;
  color: var(--night);
  box-shadow: 0 0 10px #72ebcf66;
}
.home-page .whatsapp-bubble:hover { background: #72ebcf; }
.whatsapp-bubble:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.whatsapp-bubble svg { overflow: visible; }
.whatsapp-label {
  position: absolute;
  top: calc(50% - 8px);
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
}
.whatsapp-label text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  fill: #8deaff;
  stroke: var(--night);
  stroke-width: 2px;
  paint-order: stroke;
  filter: drop-shadow(0 0 3px #39aaff);
}
.whatsapp-symbol-bubble { filter: drop-shadow(0 0 3px #ff9bd199); }
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-bubble { animation: whatsapp-glow 8s ease-in-out infinite; }
  .whatsapp-symbol-bubble { animation: whatsapp-symbol-glow 8s ease-in-out infinite; }
}
@keyframes whatsapp-glow {
  0%, 100% { background-color: #72ebcf; border-color: #72ebcf; box-shadow: 0 0 10px 0 #72ebcf66; }
  25% { background-color: #52dfff; border-color: #52dfff; box-shadow: 0 0 26px 4px #52dfff99; }
  50% { background-color: #ac87ff; border-color: #ac87ff; box-shadow: 0 0 10px 0 #ac87ff66; }
  75% { background-color: #79a8ff; border-color: #79a8ff; box-shadow: 0 0 26px 4px #79a8ff99; }
}
@keyframes whatsapp-symbol-glow {
  0%, 100% { fill: #ff9bd1; filter: drop-shadow(0 0 5px #ff9bd1cc); }
  25% { fill: #ffc386; filter: drop-shadow(0 0 2px #ffc38688); }
  50% { fill: #ffe28c; filter: drop-shadow(0 0 5px #ffe28ccc); }
  75% { fill: #ffab99; filter: drop-shadow(0 0 2px #ffab9988); }
}
@media (max-width: 720px) {
  .site-header .header-inner { gap: .75rem; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .site-header .nav-cta { font-size: .85rem; white-space: nowrap; }
  .terrain-content { padding-top: 3.5rem; }
  .terrain-hero .hero-copy { max-width: 34rem; }
  .terrain-break { display: none; }
  .terrain-art { inset: auto 0 0; height: 65%; }
  .terrain-hero::after { background: var(--hero-fade), linear-gradient(var(--night) 16%, #100c25c9 47%, transparent 76%); }
  .terrain-services { margin-top: clamp(5rem, 24vw, 9rem); }
  .terrain-services a { flex-direction: column; gap: .35rem; padding: .35rem .2rem; text-align: center; font-size: .82rem; line-height: 1.2; }
  .whatsapp-bubble { width: 52px; height: 52px; }
}
@media (max-width: 380px) {
  .site-header .brand { gap: .4rem; font-size: 1rem; }
  .site-header .brand img { width: 4rem; }
  .site-header .brand span { padding-left: .4rem; }
  .site-header .nav-cta { padding-inline: .65rem; }
  .site-header .nav-cta span { margin-left: .25rem; }
}
@media (forced-colors: active) {
  .terrain-art { display: none; }
  .terrain-hero h1 em span { -webkit-text-fill-color: currentColor; }
}
