/*
Theme Name: Conexiones B2B
Theme URI: https://conexionesb2b.com
Author: Conexiones B2B
Description: Theme de bloques (FSE) para Conexiones B2B — un puente entre India y Latinoamérica. Convertido desde maqueta HTML/CSS estática.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: conexionesb2b
*/

/* =========================================================
   1. RESET & VARIABLES
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy: #0D1B2A;
  --navy-mid: #162233;
  --gold: #C9A84C;
  --gold-light: #E2C97A;
  --cream: #F7F4EE;
  --gray: #6B7280;
  --gray-light: #D1D5DB;
  --white: #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #1b2637;
  color: var(--cream);
  overflow-x: hidden;
}

/* Offset para nav fijo en anclas */
section[id], div[id] { scroll-margin-top: 80px; }

h1, h2, h3, h4, p { margin: 0; padding: 0; }

section { padding: 6rem 8%; }

.section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
h2 {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.section-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-light);
  max-width: 560px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold);
}

/* =========================================================
   2. EVENT BANNER (parts/header.html)
   ========================================================= */
.event-banner {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 202;
  background: var(--gold);
  padding: 0.6rem 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: top 0.4s ease;
}
.event-banner.hidden { top: -40px; }

.banner-nav {
  background: none;
  border: none;
  color: var(--navy);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.5rem;
  opacity: 0.7;
  font-weight: 700;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.banner-nav:hover { opacity: 1; }

.event-banner-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.3s ease;
  margin: 0 !important;
}
.event-banner-text.fade { opacity: 0; }

.event-banner-dot {
  width: 8px; height: 8px;
  background: var(--navy);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.event-banner a,
.event-banner .wp-block-button__link {
  background: var(--navy);
  color: var(--gold);
  padding: 0.3rem 1rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.event-banner a:hover,
.event-banner .wp-block-button__link:hover { opacity: 0.85; }

.event-banner-close {
  position: absolute;
  right: 2%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--navy);
  opacity: 0.6;
  padding: 0.25rem;
}
.event-banner-close:hover { opacity: 1; }

@media (max-width: 768px) {
  .event-banner { font-size: 0.72rem; padding: 0.6rem 4%; gap: 0.5rem; flex-wrap: nowrap; }
  .event-banner-text span { display: inline; }
  .banner-nav { font-size: 1rem; padding: 0 0.25rem; }
  #bannerText { font-size: 0.7rem; }
  #bannerCta { font-size: 0.68rem; padding: 0.25rem 0.6rem; white-space: nowrap; }
}

/* =========================================================
   3. NAV (parts/header.html)
   ========================================================= */
.site-nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 201;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 8%;
  background: #F1F3F5;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: padding 0.4s ease;
}
.site-nav.scrolled {
  background: #F1F3F5;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 0.75rem 8%;
}
.logo img {
  width: 150px;
  height: auto;
  display: block;
  filter: none;
}
.site-logo { margin: 0; }
.site-nav .logo { margin-right: auto; }
.site-nav ul.primary-nav-list { margin-right: 2rem; }
.site-nav ul {
  list-style: none;
  display: flex; gap: 2rem;
  align-items: center;
  margin: 0; padding: 0;
}
.site-nav ul a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-nav ul a:hover { color: var(--gold); }
.site-nav ul a.nav-active, .mobile-menu a.nav-active { color: var(--gold) !important; }

.nav-cta,
.nav-cta .wp-block-button__link {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-cta:hover, .nav-cta .wp-block-button__link:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1b2637;
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F1F3F5;
  z-index: 198;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-top: none;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: color 0.2s;
  display: block;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta,
.mobile-menu .nav-cta .wp-block-button__link {
  margin-top: 1.5rem;
  text-align: center;
  border-radius: 2px;
  border-bottom: none !important;
  padding: 0.9rem 2rem;
  background: var(--gold) !important;
  color: var(--navy) !important;
  display: block;
}
.mobile-menu .nav-cta:hover, .mobile-menu .nav-cta .wp-block-button__link:hover { background: var(--gold-light) !important; }

@media (max-width: 768px) {
  .site-nav ul.primary-nav-list { display: none; }
  .site-nav .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* =========================================================
   4. HOME HERO (templates/page-home.html)
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - 309px); /* 100vh minus fixed header (160px) and stats-bar (149px), so the stats-bar sits fully in view on load */
  display: flex; align-items: center;
  padding: 4rem 8% 4rem;
  overflow: hidden;
  margin-top: 160px;
}
canvas#network {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 75%;
}
@media (max-width: 1100px) { .hero-content { max-width: 85%; } }
@media (max-width: 768px)  { .hero-content { max-width: 100%; } }

