* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #0b2336;
  color: white;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #092837;
  height: 62px;
  border-bottom: 1px solid rgba(243, 169, 83, 0.7);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #f3a953;
}

.logo span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12rem;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f3a953;
  border-radius: 50%;
  background: rgba(10, 34, 48, 0.95);
  color: #f3a953;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 1px rgba(243, 169, 83, 0.4);
}

.social-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(243, 169, 83, 0.8);
}

.social-link svg {
  display: block;
  width: 12px;
  height: 12px;
  fill: currentColor;
  color: currentColor;
}

.instagram-link svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-link svg rect,
.instagram-link svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-link svg circle:last-child {
  fill: currentColor;
  stroke: currentColor;
}

.about-nav {
  color: #f3a953;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-primary {
  background-color: #172744;
  color: #f3a953;
  border: 1px solid #f3a953;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

/* Hero Section con Fondo */
.hero {
  height: calc(100vh - 70px);
  background-color: #092837;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Tarjeta Central del Hero */
.hero-card {
  width: min(100%, 760px);
  height: 460px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 2;
}

.carousel,
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: #092837;
  z-index: 0;
}

.carousel-slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  z-index: 3;
}

.carousel-indicator {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-indicator.active {
  background-color: #f3a953;
  border-color: #f3a953;
}

.card-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 93, 109, 0.42);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  backdrop-filter: blur(1px);
}

.card-content h1 {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.1;
}

.card-content h1 span {
  color: #f3a953; /* Color dorado/naranja del texto */
  font-weight: 400;
}

.maintenance-message {
  max-width: 330px;
  margin-top: 18px;
  color: #f1f1f1;
  font-size: 1rem;
  line-height: 1.5;
}

/* Menú inferior dentro de la tarjeta */
.sub-menu {
  margin-top: auto;
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.sub-menu a {
  color: #e0e0e0;
  text-decoration: none;
}

.about-section {
  min-height: 430px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 72px 20px;
  background-color: #101d42;
  border-top: 1px solid rgba(243, 169, 83, 0.35);
  text-align: center;
}

.about-content {
  width: 100%;
  max-width: 720px;
  padding: 36px 24px;
  border: 1px solid rgba(243, 169, 83, 0.28);
  border-radius: 12px;
  background-color: rgba(8, 22, 55, 0.55);
  box-shadow: 0 16px 36px rgba(3, 10, 30, 0.25);
}

.about-logo {
  width: 88px;
  height: 88px;
  display: block;
  margin: 0 auto 18px;
  border: 2px solid #f3a953;
  border-radius: 50%;
  object-fit: cover;
}

.section-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.about-content h2 {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 2.55rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.about-content h1 {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-size: 2.55rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.about-content h1 strong {
  color: #f3a953;
  font-weight: 700;
}

.about-content h2 strong {
  color: #f3a953;
  font-weight: 700;
}

.about-content h3 {
  color: #f3a953;
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 18px;
}

.about-page .about-section {
  min-height: calc(100vh - 60px);
  padding: 36px 20px;
}

.about-page .about-content h2 {
  display: block;
  color: #f3a953;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.about-content p:not(.section-label) {
  color: #e5edf1;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 auto 18px;
}

.about-content .about-intro {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 620px;
}

.about-link {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 20px;
  border: 1px solid #f3a953;
  border-radius: 8px;
  color: #f3a953;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.about-link:hover {
  background-color: #f3a953;
  color: #0b2336;
}

.site-legal-links {
  padding: 18px 20px 8px;
  background-color: #0b2336;
  display: flex;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.site-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-decoration: none;
}

.site-legal-links a:hover {
  color: #f3a953;
}

.terms-main {
  min-height: calc(100vh - 60px);
  padding: 44px 20px 70px;
  background-color: #101d42;
}

.terms-content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 44px 58px;
  border: 1px solid rgba(243, 169, 83, 0.28);
  border-radius: 12px;
  background-color: rgba(8, 22, 55, 0.72);
  box-shadow: 0 16px 36px rgba(3, 10, 30, 0.25);
}

.terms-header {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(243, 169, 83, 0.35);
  text-align: center;
}

.terms-header .about-logo {
  margin-bottom: 14px;
}

.terms-header h1 {
  color: #f3a953;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

.terms-header > p:last-child {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.terms-intro {
  padding: 28px 0 10px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.8;
}

.term-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.term-section:last-of-type {
  border-bottom: 0;
}

.term-section h2 {
  color: #f3a953;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.term-section p {
  color: #e5edf1;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

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

.term-section ol {
  padding-left: 24px;
  color: #e5edf1;
  font-size: 0.98rem;
  line-height: 1.75;
}

.terms-footer {
  padding-top: 28px;
  text-align: center;
}

.page-version {
  position: fixed;
  bottom: 12px;
  left: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  z-index: 100;
}

/* Botón Flotante de WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 100;
}

.whatsapp-btn img {
  width: 32px;
  height: 32px;
}

@media (max-width: 640px) {
  .navbar {
    height: auto;
    min-height: 60px;
    gap: 12px;
  }

  .navbar-actions {
    gap: 14px;
  }

  .about-nav {
    font-size: 0.68rem;
  }

  .btn-primary {
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .terms-main {
    padding: 24px 12px 50px;
  }

  .terms-content {
    padding: 28px 20px;
  }

  .terms-header h1 {
    font-size: 1.85rem;
  }
}