:root{
  --blue:#0d6efd;
  --text:#1f2a37;
  --muted:#6b7280;
  --line:#e6e6e6;
  --check:#65b32e;
  --container: 1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color:var(--text);
  background:#fff;
}

/* Layout */
.container{
  width:min(var(--container), calc(100% - 64px));
  margin:0 auto;
}

/* HEADER */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  /* GIF de fondo */
  background-image: url("assets/images/header.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Oscurecer para legibilidad */
  background-color: rgba(0,0,0,0.35);
  background-blend-mode: darken;

  backdrop-filter: blur(2px);
}

.site-header.is-solid{
  background:#fff;
}
.header-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.header-line{
  height:1px;
  background:rgba(255,255,255,.35);
}
.site-header.is-solid .header-line{
  background:var(--line);
}

/* Logo pill (como en la captura) */
.logo-pill{
  display:inline-flex;
  align-items:center;
  padding:10px 16px;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.10);
  position: relative; /* ← necesario para apilar logos */
}

.logo-pill img{
  height:30px;
  width:auto;
  display:block;
}

.logo{
  transition: opacity .22s ease, transform .22s ease;
}

.logo--dark{
  position: absolute;   /* lo pone encima sin cambiar el layout */
  opacity: 0;
  transform: translateY(-2px);
}

/* NAV */
.nav{
  display:flex;
  gap:34px;
  align-items:center;
  font-size:16px;
}
.nav-link{
  color: #0d6efd;
  text-decoration:none;
  font-weight:500;
}

/* cuando header es sólido: se ve el oscuro */
.site-header.is-solid .logo--light{
  opacity: 0;
  transform: translateY(2px);
}

.site-header.is-solid .logo--dark{
  opacity: 1;
  transform: translateY(0);
}

.nav-link.is-active{
  color: #0d6efd;
}


/* Hamburger Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  width: 44px;
  height: 44px;
  position: relative;
  justify-content: center;
  align-items: center;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: background 0.3s;
}

.site-header.is-solid .hamburger {
  background: var(--blue);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: inherit;
  left: 0;
  transition: transform 0.3s;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* State when menu is open */
.nav-toggle.is-active .hamburger {
  background: transparent;
}

.nav-toggle.is-active .hamburger::before {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.is-active .hamburger::after {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* HERO (GIF banner) */
/* HERO (VIDEO banner) */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  /* espacio para el header fijo */
  padding-top: 90px;

  /* por si el video excede */
  overflow: hidden;
}

/* QUITAMOS los fondos anteriores que estaban en ::before y ::after */
.hero::before,
.hero::after{
  content: none !important;
}

/* Video de fondo */
.hero-video{
  position: absolute;
  inset: 0;               /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;       /* clave: que cubra sin deformarse */
  z-index: 0;
}

/* Overlay para oscurecer el video */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1;
}

/* Contenido encima */
.hero-content{
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(860px, calc(100% - 48px));
  color: #fff;
}

/* (Lo demás igual que ya lo tenías) */
.hero-content h1{
  margin:0 0 10px;
  font-size:46px;
  letter-spacing:1px;
  font-weight:800;
}
.hero-content p{
  margin:0 auto 18px;
  max-width: 620px;
  font-size:18px;
  line-height:1.6;
  opacity:.95;
}

.btn-primary{
  display:inline-block;
  padding:12px 22px;
  border-radius:24px;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  font-size:15px;
  box-shadow:0 10px 25px rgba(13,110,253,.25);
}
.btn-primary:hover{filter:brightness(1.02)}

/* SECTIONS */
.section{
  padding: 160px 0;
}
.section-title{
  text-align:center;
  color:var(--blue);
  font-size: 52px;          /* antes 44px */
  margin: 0 0 54px;         /* antes 44px */
  font-weight: 900;
  letter-spacing: .4px;
}

/* ABOUT */
.about-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items:start;
}

/* círculo watermark suave como en captura */
.about-grid::before{
  content:"";
  position:absolute;
  left: 43%;
  top: 52%;
  width: 420px;
  height: 420px;
  border-radius:50%;
  background:#f4f6f8;
  transform: translate(-50%, -50%);
  z-index:0;
}
.about-left, .about-right{
  position:relative;
  z-index:1;
}

.about-img{
  width:100%;
  max-width: 520px;
  display:block;
  margin:0 auto;
}