h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
h1 em { font-style: normal; color: var(--gold); display: block; }

.hero-sub {
  font-size: 1rem; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 0.95rem; line-height: 1.75; color: var(--gray-light);
  max-width: 480px; margin-bottom: 2rem;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn-primary, .btn-primary .wp-block-button__link {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 0.9rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover, .btn-primary .wp-block-button__link:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary, .btn-secondary .wp-block-button__link {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.5);
  background: transparent;
  color: var(--gold);
  padding: 0.9rem 2rem;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover, .btn-secondary .wp-block-button__link:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); }

/* Bridge image — editable Image block behind the constellation canvas */
.hero-bridge {
  position: absolute;
  right: 0; top: 0;
  width: 65%; height: 100%;
  z-index: 0;
  overflow: hidden;
  opacity: 0.13;
  mix-blend-mode: screen;
  filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 45%, black 70%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 20%, rgba(0,0,0,0.7) 45%, black 70%);
}
.hero-bridge img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center right;
  display: block;
}
@media (max-width: 768px) {
  .hero-bridge { opacity: 0.07; width: 100%; }
}

/* STATS BAR */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 2.5rem 5%;
  display: flex; justify-content: center; gap: 4rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray); margin-top: 0.25rem;
}

/* =========================================================
   5. SERVICES / VALUES (Home)
   ========================================================= */
.services { background: #FFFFFF; padding: 6rem 8% 8rem; }
.services .section-header { text-align: left; margin: 0 0 3.5rem 0; max-width: 600px; }
.services .section-label { color: var(--gold); }
.services h2 {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 4.5rem); text-transform: uppercase;
  letter-spacing: -0.03em; color: var(--navy); line-height: 1.0; max-width: 600px;
}
.services .section-intro { color: var(--gray); margin: 0; }

.values-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: end; margin-bottom: 3rem; padding: 0 10%;
}
.values-left h2 { color: var(--navy); margin-bottom: 0; }
.values-left .section-label { color: var(--gold); }
.values-right p { font-size: 1rem; line-height: 1.8; color: var(--gray); }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 900px; margin: 0 auto;
}
.value-card {
  position: relative; height: 360px; border-radius: 4px; overflow: hidden;
  background-size: cover; background-position: center;
  cursor: pointer; transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-4px); }
.value-card .value-card-inner {
  position: absolute; inset: 0;
  width: auto; height: auto; max-width: none;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch;
  padding: 2rem;
  background: linear-gradient(to top, rgba(13,27,42,0.95) 0%, rgba(13,27,42,0.5) 55%, rgba(13,27,42,0.05) 100%);
}
.value-card .service-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.value-card h3 {
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1.2rem;
  color: var(--white); margin-bottom: 0.5rem; line-height: 1.2;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.value-card p { font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.8); margin: 0; }

@media (max-width: 900px) {
  .values-top { grid-template-columns: 1fr; gap: 1.5rem; padding: 0; }
  .values-grid { grid-template-columns: 1fr; max-width: 380px; }
  .value-card { height: 260px; }
}

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card {
  position: relative; overflow: hidden;
  background: #1b2637;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 4px; padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover { border-color: rgba(201,168,76,0.5); transform: translateY(-4px); }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,38,55,0.88) 0%, rgba(27,38,55,0.75) 100%);
  z-index: 1;
}
.card-content { position: relative; z-index: 2; }
.service-card:hover .card-overlay { background: linear-gradient(135deg, rgba(27,38,55,0.75) 0%, rgba(27,38,55,0.6) 100%); }
.service-icon { font-size: 1.75rem; margin-bottom: 1.25rem; }
.service-card h3 {
  font-family: 'Inter', sans-serif; font-style: normal; font-weight: 400;
  font-size: 1.15rem; color: var(--white); margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.9rem; line-height: 1.7; color: var(--gray-light); }

