@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;500;600&display=swap');

html {
  scroll-padding-top: 68px;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #edf0f4;
  font-family: 'Inter', system-ui, sans-serif;
  color: #1a1a2e;
  line-height: 1.65;
}

/* ── NAVBAR ── */
nav {
  display: flex;
  align-items: center;
  font-size: 15px;
  background-color: #111111;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 20px 14px;
  font-weight: 500;
  letter-spacing: 0.025em;
  font-size: 15px;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

nav a:hover {
  color: #e63946;
  background-color: rgba(255, 255, 255, 0.05);
}

nav ul {
  width: fit-content;
  padding: 0;
  list-style-type: none;
  margin-left: auto;
  margin-right: auto;
}

.nav-links {
  margin-right: unset;
  position: relative;
}

.nav-links.mobile {
  padding-right: 0;
}

/* ── DROPDOWN ── */
.submenu {
  margin-top: 0;
  min-width: 240px;
  position: absolute;
  display: none;
  text-align: left;
  background-color: #1c1c1c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  z-index: 200;
  padding: 6px 0;
  right: 0;
  border-radius: 8px;
  border: 1px solid #2e2e2e;
}

.submenu .menu-section-header {
  text-align: left;
}

.submenu a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 10px 18px;
  font-size: 14px;
}

.submenu a:hover {
  color: #e63946;
  background-color: rgba(255, 255, 255, 0.05);
}

.submenu li {
  padding-top: 0;
  padding-bottom: 0;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.submenu:hover {
  display: block;
}

.dropdown::after {
  content: "\25BE";
  opacity: 0.6;
}

.dropdown:hover + .submenu {
  display: block;
}

/* ── NAV LAYOUT ── */
.nav-left,
.nav-center {
  flex: 1;
}

.nav-left {
  padding-left: 16px;
  text-align: left;
}

.nav-center {
  text-align: center;
}

.nav-right {
  text-align: right;
  display: flex;
  gap: 0;
  align-items: center;
  padding-right: 16px;
}

.logo {
  min-width: 120px;
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff !important;
  padding: 20px 0 !important;
}

.logo:hover {
  color: #e63946 !important;
  background-color: transparent !important;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 16px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: #111;
  border-top: 1px solid #2a2a2a;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu > a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #222;
  transition: color 0.15s, background-color 0.15s;
}

.mobile-menu > a:hover {
  color: #e63946;
  background-color: rgba(255, 255, 255, 0.04);
}

.mobile-submenu {
  background-color: #0c0c0c;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #222;
}

.mobile-submenu a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 11px 20px 11px 36px;
  font-size: 14px;
  border-bottom: 1px solid #1a1a1a;
  transition: color 0.15s;
}

.mobile-submenu a:last-child {
  border-bottom: none;
}

.mobile-submenu a:hover {
  color: #e63946;
}

@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
  }
  .nav-center {
    display: none;
  }
  .nav-left {
    flex: 1;
  }
  .nav-right {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ── MAIN CONTENT ── */
main {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 16px 56px;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
  margin-top: 0px;
  margin-bottom: 8px;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111;
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background-color: #e63946;
  margin: 10px auto 0;
  border-radius: 2px;
}

h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333;
  margin-top: 40px;
  margin-bottom: 10px;
}

/* ── IMAGES ── */
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  max-height: 600px;
  border-radius: 8px;
}

.hero-banner {
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  margin-top: 8px;
  margin-bottom: 8px;
}

@media (max-width: 1200px) {
  img {
    max-width: 100%;
  }
}

/* ── CONTENT BOXES ── */
section.content-box {
  background-color: #ffffff;
  padding: 20px 24px;
  color: #1a1a2e;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

section.content-box p:first-child {
  margin-top: 0;
}

section.content-box p:last-child {
  margin-bottom: 0;
}

/* ── LINKS ── */
a {
  color: #c1121f;
  transition: color 0.15s;
}

a:hover {
  color: #e63946;
}

/* ── CTA BUTTON ── */
.cta-btn {
  display: inline-block;
  background-color: #DE0000;
  color: #ffffff !important;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin: 4px 0;
}

.cta-btn:hover {
  background-color: #c1121f !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ── TABLES ── */
table {
  table-layout: fixed;
  max-width: 100%;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  font-size: 0.92rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

table, th, td {
  border: none;
  border-radius: 0;
}

thead {
  background-color: #111111;
}

th {
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 16px;
  height: auto;
}

td {
  padding: 12px 16px;
  height: auto;
  vertical-align: middle;
  border-bottom: 1px solid #eaecef;
  color: #2d2d2d;
}

tbody tr:nth-child(even) td {
  background-color: #f7f8fa;
}

tbody tr:last-child td {
  border-bottom: none;
}

th a, td a {
  display: inline;
  align-items: unset;
  justify-content: unset;
  height: auto;
  width: auto;
}

caption {
  caption-side: top;
  text-align: center;
  padding-top: 10px;
}

/* ── UTILITIES ── */
.text-center {
  text-align: center;
}

.two-col-flex {
  display: flex;
}

.two-col-flex .item {
  box-sizing: border-box;
  max-width: 50%;
}

.pb-8 {
  padding-bottom: 8px;
}

.mt-16 {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mt-16 img {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
  max-height: 900px;
}

#unidad-park-iframe {
  max-width: 100%;
}
