/* ============================================================
   RESET + BASE TIPOGRÁFICA APPLE
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "SF Pro Display", "Inter", Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.4;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
/* ============================================================
   NAVBAR APPLE GLASS
============================================================ */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.18);

  z-index: 9000;
}

header .logo {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* ============================================================
   NAV DESKTOP SOLO DESKTOP — Apple Style + Dynamic Glow
============================================================ */
.nav-desktop {
  display: none;
}

@media (min-width: 769px) {

  .nav-desktop {
    display: flex;
    gap: 42px; /* ← Espaciado tipo Apple */
    align-items: center;
  }

  .nav-desktop a {
    font-size: 1.05rem;
    padding: 8px 14px;
    opacity: .85;
    border-radius: 12px;
    transition: opacity .25s ease, background .25s ease;
    position: relative;
    overflow: hidden;
  }

  .nav-desktop a:hover {
    opacity: 1;
    background: rgba(0,0,0,0.06); /* Hover Apple */
  }

  /* ⭐ BORDE DE LUZ DINÁMICO APPLE */
  .nav-desktop a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;

    background: linear-gradient(
      130deg,
      rgba(255,255,255,0.35),
      rgba(255,255,255,0.07),
      rgba(255,255,255,0.35)
    );

    opacity: 0;
    transform: scale(1.4);
    transition: opacity .35s ease, transform .45s ease;
    z-index: -1;
  }

  .nav-desktop a:hover::before {
    opacity: 1;
    transform: scale(1);
  }

  /* Ocultar nav móvil */
  .nav {
    display: none !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .overlay {
    display: none !important;
  }
}

/* ============================================================
   NAV MÓVIL (NAV ORIGINAL)
============================================================ */
.nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  z-index: 9600;
  transition: all .35s ease;
}

.nav a {
  font-size: 1rem;
  opacity: 0.85;
  transition: .25s;
}

.nav a:hover {
  opacity: 1;
}

/* ============================================================
   HAMBURGUESA
============================================================ */
.menu-toggle {
  display: none;
  width: 32px;
  height: 25px;
  cursor: pointer;

  flex-direction: column;
  justify-content: space-between;
  z-index: 9700;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #111;
  border-radius: 10px;
  transition: .3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ============================================================
   OVERLAY
============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);

  opacity: 0;
  visibility: hidden;

  transition: opacity .3s ease;
  z-index: 9500;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   MOBILE MENU FULLSCREEN – Apple Crystal Glass
============================================================ */
@media (max-width: 768px) {

  .nav {
    position: fixed;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 42px;

    /* EFECTO CRISTAL APPLE */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform .4s ease, opacity .35s ease, visibility .35s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    font-size: 28px;
    padding: 10px 0;
    color: #000;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
  }

  .menu-toggle {
    display: flex;
  }
}

/* ============================================================
   RESPONSIVE HEADER
============================================================ */
@media (max-width: 768px) {
  header.navbar {
    padding: 15px 22px;
  }
}


/* =====================================================
   SUBHEADER APPLE STYLE
===================================================== */
.subheader {
    text-align: center;
    padding: 70px 20px;
    margin-top: 90px;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

.subheader h1 {
    font-size: 52px;
    font-weight: 600;
    letter-spacing: -1px;
    color: #111;
}

.subheader p {
    margin-top: 10px;
    font-size: 18px;
    color: #555;
}

/* Fade suave */
@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
    from { opacity: 0; transform: translateY(20px); }
}

.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0 !important;
    transform: translateY(40px);
}

.fade-up.visible {
    opacity: 1 !important;
    transform: translateY(0);
    transition: all .8s ease-out;
}
/* ============================================================
   HERO PRINCIPAL OPTIMIZADO
============================================================ */

/* ============================================================
   HERO PRINCIPAL OPTIMIZADO
============================================================ */
.hero {
  width: 100%;
  height: 100svh;
  min-height: 100svh;

  background-image: url("banner.jpeg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 7%;
  position: relative;

  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 620px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.hero h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 25px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.btn-primary {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15); /* fondo semitransparente */
  color: #000;
  font-weight: 600;
  backdrop-filter: blur(10px); /* desenfoque glass */
  -webkit-backdrop-filter: blur(10px); /* soporte Safari */
  border: 1px solid rgba(255, 255, 255, 0.3); /* borde difuminado */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: 0.25s;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.25); /* más opaco al pasar el mouse */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}



/* ============================================================
   HERO MÓVIL
============================================================ */
@media (max-width: 768px) {
  .hero {
    background-size: contain !important;
    background-position: center top !important;
    background-color: #fff;
  }

  .hero::after {
    background: rgba(0,0,0,0.05);
  }

  .hero-content h1 { 
    font-size: 2.4rem; 
    color: #000;      /* <-- letras negras en móvil */
    text-shadow: none; /* opcional: quitar sombra si quieres */
  }
  .hero-content h2 { 
    font-size: 1.4rem; 
    color: #000;      /* <-- letras negras en móvil */
    text-shadow: none; 
  }
  .hero-content p {
    color: #000;
    text-shadow: none;
  }
}



