/* =============================================================
   CS Kleen Solution — styles.css
   Archetype: Liquid Wave, palette guided by the brand's Instagram
   (teal + navy + yellow)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #eef8f9;   /* pale aqua */
  --bg-2:        #e2f3f5;
  --paper:       #ffffff;
  --ink:         #0a2b31;
  --ink-soft:    #33545b;
  --ink-mute:    #4f6c73;
  --brand:       #42b9c4;   /* logo teal */
  --brand-2:     #7fd2d9;   /* light teal */
  --brand-deep:  #0e6d77;   /* teal for text & buttons (AA on white) */
  --em:          #138f9a;   /* emphasis in large headings */
  --deep:        #07414a;   /* deep teal sections */
  --deep-2:      #0a525c;
  --night:       #052c33;   /* footer */
  --sun:         #ffd166;   /* warm accent, used sparingly */
  --on-deep:     #e3f4f5;
  --on-deep-2:   #b9dadd;
  --line:        rgba(10, 43, 49, .12);
  --line-strong: rgba(10, 43, 49, .22);
  --danger:      #b42318;

  --shadow-soft: 0 30px 70px -34px rgba(7, 65, 74, .35);
  --shadow-chip: 0 18px 40px -18px rgba(7, 65, 74, .38);

  --radius-l: 32px;
  --radius-m: 22px;
  --radius-s: 14px;
  --blob: 42% 58% 63% 37% / 41% 44% 56% 59%;

  --display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-in:   cubic-bezier(.7, 0, .84, 0);
  --ease-soft: cubic-bezier(.25, .46, .45, .94);

  --gutter: clamp(1.15rem, 4vw, 3rem);
  --maxw: 1260px;
  --nav-h: 72px;

  /* wave underline + kicker wave + checks (inline SVG, brand colours) */
  --wave-u: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4Q3 .5 6 4T12 4T18 4T24 4' fill='none' stroke='%2342b9c4' stroke-width='2'/%3E%3C/svg%3E");
  --wave-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M0 4Q3 .5 6 4T12 4' fill='none' stroke='%2342b9c4' stroke-width='2'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.6l4.3 4.2L19 7.2' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --line-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='64' viewBox='0 0 22 64'%3E%3Cpath d='M11 0C19 16 19 16 11 32S3 48 11 64' fill='none' stroke='%23b7e3e7' stroke-width='2.5'/%3E%3C/svg%3E");
  --line-wave-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='64' viewBox='0 0 22 64'%3E%3Cpath d='M11 0C19 16 19 16 11 32S3 48 11 64' fill='none' stroke='%230e6d77' stroke-width='2.5'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230e6d77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:where(ul, ol)[class] { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 9999;
  padding: .65rem 1rem; border-radius: 10px;
  background: var(--deep); color: #fff; font-weight: 600;
  transform: translateY(-160%); opacity: 0;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.skip-link:focus { transform: none; opacity: 1; }

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font: 600 .74rem/1.3 var(--display);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-deep);
}
.kicker::before {
  content: ""; width: 30px; height: 8px; flex: none;
  background: var(--wave-k) repeat-x left center / 12px 8px;
}
.kicker--light, .section-head--light .kicker { color: var(--brand-2); }

h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem); font-weight: 600; letter-spacing: -.03em; }
h3 { font-weight: 600; }

