/* Del Pedregal — Agua Mineral Natural
   Estilos del sitio. Paleta y tipografía tomadas del diseño original. */

:root {
  --navy-900: #0a2136;
  --navy-800: #0a2f52;
  --navy-700: #14548f;
  --blue-400: #4fa8dc;
  --blue-100: #eef3f7;
  --ink-900: #16324a;
  --ink-700: #3d5568;
  --ink-500: #5b7186;
  --ink-300: #8fa8bc;
  --link: #0f5aa3;
  --accent: #0f766e;
  --green-mint: #7fd8a8;
  --green-mint-2: #8fd9b4;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(10, 47, 82, 0.06);
  --shadow-med: 0 20px 48px rgba(10, 47, 82, 0.1);
  --container-max: 1200px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-serif); }

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

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent); }

button { font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

.eyebrow {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.875rem, 1.5rem + 1.8vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  margin: 10px 0 0;
  text-wrap: balance;
}

/* ---------- Keyframes ---------- */
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes wave-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-2%); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-copy > *, .hero-media, .float-badge, .glow-circle, .glass-wrap img, .mineral-orb {
    animation: none !important;
  }
  .hero-copy > *, .hero-media {
    opacity: 1 !important;
    transform: none !important;
  }
  .bubble-field { display: none !important; }
}

/* ---------- Efervescencia (burbujas de fondo) ---------- */
@keyframes bubble-rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: var(--bubble-opacity, 0.5); }
  90% { opacity: var(--bubble-opacity, 0.5); }
  100% { transform: translate3d(var(--drift, 24px), -115vh, 0); opacity: 0; }
}

.bubble-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 40;
  transform: translateY(var(--scroll-shift, 0px));
  transition: transform 0.25s linear;
}

.bubble {
  position: absolute;
  bottom: -10vh;
  left: var(--x, 50%);
  width: var(--size, 14px);
  height: var(--size, 14px);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.12) 55%, rgba(180, 225, 245, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 6px rgba(10, 47, 82, 0.15), inset 0 0 5px rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation-name: bubble-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--duration, 14s);
  animation-delay: var(--delay, 0s);
}

