/* ===== VARIABLES ===== */
:root {
  --navy:      #1B325F;
  --navy-dark: #0f1e3a;
  --blue:      #3A89C9;
  --blue-light:#9CC4E4;
  --teal:      #3fcba8;
  --white:     #ffffff;
  --off-white: #E9F2F9;
  --gray:      #8a9ab5;
  --card-bg:   #f7fafd;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: #fff; color: #1a2540; line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* NAV */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background 0.3s, box-shadow 0.3s; }
#navbar.scrolled { background: rgba(11,20,40,0.96); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: #fff; }
.nav-logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links li a { color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.nav-links li a:hover { color: #fff; }
.nav-cta { background: var(--blue); color: #fff !important; padding: 8px 22px; border-radius: 999px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: #2d78b8 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* HERO */
#hero { min-height: 100vh; background: var(--navy-dark); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-1 { width: 600px; height: 600px; background: rgba(58,137,201,0.18); top: -100px; left: -100px; }
.glow-2 { width: 400px; height: 400px; background: rgba(63,203,168,0.12); bottom: -80px; right: 5%; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 60px 60px; }
.hero-content { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 130px 24px 80px; animation: fadeUp 0.9s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.hero-title { font-family: var(--font-head); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; color: #fff; line-height: 1.12; margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-accent { color: var(--blue-light); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.5); max-width: 520px; margin-bottom: 40px; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.22); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; z-index: 2; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent); animation: sp 1.8s ease-in-out infinite; }
@keyframes sp { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* BUTTONS */
.btn-primary { display: inline-block; background: var(--blue); color: #fff; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; padding: 14px 32px; border-radius: 999px; border: none; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: #2d78b8; transform: translateY(-1px); }
.btn-ghost { display: inline-block; background: transparent; color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 500; padding: 14px 32px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-ghost-light { display: inline-block; background: transparent; color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 500; padding: 14px 28px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); transition: border-color 0.2s, color 0.2s; }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-full { width: 100%; text-align: center; border-radius: var(--radius); }

/* SECTION COMMONS */
section { padding: 100px 0; }
.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); background: rgba(58,137,201,0.1); border: 1px solid rgba(58,137,201,0.2); padding: 5px 14px; border-radius: 999px; margin-bottom: 20px; }
.section-tag.light { color: var(--teal); background: rgba(63,203,168,0.1); border-color: rgba(63,203,168,0.25); }
.section-title { font-family: var(--font-head); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 16px; }
.section-title.light { color: #fff; }
.section-sub { font-size: 1rem; color: var(--gray); max-width: 520px; margin-bottom: 56px; line-height: 1.75; }
.section-sub.light { color: rgba(255,255,255,0.45); }
.section-dark { background: var(--navy-dark); }

/* NOSOTROS */
.nosotros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nosotros-text p { color: #4a5878; margin-bottom: 16px; font-size: 0.98rem; }
.nosotros-text strong { color: var(--navy); }
.stats-row { display: flex; gap: 32px; margin-top: 40px; padding-top: 32px; border-top: 1px solid #e0e8f2; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--gray); font-weight: 500; }
.nosotros-visual { position: relative; height: 360px; }
.visual-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e0e8f2; border-radius: var(--radius); padding: 14px 18px; font-size: 0.83rem; font-weight: 600; color: var(--navy); box-shadow: 0 4px 20px rgba(27,50,95,0.08); white-space: nowrap; }
.vc-icon { font-size: 1.2rem; color: var(--blue); }
.vc-1 { top: 10px; left: 0; animation: f1 4s ease-in-out infinite; }
.vc-2 { top: 50%; right: 0; animation: f2 4s ease-in-out 1.3s infinite; }
.vc-3 { bottom: 10px; left: 20px; animation: f1 4s ease-in-out 2.6s infinite; }
@keyframes f1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes f2 { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 8px)); } }
.visual-img-wrap { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 4px solid #e0e8f2; box-shadow: 0 8px 32px rgba(27,50,95,0.12); }
.nosotros-logo { width: 100%; height: 100%; object-fit: cover; }

/* RESERVAR */
.reservar-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.product-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); background: rgba(63,203,168,0.12); border: 1px solid rgba(63,203,168,0.3); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.reservar-name { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1; }
.reservar-name span { color: var(--teal); }
.reservar-tagline { color: rgba(255,255,255,0.48); font-size: 1rem; margin-bottom: 32px; line-height: 1.6; }
.reservar-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.reservar-features li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.feat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.reservar-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.reservar-mockup { display: flex; justify-content: center; }
.mockup-window { background: #111c34; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden; width: 100%; max-width: 320px; box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar span:nth-child(1) { background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-content { padding: 20px; }
.mc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 1rem; color: #fff; }
.mc-date { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.mc-slots { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.mc-slot { padding: 10px 14px; border-radius: 8px; font-size: 0.8rem; font-weight: 500; }
.mc-slot.taken { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.2); text-decoration: line-through; }
.mc-slot.free { background: rgba(63,203,168,0.08); color: rgba(255,255,255,0.6); border: 1px solid rgba(63,203,168,0.15); }
.mc-slot.active { background: rgba(63,203,168,0.18); border-color: rgba(63,203,168,0.45); color: var(--teal); font-weight: 600; }
.mc-btn { width: 100%; padding: 12px; background: var(--teal); color: #0f1e3a; font-weight: 700; font-size: 0.85rem; border: none; border-radius: 8px; cursor: pointer; transition: opacity 0.2s; }
.mc-btn:hover { opacity: 0.88; }

/* SERVICIOS */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { background: var(--card-bg); border: 1px solid #e4edf7; border-radius: var(--radius-lg); padding: 36px 28px; transition: transform 0.25s, box-shadow 0.25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(27,50,95,0.1); }
.service-card--accent { background: var(--navy); border-color: transparent; }
.service-card--accent h3 { color: #fff !important; }
.service-card--accent p { color: rgba(255,255,255,0.6) !important; }
.service-card--accent .service-list li { color: rgba(255,255,255,0.6) !important; }
.service-card--accent .service-list { border-top-color: rgba(255,255,255,0.08) !important; }
.service-card--accent .service-list li::before { background: var(--teal); }
.service-icon { font-size: 2rem; margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: #5a6b8a; line-height: 1.7; margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(27,50,95,0.08); }
.service-list li { font-size: 0.83rem; color: #5a6b8a; padding-left: 14px; position: relative; }
.service-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* CONTACTO */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { font-size: 1.4rem; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.28); font-weight: 600; margin-bottom: 4px; }
.contact-item a, .contact-item span { color: rgba(255,255,255,0.75); font-size: 0.95rem; transition: color 0.2s; }
.contact-item a:hover { color: var(--teal); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 12px 16px; font-family: var(--font-body); font-size: 0.92rem; color: #fff; transition: border-color 0.2s; outline: none; resize: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-group select option { background: #1a2f5e; color: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); background: rgba(63,203,168,0.05); }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.2); text-align: center; }

/* FOOTER */
footer { background: #070d1c; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.footer-brand span { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.28); line-height: 1.6; }
.footer-links strong { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.28); margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links li a:hover { color: #fff; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.16); text-align: center; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nosotros-grid, .reservar-showcase, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-visual { height: 280px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .nav-links { display: none; position: fixed; top: 68px; left: 0; right: 0; background: rgba(10,18,36,0.98); flex-direction: column; align-items: flex-start; gap: 0; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.06); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 24px; font-size: 1rem; width: 100%; }
  .nav-cta { margin: 8px 24px; border-radius: var(--radius) !important; display: inline-block; width: auto !important; }
  .hamburger { display: flex; }
  .hero-actions, .reservar-actions { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 20px; flex-wrap: wrap; }
}
