/* ============================================================
   FASS ASESORES — Stylesheet principal
   Paleta: Navy #0D1F2D · Gold #B8974A · Cream #FAFAF9
   Tipografía: Playfair Display (headings) + Inter (body)
   ============================================================ */

/* === VARIABLES ============================================ */
:root {
  --navy:       #0D1F2D;
  --navy-light: #162D40;
  --navy-deep:  #08141E;
  --gold:       #B8974A;
  --gold-light: #D4AF70;
  --gold-pale:  rgba(184,151,74,0.12);
  --cream:      #FAFAF9;
  --cream-alt:  #F2F0EC;
  --white:      #FFFFFF;
  --text-dark:  #1A2634;
  --text-mid:   #3D4F5C;
  --text-light: #6B7280;
  --border:     rgba(0,0,0,0.07);

  --shadow-xs: 0 1px 4px rgba(0,0,0,0.05);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.13);

  --ease:       0.3s ease;
  --ease-slow:  0.5s ease;

  --font-h: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-b: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --max-w: 1200px;
  --nav-h: 80px;
  --radius: 2px;
}

/* === RESET ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); background: var(--cream); color: var(--text-dark); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* === TYPOGRAPHY =========================================== */
h1, h2, h3, h4, h5 { font-family: var(--font-h); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-mid); font-size: 1.025rem; line-height: 1.8; }

/* === LAYOUT UTILITIES ===================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.section { padding: 6rem 0; }
.section--alt { background: var(--cream-alt); }
.section--dark { background: var(--navy); }
.section--deep { background: var(--navy-deep); }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

.section-label {
  display: block;
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 2rem;
}
.gold-line--center { margin: 1rem auto 2rem; }

.lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 660px;
  line-height: 1.85;
}

/* === BUTTONS ============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: all var(--ease);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,151,74,0.35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

/* === NAVBAR =============================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 9000;
  display: flex;
  align-items: center;
  transition: background var(--ease), box-shadow var(--ease);
}
.navbar--glass {
  background: rgba(13,31,45,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.navbar__logo {
  font-family: var(--font-h);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  z-index: 10001;
  position: relative;
}
.navbar__logo em {
  font-style: normal;
  color: var(--gold);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__item { position: relative; }

.navbar__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.02em;
  transition: color var(--ease);
  border-radius: var(--radius);
  white-space: nowrap;
}
.navbar__link:hover,
.navbar__link--active { color: var(--gold); }

.navbar__link--btn {
  margin-left: 0.75rem;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgba(184,151,74,0.65);
  color: var(--gold);
}
.navbar__link--btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* Chevron */
.navbar__chevron {
  display: inline-block;
  font-size: 0.6rem;
  transition: transform var(--ease);
  line-height: 1;
  margin-top: 1px;
}
.navbar__item:hover .navbar__chevron,
.navbar__item.open .navbar__chevron { transform: rotate(180deg); }

/* Dropdown */
.navbar__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: var(--white);
  border-top: 2.5px solid var(--gold);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 9999;
}
.navbar__item:hover .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-link {
  display: block;
  padding: 0.8rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease), color var(--ease), padding-left var(--ease);
}
.navbar__dropdown-link:last-child { border-bottom: none; }
.navbar__dropdown-link:hover {
  background: var(--cream-alt);
  color: var(--gold);
  padding-left: 2rem;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 10001;
  position: relative;
}
.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--ease);
  transform-origin: center;
}
.navbar__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO (index) ========================================= */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(184,151,74,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(184,151,74,0.05) 0%, transparent 60%),
    linear-gradient(150deg, #0D1F2D 0%, #162D40 55%, #0a1a26 100%);
  display: flex;
  align-items: center;
  padding: var(--nav-h) 0 0;
  position: relative;
  overflow: hidden;
}

