/* ============================================================
   CALDERONI SERVICES GARDENS — styles.css
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  /* Brand palette */
  --green-900: #060f08;
  --green-800: #0a1a0f;
  --green-700: #0f2218;
  --green-600: #152b1e;
  --green-500: #2d6a4f;
  --green-400: #52b788;
  --green-300: #74c69d;

  /* Transparent variants via color-mix — single source of truth */
  --green-400-10: color-mix(in srgb, var(--green-400) 10%, transparent);
  --green-400-20: color-mix(in srgb, var(--green-400) 20%, transparent);
  --green-400-25: color-mix(in srgb, var(--green-400) 25%, transparent);
  --green-400-35: color-mix(in srgb, var(--green-400) 35%, transparent);
  --green-500-14: color-mix(in srgb, var(--green-500) 14%, transparent);
  --green-500-24: color-mix(in srgb, var(--green-500) 24%, transparent);
  --green-500-40: color-mix(in srgb, var(--green-500) 40%, transparent);
  --green-300-30: color-mix(in srgb, var(--green-300) 30%, transparent);

  /* WhatsApp brand */
  --wa-green:    #25D366;
  --wa-green-30: color-mix(in srgb, #25D366 30%, transparent);
  --wa-green-45: color-mix(in srgb, #25D366 45%, transparent);
  --wa-green-50: color-mix(in srgb, #25D366 50%, transparent);

  /* Nav links (barra siempre oscura) */
  --nav-link: color-mix(in srgb, #e4f2e8 65%, transparent);

  /* Spacing & radius */
  --radius-sm:   8px;
  --radius:      14px;
  --radius-full: 9999px;

  /* Elevation */
  --shadow: 0 4px 28px rgba(0, 0, 0, 0.14);

  /* Motion */
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-height: 96px;
  --container:  1160px;
}

/* === DARK THEME (default) === */
[data-theme="dark"] {
  --bg:         #0a1a0f;
  --surface:    #0f2218;
  --card:       #132619;
  --border:     #1e3d2a;
  --text:       #e4f2e8;
  --text-2:     #a8cbb5;
  --text-3:     #5a8a6a;
  --text-muted: color-mix(in srgb, var(--text-2) 55%, transparent);
  --shadow:     0 4px 28px rgba(0, 0, 0, 0.28);
}

/* === LIGHT THEME === */
[data-theme="light"] {
  --bg:         #f4faf6;
  --surface:    #ffffff;
  --card:       #edf7f1;
  --border:     #c8e6d0;
  --text:       #0d2010;
  --text-2:     #3a6a4a;
  --text-3:     #6aaa7a;
  --text-muted: color-mix(in srgb, var(--text-2) 55%, transparent);
  --shadow:     0 4px 28px rgba(0, 0, 0, 0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: auto; }
body  {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* === REDUCED MOTION — accessibility === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration:  0.01ms !important;
  }
  .service-card:hover { transform: none !important; }
  .animate { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* === SCROLL ANIMATIONS === */
.animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--delay, 0) * 65ms);
}
.animate.visible {
  opacity: 1;
  transform: none;
}

/* === LAYOUT === */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}
section { padding-block: 100px; scroll-margin-top: var(--nav-height); }

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 64px;
}
.section-header .label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-400);
  background: var(--green-400-10);
  border: 1px solid var(--green-400-25);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
  color: var(--text);
}
.section-header p {
  color: var(--text-2);
  font-size: 17px;
  font-weight: 300;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-height);
  background: color-mix(in srgb, var(--green-900) 95%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.nav-logo img { height: 82px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links li { list-style: none; }
.nav-links a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-link);
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a.active {
  color: var(--green-300);
  background: var(--green-400-10);
}

.nav-controls { display: flex; align-items: center; gap: 8px; }

/* Language & theme buttons share base styles */
.lang-btn,
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: #fff;
  transition: background var(--transition), border-color var(--transition);
}
.lang-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.theme-btn {
  width: 38px;
  height: 38px;
  padding: 8px;
}
.theme-btn svg { width: 18px; height: 18px; }
.lang-btn:hover,
.theme-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255,255,255,0.22); }

/* Theme icon show/hide */
[data-theme="dark"]  .icon-sun  { display: none; }
[data-theme="dark"]  .icon-moon { display: block; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: block; }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px;
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(255, 255, 255, 0.14); }
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ============================================================
   HERO — split layout, zero overlays
   ============================================================ */
