:root {
  --primary: #4cc3d9;
  --primary-deep: #0b6d8f;
  --accent: #d8e85f;
  --dark: #082433;
  --text: #183544;
  --muted: #6f8795;
  --surface: #f4fbfd;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(11, 63, 87, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1140px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fdff 0%, #eef9fc 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.section { padding: 5rem 0; }
.section-tag {
  color: var(--primary-deep);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  font-size: .8rem;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.section-head h2, .about h2, .video-section h2, .contact-section h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3rem); color: var(--dark); }
.section-head p, .about p, .video-section p, .contact-copy p { line-height: 1.7; color: var(--muted); }
.skip-link {
  position: absolute; left: -999px; top: auto;
}
.skip-link:focus {
  left: 1rem; top: 1rem; background: var(--dark); color: #fff; padding: .8rem 1rem; border-radius: 999px; z-index: 2000;
}
.site-header { position: relative; }
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 20; padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: .85rem; color: white; font-weight: 800; }
.brand img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}
.nav-menu { display: flex; gap: 1.25rem; align-items: center; }
.nav-menu a { color: white; font-weight: 700; }
.nav-cta {
  background: rgba(255,255,255,.14);
  padding: .8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
}
.nav-toggle { display: none; }
.hero { min-height: 100vh; position: relative; display: grid; align-items: end; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,36,51,.38) 0%, rgba(8,36,51,.62) 65%, rgba(8,36,51,.8) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: white; padding: 10rem 0 4rem;
}
.eyebrow {
  display: inline-block; margin: 0 0 1rem; background: rgba(216,232,95,.18);
  color: #efff9d; border: 1px solid rgba(216,232,95,.32); border-radius: 999px;
  padding: .55rem .9rem; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
}
.hero h1 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); line-height: .95; }
.hero-text { max-width: 700px; font-size: 1.15rem; line-height: 1.8; margin: 1.25rem 0 1.75rem; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 180px; padding: 1rem 1.4rem; border-radius: 999px; font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #c4f04c); color: var(--dark); box-shadow: var(--shadow); }
.btn-secondary { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.22); }
.hero-badges {
  display: flex; gap: .75rem; flex-wrap: wrap; padding: 0; margin: 2rem 0 0; list-style: none;
}
.hero-badges li {
  padding: .8rem 1rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.92); font-weight: 700;
}
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: -4rem; position: relative; z-index: 4;
}
.card, .social-card, .contact-form, .about-media, .video-frame, .map-frame {
  background: rgba(255,255,255,.86); backdrop-filter: blur(8px); box-shadow: var(--shadow); border-radius: var(--radius-lg);
}
.card { padding: 2rem; }
.card h3 { margin-top: 0; color: var(--dark); font-size: 1.35rem; }
.card p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.about-grid, .video-grid, .contact-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
}
.about-media { overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.info-pills { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.info-pills span {
  padding: .75rem 1rem; border-radius: 999px; background: var(--surface); color: var(--primary-deep); font-weight: 700;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery-item {
  border: 0; padding: 0; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; background: transparent;
  box-shadow: var(--shadow); position: relative;
}
.gallery-item::after {
  content: 'Ampliar'; position: absolute; inset: auto 1rem 1rem auto; background: rgba(8,36,51,.72);
  color: white; padding: .45rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 700;
}
.gallery-item img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.video-frame, .map-frame { overflow: hidden; }
.video-frame iframe, .map-frame iframe {
  width: 100%; min-height: 420px; border: 0; display: block;
}
.social-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.social-card { padding: 2rem; transition: transform .25s ease; }
.social-card:hover { transform: translateY(-4px); }
.social-card strong { display: block; font-size: 1.3rem; color: var(--dark); margin-bottom: .4rem; }
.social-card span { color: var(--muted); }
.contact-list { display: grid; gap: 1rem; }
.contact-list a, .contact-list p {
  margin: 0; padding: 1rem 1.15rem; background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 10px 25px rgba(11, 63, 87, 0.06);
}
.contact-form { padding: 2rem; display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .55rem; font-weight: 700; color: var(--dark); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid #d9ecf3; background: #fbfeff; color: var(--text);
  border-radius: 16px; padding: .95rem 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(76,195,217,.2); border-color: var(--primary); }
.form-note { margin: 0; color: var(--muted); font-size: .95rem; }
.site-footer {
  background: linear-gradient(180deg, #0b3447 0%, #082433 100%); color: rgba(255,255,255,.82); padding: 2rem 0;
}
.footer-wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-wrap p { margin: 0; }
.footer-wrap a { color: #c7f2fb; }
.floating-whatsapp {
  position: fixed; right: 1rem; bottom: 1rem; width: 64px; height: 64px; border-radius: 50%; z-index: 90;
  display: grid; place-items: center; background: linear-gradient(135deg, #28d146, #18a83e); box-shadow: 0 18px 40px rgba(24, 168, 62, .35);
}
.floating-whatsapp svg { width: 34px; fill: white; }
.lightbox {
  position: fixed; inset: 0; display: none; place-items: center; padding: 2rem; background: rgba(2,14,20,.82); z-index: 120;
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(92vw, 1100px); max-height: 78vh; border-radius: 20px; box-shadow: var(--shadow);
}
.lightbox p { color: white; margin: 1rem 0 0; text-align: center; font-weight: 700; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: white; color: var(--dark); font-size: 2rem; cursor: pointer;
}
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: white; font-size: 1.4rem;
  }
  .nav-menu {
    position: absolute; top: calc(100% + .8rem); right: 1rem; left: 1rem; display: none; flex-direction: column; align-items: stretch;
    padding: 1rem; background: rgba(8,36,51,.94); border-radius: 20px; box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .feature-grid, .about-grid, .video-grid, .contact-grid, .gallery-grid, .social-cards {
    grid-template-columns: 1fr;
  }
  .feature-grid { margin-top: -3rem; }
  .hero { min-height: 92vh; }
  .hero-content { padding-top: 8rem; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .hero h1 { font-size: 2.7rem; }
  .hero-text { font-size: 1rem; }
  .btn { width: 100%; }
  .brand span { font-size: .95rem; }
  .brand img { width: 48px; height: 48px; }
  .card, .contact-form, .social-card { padding: 1.35rem; }
  .video-frame iframe, .map-frame iframe { min-height: 320px; }
  .lightbox { padding: 1rem; }
}
