/*
Theme Name: Salazar Mesías Abogados
Theme URI: https://smabogados.pe
Author: Franco Alarcón
Author URI: https://smabogados.pe
Description: Tema boutique para Salazar Mesías Abogados — firma legal multi-área en San Isidro, Lima.
Version: 1.12.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Privado
Text Domain: smabogados
*/

/* =============================================
   SALAZAR MESÍAS ABOGADOS — Stylesheet
   ============================================= */

/* === CUSTOM PROPERTIES === */
:root {
  --navy:        #162544;
  --navy-deep:   #0C1929;
  --navy-mid:    #1E3456;
  --gold:        #B8945A;
  --gold-light:  #D4AA72;
  --gold-dark:   #9A7B44;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE8DB;
  --white:       #FFFFFF;
  --gray-light:  #F0EEEA;
  --gray:        #888888;
  --gray-dark:   #4A4A4A;
  --dark:        #111111;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1440px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* === UTILITIES === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184,148,90,0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* Gold divider line */
.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 24px 0;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--navy-deep);
  padding: 16px 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.navbar-logo img,
.navbar-logo .custom-logo {
  height: 52px;
  width: auto;
  max-width: none;
  object-fit: contain;
  transition: var(--transition);
}
.navbar.scrolled .navbar-logo img,
.navbar.scrolled .navbar-logo .custom-logo { height: 44px; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-nav li { list-style: none; }

.navbar-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--gold);
}
.navbar-nav a:hover::after,
.navbar-nav a.active::after { width: 100%; }

.navbar-cta {
  padding: 12px 28px;
  font-size: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-deep);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .gold-line { margin: 0 auto; }


/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle grid pattern over full hero */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Photo panel — right side */
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 47%;
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Gradient fade from navy into the photo */
.hero-photo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 65%;
  background: linear-gradient(to right, var(--navy-deep) 0%, transparent 100%);
}

/* Subtle dark overlay on the photo for legibility */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 41, 0.30);
}

/* Thin gold accent line at the photo left edge */
.hero-diagonal {
  position: absolute;
  right: 47%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 25%, var(--gold-light) 75%, transparent 100%);
  opacity: 0.5;
  z-index: 2;
}

/* Hide monogram — photo replaces it */
.hero-monogram { display: none; }

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px clamp(16px, 3vw, 40px) 100px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-eyebrow span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 36px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-bottom: 52px;
  letter-spacing: 0.03em;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--navy);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.stat-item:hover { background: rgba(184,148,90,0.08); }

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-suffix {
  font-size: 28px;
  color: var(--gold-light);
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.stat-divider {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin: 12px auto;
}


/* =============================================
   NOSOTROS / ABOUT
   ============================================= */
.about {
  padding: 120px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-text .section-title {
  font-size: clamp(36px, 4vw, 54px);
  margin-bottom: 28px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

.about-values {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.value-item {
  padding: 24px;
  background: var(--white);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}
.value-item:hover { transform: translateX(6px); }

.value-item h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.value-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-dark);
  margin: 0;
}

/* About visual side */
.about-visual {
  position: relative;
}

.about-quote-card {
  background: var(--navy);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.about-quote-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 160px;
  color: rgba(184,148,90,0.15);
  line-height: 1;
}

.about-quote-card blockquote {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.about-quote-card cite {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-accent-box {
  background: var(--gold);
  padding: 40px 48px;
  margin-top: 4px;
}

.about-accent-box p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin: 0;
}

.about-accent-box strong {
  font-weight: 600;
  display: block;
}

/* Floating decorative element */
.about-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(184,148,90,0.3);
  bottom: -30px;
  right: -30px;
  z-index: -1;
}


/* =============================================
   SERVICIOS / PRACTICE AREAS
   ============================================= */
.services {
  padding: 120px 0;
  background: var(--white);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
  gap: 40px;
}

.services-header .section-title {
  font-size: clamp(36px, 4vw, 54px);
  max-width: 620px;
}

.services-header p {
  max-width: 420px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray);
  text-align: right;
}

/* Grid de servicios (página /servicios/) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--cream-dark);
}

.service-image-cell {
  grid-column: span 2;
  min-height: 240px;
  background-size: cover;
  background-position: center top;
}

/* Carrusel de servicios (homepage) */
.services-carousel {
  position: relative;
}

.services-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.services-viewport::-webkit-scrollbar { display: none; }

.services-track {
  display: flex;
  gap: 2px;
  background: var(--cream-dark);
}

.services-track .service-card {
  flex: 0 0 calc((100% - 4px) / 3);
  scroll-snap-align: start;
}

.service-card {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 32px;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-arrow:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  background: var(--navy);
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 20px 60px rgba(22,37,68,0.25);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--gold);
  transition: var(--transition);
}

