:root {
  --pool-50: #ecfeff;
  --pool-100: #cffafe;
  --pool-200: #a5f3fc;
  --pool-300: #67e8f9;
  --pool-400: #22d3ee;
  --pool-500: #06b6d4;
  --pool-600: #0891b2;
  --pool-700: #0e7490;
  --pool-800: #155e75;
  --pool-900: #0c4a6e;
  --ink: #0b2234;
  --ink-soft: #3b556b;
  --bg: #ffffff;
  --bg-alt: #f4fbfd;
  --line: #d9eef4;
  --shadow: 0 10px 30px rgba(8, 47, 73, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

/* Promo banner */
.promo-banner {
  background: linear-gradient(90deg, var(--pool-900), var(--pool-700));
  color: #fff;
  font-size: .92rem;
}
.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.promo-badge {
  background: #fde68a;
  color: var(--pool-900);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .05em;
}
.promo-text { opacity: .95; }
.promo-cta {
  background: #fff;
  color: var(--pool-800);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  transition: transform .15s, box-shadow .15s;
}
.promo-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  background: linear-gradient(135deg, var(--pool-500), var(--pool-700));
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  margin-right: 2px;
}
.brand-rest { color: var(--ink); }
.brand.small { font-size: 1.1rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav a:hover { color: var(--pool-700); }

.lang-toggle {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: .85rem;
  color: var(--ink-soft);
}
.lang-toggle .active { color: var(--pool-700); font-weight: 700; }
.lang-sep { margin: 0 4px; color: var(--line); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.webp');
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
  animation: slowZoom 18s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(12,74,110,.72) 0%, rgba(8,145,178,.55) 55%, rgba(34,211,238,.35) 100%);
}
@keyframes slowZoom {
  to { transform: scale(1.12); }
}
.hero-content {
  text-align: center;
  padding: 80px 0;
  max-width: 820px;
}
.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 28px;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 0 4px rgba(255,255,255,.2);
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.hero p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  opacity: .95;
  margin: 0 auto 32px;
  max-width: 620px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .15s, box-shadow .15s, background .2s;
  cursor: pointer;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #fff;
  color: var(--pool-800);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.section-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--pool-300);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pool-100), var(--pool-200));
  color: var(--pool-700);
  margin-bottom: 16px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.card-highlight {
  position: relative;
  background: linear-gradient(135deg, #fffdf4, #fef9e7);
  border-color: #fde68a;
}
.card-highlight .card-icon {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #78350f;
}
.card-tag {
  position: absolute;
  top: -10px; right: 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .03em;
  box-shadow: 0 4px 10px rgba(217,119,6,.35);
}

/* About */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col h2 { text-align: left; margin-bottom: 16px; }
.bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.bullets li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--ink-soft);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 18px; height: 10px;
  border-left: 2.5px solid var(--pool-500);
  border-bottom: 2.5px solid var(--pool-500);
  transform: rotate(-45deg);
}
.areas-served {
  margin-top: 22px;
  padding: 14px 18px;
  background: var(--pool-50);
  border-left: 3px solid var(--pool-500);
  border-radius: 8px;
  font-size: .92rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq-wrap h2 { text-align: center; }
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] {
  border-color: var(--pool-300);
  box-shadow: var(--shadow);
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 54px;
  color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pool-100);
  color: var(--pool-800);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform .2s, background .2s;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--pool-500);
  color: #fff;
}
.faq-item summary:hover { color: var(--pool-700); }
.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.about-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-visual:hover img { transform: scale(1.04); }

/* Before / After gallery */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  user-select: none;
  background: var(--pool-100);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
  transition: clip-path .05s linear;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
  transition: left .05s linear;
}
.ba-handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  display: grid; place-items: center;
}
.ba-handle span::before,
.ba-handle span::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.ba-handle span::before {
  border-right: 8px solid var(--pool-700);
  left: 8px;
}
.ba-handle span::after {
  border-left: 8px solid var(--pool-700);
  right: 8px;
}
.ba-label {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: .02em;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }

/* Subhead + work grid */
.subhead {
  text-align: center;
  margin: 60px 0 24px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.work-grid figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.work-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.work-grid figure:hover img { transform: scale(1.06); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-card:not(.static):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--pool-400);
}
.contact-card svg { width: 28px; height: 28px; color: var(--pool-600); flex-shrink: 0; }
.contact-card strong { display: block; font-size: .95rem; }
.contact-card span { display: block; font-size: .85rem; color: var(--ink-soft); }
.contact-card.instagram svg { color: #E4405F; }

/* Phone cards (ES / EN) */
.phone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.phone-card {
  background: linear-gradient(180deg, #fff 0%, #f4fbfd 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 24px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.phone-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pool-500), var(--pool-700));
}
.phone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--pool-300);
}
.phone-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.lang-tag {
  background: linear-gradient(135deg, var(--pool-500), var(--pool-700));
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .08em;
}
.phone-label {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: .95rem;
}
.phone-number {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--pool-800);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .92rem;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.pill svg { width: 18px; height: 18px; flex-shrink: 0; }
.pill:hover { transform: translateY(-1px); filter: brightness(1.05); }
.pill.wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,.35);
}
.pill.call {
  background: var(--pool-600);
  color: #fff;
  box-shadow: 0 4px 12px rgba(8,145,178,.35);
}

.contact-grid.small {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.contact-grid.small .contact-card {
  padding: 16px 18px;
}
.contact-grid.small .contact-card svg { width: 24px; height: 24px; }
.contact-grid.small .contact-card strong { font-size: .9rem; }
.contact-grid.small .contact-card span { font-size: .8rem; }

/* Footer */
.site-footer {
  background: var(--pool-900);
  color: #b9d6e1;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.footer-inner .brand-rest { color: #fff; }
.copy { margin: 0; font-size: .9rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 40;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .6);
}
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 5%;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .2s;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-of-type { border-bottom: 0; }
  .lang-toggle { align-self: flex-start; margin-top: 10px; }
  .two-col { grid-template-columns: 1fr; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .section { padding: 60px 0; }
  .hero-content { padding: 60px 0; }
}