.block-title{
  font-size:28px;
  margin:0 0 12px;
  font-weight:500;
  color:#111827;
}
.muted{
  color:var(--muted);
  margin:0 0 18px;
  line-height:1.7;
}

.checklist{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
  display:grid;
  gap:14px;
}
.checklist li{
  display:flex;
  gap:14px;
  align-items:flex-start;
  color:#6b7280;
  line-height:1.6;
  font-size:16px;
}
.checklist li::before{
  content:"✓";
  color:var(--check);
  font-weight:700;
  margin-top:1px;
}
.mt-32{margin-top:32px}

/* GALLERY */
.gallery-wrap{
  display:flex;
  justify-content:center;
}
.gallery-img{
  width:min(760px, 100%);
  height:auto;
  display:block;
}

/* CONTACT */
.contact-top{
  display:flex;
  justify-content:space-between;
  gap:40px;
  width:min(980px, 100%);
  margin: 0 auto 26px;
}
.contact-item{
  display:flex;
  gap:12px;
  align-items:center;
}
.contact-icon{
  color:var(--blue);
}
.contact-link{
  color:var(--blue);
  text-decoration:none;
  font-size:14px;
}

.contact-mid{
  width:min(980px, 100%);
  margin: 0 auto;
  text-align:left;
  padding-top: 120px; /* en la captura hay un espacio grande */
}
.contact-mid h3{
  margin:0 0 10px;
  font-size:34px;
  color:#334155;
  font-weight:700;
}
.contact-mid p{
  margin:0;
  color:#475569;
  font-size:14px;
}