.hero {
  background: var(--green-900);
}
.hero-text {
  --text: #e4f2e8;
  background: var(--green-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(64px, 10vw, 100px) clamp(24px, 6vw, 64px);
}
.hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-300);
  border: 1px solid var(--green-300-30);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-300);
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  color: color-mix(in srgb, var(--text) 68%, transparent);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 2px solid var(--green-400);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 4px 20px var(--green-500-40);
}
.btn-primary:hover {
  background: var(--green-400);
  box-shadow: 0 8px 32px var(--green-500-40);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 4px 20px var(--wa-green-30);
}
.btn-whatsapp:hover {
  background: #1ebd5a;
  box-shadow: 0 8px 32px var(--wa-green-45);
}

.btn-facebook {
  background: #1877F2;
  color: #fff;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.35);
}
.btn-facebook:hover {
  background: #1565d8;
  box-shadow: 0 8px 32px rgba(24, 119, 242, 0.45);
}

/* Scoped to hero dark background — always white */
.hero-actions .btn-outline {
  background: transparent;
  color: rgba(228, 242, 232, 0.85);
  border: 1.5px solid rgba(228, 242, 232, 0.28);
}
.hero-actions .btn-outline:hover {
  border-color: var(--green-300);
  color: var(--green-300);
  background: var(--green-400-10);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--surface);
  transition: background var(--transition);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--green-400);
}
.service-icon {
  width: 50px;
  height: 50px;
  background: var(--green-400-10);
  border: 1px solid var(--green-400-20);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-400);
}
.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.service-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============================================================
   GALLERY — horizontal carousel
   ============================================================ */
.gallery {
  background: var(--bg);
  transition: background var(--transition);
  padding-top: calc(var(--nav-height) + 48px);
}

.carousel-outer {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--green-500);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px var(--green-500-40);
  -webkit-tap-highlight-color: transparent;
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:hover  { background: var(--green-400); transform: scale(1.06); }
.carousel-btn:active { transform: scale(0.94); }
.carousel-btn:disabled {
  opacity: 0.25;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 10px;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 86%;
  scroll-snap-align: start;
}

/* Counter N / 11 */
.carousel-counter {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.06em;
}

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.ba-slide {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--card);
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.ba-before {
  clip-path: inset(0 50% 0 0);
  z-index: 1;
}

/* Divisor arrastrable */
.ba-handle {
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  z-index: 10;
  cursor: ew-resize;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle::before {
  content: '';
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
}

.ba-knob {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-knob svg {
  width: 15px;
  height: 15px;
  color: var(--green-700);
  flex-shrink: 0;
}

.ba-label {
  position: absolute;
  bottom: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 5;
  pointer-events: none;
  user-select: none;
}
.ba-label--before { left: 14px; }
.ba-label--after  { right: 14px; }

/* Hint animado en el primer slide — muestra que se puede arrastrar */
@keyframes ba-hint-handle {
  0%   { left: 50%; }
  20%  { left: 28%; }
  65%  { left: 72%; }
  100% { left: 50%; }
}
@keyframes ba-hint-clip {
  0%   { clip-path: inset(0 50% 0 0); }
  20%  { clip-path: inset(0 72% 0 0); }
  65%  { clip-path: inset(0 28% 0 0); }
  100% { clip-path: inset(0 50% 0 0); }
}
.ba-hint-active .ba-handle {
  animation: ba-hint-handle 2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s 1 both;
}
.ba-hint-active .ba-before {
  animation: ba-hint-clip 2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s 1 both;
}
@media (prefers-reduced-motion: reduce) {
  .ba-hint-active .ba-handle,
  .ba-hint-active .ba-before { animation: none !important; }
}

@media (min-width: 960px) {
  .carousel-item { flex: 0 0 36%; }
  .carousel-btn  { width: 52px; height: 52px; }
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas {
  background: var(--surface);
  transition: background var(--transition);
}
.areas-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: border-color var(--transition), color var(--transition);
}
.area-pill:hover { border-color: var(--green-400); color: var(--text); }
.area-pill svg { width: 13px; height: 13px; flex-shrink: 0; }

.area-primary {
  background: var(--green-500-14);
  border-color: var(--green-400-35);
  color: var(--green-300);
  font-weight: 600;
}
.area-primary:hover {
  background: var(--green-500-24);
  border-color: var(--green-400);
}
.area-primary svg { color: var(--green-400); }
.area-primary em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--green-400-20);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.areas-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

/* ============================================================
   CONTACT — premium dark section with subtle glow
   ============================================================ */
.contact {
  --text: #e4f2e8;
  position: relative;
  background: var(--green-900);
  padding-block: 120px;
  overflow: hidden;
}

/* Top accent line */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-500), var(--green-400), var(--green-500), transparent);
}

