/*Global*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #192436;
  --secondary: #253D5B;
  --gold: #c5b358;
  --dark: #0f0f1e;
  --border-color: #3a3a5a;
  --light: #F4F1EC;
  --gray: #8FA3B1;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--secondary);
  color: var(--light);
  font-size: 1rem;
}

/* ── HEADER / NAV ──────────────────────────────────────── */
header {
  background-color: var(--primary);
  padding: 1.4rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.logo-crown {
  font-size: .65rem;
  color: var(--gold);
  letter-spacing: 4px;
  text-align: center;
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  line-height: 1;
}

.logo-tagline {
  font-size: .6rem;
  font-weight: 300;
  letter-spacing: 2.5px;
  color: var(--gray);
  text-align: center;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .5px;
  transition: color .25s;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
}

/* Active state */
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}


/* CTA button */
.btn-solicitar {
  background-color: var(--gold);
  color: var(--dark) !important;
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .5px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-solicitar:hover {
  background: var(--dark);
  color: var(--gold) !important;
}

/* ── HAMBURGER ─────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
  transition: all .3s;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .spec-viewer {
    flex-direction: column;
  }

  .spec-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(197, 179, 88, .15);
    max-height: 240px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: 72px;
    flex-direction: column;
    background-color: var(--primary);
    width: 100%;
    text-align: center;
    transition: right .3s;
    padding: 2rem 0;
    gap: 1.5rem;
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

} 

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background-color: var(--primary);
  padding: 3rem 5%;
  border-top: 2px solid var(--gold);
  margin-top: 4rem;
}

.footer-bottom {
  color: var(--light);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-privacy {
  color: var(--gold);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--light);
  line-height: 1.6;
  font-size: 0.85rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.6rem;
}

.footer-links a,
.footer-contact a,
.footer-social a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.85rem;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.footer-badge-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-badge-img:hover {
  opacity: 1;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: var(--gold);
}

.footer-contact ul {
  line-height: 1.8;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-privacy {
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 3%;
  }

  .footer h4 {
    font-size: 1rem;
  }

  .footer-text,
  .footer-links a,
  .footer-contact a {
    font-size: 0.8rem;
  }
}