.contact-form{
  width:min(980px, 100%);
  margin: 44px auto 0;
  display:grid;
  gap:18px;
}
.contact-form label{
  font-size:14px;
  color:#1f2937;
}
.req{color:#dc2626}

.contact-form input,
.contact-form textarea{
  width:100%;
  margin-top:8px;
  border:1px solid #bdbdbd;
  border-radius:2px;
  padding:10px 12px;
  font-size:14px;
  outline:none;
  background:#f8fbff;
}
.contact-form textarea{resize:vertical}

.form-actions{
  display:flex;
  justify-content:flex-end;
  padding-top:6px;
}
.btn-send{
  background:#3e556b;
  border:0;
  color:#fff;
  padding:10px 26px;
  border-radius:2px;
  cursor:pointer;
  font-weight:600;
}
.btn-send:hover{filter:brightness(1.03)}

/* WhatsApp FAB */
.whatsapp-fab{
  position:fixed;
  right:26px;
  bottom:26px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25D366;
  display:grid;
  place-items:center;
  color:#fff;
  text-decoration:none;
  box-shadow:0 12px 24px rgba(0,0,0,.25);
  z-index:200;
}

/* Responsive */
@media (max-width: 980px){
  .container{width: min(var(--container), calc(100% - 28px));}
  
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px; /* height of header */
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    visibility: hidden;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-link {
    font-size: 20px;
    text-align: center;
    width: 100%;
  }

  .about-grid{grid-template-columns:1fr; gap:34px}
  .about-grid::before{display:none}
  .section-title{font-size:34px}
  .hero-content h1{font-size:38px}
  .contact-top{flex-direction:column; align-items:center}
  .contact-mid{padding-top:70px; text-align:center}
}

/* ===== Nosotros (layout como captura) ===== */
/* 2) Layout: imagen más grande + mejor proporción */
.about-split{
  display:grid;
  grid-template-columns: 520px 1fr;
  gap: 72px;
  align-items: center; /* para que se vea más “hero-like” */
}

/* Imagen grande a la izquierda */
/* 3) Imagen con más presencia */
.about-photo{
  display:flex;
  justify-content:flex-start;
}

.about-img{
  width:100%;
  height: 520px;          /* antes auto: ahora se siente grande */
  max-width: 520px;
  display:block;
  object-fit: cover;
  border-radius: 16px;     /* opcional, se ve más moderno */
}

/* Texto a la derecha */
.about-copy{
  padding-top: 0;
}

.about-title{
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .2px;
}

.about-text{
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.75;
  max-width: 680px;
}

.mt-28{
  margin-top: 34px;
}

/* Responsive */
/* 5) Responsive: en móvil que se vea grande y ordenado */
@media (max-width: 900px){
  .about-split{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-img{
    max-width: 100%;
    height: 340px;
  }
  .about-title{
    font-size: 24px;
  }
}

:root{
  --blue:#0d6efd;
  --card-border:#d9d9d9;
  --card-text:#6b7280;
}

/* ===== Servicios ===== */
.services{
  padding: 120px 0 70px;     /* antes 40px 0 18px */
  background:#fff;
}

.services-title{
  text-align:center;
  color:var(--blue);
  font-size: 34px;           /* antes 18px */
  letter-spacing: 1px;
  font-weight: 900;
  margin: 0 0 26px;
}

/* Contenedor carrusel */
/* Reemplaza o modifica dentro de .services-carousel y .sc-viewport */

.services-carousel {
  position: relative;
  --card-width: 260px;     /* ← ajústalo a tu gusto (240–280px) */
  --gap: 24px;
}

.sc-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #a0a0a0 transparent;
  padding: 1rem 0;
}

/* scrollbar chrome */
.sc-viewport::-webkit-scrollbar{ height: 8px; }
.sc-viewport::-webkit-scrollbar-thumb{ background:#cfcfcf; border-radius:999px; }
.sc-viewport::-webkit-scrollbar-track{ background:transparent; }

.sc-track {
  display: flex;
  gap: var(--gap);
  width: max-content;           /* muy importante */
  padding: 0 1rem;
  will-change: transform;
}

/* Tarjeta */
.service-card {
  flex: 0 0 var(--card-width);
  scroll-snap-align: start;
  /* el resto igual */
}

/* Opcional: ocultar flechas si usas solo CSS */
.sc-arrow {
  display: none;   /* o coméntalas en HTML si prefieres */
}

.service-img{
  position:relative;
  height: 140px;             /* antes 82px */
  overflow:hidden;
  background:#f3f4f6;
}
.service-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.service-body{
  padding: 14px 14px 16px;   /* antes 7px 8px 9px */
  text-align:center;
}
.service-body h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color:#111827;
}

.service-body p{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color:#4b5563;
}
/* CTA overlay "COTIZAR" como captura */
.service-cta .service-cta-link{
  display:block;
  color:inherit;
  text-decoration:none;
}
.cta-badge{
  position:absolute;
  right:10px;
  top:10px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 2px;
  color:#fff;
  background: rgba(0,0,0,.65);
  border-radius: 2px;
  font-weight: 700;
}

/* Flechas (opcional) */
/* Flechas más grandes */
.sc-arrow{
  width: 44px;               /* antes 30px */
  height: 44px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background:#fff;
  color:#111;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
  user-select:none;
}
.sc-arrow:active{ transform: translateY(1px); }

/* Dots */
.sc-dots{
  display:flex;
  justify-content:center;
  gap:10px;                  /* antes 6px */
  margin-top: 16px;          /* antes 8px */
}
.sc-dots .dot{
  width:9px;                 /* antes 6px */
  height:9px;
  border-radius:999px;
  border:0;
  background:#d9d9d9;
  cursor:pointer;
}
.sc-dots .dot.is-active{
  background: var(--blue);
}

/* Responsive: en pantallas chicas que se vea 1–2 cards */
@media (max-width: 520px){
  .service-card{ flex-basis: 150px; }
  .sc-arrow{ display:none; } /* opcional */
}

/* ===== AMENIDADES ===== */
.amenities{
  margin-top: 80px;        /* antes 56px */
  padding-top: 10px;
}
.amenities-title{
  text-align:center;
  color:var(--blue);
  font-size: 28px;         /* antes 22px */
  letter-spacing: 1px;
  font-weight: 900;
  margin: 0 0 36px;
  text-transform: uppercase;
  line-height: 1.2;
}

.amenities-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 34px 30px;          /* más aire */
  align-items: stretch;
  justify-items:center;
}

/* Para que el 2do renglón tenga 5 centradas (como tu imagen) */
.amenities-grid .amenity:nth-child(n+7){
  grid-column: span 1;
}
/* empuja el inicio del segundo renglón para centrarlo */
.amenities-grid .amenity:nth-child(7){ grid-column: 2; } /* empieza en columna 2 */

.amenity{
  width: 170px;            /* antes 150px */
  text-align:center;
  padding: 18px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
/* Ícono más grande */
.amenity-ico{
  width: 72px;             /* antes 58px */
  height: 72px;
  margin: 0 auto 12px;
}

.amenity-ico img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}


.amenity-ico svg{
  width:100%;
  height:100%;
  display:block;
}
.amenity-txt{
  font-size: 15px;         /* antes 14px */
  color:#111827;
  line-height: 1.25;
  font-weight: 700;
}

/* Responsive */