.service-card:hover .service-icon { color: var(--gold-light); }

.service-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(22,37,68,0.05);
  line-height: 1;
  transition: var(--transition);
  user-select: none;
}
.service-card:hover .service-number { color: rgba(255,255,255,0.06); }

.service-card h3 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
  transition: var(--transition);
}
.service-card:hover h3 { color: var(--white); }

.service-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray);
  transition: var(--transition);
}
.service-card:hover p { color: rgba(255,255,255,0.65); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}
.service-link::after {
  content: '→';
  transition: transform var(--transition);
}
.service-card:hover .service-link {
  opacity: 1;
  transform: translateX(0);
}
.service-card:hover .service-link:hover::after { transform: translateX(4px); }


/* =============================================
   EQUIPO / TEAM
   ============================================= */
.team {
  padding: 120px 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Background decorative */
.team-bg-text {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 260px);
  font-weight: 700;
  color: rgba(255,255,255,0.02);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.team .section-label { color: var(--gold); }
.team .section-label::before { background: var(--gold); }

.team-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 100px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Photo */
.team-photo-wrap {
  position: relative;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  border: 1px solid rgba(184,148,90,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.team-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

.team-photo-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.team-photo-placeholder span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Photo border accent */
.team-photo-wrap::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid rgba(184,148,90,0.2);
  z-index: -1;
}

/* Team info */
.team-info-header { margin-bottom: 24px; }
.team-info .section-label { margin-bottom: 12px; }

.team-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.team-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0;
}

.team-bio {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
}

/* Team info carousel — bio + credential groups, 1 slide at a time */
.team-info-carousel { margin-bottom: 32px; }

.team-info-viewport { overflow: hidden; height: 100%; }

.team-info-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
}

.team-info-slide {
  flex: 0 0 100%;
  min-width: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.carousel-controls-dark {
  justify-content: flex-start;
  align-items: center;
  margin-top: 20px;
}

.carousel-controls-dark .carousel-arrow {
  width: 40px;
  height: 40px;
  border-color: rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.7);
}
.carousel-controls-dark .carousel-arrow:hover:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active,
.carousel-dot:hover {
  background: var(--gold);
}

/* Credentials */
.credential-group h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,148,90,0.25);
}

.credential-group ul { display: flex; flex-direction: column; gap: 10px; }

.credential-group li {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  padding-left: 16px;
  position: relative;
}

.credential-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,148,90,0.4);
  padding: 14px 28px;
  transition: var(--transition);
}
.team-linkedin:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}


/* =============================================
   DIFERENCIADORES / WHY US
   ============================================= */
.why-us {
  padding: 120px 0;
  background: var(--cream);
}

.why-us-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 80px;
}

.why-us-header .section-label {
  justify-content: center;
}
.why-us-header .section-label::before { display: none; }

.why-us-header .section-title {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 20px;
}

.why-us-header p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
}

.why-carousel {
  position: relative;
}

.why-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 1024px) {
  .why-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-grid-3 { grid-template-columns: 1fr; }
}

.why-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.why-viewport::-webkit-scrollbar { display: none; }

.why-track {
  display: flex;
  gap: 2px;
  background: var(--cream-dark);
}

.why-track .why-item {
  flex: 0 0 calc((100% - 4px) / 3);
  scroll-snap-align: start;
}