/* FIT SECTION */
.fit-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 480px; margin: 4rem 10% 0; gap: 1.5rem;
}
.fit-left {
  background: #F1F3F5; padding: 5rem 15%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fit-left h2 { color: var(--navy); margin-bottom: 1.25rem; font-size: 3rem; margin-top: auto; }
.fit-left p { font-size: 0.95rem; line-height: 1.75; color: var(--gray); margin-bottom: 2rem; }
.fit-right {
  background: var(--gold); padding: 5rem 15%;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fit-right h2 { color: var(--navy); margin-bottom: 1.25rem; font-size: 3rem; margin-top: auto; }
.fit-right p { font-size: 0.95rem; line-height: 1.75; color: var(--navy); opacity: 0.8; margin-bottom: 2rem; }
.fit-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; }
.fit-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; line-height: 1.5; color: var(--navy); }
.fit-left .fit-list li { color: var(--gray); }
.fit-icon { font-weight: 700; font-size: 0.9rem; flex-shrink: 0; margin-top: 0.1rem; }
.fit-icon.no { color: #C0392B; }
.fit-icon.yes { color: var(--navy); }

@media (max-width: 768px) {
  .fit-section { grid-template-columns: 1fr; }
  .fit-left, .fit-right { padding: 3rem 8%; }
}

/* =========================================================
   6. INDIA SECTION (Home)
   ========================================================= */
.india-section {
  position: relative; overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 6rem 8%;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.india-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.88) 0%, rgba(17,17,17,0.75) 50%, rgba(13,27,42,0.85) 100%);
  z-index: 0;
}
.india-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.india-text h2 { color: var(--white); }
.india-desc { font-size: 1rem; line-height: 1.8; color: var(--gray-light); margin-bottom: 2rem; }
.india-problem {
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
  background: rgba(201,168,76,0.1);
}
.problem-label {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.india-problem p { font-size: 0.9rem; line-height: 1.7; color: var(--gray-light); margin: 0; }
.india-stats { display: flex; flex-direction: column; gap: 2.5rem; }
.india-stat { border-bottom: 1px solid rgba(201,168,76,0.15); padding-bottom: 2rem; }
.india-stat:last-child { border-bottom: none; padding-bottom: 0; }
.india-number {
  display: block; font-family: 'Inter', sans-serif; font-weight: 900;
  font-size: 4rem; color: var(--gold); line-height: 1; letter-spacing: -0.03em;
}
.india-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-top: 0.4rem; display: block; }

@media (max-width: 768px) {
  .india-inner { grid-template-columns: 1fr; gap: 3rem; }
  .india-number { font-size: 3rem; }
}

/* =========================================================
   7. PROCESS / METODOLOGÍA (Home)
   ========================================================= */
.process { background: var(--navy); }
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; position: relative; max-width: 1000px; margin: 0 auto;
}
.process-step { padding: 2rem; position: relative; }
.step-number {
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700;
  color: rgba(201,168,76,0.15); line-height: 1; margin-bottom: 1rem;
}
.process-step h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; line-height: 1.65; color: var(--gray); }
.step-line { position: absolute; top: 3.5rem; right: 0; width: 1px; height: 40px; background: rgba(201,168,76,0.2); }

/* =========================================================
   8. ABOUT (Home)
   ========================================================= */
.about { background: var(--navy-mid); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 768px) { .about { grid-template-columns: 1fr; gap: 2rem; } }

.about-visual { position: relative; aspect-ratio: 1; max-width: 420px; }
.about-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201,168,76,0.2); animation: spin 30s linear infinite; }
.about-ring:nth-child(2) { inset: 20px; border-color: rgba(201,168,76,0.12); animation-duration: 20s; animation-direction: reverse; }
.about-ring:nth-child(3) { inset: 40px; border-color: rgba(201,168,76,0.08); animation-duration: 40s; }
.about-center {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold);
  text-align: center; padding: 3rem; line-height: 1.5;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.about p { font-size: 0.95rem; line-height: 1.8; color: var(--gray-light); margin-bottom: 1.25rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3); padding: 0.3rem 0.75rem; border-radius: 2px;
}