/* emphasised words: brand teal + the Instagram yellow, as a wave underline */
h1 em, h2 em {
  font-style: normal;
  color: var(--em);
  background: var(--wave-u) repeat-x 0 100% / 24px 8px;
  padding-bottom: .14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.section-head { max-width: 47rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head h2 { margin-top: .9rem; }
.section-head p { margin-top: 1.1rem; font-size: 1.08rem; color: var(--ink-soft); }
.section-head p a { color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.section-head--light h2 { color: #fff; }
.section-head--light h2 em { color: var(--brand-2); }
.section-head--light p { color: var(--on-deep-2); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .9rem 1.45rem;
  border-radius: 999px;
  font: 600 1rem/1.1 var(--display); letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .45s var(--ease-out); }
.btn:hover .icon[class] { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: var(--deep); color: #fff; box-shadow: 0 14px 28px -14px rgba(28, 43, 75, .75); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-3px); box-shadow: 0 22px 36px -16px rgba(18, 122, 132, .7); }
.btn-ghost { background: rgba(255, 255, 255, .8); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand-deep); color: var(--brand-deep); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--sun); transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .55); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; transform: translateY(-3px); }
.btn-sm { min-height: 2.75rem; padding: .7rem 1.15rem; font-size: .92rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .98rem/1.3 var(--display); color: var(--brand-deep);
  padding-bottom: 6px;
  background: var(--wave-u) repeat-x 0 100% / 24px 8px;
  background-size: 0 8px;
  transition: background-size .5s var(--ease-out);
}
.link-arrow .icon { width: 1.1rem; height: 1.1rem; transition: transform .45s var(--ease-out); }
.link-arrow:hover { background-size: 24px 8px; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

.checklist { display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 1.1rem; height: 1.1rem;
  background: var(--brand-deep);
  -webkit-mask: var(--check) center / contain no-repeat;
  mask: var(--check) center / contain no-repeat;
}
.checklist--light li { color: var(--on-deep); }
.checklist--light li::before { background: var(--brand-2); }

/* photos: soft frame shared by every image */
.photo { position: relative; overflow: hidden; background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   6. Navigation
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.is-scrolled,
.menu-open .nav,
.nav:has(.menu[open]) {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(28, 43, 75, .45);
}
.nav-inner {
  height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo { display: block; flex: none; }
.nav-logo img { height: 38px; width: auto; }

.nav-links { display: none; }
.nav-links a {
  position: relative; padding: .4rem 0;
  font: 500 .95rem/1 var(--display); color: var(--ink-soft);
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px;
  background: var(--wave-u) repeat-x 0 0 / 24px 8px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-phone { display: none; align-items: center; gap: .45rem; font: 600 .95rem/1 var(--display); color: var(--ink); }
.nav-phone .icon { color: var(--brand-deep); width: 1.1rem; height: 1.1rem; }
.nav-cta { display: none; }

/* mobile menu (native <details>, enhanced by JS) */
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-toggle {
  position: relative; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--deep); color: #fff;
  transition: background-color .3s;
}
.menu-toggle-lines { position: relative; width: 18px; height: 12px; display: block; }
.menu-toggle-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle-lines span:nth-child(1) { top: 1px; }
.menu-toggle-lines span:nth-child(2) { top: 9px; }
.menu[open] .menu-toggle-lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu[open] .menu-toggle-lines span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

.menu-panel {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem var(--gutter) 0;
  background: var(--deep); color: #fff;
  overflow-y: auto;
  animation: menuIn .55s var(--ease-out) both;
}
.menu-links { display: grid; gap: .2rem; }
.menu-links a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  font: 600 clamp(1.7rem, 7vw, 2.4rem)/1.15 var(--display); letter-spacing: -.02em;
}
.menu-links a span { font-size: .8rem; color: var(--sun); letter-spacing: .1em; }
.menu-contact { display: grid; gap: .75rem; margin-top: 2rem; }
.menu-waves { position: relative; height: 90px; margin: 2rem calc(var(--gutter) * -1) 0; color: var(--brand); overflow: hidden; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 5vw, 4rem));
  background:
    radial-gradient(60% 55% at 85% 30%, rgba(109, 189, 193, .32) 0%, transparent 70%),
    radial-gradient(55% 45% at 4% 92%, rgba(242, 201, 76, .13) 0%, transparent 70%),
    linear-gradient(180deg, #f7fbfb 0%, var(--bg) 100%);
  overflow: clip;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center;
  padding-bottom: clamp(1rem, 3vw, 2rem);
}
.hero-kicker { animation: riseIn .9s var(--ease-out) .05s both; }
.hero-title {
  margin-top: 1.1rem;
  font-size: clamp(2.45rem, 1.25rem + 4.6vw, 4.6rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -.035em;
}
.hero-line { display: block; animation: lineUp 1s var(--ease-out) .12s both; }
.hero-line + .hero-line { animation-delay: .24s; }
.hero-line em { white-space: nowrap; animation: underlineFlow 5s linear infinite; }
.hero-sub {
  margin-top: 1.4rem; max-width: 36rem;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-soft);
  animation: riseIn .9s var(--ease-out) .36s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; animation: riseIn .9s var(--ease-out) .46s both; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.9rem;
  font-size: .95rem; color: var(--ink-soft);
  animation: riseIn .9s var(--ease-out) .56s both;
}
.hero-facts li, .hero-facts a { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts a { font-weight: 600; color: var(--ink); }
.hero-facts .icon { color: var(--brand-deep); width: 1.15rem; height: 1.15rem; }

/* hero visual: AI photo inside a liquid mask, teal blob behind, sun, chips */
.hero-art {
  position: relative; width: min(100%, 360px); margin-inline: auto;
  aspect-ratio: 460 / 540;
  animation: artIn 1.3s var(--ease-out) .2s both;
}
.blob { position: absolute; border-radius: var(--blob); }
.blob-1 {
  width: 96%; aspect-ratio: 1; left: 2%; top: 10%;
  background: linear-gradient(150deg, #a9dfe2 0%, var(--brand-mid) 55%, var(--brand) 100%);
  animation: blobMorph 18s ease-in-out infinite alternate;
}
.blob-2 {
  width: 18%; aspect-ratio: 1; right: 0; top: 2%; z-index: 2;
  background: linear-gradient(140deg, #f8de8a 0%, var(--sun) 100%);
  animation: blobMorph 11s ease-in-out infinite alternate-reverse;
}
.hero-photo {
  position: absolute; left: 9%; right: 5%; top: 0; bottom: 5%; z-index: 1;
  border: 7px solid #fff;
  border-radius: 58% 42% 46% 54% / 44% 46% 54% 56%;
  box-shadow: var(--shadow-photo);
  animation: photoMorph 16s ease-in-out infinite alternate;
}
.hero-photo img { object-position: 50% 28%; }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem .9rem;
  background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-chip);
  font: 600 .78rem/1.2 var(--display); color: var(--ink);
  white-space: nowrap;
  animation: chipFloat 6s ease-in-out infinite alternate;
}
.chip .icon { width: 1.05rem; height: 1.05rem; color: var(--brand-deep); }
.chip-1 { left: 0; top: 16%; }
.chip-2 { right: 0; bottom: 12%; animation-delay: -3s; }
.chip-dot {
  width: .6rem; height: .6rem; border-radius: 50%; background: var(--brand);
  animation: pulse 2.2s ease-out infinite;
}

/* =============================================================
   8. Wave dividers (signature)
   ============================================================= */
.wave-divider {
  position: relative; z-index: 1;
  height: clamp(54px, 7vw, 110px);
  margin-block: -1px;
  background: var(--from, transparent);
  color: var(--to, var(--paper));
  overflow: hidden;
  pointer-events: none;
}
.hero .wave-divider { background: transparent; }
.wave {
  position: absolute; left: 0; bottom: -1px;
  width: 200%; max-width: none; height: 100%;
  fill: currentColor;
  animation: waveSlide 18s linear infinite;
  will-change: transform;
}
.wave-1 { opacity: .28; animation-duration: 34s; }
.wave-2 { opacity: .5; animation-duration: 25s; animation-direction: reverse; }
.wave-3 { animation-duration: 19s; }

/* =============================================================
   9. Intro (photo + statement + pillars)
   ============================================================= */
.intro { background: var(--paper); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.intro-grid { display: grid; gap: 2.25rem 4.5rem; align-items: center; }
.intro-photo {
  position: relative;
  aspect-ratio: 4 / 5; max-width: 470px; width: 100%;
  border-radius: 34px 34px 34px 160px;
  box-shadow: var(--shadow-photo);
}
.intro-photo img { object-position: 50% 30%; }
.intro-photo-wrap { position: relative; }
.intro-photo-wrap::before {
  content: ""; position: absolute; z-index: 0;
  width: 46%; aspect-ratio: 1; right: -4%; top: -5%;
  border-radius: var(--blob);
  background: linear-gradient(150deg, #bfe6e8, var(--brand-mid));
  animation: blobMorph 16s ease-in-out infinite alternate;
}
.intro-photo-wrap .intro-photo { z-index: 1; }
.intro-badge {
  position: absolute; z-index: 2; left: -2%; bottom: 9%;
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem 1.05rem; border-radius: 16px;
  background: var(--sun); color: var(--ink);
  box-shadow: var(--shadow-chip);
  font: 600 .86rem/1.25 var(--display);
}
.intro-badge .icon { width: 1.4rem; height: 1.4rem; }
.intro-copy h2 { margin-top: .9rem; }
.intro-lead {
  margin-top: 1.25rem;
  font: 400 clamp(1.1rem, 1rem + .5vw, 1.32rem)/1.6 var(--display);
  color: var(--ink-soft); letter-spacing: -.01em;
}
.pillars { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.pillar {
  position: relative; overflow: hidden;
  padding: 1.75rem 1.6rem 1.9rem;
  border-radius: var(--radius-m);
  background: var(--bg);
}
.pillar::after {
  content: ""; position: absolute; right: -30%; bottom: -55%;
  width: 70%; aspect-ratio: 1; border-radius: var(--blob);
  background: rgba(109, 189, 193, .22);
  transition: transform .9s var(--ease-out);
}
.pillar:hover::after { transform: translate(-12%, -14%) rotate(18deg); }
.pillar-icon {
  position: relative; z-index: 1;
  width: 3.1rem; height: 3.1rem; border-radius: 16px;
  display: grid; place-items: center;
  background: #fff; color: var(--brand-deep);
  box-shadow: 0 12px 26px -16px rgba(28, 43, 75, .5);
}
.pillar-icon .icon { width: 1.5rem; height: 1.5rem; }
.pillar h3 { position: relative; z-index: 1; margin-top: 1.25rem; font-size: 1.18rem; }
.pillar p { position: relative; z-index: 1; margin-top: .5rem; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }

/* =============================================================
   10. Services
   ============================================================= */
.services { background: var(--paper); padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem); }
.service-list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service > summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 1rem; padding: 1.3rem .25rem;
}
.service > summary::-webkit-details-marker { display: none; }
.service-num { display: none; }
.service-icon {
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); color: var(--brand-deep);
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out), border-radius .8s var(--ease-out);
}
.service-icon .icon { width: 1.55rem; height: 1.55rem; }
.service > summary:hover .service-icon,
.service[open] .service-icon { background: var(--brand-deep); color: #fff; border-radius: var(--blob); }
.service-name { min-width: 0; }
.service-title { display: block; font: 600 clamp(1.15rem, 1rem + .9vw, 1.6rem)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.service-sub { display: block; margin-top: .2rem; font-size: .92rem; line-height: 1.4; color: var(--ink-mute); }

.service-plus {
  position: relative; flex: none;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: transform .5s var(--ease-out), background-color .3s, border-color .3s;
}
.service-plus::before, .service-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px;
  background: var(--ink);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.service-plus::after { transform: rotate(90deg); }
details[open] > summary .service-plus { transform: rotate(180deg); border-color: var(--deep); background: var(--deep); }
details[open] > summary .service-plus::before, details[open] > summary .service-plus::after { background: #fff; }
details[open] > summary .service-plus::after { transform: rotate(0deg); }

.service-body { padding: .2rem .25rem 2.2rem; animation: bodyIn .6s var(--ease-out) both; }
.service-photo {
  aspect-ratio: 16 / 10; width: 100%;
  border-radius: var(--radius-m) var(--radius-m) var(--radius-m) 90px;
  margin-bottom: 1.4rem;
}
.service-photo img { object-position: 50% 32%; }
.service-lead { max-width: 50rem; font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.service-groups { display: grid; gap: 1.6rem; }
.service-groups h4 {
  margin-bottom: .75rem;
  font: 600 .74rem/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-deep);
}
.service-text .link-arrow { margin-top: 1.75rem; }

/* =============================================================
   11. Sectors (navy)
   ============================================================= */
.sectors { background: var(--deep); color: var(--on-deep); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.sectors-top { display: grid; gap: 1rem 3rem; align-items: end; }
.sectors-tower { display: none; }
.sector-grid { display: grid; gap: 1.25rem; }
.sector-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-l); overflow: hidden;
  background: var(--deep-2);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.sector-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .6); }
.sector-media { position: relative; aspect-ratio: 3 / 2; }
.sector-media img { transition: transform 1.2s var(--ease-out); }
.sector-card:hover .sector-media img { transform: scale(1.05); }
.sector-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 24px;
  background: var(--deep-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 12C20 2 40 2 60 12S100 22 120 12V22H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22' preserveAspectRatio='none'%3E%3Cpath d='M0 12C20 2 40 2 60 12S100 22 120 12V22H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sector-tag {
  position: absolute; left: 1rem; top: 1rem; z-index: 1;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .75rem; border-radius: 999px;
  background: var(--sun); color: var(--ink);
  font: 600 .72rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
}
.sector-body { display: flex; flex-direction: column; gap: 1rem; flex: 1; padding: 1.4rem 1.6rem 1.9rem; }
.sector-body h3 { font-size: 1.4rem; color: #fff; }
.sector-body > p { color: var(--on-deep-2); font-size: 1rem; }
.sector-body .link-arrow { margin-top: auto; padding-top: .75rem; }

/* =============================================================
   12. Method (process + 24 h card)
   ============================================================= */
.method { background: var(--bg); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.method-inner { display: grid; gap: 3rem; }
.method-aside h2 { margin-top: .9rem; }
.method-intro p { margin-top: 1.1rem; font-size: 1.08rem; color: var(--ink-soft); max-width: 34rem; }

.card-24 {
  position: relative; overflow: hidden;
  margin-top: 2.25rem; padding: 2rem 2rem 5.5rem;
  border-radius: var(--radius-l);
  background: var(--deep); color: var(--on-deep);
}
.card-24 .card-24-tag { margin: 0; font: 700 clamp(2.6rem, 2rem + 2vw, 3.4rem)/1 var(--display); letter-spacing: -.04em; color: var(--sun); }
.card-24 h3 { margin-top: .8rem; font-size: 1.35rem; color: #fff; }
.card-24 p { margin-top: .6rem; color: var(--on-deep-2); max-width: 32rem; }
.card-24 .btn { margin-top: 1.5rem; position: relative; z-index: 1; }
.card-24-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; color: var(--brand); }
.card-24-waves .wave-1 { opacity: .18; }
.card-24-waves .wave-2 { opacity: .3; }
.card-24-waves .wave-3 { opacity: .45; }

.steps { position: relative; isolation: isolate; display: grid; gap: 2.4rem; padding-left: 4.4rem; }
.steps::before, .steps::after {
  content: ""; position: absolute; z-index: -1; top: 1rem; bottom: 1rem;
  left: calc(1.6rem - 11px); width: 22px;
  background: var(--line-wave) repeat-y center top / 22px 64px;
}
.steps::after {
  background-image: var(--line-wave-on);
  clip-path: inset(0 0 calc((1 - var(--p, 1)) * 100%) 0);
}
.step { position: relative; }
/* the wavy line stops at the last bubble */
.step:last-child::before {
  content: ""; position: absolute; z-index: 1;
  left: -4.4rem; top: 1.4rem; bottom: -1.2rem; width: 3.2rem;
  background: var(--bg);
}
.step-num {
  position: absolute; left: -4.4rem; top: -.3rem; z-index: 1;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 .95rem/1 var(--display); letter-spacing: .02em;
  background: var(--brand-deep); color: #fff;
  box-shadow: 0 0 0 6px var(--bg), 0 14px 28px -14px rgba(28, 43, 75, .55);
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), border-radius .8s var(--ease-out);
}
.steps.has-scrub .step-num { background: #fff; color: var(--brand-deep); }
.steps.has-scrub .step.is-active .step-num { background: var(--brand-deep); color: #fff; border-radius: var(--blob); }
.step h3 { font-size: 1.25rem; padding-top: .35rem; }
.step p { margin-top: .45rem; color: var(--ink-soft); }

/* =============================================================
   13. FAQ
   ============================================================= */
.faq { background: var(--bg); padding-block: 0 clamp(4rem, 8vw, 6rem); }
.faq-inner { display: grid; gap: 0 4rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: #fff; border-radius: var(--radius-m);
  box-shadow: 0 1px 0 var(--line), 0 18px 36px -32px rgba(28, 43, 75, .45);
  transition: box-shadow .4s var(--ease-out);
}
.faq-item[open] { box-shadow: 0 0 0 1.5px rgba(18, 122, 132, .4), 0 24px 44px -32px rgba(28, 43, 75, .5); }
.faq-item > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.15rem 1.15rem 1.5rem;
  font: 600 1.05rem/1.35 var(--display); color: var(--ink);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > p { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); animation: bodyIn .5s var(--ease-out) both; }

/* =============================================================
   14. Contact
   ============================================================= */
.contact { background: var(--bg); padding-block: 0 clamp(3rem, 6vw, 4.5rem); }
.contact-card {
  display: grid; overflow: hidden;
  border-radius: calc(var(--radius-l) + 6px);
  background: #fff; box-shadow: var(--shadow-soft);
}
.contact-info {
  position: relative; overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3.25rem) 7.5rem;
  background: var(--deep); color: var(--on-deep);
}
.contact-info h2 { margin-top: .9rem; color: #fff; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
.contact-info h2 em { color: var(--brand-2); }
.contact-info > p { margin-top: 1rem; color: var(--on-deep-2); max-width: 30rem; }
.channels { display: grid; gap: .6rem; margin-top: 2rem; }
.channels a {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1rem; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font-weight: 500; color: #fff; line-height: 1.35;
  transition: background-color .3s, border-color .3s, transform .45s var(--ease-out);
}
.channels a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); transform: translateX(4px); }
.channels a > span { min-width: 0; overflow-wrap: anywhere; }
.channels .icon { width: 1.4rem; height: 1.4rem; color: var(--brand-2); }
.channels small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-deep-2); }
.contact-area { display: flex; align-items: center; gap: .55rem; margin-top: 1.5rem; color: var(--on-deep-2); font-size: .95rem; }
.contact-area .icon { color: var(--sun); }
.contact-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; color: var(--brand); }
.contact-waves .wave-1 { opacity: .16; }
.contact-waves .wave-2 { opacity: .28; }
.contact-waves .wave-3 { opacity: .42; }

.contact-form { display: grid; gap: 1.15rem 1.25rem; align-content: start; padding: clamp(1.5rem, 4vw, 3.25rem); }
.field { display: flex; flex-direction: column; min-width: 0; border: 0; padding: 0; }
.field label, .field legend { display: block; margin-bottom: .45rem; font: 600 .88rem/1.3 var(--display); color: var(--ink); padding: 0; }
.opt { font-weight: 400; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.2rem;
  padding: .85rem 1rem;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--bg); border: 1.5px solid transparent; border-radius: var(--radius-s);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.75rem;
  background-image: var(--chevron); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem;
}
.field input::placeholder, .field textarea::placeholder { color: #5f6b85; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background-color: #fff; border-color: var(--brand-deep);
  box-shadow: 0 0 0 4px rgba(66, 185, 196, .22);
}
.field-error { display: none; margin-top: .35rem; font-size: .84rem; color: var(--danger); }
.field.is-invalid input { border-color: var(--danger); background-color: #fff; }
.field.is-invalid .field-error { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span {
  display: inline-flex; align-items: center;
  padding: .6rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font: 500 .92rem/1.2 var(--sans); color: var(--ink-soft);
  cursor: pointer; user-select: none;
  transition: background-color .25s, border-color .25s, color .25s;
}
.chip-check span:hover { border-color: var(--brand-deep); color: var(--ink); }
.chip-check input:checked + span { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--brand-deep); outline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .3rem; }
.form-actions .btn { flex: 1 1 auto; }
.form-note { font-size: .86rem; line-height: 1.5; color: var(--ink-mute); }
.form-note a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.form-status { font: 600 .95rem/1.5 var(--display); color: var(--brand-deep); }
.form-status:empty { display: none; }

/* =============================================================
   15. Footer + floating WhatsApp
   ============================================================= */
.footer { background: var(--night); color: var(--on-deep-2); padding-bottom: 2rem; }
.footer-inner { display: grid; gap: 2.5rem; padding-block: 1.5rem 3rem; }
.footer-brand img { width: 168px; height: auto; }
.footer-brand p { margin-top: 1.4rem; max-width: 30ch; font-size: .95rem; line-height: 1.6; }
.footer-col h3 { margin-bottom: 1rem; font: 600 .74rem/1.2 var(--display); letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.footer-col ul { display: grid; gap: .6rem; list-style: none; padding: 0; }
.footer-col a { font-size: .95rem; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: inline-flex; align-items: center; gap: .6rem; overflow-wrap: anywhere; }
.footer-contact .icon { width: 1.1rem; height: 1.1rem; color: var(--brand-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem;
}
.footer-bottom a:hover { color: #fff; }

.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #128c7e; color: #fff;
  box-shadow: 0 16px 30px -12px rgba(19, 31, 56, .6);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.wa-float .icon { width: 1.7rem; height: 1.7rem; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 22px 36px -14px rgba(19, 31, 56, .65); }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer-legal a { transition: color .25s; }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: #fff; }

/* Legal pages (aviso legal, privacidad) */
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 var(--line);
}
.legal { background: var(--bg); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.legal-inner { max-width: 860px; }
.legal h1 { margin-top: .8rem; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; }
.legal-updated { margin-top: .6rem; font-size: .92rem; color: var(--ink-mute); }
.legal-card {
  margin-top: 2rem; padding: clamp(1.5rem, 4vw, 2.75rem);
  background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-soft);
}
.legal-card h2 { margin-top: 2.2rem; font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); letter-spacing: -.01em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin-top: .75rem; color: var(--ink-soft); }
.legal-card a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-data {
  display: grid; gap: .45rem; margin-top: 1rem; padding: 1.2rem 1.4rem;
  list-style: none; background: var(--bg); border-radius: var(--radius-m);
  color: var(--ink-soft);
}
.legal-data strong { color: var(--ink); font-weight: 600; }
.footer--slim { padding-top: 1.6rem; }
.footer--slim .footer-bottom { border-top: 0; padding-top: 0; }

/* =============================================================
   16. Reveal on scroll (only once main.js is running)
   ============================================================= */
.reveal-ready [data-reveal="up"] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}
.reveal-ready [data-reveal="up"].is-revealed { opacity: 1; transform: none; }
.reveal-ready [data-reveal="wave"] {
  clip-path: polygon(0% 100%, 100% 100%, 100% 113%, 91.7% 117.3%, 83.3% 117.3%, 75% 113%, 66.7% 108.7%, 58.3% 108.7%, 50% 113%, 41.7% 117.3%, 33.3% 117.3%, 25% 113%, 16.7% 108.7%, 8.3% 108.7%, 0% 113%);
  transition: clip-path 1.4s var(--ease-out) var(--d, 0s);
}
.reveal-ready [data-reveal="wave"].is-revealed { clip-path: polygon(0% 100%, 100% 100%, 100% -13%, 91.7% -17.3%, 83.3% -17.3%, 75% -13%, 66.7% -8.7%, 58.3% -8.7%, 50% -13%, 41.7% -17.3%, 33.3% -17.3%, 25% -13%, 16.7% -8.7%, 8.3% -8.7%, 0% -13%); }
.reveal-ready [data-reveal="wave"].is-revealed.is-done { clip-path: none; }

/* Off-screen loops are paused by main.js (saves battery) */
.is-paused .wave, .is-paused .ck-floor, .is-paused .ck-gleam, .is-paused .ck-shadow,
.is-paused .blob, .is-paused .chip, .is-paused .chip-dot, .is-paused .hero-photo,
.is-paused.intro-photo-wrap::before { animation-play-state: paused; }

/* Defensive rule from the skill: split-text elements must never stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   17. Keyframes
   ============================================================= */
@keyframes waveSlide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes towerFloat { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes shadowPulse { from { transform: scale(1); opacity: 1; } to { transform: scale(.86); opacity: .65; } }
@keyframes blobMorph {
  0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg); }
  50%  { border-radius: 58% 42% 38% 62% / 54% 60% 40% 46%; }
  100% { border-radius: 38% 62% 55% 45% / 62% 38% 62% 38%; transform: rotate(14deg); }
}
@keyframes photoMorph {
  0%   { border-radius: 58% 42% 46% 54% / 44% 46% 54% 56%; }
  50%  { border-radius: 46% 54% 56% 44% / 52% 42% 58% 48%; }
  100% { border-radius: 52% 48% 42% 58% / 40% 52% 48% 60%; }
}
@keyframes chipFloat { from { transform: translateY(0); } to { transform: translateY(-9px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(66, 185, 196, .6); } 100% { box-shadow: 0 0 0 11px rgba(66, 185, 196, 0); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { opacity: 0; transform: translateY(.42em); } to { opacity: 1; transform: none; } }
@keyframes artIn { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes underlineFlow { from { background-position: 0 100%; } to { background-position: 24px 100%; } }
@keyframes bodyIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* =============================================================
   11b. Vídeos (reels)
   ============================================================= */
.reels { background: var(--paper); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.75rem, 6vw, 4.5rem); overflow: hidden; }
.reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.reels-head .section-head { margin-bottom: 0; }
.reels-nav { display: none; flex: none; gap: .6rem; padding-bottom: .3rem; }
.reels-arrow {
  display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.reels-arrow .icon { width: 1.25rem; height: 1.25rem; }
.reels-arrow--prev .icon { transform: rotate(180deg); }
.reels-arrow:hover:not(:disabled) { background: var(--deep); border-color: var(--deep); color: #fff; }
.reels-arrow:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.reels-arrow:disabled { opacity: .35; cursor: default; }
.reels-track {
  --inset: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
  padding: 1.75rem var(--inset) 1.5rem;
  scrollbar-width: thin; scrollbar-color: var(--brand-2) transparent;
}
.reels-track::-webkit-scrollbar { height: 6px; }
.reels-track::-webkit-scrollbar-thumb { background: var(--brand-2); border-radius: 99px; }
.reel { flex: 0 0 auto; width: min(64vw, 250px); margin: 0; scroll-snap-align: start; }
.reel-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 26px; background: var(--deep); box-shadow: var(--shadow-soft); }
.reel-video, .reel-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-poster, .reel-play { display: none; }
.reel.is-enhanced .reel-poster { display: block; z-index: 1; }
.reel.is-enhanced .reel-play {
  display: grid; place-items: center; position: absolute; inset: 0; z-index: 2;
  border: 0; padding: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(19, 31, 56, 0) 50%, rgba(19, 31, 56, .5) 100%);
}
.reel-play-btn {
  display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(255, 255, 255, .22); border: 1.5px solid rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .4s var(--ease-out), background .3s, border-color .3s;
}
.reel-play-btn .icon { width: 1.6rem; height: 1.6rem; margin-left: 3px; }
.reel-play:hover .reel-play-btn { transform: scale(1.08); background: var(--brand); border-color: var(--brand); }
.reel-play:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; border-radius: 26px; }
.reel-time {
  position: absolute; z-index: 3; top: .8rem; right: .8rem; padding: .32rem .55rem; border-radius: 99px;
  background: rgba(19, 31, 56, .6); color: #fff; font: 600 .72rem/1 var(--display); letter-spacing: .04em;
}
.reel.is-started .reel-poster, .reel.is-started .reel-play, .reel.is-started .reel-time { display: none; }
.reel figcaption { display: grid; gap: .2rem; margin-top: .9rem; padding-inline: .2rem; }
.reel figcaption strong { font: 600 1.02rem/1.3 var(--display); color: var(--ink); }
.reel figcaption span { font-size: .9rem; color: var(--ink-mute); }
.reels-more { margin-top: .4rem; }

/* =============================================================
   18. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .nav-cta { display: inline-flex; }
  .hero-actions .btn { flex: 0 0 auto; }
  .chip { font-size: .82rem; padding: .7rem 1rem; }
  .menu-contact { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  :root { --nav-h: 80px; }
  .nav-logo img { height: 42px; }
  .hero-art { width: min(100%, 440px); }
  .chip-1 { left: -4%; }
  .chip-2 { right: -4%; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .service > summary { grid-template-columns: 2.6rem auto 1fr auto; gap: 1.25rem; padding: 1.5rem .5rem; }
  .service-num { display: block; font: 600 .85rem/1 var(--display); letter-spacing: .1em; color: var(--ink-mute); }
  .service-icon { width: 3.5rem; height: 3.5rem; }
  .service-body { padding: .2rem .5rem 2.4rem calc(2.6rem + 3.5rem + 2.5rem + .5rem); }
  .service-groups { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .checklist--cols { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
  .sectors-top { grid-template-columns: minmax(0, 1fr) auto; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .reels-nav { display: flex; }
  .reel { width: 240px; }
  .sectors-tower { display: block; width: 190px; aspect-ratio: 440 / 520; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; gap: clamp(1.1rem, 2vw, 2rem); }
  .menu { display: none; }
  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; }
  .hero-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); flex: 1; padding-bottom: 0; }
  .hero-art { width: 100%; max-width: 480px; }
  .chip-1 { left: -12%; }
  .chip-2 { right: -8%; }
  .intro-grid { grid-template-columns: .9fr 1.1fr; }
  .service-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 0 3rem; align-items: start; }
  .service-text { grid-column: 1; grid-row: 1; }
  .service-photo { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; margin-bottom: 0; border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 110px; }
  .sectors-tower { width: 230px; }
  .method-inner { grid-template-columns: .92fr 1.08fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .method-aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .steps { padding-top: .5rem; gap: 3rem; }
  .faq-inner { grid-template-columns: .85fr 1.15fr; align-items: start; }
  .faq-inner .section-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .contact-card { grid-template-columns: .88fr 1.12fr; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.35fr; gap: 3rem; }
}

@media (min-width: 1280px) {
  .reel { width: 262px; }
  .nav-phone { display: inline-flex; }
  .service-body { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (hover: none) {
  .sector-card:hover { transform: none; }
  .sector-card:hover .sector-media img { transform: none; }
}

/* =============================================================
   19. Reduced motion — only the intrusive bits
   (Windows often ships with this ON: micro-interactions stay)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip-dot { animation: none; }
  .hero-line em { animation: none; }
}

/* Original illustrated identity, restored 2026-10-02. */
.hero-art{aspect-ratio:440/520}
.blob-1{background:radial-gradient(circle at 32% 28%,#e3f6f7 0%,#bfe9ed 45%,#93d9e0 100%);opacity:.75}
.intro-grid{align-items:end;gap:1.5rem 4rem}
.intro-head h2{margin-top:.9rem}
.intro-lead{font:400 clamp(1.12rem,1rem + .55vw,1.4rem)/1.6 var(--display);color:var(--ink-soft)}
.service-body{display:block}
.sectors-top{display:block}
.sector-art{height:185px;padding:1.4rem 1.6rem 0;color:var(--brand-2)}
.sector-svg{height:100%;width:100%}
.sector-svg .fill-panel{fill:#ffffff08}
.sector-svg .fill-soft{fill:#42b9c422}
.sector-svg .accent{stroke:var(--sun)}
@media(min-width:980px){.intro-grid{grid-template-columns:1fr 1.25fr}}


:root{--brand-mid:#6dbdc1;--shadow-photo:0 40px 70px -36px rgba(7,65,74,.45)}
@media(min-width:960px) and (max-width:1199px){.nav-links{display:none}.menu{display:block}}
@media(min-width:1200px){.nav-links{gap:1rem}}

/* =============================================================
   Logo original y ubicación (2026-10-02)
   ============================================================= */
.nav-logo img { height: 52px; }
@media (min-width: 720px) { .nav-logo img { height: 60px; } }

.hero-facts .hero-address { font-weight: 400; color: inherit; }
.hero-facts .hero-address:hover, .contact-area a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Hero: the original icon builds floor by floor, then a cleaning shine
   crosses it every 8 s while the floors ripple like the logo's waves.
   Transform/opacity only; static with reduced motion; paused off-screen (main.js). */
.ck-logo { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.ck-svg { width: 88%; height: auto; overflow: visible; }
.ck-floor { fill: var(--brand); }
.ck-gleam { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ck-floor {
    animation: ckBuild 1s var(--ease-out) calc(.3s + var(--i) * 85ms) both,
               ckRipple 8s ease-in-out calc(2.6s + var(--i) * 55ms) infinite;
  }
  .ck-shadow { transform-box: fill-box; transform-origin: center; animation: ckShadow 1.2s var(--ease-out) .25s both; }
  .ck-gleam { animation: ckGleam 8s cubic-bezier(.5, 0, .25, 1) 2.4s infinite; }
}
@keyframes ckBuild { from { opacity: 0; transform: translate3d(-22px, 12px, 0); } to { opacity: 1; transform: none; } }
@keyframes ckRipple { 0%, 9%, 100% { transform: none; } 4% { transform: translate3d(3px, -2px, 0); } }
@keyframes ckGleam {
  0% { opacity: 1; transform: translateX(0); }
  20% { opacity: 1; transform: translateX(560px); }
  20.01%, 100% { opacity: 0; transform: translateX(560px); }
}
@keyframes ckShadow { from { opacity: 0; transform: scaleX(.55); } to { opacity: 1; transform: none; } }