.why-item {
  background: var(--white);
  padding: 52px 44px;
  position: relative;
  transition: var(--transition);
}

.why-item:hover {
  background: var(--navy);
}

.why-item-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
  transition: var(--transition);
}
.why-item:hover .why-item-icon {
  background: rgba(184,148,90,0.15);
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  transition: var(--transition);
}
.why-item:hover h3 { color: var(--white); }

.why-item p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray-dark);
  transition: var(--transition);
}
.why-item:hover p { color: rgba(255,255,255,0.65); }

/* =============================================
   CONTACTO
   ============================================= */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 100px;
  align-items: start;
}

.contact-info .section-title {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 24px;
}

.contact-info > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
  margin-bottom: 48px;
  max-width: 440px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.6;
  transition: color var(--transition);
}
.contact-detail-text a:hover { color: var(--gold); }

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--navy);
  padding: 56px 48px;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8945A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group select option { background: var(--navy); color: var(--white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

.form-privacy {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--gold-light);
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 { font-family: var(--font-display); font-size: 24px; color: var(--white); margin-bottom: 8px; }
.form-success p { font-size: 13px; color: rgba(255,255,255,0.6); }


/* =============================================
   PÁGINAS LEGALES (Privacidad / Términos)
   ============================================= */
.legal-content {
  padding: 100px 0 120px;
  background: var(--white);
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.legal-updated {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin: 48px 0 14px;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--dark);
}

.legal-body ul {
  padding-left: 20px;
  margin: 12px 0 20px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body strong {
  color: var(--navy);
  font-weight: 600;
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-deep);
  padding: 72px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 320px 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand img { height: 56px; width: auto; margin-bottom: 24px; }

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,148,90,0.2);
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col li a::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(184,148,90,0.4);
  transition: width var(--transition), background var(--transition);
}

.footer-col li a:hover {
  color: var(--gold-light);
}
.footer-col li a:hover::before {
  width: 20px;
  background: var(--gold);
}

.footer-col address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-col address strong {
  display: block;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
}

.footer-col address a {
  color: var(--gold);
  transition: color var(--transition);
}
.footer-col address a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
  letter-spacing: 0.05em;
}
.footer-legal a:hover { color: var(--gold); }


/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 6px 30px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37,211,102,0.5);
  animation: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 104px;
  right: 36px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}


/* =============================================
   PUBLICACIONES
   ============================================= */
.publications {
  padding: 120px 0;
  background: var(--cream);
}

.publications-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
}

.publications-header .section-title {
  font-size: clamp(32px, 4vw, 52px);
}

.publications-header p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-dark);
  text-align: right;
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pub-card {
  background: var(--white);
  padding: 40px 36px;
  border-top: 3px solid var(--gold);
  transition: var(--transition);
}

.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(22, 37, 68, 0.1);
}

.pub-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pub-area {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.pub-date {
  font-size: 11px;
  color: var(--gray);
}

.pub-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.pub-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 24px;
}

.pub-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}

.pub-card:hover .pub-link {
  letter-spacing: 0.2em;
}

@media (max-width: 900px) {
  .pub-grid { grid-template-columns: 1fr 1fr; }
  .publications-header { flex-direction: column; align-items: flex-start; }
  .publications-header p { text-align: left; }
}

@media (max-width: 600px) {
  .pub-grid { grid-template-columns: 1fr; }
}