/* =========================================================
   9. TESTIMONIALS (Home)
   ========================================================= */
.testimonials { background: #FFFFFF; padding: 6rem 8%; }
.testimonials .section-header { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.testimonials .section-label { color: var(--gold); }
.testimonials h2 {
  font-family: 'Inter', sans-serif; font-weight: 900; font-size: clamp(2rem, 4vw, 3.25rem);
  text-transform: uppercase; letter-spacing: -0.03em; color: var(--navy); line-height: 1.0;
}
.testimonials-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.testimonial-card {
  background: #F1F3F5; border-radius: 8px; padding: 2.25rem 2rem; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1 1 300px; max-width: 340px;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.testimonial-quote-icon { font-size: 1.5rem; color: var(--gold); opacity: 0.5; margin-bottom: 1rem; display: block; }
.testimonial-text { font-size: 0.95rem; line-height: 1.75; color: var(--gray); margin-bottom: 1.75rem; min-height: 130px; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(13,27,42,0.1); }
.testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold);
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1rem; letter-spacing: 0.02em;
}
.testimonial-name { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 0.92rem; color: var(--navy); text-transform: uppercase; letter-spacing: -0.01em; }
.testimonial-company { font-size: 0.8rem; color: var(--gold); font-weight: 600; }

@media (max-width: 768px) { .testimonial-text { min-height: 0; } }

/* =========================================================
   10. CTA / CONTACT FORM (Home)
   ========================================================= */
.cta-section {
  background: var(--gold); padding: 6rem 8%; display: grid;
  grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
}
.cta-left h2 { color: var(--navy); margin-bottom: 1.25rem; }
.cta-left h2 em { font-style: normal; color: var(--white); }
.cta-left p { color: var(--navy); font-size: 0.95rem; line-height: 1.75; margin-bottom: 2rem; }

.btn-secondary-outline, .btn-secondary-outline .wp-block-button__link {
  display: inline-block; border: 2px solid var(--navy); background: transparent; color: var(--navy);
  padding: 0.75rem 1.75rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; border-radius: 50px;
  transition: background 0.2s, color 0.2s; cursor: pointer;
}
.btn-secondary-outline:hover, .btn-secondary-outline .wp-block-button__link:hover { background: var(--navy); color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--navy); text-transform: uppercase; }
.form-group input, .form-group textarea {
  background: var(--white); border: 1px solid rgba(0,0,0,0.1); border-radius: 4px;
  padding: 0.85rem 1rem; font-size: 0.9rem; color: var(--navy);
  font-family: 'Inter', sans-serif; transition: border-color 0.2s; outline: none; width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(0,0,0,0.35); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; }

.contact-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  background: none; border: 1px solid rgba(13,27,42,0.4); color: var(--navy);
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--gold); }