/* Geometric line pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 50px,
      rgba(184,151,74,0.025) 50px,
      rgba(184,151,74,0.025) 51px
    );
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 6rem 2.5rem 8rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero__title {
  color: var(--white);
  max-width: 780px;
  margin-bottom: 1.5rem;
  line-height: 1.12;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.68);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 2.8rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* === QUOTE BAND =========================================== */
.quote-band {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 2rem;
  font-family: var(--font-h);
  font-size: 12rem;
  color: rgba(184,151,74,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-band__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 2.5rem;
}

.quote-band blockquote {
  font-family: var(--font-h);
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.quote-band cite {
  display: block;
  font-family: var(--font-b);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* === HOME SERVICES GRID ================================== */
.home-services { background: var(--cream); }

.section-head { margin-bottom: 3.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.75rem;
}

.svc-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
  position: relative;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: var(--gold);
  transition: height var(--ease-slow);
  opacity: 0.04;
  pointer-events: none;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { height: 100%; }

.svc-card__icon {
  width: 46px; height: 46px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.svc-card__title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.svc-card__items {
  margin-bottom: 1.75rem;
}
.svc-card__items li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.svc-card__items li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--ease);
}
.svc-card__more:hover { gap: 0.7rem; }
/* Stretched link: hace que toda la tarjeta sea clicable */
.svc-card__more::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* === PAGE HEADER (inner pages) =========================== */
.page-hero {
  background:
    radial-gradient(ellipse 70% 80% at 90% -10%, rgba(184,151,74,0.10) 0%, transparent 55%),
    linear-gradient(145deg, #0D1F2D 0%, #162D40 60%, #0a1a26 100%);
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent, transparent 50px,
    rgba(184,151,74,0.02) 50px, rgba(184,151,74,0.02) 51px
  );
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-size: 0.82rem;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: rgba(255,255,255,0.25); }
.breadcrumb__current { color: var(--gold); }

.page-hero__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.page-hero__title { color: var(--white); margin-bottom: 1.5rem; }
.page-hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  max-width: 640px;
  line-height: 1.85;
}

/* === SERVICE ITEMS (inner pages) ========================= */
.service-items { display: grid; gap: 1.5rem; }

.service-item {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-item:hover { transform: translateX(4px); }
.service-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-item p { font-size: 0.95rem; }

/* === SPECIALTIES BADGES ================================== */
.badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.badge {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--white);
  border: 1.5px solid rgba(184,151,74,0.35);
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--ease);
}
.badge:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* === HIGHLIGHT LIST ====================================== */
.highlight-list { display: grid; gap: 0.75rem; }
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  font-size: 0.95rem;
  color: var(--text-mid);
}
.highlight-list li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* === COMMITMENT / DARK CTA =============================== */
.cta-dark {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
}
.cta-dark h2 { color: var(--white); margin-bottom: 1rem; }
.cta-dark p  { color: rgba(255,255,255,0.68); max-width: 580px; margin: 0 auto 2.5rem; }

.cta-gold {
  background: var(--gold-pale);
  border-top: 2px solid rgba(184,151,74,0.3);
  padding: 5rem 0;
  text-align: center;
}
.cta-gold h2 { margin-bottom: 1rem; }
.cta-gold p  { max-width: 580px; margin: 0 auto 2.5rem; }

/* === FAQ ACCORDION ======================================= */
.faq-wrap { display: grid; gap: 1px; }

.faq-item {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--ease), background var(--ease);
  user-select: none;
}
.faq-item summary:hover { background: var(--cream-alt); color: var(--gold); }

.faq-item summary .faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--ease);
}
.faq-item[open] summary { color: var(--gold); }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }

.faq-body {
  padding: 0 2rem 1.5rem;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  border-top: 1px solid rgba(184,151,74,0.15);
  padding-top: 1rem;
}

/* === OTHER SERVICES CARDS ================================ */
.others-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.other-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: transform var(--ease), box-shadow var(--ease);
}
.other-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.other-card__icon {
  width: 46px; height: 46px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.other-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}
.other-card p { font-size: 0.9rem; }