/* ============================================================
   DESTINOS (FLIP CARDS)
============================================================ */
.section-title {
  text-align: center;
  margin-top: 80px;
  font-size: 2rem;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 30px;
  padding: 60px 5%;
}

.card {
  perspective: 1000px;
  height: 380px;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.card:hover .card-inner { transform: rotateY(180deg); }

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-front .info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 18px;
  background: rgba(0,0,0,0.45);
  color: #fff;
}

.card-back {
  transform: rotateY(180deg);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn-reservar {
  padding: 14px 18px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  text-align: center;
}



/* ============================================================
   BENEFICIOS
============================================================ */
.benefits {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
}

.benefits h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-card {
  padding: 25px 20px;
  background: #fafafa;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.benefit-card .icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 1.15rem;
  color: #333;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 600px) {
  .benefits h2 { font-size: 1.9rem; }
  .benefit-card { padding: 20px; }
}

/* ============================================================
   POR QUÉ ELEGIRNOS — CARDS APPLE
============================================================ */
.section.light {
  background: #f7f7f7;
  padding: 90px 5%;
}

.wrap { max-width: 1200px; margin: auto; }
.center { text-align: center; }

.section-subtitle {
  margin: 15px auto 45px;
  max-width: 700px;
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 40px;
}

.feature-card {
  background: #fff;
  padding: 35px 28px;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  transition: 0.25s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.08);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .feature-cards { grid-template-columns: 1fr; gap: 22px; }
  .feature-card { padding: 28px 22px; }
  .section-subtitle { font-size: 1.1rem; margin-bottom: 35px; }
}

/* ============================================================
   CATEGORÍAS DESTACADAS – estilo Apple
============================================================ */
.categories {
    width: 100%;
    padding: 80px 5%;
    background: #f8f9ff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #222;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.09);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cat-body {
    padding: 22px;
    text-align: left;
}

.cat-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.cat-body p {
    font-size: 1rem;
    color: #555;
}

/* MOBILE */
@media (max-width: 600px) {
    .category-card img {
        height: 150px;
    }
}


/* ============================================================
   TESTIMONIOS
============================================================ */
/* TÍTULO DE TESTIMONIOS */
.testimonials-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px; /* Esto crea el espacio que pediste */
    margin-top: 40px;
}