.btn-submit {
  background: var(--navy); color: var(--gold); border: none;
  padding: 1rem 3rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 50px; cursor: pointer;
  transition: background 0.2s, transform 0.2s; font-family: 'Inter', sans-serif;
  width: fit-content; margin-top: 0.5rem; align-self: flex-start;
}
.btn-submit:hover { background: #162233; transform: translateY(-1px); }
.form-success { display: none; color: var(--navy); font-size: 0.85rem; text-align: center; font-weight: 600; }

@media (max-width: 768px) { .cta-section { grid-template-columns: 1fr; gap: 3rem; } }

/* =========================================================
   11. FOOTER (parts/footer.html)
   ========================================================= */
footer { background: var(--navy); border-top: 1px solid rgba(201,168,76,0.15); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding: 4rem 15% 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo-img { width: 200px; height: auto; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 0.85rem; line-height: 1.6; color: var(--gray-light); max-width: 220px; margin: 0; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); color: var(--gray-light);
  text-decoration: none; font-size: 0.8rem; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.85rem; color: var(--gray-light); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 15%; text-align: center; }
.footer-bottom p { font-size: 0.78rem; color: var(--gray); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 8%; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   12. PAGE HERO (Servicios / Nosotros / Eventos)
   ========================================================= */
.page-hero {
  padding: 5rem 8% 4rem;
  margin-top: 160px;
  position: relative; overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.78) 50%, rgba(13,27,42,0.90) 100%);
  z-index: 0;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--gold);
}
.page-hero h1 {
  font-family: 'Inter', sans-serif; font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900; line-height: 1.0; color: var(--white);
  text-transform: uppercase; letter-spacing: -0.02em;
  margin-bottom: 1rem; max-width: 700px;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { font-size: 1rem; line-height: 1.75; color: var(--gray-light); max-width: 560px; }

/* =========================================================
   13. SERVICE CARDS (Servicios)
   ========================================================= */
.svc-section { background: var(--white); padding: 5rem 8%; }
.svc-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.svc-card {
  background: var(--white); border: 1px solid rgba(0,0,0,0.1); border-radius: 8px;
  padding: 2.25rem 2rem; display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.svc-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-3px); }
.svc-icon-wrap { margin-bottom: 1.5rem; }
.svc-icon { font-size: 2.5rem; color: var(--navy); display: inline-block; line-height: 1; }
.svc-card h3 {
  font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 800;
  color: var(--navy); line-height: 1.25; text-transform: uppercase;
  letter-spacing: 0.01em; margin-bottom: 0.75rem;
}
.svc-desc { font-size: 0.85rem; color: var(--gold); font-weight: 500; margin-bottom: 1.25rem; line-height: 1.6; }
.svc-points { list-style: disc; flex: 1; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 2rem; }
.svc-points li { font-size: 0.85rem; line-height: 1.5; color: var(--gray); }
.svc-link, .svc-link .wp-block-button__link {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 0.75rem 1.75rem; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border-radius: 50px; transition: background 0.2s; align-self: flex-start;
}
.svc-link:hover, .svc-link .wp-block-button__link:hover { background: var(--gold-light); }
@media (max-width: 900px) { .svc-cards-grid { grid-template-columns: 1fr; } }

/* =========================================================
   14. SERVICE DETAIL SECTIONS (Servicios)
   ========================================================= */
.sds-section { padding: 5rem 8%; position: relative; overflow: hidden; }
.sds-bg { position: absolute; inset: 0; z-index: 0; }
.sds-bg-img { position: absolute; inset: 0; overflow: hidden; filter: grayscale(100%); opacity: 0.25; }
.sds-bg-img img { width: 100%; height: 100%; object-fit: cover; object-position: center right; display: block; }
.sds-bg-grad { position: absolute; inset: 0; }
.sds-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.sds-header { margin-bottom: 3rem; max-width: 680px; }
.sds-icon { font-size: 2.5rem; color: var(--navy); display: block; margin-bottom: 1rem; }
.sds-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.sds-title {
  font-family: 'Inter', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
  color: var(--navy); line-height: 1.0; margin-bottom: 1.25rem;
}
.sds-desc { font-size: 0.95rem; line-height: 1.8; color: var(--gray); margin-bottom: 0.75rem; }
.sds-label {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; color: var(--navy);
  margin-bottom: 1.5rem; padding-top: 2rem; border-top: 2px solid rgba(0,0,0,0.1);
}
.sds-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sds-step {
  background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: 8px;
  padding: 2rem 1.75rem; transition: box-shadow 0.2s, transform 0.2s;
}
.sds-step:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.sds-step-num { font-size: 3.5rem; font-weight: 900; color: #E5E7EB; line-height: 1; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.sds-step h4 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.sds-step ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.sds-step ul li { font-size: 0.85rem; line-height: 1.5; color: var(--gray); padding-left: 1rem; position: relative; }
.sds-step ul li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 900px) { .sds-process { grid-template-columns: 1fr; } }