/* === CONTACT PAGE ======================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.contact-card__icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--gold);
}
.contact-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.contact-card__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
}
.contact-card__desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.4rem;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.office-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.office-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.office-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.office-card__addr {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}
.office-card__hours {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 2;
}
.office-card__hours strong {
  color: var(--text-mid);
  font-weight: 500;
}

/* === FOOTER ============================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.55);
  padding: 5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-logo {
  font-family: var(--font-h);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__brand-logo em { font-style: normal; color: var(--gold); }

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.85;
  max-width: 290px;
  margin-bottom: 1.5rem;
}

.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.6rem;
}
.footer__contact-row svg { color: var(--gold); flex-shrink: 0; }
.footer__contact-row a { transition: color var(--ease); }
.footer__contact-row a:hover { color: var(--gold); }

.footer__col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.footer__links { display: grid; gap: 0.5rem; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--ease), padding-left var(--ease);
}
.footer__links a:hover { color: var(--gold); padding-left: 4px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.75rem 0;
}
.footer__copy { font-size: 0.82rem; }
.footer__legal {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
}
.footer__legal a { transition: color var(--ease); }
.footer__legal a:hover { color: var(--gold); }

.footer__social {
  display: flex;
  gap: 0.75rem;
}
.footer__social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all var(--ease);
}
.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* === RESPONSIVE ========================================== */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }

  .container  { padding: 0 1.5rem; }
  .section    { padding: 4rem 0; }

  /* Mobile nav */
  .navbar__nav {
    position: fixed;
    inset: 0;
    background: rgba(13,31,45,0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
    z-index: 10000;
  }
  .navbar__nav.open { opacity: 1; visibility: visible; }

  .navbar__toggle { display: flex; }
  .navbar__logo   { z-index: 10001; position: relative; }

  .navbar__item { width: 100%; align-self: stretch; text-align: center; }
  .navbar__link { font-size: 1.05rem; padding: 0.75rem 1.5rem; justify-content: center; }
  .navbar__link--btn { border: none; margin: 0; }

  .navbar__dropdown {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border-top: none;
    width: 100%;
    min-width: 0;
    background: rgba(255,255,255,0.06);
    transition: opacity var(--ease), max-height var(--ease-slow), visibility var(--ease);
  }
  .navbar__item:hover .navbar__dropdown,
  .navbar__item.open .navbar__dropdown {
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: 400px;
  }
  .navbar__dropdown-link {
    color: rgba(255,255,255,0.72);
    text-align: center;
    border-color: rgba(255,255,255,0.06);
  }
  .navbar__dropdown-link:hover { background: rgba(255,255,255,0.08); padding-left: 2rem; }

  .hero__title { font-size: 2.4rem; }
  .hero__sub   { font-size: 1rem; }
  .hero__container { padding: 4rem 1.5rem 6rem; }

  .services-grid { grid-template-columns: 1fr; }
  .others-grid   { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .offices-grid  { grid-template-columns: 1fr; }

  .footer__grid  { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .contact-cards { grid-template-columns: 1fr; }
  .hero__title   { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

/* === LOGO SVG ============================================ */
.navbar__logo-svg {
  height: 54px;
  width: auto;
  display: block;
  overflow: visible;
}

.footer__logo-svg {
  height: 50px;
  width: auto;
  display: block;
  overflow: visible;
  margin-bottom: 1rem;
}

/* === PAGE HERO PHOTO OVERLAY ============================= */
.page-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.14;
  z-index: 0;
}
/* El contenido queda siempre por encima de la foto */
.page-hero > .container { position: relative; z-index: 1; }

/* === FEATURE GRID (index.html) =========================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-grid__img { position: relative; }

.feature-grid__img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* Marco dorado decorativo desplazado */
.feature-grid__img::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: -1.5rem;
  right: 1.5rem;
  bottom: -1.5rem;
  border: 2px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; gap: 3rem; }
  .feature-grid__img img { height: 320px; }
  .feature-grid__img::before { display: none; }
}