/* CONTENEDOR DE TESTIMONIOS */
.testimonials {
    width: 100%;
    padding: 20px 0 80px 0; /* espacio arriba/abajo */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* GRID DE TARJETAS */
.testimonial-grid {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* TARJETAS */
.testimonial-card {
    background: #fafaff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    text-align: center;
    line-height: 1.6;
}

/* ============================
   FLIP CARDS TESTIMONIOS
============================ */
.flip {
    perspective: 1000px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 180px;
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}

.flip:hover .flip-inner,
.flip:active .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    backface-visibility: hidden;
    background: #fafaff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

/* Frente (opinión) */
.flip-front p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Reverso (nombre del viajero) */
.flip-back {
    transform: rotateY(180deg);
    background: #ffffff;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

/* Ajuste responsivo */
@media (max-width: 480px) {
    .flip-inner {
        height: 160px;
    }
}

/* ============================================================
   CTA FINAL
============================================================ */
.cta {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 100px 5%;
}

.cta button {
  margin-top: 25px;
  padding: 15px 28px;
  font-size: 1.2rem;
  background: #fff;
  color: #000;
  border-radius: 12px;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  padding: 40px 5%;
  background: #fafafa;
  font-size: 0.9rem;
  text-align: center;
  color: #555;
}

/* ============================================================
   WHATSAPP
============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* ============================================================
   RESPONSIVE GENERAL
============================================================ */
@media (max-width: 768px) {
  header.navbar { padding: 15px 22px; }
  .menu-toggle { display: flex; }

  .hero { 
    background-attachment: scroll;
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero h1 { font-size: 2.6rem; }
  .hero h2 { font-size: 1.4rem; }
  .hero p { font-size: 1.1rem; }

  .cards {
    grid-template-columns: 1fr;
    padding: 40px 6%;
  }
}

/* =====================================================
   AISLAR ESTILOS SOLO PARA LA PÁGINA NOSOTROS
===================================================== */
.nosotros-page .hero-simple,
.nosotros-page .about-grid,
.nosotros-page .cards-3,
.nosotros-page .team-grid {
    all: unset;
    display: revert;
}


/* =====================================================
   HERO — Apple Glass Premium
===================================================== */
.nosotros-page .hero-nosotros {
    width: 100%;
    padding: 160px 5% 90px 5%;
    text-align: center;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.nosotros-page .hero-nosotros h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #111;
}

.nosotros-page .hero-nosotros p {
    margin-top: 12px;
    font-size: 1.25rem;
    color: #444;
    max-width: 760px;
    line-height: 1.65;
    margin-left: auto;
    margin-right: auto;
}


/* =====================================================
   RESPONSIVE
===================================================== */
@media(max-width: 768px) {
    .nosotros-page .hero-nosotros {
        padding: 130px 20px 70px;
    }
    .nosotros-page .hero-nosotros h1 {
        font-size: 2.2rem;
    }
    .nosotros-page .hero-nosotros p {
        font-size: 1.05rem;
    }
}

/* =====================================================
   SECCIONES INTERNAS – PÁGINA NOSOTROS
   Estilo Apple Glass – Solo afecta .nosotros-page
===================================================== */

/* Layout general */
.nosotros-page section,
.nosotros-page .section {
    padding: 80px 5%;
    font-family: 'Poppins', Arial, sans-serif;
    color: #222;
}

/* =====================================================
   QUIÉNES SOMOS — Grid
===================================================== */
.nosotros-page .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 5%;
}

.nosotros-page .about-grid img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.nosotros-page .about-text h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.nosotros-page .about-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
}

/* Responsive */
@media(max-width: 900px) {
    .nosotros-page .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* =====================================================
   MINI CARDS — MISIÓN / VISIÓN / VALORES
===================================================== */
.nosotros-page .mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 40px 5%;
}

.nosotros-page .mini-cards .card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    text-align: center;
}

.nosotros-page .mini-cards h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.nosotros-page .mini-cards p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

/* Responsive */
@media(max-width: 900px) {
    .nosotros-page .mini-cards {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   EQUIPO — Títulos
===================================================== */
.nosotros-page .team {
    text-align: center;
    margin-top: 60px;
}

.nosotros-page .team h2 {
    font-size: 2.4rem;
}

/* =====================================================
   EQUIPO — Tarjetas
===================================================== */
.nosotros-page .team-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    padding: 40px 5%;
}

.nosotros-page .team-card {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    padding: 24px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.nosotros-page .team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
}

.nosotros-page .team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
}

.nosotros-page .team-card h3 {
    margin-top: 14px;
    font-size: 1.2rem;
    font-weight: 600;
}

.nosotros-page .team-card p {
    font-size: 1rem;
    color: #666;
}

/* Responsive */
@media(max-width: 900px) {
    .nosotros-page .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   ESTILO APPLE GLASS PARA PÁGINAS LEGALES (Aviso / Cancelaciones)
   Sólo afecta .legal-page
=================================================================== */

.legal-page {
    max-width: 900px;
    margin: 120px auto 80px auto;
    padding: 40px;
    border-radius: 26px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    color: #222;
}

/* Encabezado */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
}

.legal-header p {
    color: #555;
    font-size: 1rem;
    margin-top: 8px;
}

/* Secciones */
.legal-section {
    margin-bottom: 35px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.legal-section p,
.legal-section ul {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section ul li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        margin: 100px 20px;
        padding: 28px;
    }

    .legal-header h1 {
        font-size: 2.1rem;
    }
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* CONTENEDOR */
.about-card {
    width: 100%;
    height: 260px;
    perspective: 1000px;
}

/* INTERIOR */
.about-card .inner {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
    position: relative;
}

/* EFECTO DE GIRO */
.about-card:hover .inner {
    transform: rotateY(180deg);
}

/* CARAS */
.about-card .front,
.about-card .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* CARA FRONTAL */
.about-card .front {
    background: var(--primary);
    color: #000000;
    font-size: 22px;
    font-weight: 700;

}

/* CARA TRASERA */
.about-card .back {
    background: #fff;
    color: #333;
    transform: rotateY(180deg);
    font-size: 16px;
    line-height: 1.5;
}

/* ===============================
   NUESTRA HISTORIA
================================== */

.history-section {
    width: 100%;
    padding: 80px 20px;
    background: #ffffff; /* limpio */
    display: flex;
    justify-content: center;
    font-family: 'Poppins', Arial, sans-serif;
}

.history-wrap {
    max-width: 900px;
    text-align: center;
    padding: 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.history-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #222;
}

.history-text {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;
}
/* ===== CONTACTO APPLE MINIMAL ===== */
.contacto-wrapper {
  max-width: 1100px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 0 20px;
}
.contacto-card, .contacto-info {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.contacto-card h2, .contacto-info h2 {
  font-size: 26px;
  margin-bottom: 20px;
}
.contacto-form label {
  font-size: 15px;
  margin-top: 18px;
  display: block;
}
.contacto-form input, .contacto-form textarea {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: .3s;
}
.contacto-form input:focus, .contacto-form textarea:focus {
  border-color: #000;
  outline: none;
}


/* MOBILE */
@media (max-width: 700px) {
  .contacto-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}