/* Ambient glow — adds visual depth without an image */
.contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%, var(--green-500-14), transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 50%, var(--green-500-14), transparent 65%);
  pointer-events: none;
}

.contact .container { position: relative; z-index: 1; }

.contact .section-header .label { color: var(--green-400); }
.contact .section-header h2     { color: #fff; }
.contact .section-header p      { color: color-mix(in srgb, var(--text) 65%, transparent); }

/* Manager card */
.manager-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--green-400-10);
  border: 1px solid var(--green-400-25);
  border-radius: var(--radius);
  padding: 18px 24px;
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.manager-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--green-500);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.manager-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.manager-info strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.manager-info span {
  font-size: 13px;
  color: color-mix(in srgb, var(--text) 65%, transparent);
}

/* Email button */
.cta-mail {
  background: color-mix(in srgb, #fff 8%, transparent);
  border: 1.5px solid color-mix(in srgb, #fff 20%, transparent);
  color: #fff;
  box-shadow: none;
}
.cta-mail:hover {
  background: color-mix(in srgb, #fff 14%, transparent);
  border-color: var(--green-300);
  box-shadow: 0 8px 32px var(--green-400-25);
}

/* Footer manager name */
.footer-manager {
  font-size: 12px;
  color: var(--green-400) !important;
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 52px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 36px;
  border-radius: var(--radius);
  min-width: 280px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta-btn:hover { transform: translateY(-4px); }
.cta-btn:focus-visible { outline: 2px solid var(--green-400); outline-offset: 3px; }
.cta-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.cta-btn div { display: flex; flex-direction: column; align-items: flex-start; }
.cta-btn strong { font-size: 17px; font-weight: 700; line-height: 1.2; }
.cta-btn span   { font-size: 13px; opacity: 0.8; }

.cta-call {
  background: var(--green-500);
  color: #fff;
  box-shadow: 0 8px 40px var(--green-500-40);
}
.cta-call:hover { box-shadow: 0 12px 52px var(--green-500-40); background: var(--green-400); }

.cta-wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 8px 40px var(--wa-green-30);
}
.cta-wa:hover { box-shadow: 0 12px 52px var(--wa-green-50); background: #1ebd5a; }

.cta-facebook {
  background: #1877F2;
  color: #fff;
  box-shadow: 0 8px 40px rgba(24, 119, 242, 0.35);
}
.cta-facebook:hover { background: #1565d8; box-shadow: 0 12px 52px rgba(24, 119, 242, 0.45); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: color-mix(in srgb, var(--text) 70%, transparent);
}
.trust-item svg { width: 18px; height: 18px; color: var(--green-400); flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-900);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 72px 48px;
  align-items: start;
}
.footer-logo { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 230px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 2px; }
.footer-col li,
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green-300); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-block: 20px;
}
.footer-bottom p {
  font-size: 13px;
  color: color-mix(in srgb, var(--text-2) 35%, transparent);
  text-align: center;
}

/* ============================================================
   TOUCH DEVICES — evitar sticky hover en móvil
   ============================================================ */
@media (hover: none) {
  .service-card:hover  { transform: none; box-shadow: none; }
  .btn:hover           { transform: none; }
  .cta-btn:hover       { transform: none; }
  .carousel-btn:hover  { transform: none; background: var(--green-500); }
  .area-pill:hover     { border-color: var(--border); color: var(--text-2); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 959px) {
  .hero-text { padding: 56px 28px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .carousel-item { flex: 0 0 72%; }
}

@media (max-width: 640px) {
  section { padding-block: 72px; }

  /* Show hamburger, hide desktop links */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(6, 15, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 24px 24px;
    gap: 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    padding: 16px 4px;
    font-size: 16px;
    border-radius: 0;
    color: rgba(228, 242, 232, 0.8);
  }

  .services-grid { grid-template-columns: 1fr; }

  .carousel-item { flex: 0 0 86%; }
  .carousel-outer { grid-template-columns: 44px 1fr 44px; gap: 8px; }
  .carousel-btn   { width: 44px; height: 44px; }
  .ba-handle      { width: 64px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: span 1; }

  .cta-btn { min-width: unset; width: 100%; max-width: 420px; }
  .contact-btns { flex-direction: column; align-items: center; }
  .manager-card { max-width: 100%; }
  .manager-info strong { font-size: 15px; }
  .manager-info span { font-size: 12px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  .trust-row { gap: 16px; flex-direction: column; align-items: center; }
}