/* ALLIES */
.allies { background: var(--white); padding: 5rem 8%; text-align: center; }
.allies .section-label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.allies h2 { font-family: 'Inter', sans-serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 800; text-transform: uppercase; color: var(--navy); margin-bottom: 0.75rem; }
.allies p { font-size: 0.95rem; color: var(--gray); margin-bottom: 3rem; }
.allies-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.ally-item { background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: 4px; padding: 1rem 1.5rem; font-size: 0.85rem; font-weight: 600; color: var(--navy); transition: border-color 0.2s; }
.ally-item:hover { border-color: var(--gold); }

/* =========================================================
   15. CTA STRIP (Servicios / Nosotros / Eventos)
   ========================================================= */
.cta-strip { background: var(--gold); padding: 4rem 8%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-strip h2 { font-family: 'Inter', sans-serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; text-transform: uppercase; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; }
.cta-strip h2 em { font-style: normal; color: var(--white); }
.btn-navy, .btn-navy .wp-block-button__link {
  display: inline-block; background: var(--navy); color: var(--gold); padding: 1rem 2.5rem;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; transition: opacity 0.2s; white-space: nowrap;
}
.btn-navy:hover, .btn-navy .wp-block-button__link:hover { opacity: 0.85; }
@media (max-width: 768px) { .cta-strip { text-align: center; justify-content: center; } }

/* =========================================================
   16. NOSOTROS — INTRO / QUOTE / FOUNDERS / MISSION
   ========================================================= */
.about-intro { background: var(--white); padding: 5rem 8%; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-intro-text .eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.about-intro-text h2 {
  font-family: 'Inter', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
  color: var(--navy); line-height: 1.0; margin-bottom: 1.5rem;
}
.about-intro-text h2 em { font-style: normal; color: var(--gold); }
.about-intro-text p { font-size: 0.95rem; line-height: 1.8; color: var(--gray); margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.about-stat { border-left: 3px solid var(--gold); padding-left: 1.25rem; }
.about-stat-num { font-family: 'Inter', sans-serif; font-size: 2.5rem; font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.about-stat-label { font-size: 0.8rem; color: var(--gray); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.08em; }

.quote-section { background: var(--navy); padding: 5rem 8%; text-align: center; }
.quote-text {
  font-family: 'Playfair Display', serif; font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic; color: var(--white); max-width: 800px; margin: 0 auto 1.5rem; line-height: 1.6;
}
.quote-author { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

.founders-section { background: #F1F3F5; padding: 5rem 8%; }
.founders-header { text-align: center; margin-bottom: 4rem; }
.founders-header .eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.founders-header h2 {
  font-family: 'Inter', sans-serif; font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; text-transform: uppercase; color: var(--navy); letter-spacing: -0.02em; line-height: 1.0;
}
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1000px; margin: 0 auto; }
.founder-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.founder-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.founder-photo { width: 100%; height: 320px; overflow: hidden; display: block; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; filter: grayscale(20%); }
.founder-info { padding: 1rem 2rem 2rem; }
.founder-name { font-family: 'Inter', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--navy); text-transform: uppercase; margin-bottom: 0.25rem; }
.founder-role { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.founder-bio { font-size: 0.88rem; line-height: 1.75; color: var(--gray); }
.founder-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.founder-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); border: 1px solid rgba(13,27,42,0.2); padding: 0.25rem 0.75rem; border-radius: 2px; }

.mission-section { background: var(--white); padding: 5rem 8%; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.mission-text .eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.mission-text h2 {
  font-family: 'Inter', sans-serif; font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900; text-transform: uppercase; color: var(--navy); letter-spacing: -0.02em; line-height: 1.0; margin-bottom: 1.5rem;
}
.mission-text p { font-size: 0.95rem; line-height: 1.8; color: var(--gray); margin-bottom: 1rem; }
.mission-values { display: flex; flex-direction: column; gap: 1.5rem; }
.mission-value { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; background: #F1F3F5; border-radius: 4px; border-left: 3px solid var(--gold); }
.mission-value-icon { font-size: 1.5rem; flex-shrink: 0; color: var(--navy); }
.mission-value h4 { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--navy); text-transform: uppercase; margin-bottom: 0.35rem; }
.mission-value p { font-size: 0.85rem; line-height: 1.6; color: var(--gray); margin: 0; }

@media (max-width: 768px) {
  .about-intro, .mission-section { grid-template-columns: 1fr; gap: 3rem; }
  .founders-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   17. EVENTOS — ARCHIVE / BLOG LOOP (templates/home.html)
   ========================================================= */
.events-section { background: var(--white); padding: 5rem 8% 7rem; }

.events-tabs { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.events-tab {
  background: none; border: 1px solid rgba(13,27,42,0.2); color: var(--navy);
  padding: 0.75rem 1.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.events-tab:hover { border-color: var(--navy); }
.events-tab.active { background: var(--navy); border-color: var(--navy); color: var(--gold); }

.events-tab-panel { display: none; }
.events-tab-panel.active { display: block; }

/* WP note: cada .event-card = un post nativo de WordPress dentro del bloque Query Loop
   (imagen destacada, fecha de publicación, extracto, enlace al post) */
.event-card {
  background: #F1F3F5;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }

.event-card-image { position: relative; height: 200px; background-size: cover; background-position: center; }
.event-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.05) 0%, rgba(13,27,42,0.55) 100%);
}
.event-card .wp-block-post-featured-image { margin: 0; height: 200px; overflow: hidden; position: relative; }
.event-card .wp-block-post-featured-image img { width: 100%; height: 200px; object-fit: cover; display: block; }
.event-card .wp-block-post-featured-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.05) 0%, rgba(13,27,42,0.55) 100%);
}

.event-date-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--gold); color: var(--navy);
  padding: 0.5rem 0.75rem; border-radius: 4px; text-align: center; line-height: 1.1;
}
.event-date-badge .day { display: block; font-size: 1.25rem; font-weight: 900; }
.event-date-badge .month { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.event-card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.event-format {
  display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem;
}
.event-card h3, .event-card .wp-block-post-title {
  font-family: 'Inter', sans-serif; font-size: 1.25rem; font-weight: 800;
  color: var(--navy); line-height: 1.2; margin-bottom: 0.75rem;
}
.event-card .wp-block-post-title a { color: var(--navy); text-decoration: none; }
.event-card p, .event-card .wp-block-post-excerpt { font-size: 0.88rem; line-height: 1.65; color: var(--gray); margin-bottom: 1.25rem; }

.event-card-cta, .event-card .wp-block-read-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--navy);
  text-decoration: none; transition: gap 0.2s, color 0.2s;
  margin-top: auto;
}
.event-card-cta:hover, .event-card .wp-block-read-more:hover { gap: 0.8rem; color: var(--gold); }

