@import url('variables.css');

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250,247,240,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 245px;
}
.brand-mark {
  font-size: 31px;
  line-height: 1;
  color: var(--navy);
}
.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 1.5px;
}
.brand small {
  display: block;
  margin-top: -2px;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
}
.main-nav a {
  position: relative;
  padding: 27px 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  transform: scaleX(0);
  background: var(--gold);
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.socials, .footer-socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-language-separator {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: currentColor;
    margin: 0 12px;
    opacity: 0.45;
}

.nav-language {
    white-space: nowrap;
}

/* MÓVIL */
@media (max-width: 768px) {

    .nav-language-separator {
        display: block;
        width: 100%;
        height: 1px;
        margin: 12px 0;
        opacity: 0.25;
    }

    .nav-language {
        display: block;
    }
}
.socials a, .footer-socials a { font-size: 15px; }
.menu-toggle { display: none; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 22px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: transform .2s, background .2s, color .2s;
  background: transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { color: white; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: rgba(255,255,255,.12); }
.btn-blue { color: var(--blue); }
.btn-green { color: var(--green); }
.btn-orange { color: var(--orange); }

/* FOOTER */
.site-footer {
  margin-top: 0;
  background: var(--cream-light);
  border-top: 1px solid var(--border);
}
.footer-grid {
  padding: 40px 0 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1fr;
  gap: 42px;
}
.footer-brand { min-width: 0; margin-bottom: 15px; }
.footer-grid p {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
}
.footer-grid h3 {
  margin: 4px 0 14px;
  font-size: 11px;
  letter-spacing: 1px;
}
.footer-grid > div:not(:first-child) a {
  display: block;
  margin: 7px 0;
  font-size: 13px;
  color: #5b646a;
}
.footer-grid > div:not(:first-child) a:hover { color: var(--navy); }
.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  color: #7b8287;
  font-size: 11px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 994px) {
  .main-nav { gap: 15px; }
  .brand { min-width: 190px; }
  .socials { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .main-nav { gap: 10px; }
}

@media (max-width: 780px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-wrap { min-height: 68px; }
  .brand { flex: 1; }
  .menu-toggle {
    display: block;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: var(--navy);
  }
  .main-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 68px;
    padding: 10px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--cream-light);
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; }
  .main-nav a::after { bottom: 7px; }
  .hero { min-height: 390px; }
  .hero-lead { font-size: 16px; }
  .about-card { grid-template-columns: 1fr; text-align: center; }
  .portrait { margin: auto; }
  .about-card .btn { margin-top: 5px; }
  .blog-banner-inner {
    padding: 32px 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


.center {
  text-align: center;
}


.label-info {
    margin-top: 45px;
    padding: 30px;
    background: #f0e5d4;
    border-left: 4px solid #c89532;
    font-size: 18px !important;
}

@media (max-width: 480px) {

    .label-info {
        padding: 22px;
    }

}