/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,body{
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}


html {
  scroll-behavior: smooth;
  
}

body {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  background-color: rgb(255, 254, 236);
 
}

/* CONTAINER */
.container {
  width: min(1200px, 92%);
  margin: auto;
  
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(0, 0, 0, 0.459);
  border-bottom: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  
  
  
  
}



/* NAV */

.nav {
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}

.nav a:hover {
  opacity: .8;
}

.nav-toggle {
  display: none;
  font-size: 1.4rem;   /* tamaño del icono reducido */
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;

  padding: 6px 8px;    /* botón más compacto */
  border-radius: 10px; /* bordes suaves */
}



/* HERO */

.hero {
  min-height: 100vh;
  background: url(img/imagen.png) center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  width: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.75));
}

.hero__grid {
  position: relative;
  z-index: 2;
  
}

.hero__text {
  max-width: auto;
}

.hero__text h1{
  font-size: 90px;
}

/* BADGE */

.badge {
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0px;
  width: fit-content;
}

/* TITULAR */

h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 22px;
}

/* SUBTEXTO */

.lead {
  font-size: 1.3rem;
  margin-bottom: 28px;
}

/* BOTÓN */

.btn-whatsapp {
  display: inline-block;
  background: #0fc36c;
  padding: 16px 28px;
  border-radius: 22px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;

  padding: 16px 20px;
  font-size: 1.02rem;
  border-radius: 22px;
}

.btn-whatsapp:hover {
  filter: brightness(.92);
}

/* SECCIONES GENERALES */

.section {
  padding: 70px 0;
  background: rgb(255, 254, 236);
  color: black;
  scroll-margin-top: 90px; /* para que no quede tapado por el header */
}

.section--light {
  background: rgb(255, 254, 236);
  color: #222;
}

.section__title {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin-bottom: 0px;
}

.section__subtitle {
  margin-bottom: 30px;
  max-width: 640px;
  font-size: 1.2rem;
}



/* ÁREAS (CARTAS) */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}




/* PLANES */

.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.plan-card {
  background: #fff;
  color: #222;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 3px 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,.18);
}

.plan-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.plan-desc {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.plan-list {
  list-style: none;
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.plan-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0fc36c;
  font-weight: 600;
}

/* Botón del plan */
.plan-btn {
  margin-top: auto;
  text-align: center;
  background: #0fc36c;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 18px;
  font-weight: 600;
  font-size: .95rem;
}

.plan-btn:hover {
  filter: brightness(.95);
}



/* Responsive */
@media (max-width: 900px) {
  .planes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .planes-grid {
    grid-template-columns: 1fr;
  }
}





/* QUIÉNES SOMOS */

.quienes-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 40px;
}