.events-empty { text-align: center; color: var(--gray); font-size: 0.9rem; padding: 3rem 0; }

/* wp:query loop grid wrapper */
.wp-block-post-template.events-grid,
.events-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; max-width: 1200px; margin: 0 auto;
  list-style: none; padding: 0;
}
.wp-block-post-template.events-grid > li { list-style: none; }

.wp-block-query-pagination { max-width: 1200px; margin: 3rem auto 0; justify-content: center; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers {
  color: var(--navy); font-weight: 700; text-decoration: none;
}

@media (max-width: 768px) { }

/* =========================================================
   18. EVENTO — SINGLE POST (templates/single.html)
   ========================================================= */
.back-bar { background: var(--navy); padding: 3.5rem 8% 1rem; margin-top: 160px; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold-light); text-decoration: none; font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  transition: gap 0.2s;
}
.back-link:hover { gap: 0.8rem; }

.event-hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: flex-end;
  padding: 4rem 8% 3.5rem;
  background-size: cover; background-position: center;
}
.event-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.35) 0%, rgba(13,27,42,0.55) 55%, rgba(13,27,42,0.95) 100%);
}
.event-hero > * { position: relative; z-index: 1; }
.event-hero-inner { max-width: 800px; }
.event-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.event-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25); color: var(--white);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.5rem 1rem; border-radius: 50px;
}
.event-badge.is-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.event-hero h1, .event-hero .wp-block-post-title {
  font-family: 'Inter', sans-serif; font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 900; line-height: 1.05; color: var(--white);
  text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.event-hero-lead { font-size: 1.05rem; line-height: 1.7; color: var(--gray-light); max-width: 620px; }

.event-detail {
  background: var(--white); padding: 5rem 8% 6rem;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start;
}
.event-main h2 {
  font-family: 'Inter', sans-serif; font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em;
  color: var(--navy); margin: 2.5rem 0 1rem;
}
.event-main h2:first-child { margin-top: 0; }
.event-main p { font-size: 0.95rem; line-height: 1.8; color: var(--gray); margin-bottom: 1rem; }
.event-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.5rem; padding: 0; }
.event-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; line-height: 1.6; color: var(--gray); }
.event-list i { color: var(--gold); margin-top: 0.2rem; flex-shrink: 0; }