/* Hover opcional (se siente premium) */
@media (hover:hover){
  .amenity{
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .amenity:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0,0,0,.10);
  }
}

/* ====== Responsive ====== */
@media (max-width: 1024px){
  .amenities-grid{ grid-template-columns: repeat(3, 1fr); }
  .amenity{ width: 190px; }
}

@media (max-width: 700px){
  .amenities-title{ font-size: 20px; margin-bottom: 22px; }
  .amenities-grid{ grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .amenity{ width: 100%; max-width: 220px; padding: 16px 12px; }
  .amenity-ico{ width: 62px; height: 62px; }
  .amenity-txt{ font-size: 14px; }
}


.audience-cta{
  display: flex;
  justify-content: flex-end;
  padding-right: 260px;
  margin-top: 24px;
  justify-content: flex-end; /* ← derecha */
  padding-right: 0;   
}

/* Botón */
.chat-btn{
  --bg1:#0d6efd;
--bg2:#0a58ca;
--shadow: rgba(13,110,253,.28);

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 999px;

  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: #fff;
  text-decoration: none;

  font-weight: 800;
  letter-spacing: .2px;
  font-size: 15px;

  box-shadow: 0 14px 34px var(--shadow);
  border: 1px solid rgba(255,255,255,.18);

  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  user-select: none;
  white-space: nowrap;
}

/* icon pill */
.chat-btn__icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
}

/* hover / focus */
.chat-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(22, 163, 74, .36);
  filter: brightness(1.02);
}

.chat-btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(22, 163, 74, .26);
}

.chat-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .25), 0 14px 34px rgba(22, 163, 74, .28);
}

/* Responsive: evita padding-right enorme en pantallas chicas */
@media (max-width: 900px){
  .audience-cta{
    justify-content: center;
    padding-right: 0;
  }
}

:root{
  --blue:#0d6efd;
  --dark-blue:#0b3b63;   /* tono cápsula */
  --dark-blue-2:#072a45; /* sombra/gradiente */
}

/* ===== Contacto ===== */
.contact-section{
  padding: 120px 0 90px;  /* antes 34px 0 46px */
  background:#fff;
}

.contact-title{
  text-align:center;
  color: var(--blue);
  margin: 0 0 28px;       /* antes 18px */
  font-size: 36px;        /* antes 18px */
  font-weight: 900;
  letter-spacing: 1px;
}

.contact-toprow{
  display:grid;
  grid-template-columns: 1fr 320px;  /* antes 260px */
  gap: 56px;                          /* antes 34px */
  align-items: start;
  width: min(1100px, 100%);
  margin: 0 auto;
}

