/* =========================================================
   VETERINARIA MADAGASCAR — Stylesheet
   Paleta: turquesa/teal + acento rojo + tonos cálidos
   ========================================================= */

:root {
  /* Colores principales */
  --primary: #2FB8A6;
  --primary-dark: #1F8E82;
  --primary-light: #E6F4F1;
  --accent: #E53935;
  --accent-dark: #C62828;

  /* Fondos */
  --bg: #F8FAF9;
  --bg-soft: #E6F4F1;
  --white: #FFFFFF;

  /* Textos */
  --text: #333333;
  --text-soft: #6B6B6B;
  --text-light: #9AA5A1;

  /* Cálidos (mascotas) */
  --warm-1: #F2E4D5;
  --warm-2: #C89F7A;

  /* Tipografías */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(31, 142, 130, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 142, 130, 0.12);
  --shadow-lg: 0 20px 60px rgba(31, 142, 130, 0.18);

  /* Transiciones */
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============ CONTAINER ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ TIPOGRAFÍA ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.accent {
  color: var(--primary-dark);
  font-style: italic;
}

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-xl {
  padding: 18px 28px;
  font-size: 1.05rem;
  gap: 14px;
  border-radius: 18px;
}

/* CTA destacado del hero */
.cta-main {
  box-shadow: 0 10px 30px rgba(47, 184, 166, 0.35), 0 0 0 0 rgba(47, 184, 166, 0.5);
  animation: ctaPulse 2.6s ease-in-out infinite;
}

.cta-main span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.cta-main span small {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.92;
  margin-top: 3px;
}

.cta-main .cta-arrow {
  transition: transform var(--t);
}

.cta-main:hover .cta-arrow {
  transform: translateX(4px);
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(47, 184, 166, 0.35), 0 0 0 0 rgba(47, 184, 166, 0.4);
  }
  50% {
    box-shadow: 0 10px 30px rgba(47, 184, 166, 0.35), 0 0 0 14px rgba(47, 184, 166, 0);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: none;
  padding: 16px 20px;
}

.btn-ghost:hover {
  color: var(--primary-dark);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}

.nav-container {
  position: relative;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(47, 184, 166, 0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--primary);
  transition: transform var(--t);
}

.logo:hover {
  transform: scale(1.03);
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t);
  position: relative;
}

.nav-menu a:not(.btn):hover {
  color: var(--primary-dark);
}

.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--t);
}

.nav-menu a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 3px;
  transition: all var(--t);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, var(--primary-light) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, var(--warm-1) 0%, transparent 50%),
    var(--bg);
  z-index: -1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 14px;
}

.hero-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.35;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-trust-stars {
  color: #F5A623;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.hero-trust strong {
  color: var(--text);
  font-weight: 600;
}

.hero-features {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.feature-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(47, 184, 166, 0.12));
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  background: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero-card i {
  color: var(--primary);
  font-size: 1.3rem;
}

.card-float-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.card-float-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 3s;
}

.card-float-2 i {
  color: var(--accent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============ INFO STRIP ============ */
.info-strip {
  background: var(--primary-dark);
  color: white;
  padding: 28px 0;
}

.info-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.info-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-strip-item i {
  font-size: 1.8rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.info-strip-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.info-strip-item span {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--primary-light);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head h2 {
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-soft);
}

/* ============ SERVICIOS ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: white;
  padding: 36px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  margin-bottom: 20px;
}

.service-icon-1 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.service-icon-2 { background: linear-gradient(135deg, #4ECDC4, var(--primary)); }
.service-icon-3 { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.service-icon-4 { background: linear-gradient(135deg, #F4A69A, var(--accent)); }
.service-icon-5 { background: linear-gradient(135deg, var(--warm-2), #A07852); }
.service-icon-6 { background: linear-gradient(135deg, var(--primary-dark), #0F6B61); }

.service-card h3 {
  margin-bottom: 10px;
}

.service-card > p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.service-list {
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text);
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--primary);
  font-weight: bold;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--t);
}

.service-link:hover {
  gap: 14px;
}

/* ============ CTA BLOCK INTERMEDIO ============ */
.cta-block {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, #F5EBDC 0%, #FCF6EE 60%, #F2E4D5 100%);
  overflow: hidden;
  scroll-margin-top: 90px;
}

.cta-block-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(47, 184, 166, 0.12), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(229, 57, 53, 0.08), transparent 45%);
  pointer-events: none;
}

.cta-block-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-block-text .eyebrow-light {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-dark);
  backdrop-filter: blur(6px);
}

.cta-block-text h2 {
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.15;
}

.cta-block-text h2 .accent-warm {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

.cta-block-text h2 .accent-warm::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  background: rgba(229, 57, 53, 0.18);
  border-radius: 4px;
  z-index: -1;
}

.cta-block-text > p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 480px;
}

.cta-block-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-block-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text);
  font-weight: 500;
}

.cta-block-list li i {
  color: var(--primary-dark);
  background: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.cta-block-wa {
  background: var(--accent);
  color: white;
  border: none;
}

.cta-block-wa:hover {
  background: #C62828;
  transform: translateY(-2px);
}

.cta-block-form {
  background: white;
  padding: 36px 32px;
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 20px 60px rgba(31, 142, 130, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(47, 184, 166, 0.15);
}

.cta-block-form h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-block-form h3 i {
  color: var(--primary);
}

.cta-block-form .form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}

.cta-block-form .form-field input,
.cta-block-form .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E5E9E7;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #FAFBFB;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}

.cta-block-form .form-field input:focus,
.cta-block-form .form-field select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(47, 184, 166, 0.12);
}