@media (max-width: 640px) {
  .bubble-field { opacity: 0.7; }
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-badge {
  width: 60px;
  height: 76px;
  background: var(--white);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.logo-badge:hover {
  transform: rotate(-45deg) scale(1.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.logo-badge img {
  height: 34px;
  width: auto;
  object-fit: contain;
  transform: rotate(45deg);
}

.site-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  transition: color 0.25s ease;
  padding-bottom: 3px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav a:hover { color: var(--blue-400); }
.site-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.14);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    margin: 0 20px;
    background: rgba(10, 33, 54, 0.96);
    border-radius: 16px;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    display: none;
    box-shadow: var(--shadow-med);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 10px; }
  .site-nav a:hover { background: rgba(255, 255, 255, 0.08); }
  .site-nav a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2f52 0%, #14548f 45%, #4fa8dc 100%);
  padding: 150px 0 116px;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-blob-1 {
  position: absolute; top: -120px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.hero-blob-2 {
  position: absolute; bottom: -160px; left: 20%;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-copy { flex: 1 1 420px; min-width: 300px; }

.hero-badge,
.hero-copy h1,
.hero-copy p,
.hero-ctas {
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-badge { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.18s; }
.hero-copy p { animation-delay: 0.32s; }
.hero-ctas { animation-delay: 0.46s; }

.hero-media {
  opacity: 0;
  animation: fade-in 1.1s ease 0.4s forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-400);
}
.hero-badge span.label {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.375rem, 1.7rem + 3vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 0 0 20px;
  text-wrap: balance;
}

.hero-copy p {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.125rem);
  line-height: 1.65;
  color: #d9ecf9;
  max-width: 460px;
  margin: 0 0 32px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}
.btn:active {
  transform: translateY(-1px);
  transition-duration: 0.1s;
}
.btn-light { background: var(--white); color: var(--navy-800); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 13px 26px;
}
.btn-light:hover { color: var(--navy-800); }
.btn-dark:hover,
.btn-accent:hover,
.btn-outline:hover { color: var(--white); }

.hero-media {
  flex: 1 1 360px;
  min-width: 280px;
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-media .glow {
  position: absolute;
  bottom: 18px;
  width: 280px;
  height: 56px;
  background: radial-gradient(ellipse at center, rgba(10, 47, 82, 0.55), rgba(10, 47, 82, 0) 70%);
  border-radius: 50%;
  filter: blur(4px);
}
.hero-media img {
  width: 460px;
  max-width: 95%;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(6, 30, 60, 0.35));
  position: relative;
}

.hero-wave {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 80px;
  z-index: 3;
}

/* ---------- Minerales ---------- */
.minerals {
  padding: 96px 0;
  background: var(--white);
}

.minerals-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.minerals-col {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.minerals-col.right { text-align: left; }
.minerals-col.left { text-align: right; }

.mineral-item h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.005em;
  color: var(--navy-800);
  margin: 0;
}
.mineral-item .value {
  color: var(--blue-400);
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 4px 0 10px;
}
.mineral-item p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}
.minerals-col.left .mineral-item p { margin-left: auto; }
.minerals-col.right .mineral-item p { margin-right: auto; }

.mineral-glass {
  flex: 0 0 260px;
  width: 260px;
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mineral-glass .glow-circle {
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 168, 220, 0.25), rgba(79, 168, 220, 0) 70%);
  animation: glow-pulse 4s ease-in-out infinite;
  z-index: 1;
}
.mineral-glass .glass-wrap {
  width: 270px; height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.mineral-glass .glass-wrap img {
  height: 100%; width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(10, 47, 82, 0.18));
  animation: float-badge 5s ease-in-out infinite;
}

.mineral-orb {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #eaf6fc);
  box-shadow: 0 6px 18px rgba(79, 168, 220, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13px;
  color: var(--link);
  z-index: 3;
  animation: float-badge 4s ease-in-out infinite;
}
.mineral-orb.ph { top: 2%; left: -6%; animation-delay: 0s; }
.mineral-orb.ca { top: 42%; left: -42px; width: 64px; height: 64px; font-size: 14px; animation-delay: 0.4s; }
.mineral-orb.cl { bottom: 2%; left: -6%; font-size: 14px; animation-delay: 0.8s; }
.mineral-orb.mg { top: 2%; right: -6%; animation-delay: 0.2s; }
.mineral-orb.hco3 { top: 42%; right: -42px; width: 64px; height: 64px; font-size: 12px; animation-delay: 0.6s; }
.mineral-orb.na { bottom: 2%; right: -6%; font-size: 14px; animation-delay: 1s; }

@media (max-width: 900px) {
  .minerals-col.left, .minerals-col.right { text-align: center; max-width: 100%; }
  .minerals-col.left .mineral-item p,
  .minerals-col.right .mineral-item p { margin-left: auto; margin-right: auto; }
  .mineral-orb { display: none; }
}

/* ---------- Productos ---------- */
.products {
  padding: 96px 0;
  background: var(--blue-100);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-med);
}

.product-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaf6fc, #d7ecf7);
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image img { transform: scale(1.07); }

.product-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  color: var(--navy-800);
  margin: 0 0 6px;
  text-align: center;
}
.product-card .desc {
  font-size: 0.8125rem;
  color: var(--ink-500);
  text-align: center;
  margin: 0 0 14px;
}
.product-card .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--link);
  margin-bottom: 16px;
}

.add-to-cart {
  width: 100%;
  background: var(--navy-800);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.add-to-cart:hover { background: var(--navy-700); }
.add-to-cart.is-added { background: #2f8a5b; }

/* ---------- Entrega ---------- */
.delivery {
  padding: 80px 0;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: var(--white);
}
.delivery-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.delivery-copy { flex: 1 1 320px; min-width: 280px; }
.delivery-copy .eyebrow { color: var(--blue-400); }
.delivery-copy h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.45rem + 1.4vw, 2.125rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 12px 0 16px;
  text-wrap: balance;
}
.delivery-copy p {
  color: #cfe4f4;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 420px;
}
.delivery-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.delivery-features {
  flex: 1 1 400px;
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
}
.feature-card svg { margin: 0 auto 12px; display: block; }
.feature-card .title { font-weight: 700; font-size: 15px; }
.feature-card .sub { font-size: 13px; color: #cfe4f4; margin-top: 4px; }

/* ---------- Nosotros ---------- */
.about { padding: 96px 0; background: var(--white); }
.about-top {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}
.about-copy { flex: 1 1 420px; min-width: 300px; }
.about-copy h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-800);
  margin: 12px 0 18px;
  text-wrap: balance;
}
.about-copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 20px;
}
.about-copy p:last-child { margin-bottom: 0; }