/* MAP */
.map-frame{
  width: 100%;
  height: 320px;          /* antes 150px */
  overflow:hidden;
  border-radius: 16px;    /* antes 2px */
  background:#f3f4f6;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

.map-frame iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.address{
  margin-top: 14px;       /* antes 10px */
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 14px;        /* antes 12px */
}

.pin{ color:#e11d48; }

.address-link{
  color:#e11d48;
  text-decoration:none;
  font-weight: 700;
}
.address-link:hover{ text-decoration:underline; }

/* TELÉFONO */
.phone-block{
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:flex-start;
  padding-top: 64px;      /* antes 36px (más “balance” con el mapa alto) */
}

.phone-ico{
  color: var(--blue);
  display:grid;
  place-items:center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(13,110,253,.10);
}

.phone-link{
  color: var(--blue);
  font-size: 18px;        /* antes 12px */
  font-weight: 900;
  text-decoration:none;
  letter-spacing: .2px;
}

/* SUBTÍTULO */
.contact-subtitle{
  text-align:center;
  margin: 34px auto 18px; /* antes 18px auto 14px */
  font-size: 18px;        /* antes 14px */
  font-weight: 700;
  letter-spacing: 1px;
  color:#2b6cb0;
  text-transform: uppercase;
}

/* Capsule */
.contact-capsule{
  width: min(980px, 100%);     /* antes 860px */
  margin: 0 auto;
  padding: 26px 26px;          /* antes 16px 18px */
  border-radius: 34px;         /* más grande */
  background: linear-gradient(
    180deg,
    var(--dark-blue, #061a2b),
    var(--dark-blue-2, #0a2a45)
  );
  box-shadow: 0 22px 55px rgba(2, 16, 28, .28);
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.capsule-input{
  height: 44px;            /* antes 28px */
  border-radius: 999px;
  border: 0;
  outline: none;
  padding: 0 18px;
  font-size: 15px;         /* antes 12px */
  color:#0f172a;
  background:#fff;
}

.capsule-input:focus{
  box-shadow: 0 0 0 4px rgba(13,110,253,.18);
}

.capsule-input::placeholder{
  color:#2563eb; /* placeholder azul como en captura */
}

.capsule-submit{
  position:absolute;
  left:-9999px; /* no se ve, pero permite submit con Enter */
}

@media (max-width: 900px){
  .contact-section{ padding: 96px 0 70px; }

  .contact-title{ font-size: 30px; }

  .contact-toprow{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .map-frame{ height: 260px; }

  .phone-block{
    padding-top: 0;
    justify-content:center;
  }

  .address{
    justify-content:center;
    flex-wrap:wrap;
    text-align:center;
  }

  .contact-subtitle{
    font-size: 16px;
    margin-top: 26px;
  }

  .contact-capsule{
    padding: 22px 18px;
    border-radius: 28px;
  }
}

.parent{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 14px;                /* antes 8px */
  min-height: 680px;        /* hace que el collage se sienta grande */
}

.parent > div{
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.parent img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  transform: scale(1.01);
}

@media (hover:hover){
  .parent > div{
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .parent > div:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
  }
  .parent > div:hover img{
    transform: scale(1.04);
    transition: transform .25s ease;
  }
}

/* ====== Responsive ====== */
@media (max-width: 1024px){
  .section-title{ font-size: 44px; margin-bottom: 40px; }

  /* Pasamos a 2 columnas y “tarjetas” grandes */
  .parent{
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    min-height: auto;
    gap: 14px;
  }

  /* Reacomodo simple para que no dependas de grid-row/grid-column */
  .div1,.div2,.div3,.div4,.div5,.div6,.div7{
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .div1{ min-height: 320px; }
  .div2,.div3,.div4,.div5,.div6,.div7{ min-height: 220px; }
}

@media (max-width: 600px){
  .section{ padding: 110px 0; }
  .section-title{ font-size: 34px; margin-bottom: 28px; }

  .parent{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .div1{ min-height: 260px; }
  .div2,.div3,.div4,.div5,.div6,.div7{ min-height: 190px; }
}
    
.div1 {
    grid-column: span 3 / span 3;
    grid-row: span 4 / span 4;
}

.div2 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 1;
    grid-row-start: 5;
}

.div3 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 3;
    grid-row-start: 5;
}

.div4 {
    grid-row: span 2 / span 2;
    grid-column-start: 4;
    grid-row-start: 1;
}

.div5 {
    grid-row: span 2 / span 2;
    grid-column-start: 4;
    grid-row-start: 3;
}

.div6 {
    grid-column: span 2 / span 2;
    grid-row: span 4 / span 4;
    grid-column-start: 5;
    grid-row-start: 1;
}

.div7 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 5;
    grid-row-start: 5;
}

.footer {
  background: linear-gradient(180deg, #0b3a57, #062a40);
  padding: 15px 30px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  color: #cfd8dc;
  font-size: 13px;
}

.footer-left a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  margin-right: 8px;
}

.footer-left span {
  margin-right: 6px;
}

.footer-left .developer {
  color: #9fb3c1;
}

.footer-right a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    margin-top: 10px;
  }

  .footer-right a {
    margin: 0 10px;
  }
}

@media (max-width: 980px){

  /* Panel del menú */
  .nav{
    position: fixed;
    top: 72px;               /* debajo del header */
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    background: #fff;

    display: flex;
    flex-direction: column;
    align-items: stretch;     /* importante: que los links sean full width */
    padding: 22px 18px;
    gap: 12px;

    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.9,.2,1);
    visibility: hidden;

    z-index: 120;             /* clave: arriba del hero */
    box-shadow: -18px 0 40px rgba(0,0,0,.14);
    overflow-y: auto;
  }

  .nav.is-open{
    transform: translateX(0);
    visibility: visible;
  }

  /* Links como botones */
  .nav-link{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 14px 14px;
    border-radius: 14px;

    font-size: 18px;
    font-weight: 800;
    text-decoration: none;

    color: var(--blue);
    background: rgba(13,110,253,.08);
    border: 1px solid rgba(13,110,253,.14);

    transition: transform .15s ease, background .15s ease;
  }

  .nav-link:active{
    transform: scale(.98);
  }

  .nav-link.is-active{
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
  }
}