.event-sidebar {
  position: sticky; top: 6.5rem; background: #F1F3F5; border-radius: 8px;
  padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem;
}
.event-info-row { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(13,27,42,0.1); }
.event-info-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.event-info-icon {
  width: 40px; height: 40px; flex-shrink: 0; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.95rem;
}
.event-info-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.event-info-value { font-size: 0.92rem; font-weight: 700; color: var(--navy); }

.btn-submit-full, .btn-submit-full .wp-block-button__link {
  background: var(--navy); color: var(--gold); border: none;
  padding: 1rem 1.5rem; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
  border-radius: 50px; text-decoration: none; display: block;
  transition: background 0.2s, transform 0.2s; width: 100%;
}
.btn-submit-full:hover, .btn-submit-full .wp-block-button__link:hover { background: #162233; transform: translateY(-1px); }
.event-sidebar-note { font-size: 0.78rem; color: var(--gray); text-align: center; line-height: 1.5; }

@media (max-width: 900px) {
  .event-detail { grid-template-columns: 1fr; gap: 3rem; }
  .event-sidebar { position: static; }
}

/* =========================================================
   19. WORDPRESS BLOCK COMPATIBILITY
   ========================================================= */
.wp-block-button__link { border-radius: 2px; }
.wp-block-cover { margin: 0; }

/* The button CSS above (section 2-15) intentionally styles both the bare class
   (.btn-primary, .nav-cta, etc — used when applied directly to an <a>) and the
   WP block's nested link (.btn-primary .wp-block-button__link), so one ruleset
   works for plain markup and Gutenberg's <div class="wp-block-button X"><a
   class="wp-block-button__link">…</a></div> markup. But that means the outer
   div ALSO matches the bare class and gets its own copy of the padding/background,
   stacking on top of the link's — this strips the div back to an invisible wrapper. */
.wp-block-button.nav-cta,
.wp-block-button.btn-primary,
.wp-block-button.btn-secondary,
.wp-block-button.btn-secondary-outline,
.wp-block-button.svc-link,
.wp-block-button.btn-navy,
.wp-block-button.btn-submit-full {
  padding: 0;
  background: none;
  border: none;
}

/* Neutralize WordPress's automatic "blockGap" spacing between blocks
   (the CSS var every flow/constrained layout rule adds margin from).
   Every gap/margin in this design is already handled explicitly by the
   original custom classes (padding, gap, margin) — leaving blockGap active
   just adds unwanted extra room above/below and inside our sections,
   without touching any of our own margin/padding rules below. */
:root { --wp--style--spacing--blockGap: 0px; }

/* The "Mobile Menu" plugin's dynamic-mobmenu.css adds body padding-top:50px
   to reserve space for its own fixed mobile bar — with no media query, so it
   also pushes down desktop content even though our theme has its own custom
   hamburger/.mobile-menu and never uses the plugin's bar. Neutralize it. */
body.mob-menu-overlay, body.mob-menu-slideout,
body.mob-menu-slideout-over, body.mob-menu-slideout-top {
  padding-top: 0 !important;
}

/* Offset the fixed event-banner/nav below WordPress's own admin toolbar
   so logged-in admins previewing the site see it aligned like a real visitor would. */
body.admin-bar .event-banner { top: 32px; }
body.admin-bar .site-nav { top: 68px; }
@media screen and (max-width: 782px) {
  body.admin-bar .event-banner { top: 46px; }
  body.admin-bar .site-nav { top: 82px; }
}