.about-gallery {
  flex: 1 1 380px;
  min-width: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery-frame {
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue-100);
}
.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-frame:hover img { transform: scale(1.08); }
.gallery-frame.full { height: 220px; grid-column: 1 / -1; }
.gallery-frame.half { height: 150px; }

.about-cards {
  max-width: 1200px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.about-card {
  background: var(--blue-100);
  border-radius: 20px;
  padding: 36px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.about-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.005em;
  color: var(--navy-800);
  margin: 0 0 14px;
}
.about-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0;
}

/* ---------- Proceso y Ubicación ---------- */
.process {
  position: relative;
  padding: 104px 0;
  background-image: url('../assets/finca-camino.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--navy-800);
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 33, 54, 0.92), rgba(15, 90, 163, 0.68));
}
.process-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}
.process-inner + .process-divider { margin-top: 56px; }
.process-inner .eyebrow { color: var(--blue-400); }
.process-inner h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.process-inner p {
  font-size: 1rem;
  line-height: 1.7;
  color: #e3eef7;
  margin: 0;
}

.process-divider {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 2px;
  margin: 56px auto;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 2px;
}

/* ---------- Contacto ---------- */
.contact { padding: 96px 0; background: var(--blue-100); }

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 280px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy-800);
  margin: 0 0 4px;
}

.contact-info-item p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0;
}

.contact-info-item p a { color: var(--ink-700); }
.contact-info-item p a:hover { color: var(--accent); }

.contact-form {
  flex: 1 1 380px;
  min-width: 280px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-800);
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1.5px solid #d4e2ea;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--ink-300); }

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.contact-form .btn {
  width: 100%;
  text-align: center;
  border-radius: 10px;
}

.contact-form .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.is-success { color: #0f766e; }
.form-status.is-error { color: #b3261e; }

/* ---------- Testimonios ---------- */
.testimonials { padding: 96px 0; background: var(--blue-100); }
.testi-wrap { max-width: 640px; margin: 0 auto; }
.testi-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-med);
}
.testi-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #eaf6fc, #cfe4f4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--link);
  font-size: 1.375rem;
}
.testi-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--ink-900);
  line-height: 1.55;
  letter-spacing: -0.003em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.testi-name { font-weight: 700; color: var(--navy-800); font-size: 0.9375rem; }
.testi-role { font-size: 0.8125rem; color: var(--ink-500); }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.testi-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #c7d9e5;
  padding: 0;
}
.testi-dots button.is-active { background: var(--accent); }

/* ---------- Blog ---------- */
.blog { padding: 96px 0; background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.blog-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  color: inherit;
  background: var(--white);
}
.blog-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #eaf6fc, #d7ecf7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  font-size: 13px;
  font-weight: 600;
}
.blog-body { padding: 22px; }
.blog-body h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--navy-800);
  margin: 0 0 8px;
}
.blog-body p {
  font-size: 0.875rem;
  color: var(--ink-500);
  line-height: 1.6;
  margin: 0 0 12px;
}
.blog-body .read-more {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--link);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #cfe4f4;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand img {
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-300);
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}
.footer-col h4 { color: var(--white); font-size: 14px; margin: 0 0 16px; }
.footer-col .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-col .links a { color: #cfe4f4; }
.footer-col .info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #cfe4f4;
}
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  font-size: 12px;
  color: #6f8ba0;
  text-align: center;
  padding: 0 48px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-med);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Instagram flotante ---------- */
.ig-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: var(--shadow-med);
  z-index: 90;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ig-float svg { width: 30px; height: 30px; }
.ig-float:hover {
  transform: scale(1.08);
  box-shadow: 0 24px 48px rgba(214, 36, 159, 0.35);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 760px) {
  .container { padding: 0 24px; }
  .hero { padding: 130px 0 96px; }
  .footer-bottom { padding: 0 24px; }
  .ig-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .ig-float svg { width: 26px; height: 26px; }
}