.quienes-text p {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.quienes-box {
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 3px 10px 26px rgba(0, 0, 0, 0.336);
}

.quienes-box h3 {
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 1.4;
}

.quienes-box ul {
  list-style: none;
  font-size: 1.1rem;
}

.quienes-box li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.quienes-box li::before {
  content: "›";
  position: absolute;
  left: 2px;
}

/* POR QUÉ ELEGIRNOS */

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.beneficio {
  background: #fff;
  color: #222;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 3px 10px 26px rgba(0, 0, 0, 0.336);
}

.beneficio h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.beneficio p {
  font-size: 1.1rem;
}

/* CONTACTO */

/* CONTACTO (tarjeta sin formulario) */

.section--contact {
  background: rgb(255, 254, 236); /* tono crema similar al de la captura */
  color: #111;
}

.contact-card {
  margin-top: 24px;
  background: #ffffff;
  border-radius: 26px;
  padding: 28px 26px;
  box-shadow: 3px 10px 26px rgba(0, 0, 0, 0.336);
}

.contact-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-card__intro {
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.contact-card__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-row__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.contact-icon {
  font-size: 1.1rem;
}

.contact-row__value {
  font-size: 1.1rem;
  text-decoration: none;
  color: #0066cc;
}

.contact-row__value:hover {
  text-decoration: underline;
}

/* Layout contacto + mapa */
.contact-layout {
   display: grid;
  grid-template-columns: 1.5fr 1.3fr;  /* antes 1.3fr 1fr aprox */
  gap: 32px;
  align-items: stretch;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Caja del mapa */
.contact-map-box {
  width: 100%;             /* que use toda su columna */
  justify-self: end;       /* se apoya hacia la derecha, estilo moderno */
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 3px 10px 26px rgba(0, 0, 0, 0.33);
  background: #ddd;
  min-height: 260px;

}

/* Hacemos responsivo el iframe */
.contact-map-box iframe {
  width: 100%;
  height: 100%;
}

/* Responsive: en mobile se apilan */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map-box {
    min-height: 220px;
  }
}





/* Botón grande de WhatsApp */
.btn-whatsapp-large {
  display: block;
  margin-top: 8px;
  width: 100%;
  text-align: center;
  background: #00c853;
  color: #fff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0, 200, 83, 0.35);
}

.btn-whatsapp-large:hover {
  filter: brightness(0.95);
}

/* Responsive contacto */
@media (max-width: 650px) {
  .contact-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-row__value {
    text-align: left;
  }
}


.borde-debajo-texto{
border: 2px solid;
width: 10px;
color: white;
}

.borde-debajo-texto-section{
border: 2px solid;
width: 10px;
color: black;
}


/* FOOTER */

.footer {
  background: #111;
  color: #f7f4cf;
  margin-top: 40px;
  padding-top: 32px;
  font-size: 0.9rem;
  width: 100%;
}

.footer__content {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__col {
  flex: 1;
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.footer__subtitle {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 10px;
}

.footer__text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer__col h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 6px;
}

.footer__list a {
  color: #f7f4cf;
  text-decoration: none;
}

.footer__list a:hover {
  text-decoration: underline;
}

/* Parte inferior del footer */
.footer__bottom {
  padding: 10px 0 16px;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.footer__disclaimer {
  opacity: 0.8;
  font-size: 0.8rem;
}


.footer__brand img{

  width: 100px;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer__content {
    flex-direction: column;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* 📱 RESPONSIVE */

@media (max-width: 900px) {

  h1 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .nav {
    gap: 14px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quienes-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .card-area__img {
    opacity: 1;
  }

  .card-area__overlay {
    opacity: 0;
  }
}

@media (max-width: 650px) {

  .header__content {
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    text-align: center;
  }

  .hero__text {
    margin: auto;
  }

  h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 60px 0;
  }

  .areas-grid,
  .beneficios-grid {
    grid-template-columns: 1fr;
  }

  .card-area__img {
    opacity: 0;
  }

  .card-area__overlay {
    opacity: 1;
  }
}

@media (max-width: 750px) {

  /* Botón hamburguesa visible */
  .nav-toggle {
    display: block;
    font-size: 1.3rem;  /* aún un poco más chico en celular */
    padding: 4px 6px;
  }

  .logo img {
    height: 42px;
  }

  /* Menú oculto inicialmente */
  .nav {
    position: absolute;
  top: 80px;
  right: 12px;
  margin-left: 0;

  /* menú flotante más compacto */
  width: auto;
  min-width: 180px;
  max-width: 260px;

  background: rgba(0,0,0,.92);
  backdrop-filter: blur(4px);

  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);

  display: none;
  flex-direction: column;
  padding: 14px 10px;
  gap: 12px;
  }

  .nav a {
    font-size: 1.1rem;
  }

  /* Cuando se despliega */
  .nav.active {
    display: flex;
  }
}

@media (max-width: 900px) {
  .hero__text h1 {
    font-size: 3.2rem;   /* tablet / pantallas medianas */
  }
  .logo img{
    height: 20px;
  }
}

@media (max-width: 650px) {
  .hero__text h1 {
    font-size: 2.4rem;   /* celulares */
  }
}

@media (max-width: 430px) {
  .hero__text h1 {
    font-size: 3.1rem;   /* celulares chicos como el de la captura */
  }

  .badge{
    font-size: 15px;
  }
}






/* ÁREAS con imagen + overlay */

.card-area {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.card-area--img {
  position: relative;
  overflow: hidden;
  padding: 0;                 /* ahora el padding lo tiene el overlay */
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.568);
  min-height: 260px;          /* ajustá según tu gusto */
  cursor: pointer;
}

.card-area__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
  background: #e2e23c;
}

.card-area__img img{
  background-color: #ecec36;
}

/* Overlay oculto por defecto */
.card-area__overlay {
   position: absolute;
  inset: 0;
  
  

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 20px;

  opacity: 0;
  transition: opacity 1s ease;
}

/* Títulos dentro del overlay */
.card-area__overlay h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card-area__overlay p {
  font-size: .95rem;
  margin-bottom: 14px;
}

/* Lista en overlay */
.card-area__overlay .card-area__list {
  list-style: none;
  font-size: .9rem;
}

.card-area__overlay .card-area__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.card-area__overlay .card-area__list li::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
}

/* Hover / Focus: aparece texto 
.card-area--img:hover .card-area__overlay,
.card-area--img:focus .card-area__overlay,
.card-area--img:focus-within .card-area__overlay {
  opacity: 1;
  transform: translateY(0);
}*/

.card-area:hover img {
  opacity: 0;
}

.card-area:hover .card-area__overlay {
  opacity: 1;
}




/* Hover: zoom suave */
.card-area--img:hover .card-area__img,
.card-area--img:focus .card-area__img {
  transform: scale(1.06);
}


@media (max-width: 650px) {
  .card-area__overlay {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 200px) {
  .logo img {
    height: 56px;
  }
}