.cta-block-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cta-block-note i {
  color: var(--primary);
}

@media (max-width: 900px) {
  .cta-block {
    padding: 60px 0;
  }
  .cta-block-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-block-text h2 {
    font-size: 1.8rem;
  }
  .cta-block-form {
    padding: 28px 24px;
  }
}

/* ============ COVERAGE ============ */
.coverage-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.coverage-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.coverage-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.coverage-text h2 {
  color: white;
  margin-bottom: 16px;
}

.coverage-text p {
  opacity: 0.92;
  margin-bottom: 24px;
}

.coverage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.coverage-chips span {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
}

.coverage-map {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.coverage-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.05);
}

/* ============ NOSOTROS ============ */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent);
  color: white;
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.about-badge span {
  font-size: 0.85rem;
  display: block;
  line-height: 1.2;
}

.about-lead {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-dark);
  padding-left: 20px;
  border-left: 4px solid var(--primary);
  margin: 20px 0 24px;
  font-style: italic;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--primary-light);
}

.about-stats > div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stats > div span {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ============ ADOPCIONES ============ */
.adopciones .section-sub strong {
  color: var(--accent);
}

.adoption-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.adoption-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}

.adoption-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.adoption-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.adoption-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.adoption-card:hover .adoption-img img {
  transform: scale(1.06);
}

.adoption-info {
  padding: 24px;
}

.adoption-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.adoption-info p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.adoption-cta {
  background: linear-gradient(135deg, var(--warm-1), #EACAAF);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.adoption-cta i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.adoption-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text);
}

.adoption-cta p {
  color: var(--text-soft);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ============ GALERÍA ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-bottom: 50px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.gallery-big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-cta {
  text-align: center;
}

.gallery-cta p {
  color: var(--text-soft);
  margin-bottom: 16px;
}

.social-buttons {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  transition: transform var(--t);
}

.social-btn:hover {
  transform: translateY(-3px);
}

.social-btn.ig {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
}

.social-btn.fb {
  background: #1877F2;
}

/* ============ CONTACTO ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--primary-light);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.contact-item p a {
  color: var(--primary-dark);
  font-weight: 500;
}

.contact-item p a:hover {
  text-decoration: underline;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--primary-light);
}

.contact-socials a {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.contact-socials a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Form */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: all var(--t);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(47, 184, 166, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 14px;
}

.form-alt {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--primary-light);
}

.form-alt span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.form-alt .btn {
  width: 100%;
}

/* ============ RESEÑAS ============ */
.reviews-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
}

.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  background: white;
  padding: 12px 22px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.rating-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.reviews-rating strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text);
}

.reviews-rating span {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.review-card {
  background: white;
  padding: 28px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-head > div {
  flex-grow: 1;
}

.review-head strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.review-stars {
  color: #F5A623;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.review-google {
  font-size: 1.4rem;
  color: #4285F4;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
}

.review-card p::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--primary);
  line-height: 0;
  vertical-align: -12px;
  margin-right: 4px;
  opacity: 0.4;
}

.reviews-cta {
  background: white;
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-light);
}

.reviews-cta h3 {
  margin-bottom: 6px;
}

.reviews-cta p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.reviews-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
  background: #1a2e2b;
  color: #CFDCD8;
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
  align-items: flex-start;
}

.logo-footer-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: fit-content;
}

.logo-img-footer {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.75;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-col ul li a {
  transition: color var(--t);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
  width: 16px;
  flex-shrink: 0;
}

.footer-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.05) brightness(0.95);
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--t);
}

.footer-map-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ============ WHATSAPP FLOTANTE ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform var(--t);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(8deg);
}

.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============ ANIMACIONES ON SCROLL ============ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
  .hero-container,
  .about-container,
  .coverage-container,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-wrap {
    max-width: 360px;
    margin: 0 auto;
  }

  .card-float-1 { left: 0%; }
  .card-float-2 { right: 0%; }

  .info-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .coverage-map {
    height: 300px;
  }

  .about-image img {
    max-width: 420px;
    margin: 0 auto;
  }

  .about-badge {
    right: 0;
  }

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

  .footer-map-col {
    grid-column: span 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-big {
    grid-column: span 2;
  }

  .reviews-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }

  .reviews-cta-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--primary-light);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 999;

    /* Animación: desde arriba */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--primary-light);
  }

  .nav-menu a:last-child {
    border-bottom: none;
    margin-top: 14px;
    justify-content: center;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Bloquear scroll del body cuando el menú está abierto */
  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .cta-main {
    padding: 16px 22px;
  }

  .cta-main span small {
    font-size: 0.72rem;
  }

  .logo-img { height: 42px; }
  .logo-img-footer { height: 48px; }

  .info-strip-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }

  .form-row .form-field {
    margin-bottom: 18px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-map-col {
    grid-column: auto;
  }

  .reviews-cta {
    padding: 24px 20px;
  }

  .reviews-cta-actions .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-big {
    grid-column: auto;
    grid-row: auto;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
    bottom: 18px;
    right: 18px;
  }
}