/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .team-grid { grid-template-columns: 280px 1fr; gap: 48px; }
  .services-track .service-card { flex: 0 0 calc((100% - 2px) / 2); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .why-track .why-item { flex: 0 0 calc((100% - 2px) / 2); }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(36px, 9vw, 52px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-monogram { display: none; }
  .hero-photo { display: none; }
  .hero-diagonal { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 32px 24px; }
  .stat-number { font-size: 42px; }

  .about-values { grid-template-columns: 1fr; }
  .services-track .service-card { flex: 0 0 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .service-image-cell { grid-column: span 1; min-height: 200px; }

  .services-header { flex-direction: column; align-items: flex-start; }
  .services-header p { text-align: left; }

  .team-grid { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 1/1; max-width: 320px; }

  .why-track .why-item { flex: 0 0 100%; }

  .contact-form-wrap { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .whatsapp-float { bottom: 20px; right: 20px; }
  .back-to-top { bottom: 88px; right: 24px; }

  .container { padding: 0 20px; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 120px 20px 80px; }
}

/* =============================================
   BLOG — Archivo y entradas
   ============================================= */
.blog-hero {
  background: var(--navy-deep);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.blog-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.blog-hero-inner { position: relative; z-index: 2; }
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.blog-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
}

.blog-archive {
  padding: 100px 0;
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.blog-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(22,37,68,0.1);
}
.blog-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-thumb-placeholder span {
  font-family: var(--font-display);
  font-size: 40px;
  color: rgba(255,255,255,0.1);
  font-weight: 700;
}
.blog-card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.blog-card-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.blog-card-date {
  font-size: 11px;
  color: var(--gray);
}
.blog-card h2, .blog-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-card-excerpt {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 24px;
  flex: 1;
}
.blog-card-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
  align-self: flex-start;
}
.blog-card:hover .blog-card-link { letter-spacing: 0.2em; }

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--cream-dark);
  color: var(--navy);
  transition: var(--transition);
}
.blog-pagination a:hover,
.blog-pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Single Post */
.single-post-hero {
  background: var(--navy-deep);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.single-post-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.single-post-hero-inner { position: relative; z-index: 2; }
.single-post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  letter-spacing: 0.06em;
}
.single-post-breadcrumb a { color: var(--gold); transition: var(--transition); }
.single-post-breadcrumb a:hover { color: var(--gold-light); }
.single-post-breadcrumb span { color: rgba(255,255,255,0.3); }
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.single-post-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.single-post-date { font-size: 12px; color: rgba(255,255,255,0.5); }
.single-post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  max-width: 800px;
}

.single-post-body { padding: 80px 0 100px; background: var(--white); }
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}
.single-post-featured-img {
  margin-bottom: 48px;
  border-top: 3px solid var(--gold);
}
.single-post-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}
.post-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-dark);
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin: 48px 0 20px;
  line-height: 1.2;
}
.post-content h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  margin: 36px 0 16px;
}
.post-content p { margin-bottom: 24px; }
.post-content ul, .post-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--navy); font-weight: 600; }
.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--navy);
}
.post-content a { color: var(--gold); text-decoration: underline; }
.post-content a:hover { color: var(--gold-dark); }

.post-sidebar { position: sticky; top: 100px; }
.sidebar-cta {
  background: var(--navy);
  padding: 40px 32px;
  margin-bottom: 32px;
}
.sidebar-cta h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.sidebar-cta p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.sidebar-related h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.related-post-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.related-post-item:last-child { border-bottom: none; }
.related-post-item a {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--navy);
  line-height: 1.3;
  transition: var(--transition);
  display: block;
  margin-bottom: 4px;
}
.related-post-item a:hover { color: var(--gold); }
.related-post-item span {
  font-size: 11px;
  color: var(--gray);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}
.post-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--cream-dark);
  color: var(--gray-dark);
  transition: var(--transition);
}
.post-tag:hover { border-color: var(--gold); color: var(--gold); }

/* Service Page Styles */
.service-hero {
  background: var(--navy-deep);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.service-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.service-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  letter-spacing: 0.06em;
}
.breadcrumb a { color: var(--gold); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 700px;
}
.service-hero h1 em { font-style: italic; color: var(--gold-light); }
.service-hero-desc {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 40px;
}
.service-content { padding: 100px 0; background: var(--white); }
.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.service-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}
.service-content p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-dark);
  margin-bottom: 20px;
}
.service-list { list-style: none; padding: 0; margin: 32px 0; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.6;
}
.service-list li::before {
  content: '';
  display: block;
  min-width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}
.service-cta-box { background: var(--navy); padding: 48px 40px; }
.service-cta-box h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.service-cta-box p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* Responsive blog */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .single-post-layout { grid-template-columns: 1fr; gap: 48px; }
  .post-sidebar { position: static; }
  .service-content-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}
