/* ============================================================
   EL ESCONDITE — Shared Styles (Redise\u00f1o fiel al original)
   ============================================================ */

/* -- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #0B2240;
  --navy-dark: #1a2744;
  --teal:  #1B9AAA;
  --green: #28a745;
  --white: #FFFFFF;
  --cream: #F5F0E8;
  --light: #F8F8F8;
  --gray:  #EFEFEF;
  --text:  #333333;
  --text-light: #666666;
  --footer-bg: #2c3e55;
  --font-logo:   'UnifrakturMaguntia', cursive;
  --font-script: 'Dancing Script', cursive;
  --font-head:   'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* -- Typography -------------------------------------------- */
.script-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.section-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 1rem 0;
}
.section-dots span {
  width: 6px; height: 6px;
  background: #CCC;
  border-radius: 50%;
  display: block;
}

/* -- Navbar ------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,34,64,0.97);
  padding: 0;
  transition: background 0.3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active {
  border: 1.5px solid var(--teal);
  color: var(--teal);
  padding: 4px 12px;
  border-radius: 2px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* -- Page Hero Banner (inner pages) ----------------------- */
.page-hero {
  margin-top: 60px;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 36px;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,34,64,0.3), rgba(11,34,64,0.55));
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin-left: 60px;
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

/* -- Maps Section ------------------------------------------ */
.maps-section {
  padding: 50px 0 40px;
  background: var(--white);
}

.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.map-item {
  text-align: center;
}

.map-item .map-address {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}

.map-item iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 40px;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: #218838; }
.btn-whatsapp svg { width: 18px; height: 18px; fill: currentColor; }

/* -- Footer ------------------------------------------------ */
.footer-dark {
  background: var(--navy);
  padding: 40px 0 0;
}

.footer-dark-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
}

.footer-logo img {
  height: 55px;
  width: auto;
}

.footer-delivery {
  text-align: right;
}

.footer-delivery h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  text-align: center;
}

.delivery-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.delivery-logos a {
  display: block;
  transition: transform 0.2s;
}
.delivery-logos a:hover { transform: scale(1.08); }

.delivery-logos img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.footer-bottom {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links a {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: color 0.2s;
}
.social-links a:hover { color: var(--white); }

/* -- Buttons ----------------------------------------------- */
.btn-outline-white {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  transition: background 0.3s, color 0.3s;
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.btn-teal {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-teal:hover { background: #158a98; }

.btn-green {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-green:hover { background: #218838; }

/* -- Form Elements ----------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #DDD;
  border-radius: 3px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #AAA;
  font-size: 0.85rem;
}

/* -- WhatsApp Icon SVG ------------------------------------- */
.wa-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* -- Responsive -------------------------------------------- */
@media (max-width: 992px) {
  .maps-grid { gap: 30px; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--navy);
    padding: 20px;
    gap: 16px;
  }

  .maps-grid { grid-template-columns: 1fr; }
  .footer-dark-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-delivery { text-align: center; }
  .delivery-logos { justify-content: center; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .page-hero h1 { font-size: 2.2rem; margin-left: 24px; }
  .page-hero { height: 200px; }
  .section-title { font-size: 1.6rem; }
  .script-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .container { width: 92%; }
  .page-hero h1 { font-size: 1.8rem; margin-left: 16px; }
  .section-title { font-size: 1.4rem; }
  .script-title { font-size: 1.8rem; }
}
