/* ============================================================
   García & Asociados — main.css  v1.0.0
   Paleta NLP Legal
   ─ Azul marino #0B1F3A : autoridad, confianza, seguridad
   ─ Dorado      #C9A84C : prestigio, excelencia, éxito
   ─ Marfil      #F9F6EF : claridad mental, sofisticación
   ─ Carbón      #2C2C2C : seriedad, solidez profesional
   PARA CAMBIAR COLORES: edita las variables :root
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --navy:       #0B1F3A;
  --navy-mid:   #142847;
  --navy-light: #1E3A5F;
  --gold:       #C9A84C;
  --gold-light: #E2C47A;
  --ivory:      #F9F6EF;
  --charcoal:   #2C2C2C;
  --mid-gray:   #666;
  --light-gray: #E8E4DB;
  --white:      #fff;
  --wa:         #25D366;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Ocultar elementos del tema WordPress activo que interfieran */
.site-header, .site-footer, #masthead, #colophon,
.entry-header, .entry-footer, .comments-area,
.post-navigation, .widget-area, .wp-block-post-title,
.page-header { display: none !important; }

body.garcia-body {
  font-family: 'Montserrat', sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
}

/* ── CONTENEDOR ─────────────────────────────────────────────── */
.g-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── TIPOGRAFÍA COMPARTIDA ───────────────────────────────────── */
.g-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.g-gold-line {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 16px 0 28px;
}
.g-gold-line.center { margin: 16px auto 28px; }

/* ── BOTONES ─────────────────────────────────────────────────── */
.g-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); padding: 15px 30px; border-radius: 3px;
  text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  transition: all .3s;
  box-shadow: 0 8px 25px rgba(201,168,76,.35);
}
.g-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(201,168,76,.55);
  color: var(--navy); text-decoration: none;
}
.g-btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(201,168,76,.5); color: var(--gold-light);
  padding: 15px 30px; border-radius: 3px; text-decoration: none;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; transition: all .3s;
}
.g-btn-outline:hover {
  background: rgba(201,168,76,.1); border-color: var(--gold);
  color: var(--gold-light); text-decoration: none;
}

/* ════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════ */
.g-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,31,58,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.2);
  transition: box-shadow .3s;
}
.g-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.4); }

.g-nav {
  display: flex; align-items: center;
  justify-content: space-between; padding: 14px 24px;
}

.g-logo {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
}
.g-logo img {
  width: 54px; height: 54px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(201,168,76,.45);
}
.g-logo-name {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700; color: #fff;
  letter-spacing: 1px; line-height: 1.1;
}
.g-logo-sub {
  display: block; font-size: 9px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold);
}

.g-nav-links {
  list-style: none; display: flex; gap: 36px; align-items: center;
}
.g-nav-links a {
  color: rgba(255,255,255,.8); text-decoration: none;
  font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: color .3s; position: relative;
}
.g-nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.g-nav-links a:hover { color: var(--gold-light); }
.g-nav-links a:hover::after { width: 100%; }

.g-nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--navy) !important; padding: 10px 20px;
  border-radius: 3px; font-weight: 700 !important;
}
.g-nav-cta::after { display: none !important; }
.g-nav-cta:hover { transform: translateY(-1px); }

.g-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.g-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: all .3s;
}

/* ════════════════════════════════════════════════════════
   BARRA LATERAL REDES SOCIALES
════════════════════════════════════════════════════════ */
.g-social-bar {
  position: fixed; left: 0; top: 50%;
  transform: translateY(-50%); z-index: 998;
  display: flex; flex-direction: column; gap: 0;
}
.g-social-bar a {
  width: 44px; height: 44px; display: flex; align-items: center;
  justify-content: space-between; text-decoration: none;
  overflow: hidden; transition: width .35s ease; position: relative;
}
.g-social-bar a svg { width: 18px; height: 18px; fill: #fff; flex-shrink: 0; margin-left: 13px; }
.g-social-bar a span {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: #fff; white-space: nowrap;
  max-width: 0; overflow: hidden; transition: max-width .35s ease;
  padding-right: 0;
}
.g-social-bar a:hover { width: 130px; gap: 0; }
.g-social-bar a:hover span { max-width: 100px; padding-right: 14px; }

.gsb-fb { background: #1877F2; border-radius: 0 6px 6px 0; }
.gsb-fb:hover { background: #1565C0; }
.gsb-ig { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); border-radius: 0 6px 6px 0; }
.gsb-yt { background: #FF0000; border-radius: 0 6px 6px 0; }
.gsb-yt:hover { background: #CC0000; }
.gsb-tt { background: #010101; border-radius: 0 6px 6px 0; }
.gsb-tt:hover { background: #222; }

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.g-hero {
  min-height: 100vh; background: var(--navy);
  position: relative; display: flex; align-items: center;
  overflow: hidden; padding-top: 84px;
}
.g-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 20%;
  opacity: .18;
}
.g-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(11,31,58,.98) 0%, rgba(11,31,58,.85) 45%, rgba(11,31,58,.35) 100%);
}
.g-hero-deco {
  position: absolute; top: 0; right: 0; width: 45%; height: 100%;
  pointer-events: none; overflow: hidden;
}
.g-hero-deco::before {
  content: ''; position: absolute; top: 10%; right: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.12);
}
.g-hero-deco::after {
  content: ''; position: absolute; top: 20%; right: 5%;
  width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.07);
}

.g-hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.g-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.g-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

.g-hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px,5vw,64px); font-weight: 700;
  color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.g-hero-text h1 em { font-style: italic; color: var(--gold-light); display: block; }
.g-hero-text p {
  font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.6);
  margin-bottom: 36px; max-width: 480px;
}
.g-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.g-hero-img img {
  width: 100%; border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  border: 1px solid rgba(201,168,76,.2); display: block;
}

/* ════════════════════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════════════════════ */
.g-trust {
  background: var(--navy-mid);
  border-top: 1px solid rgba(201,168,76,.15);
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: 22px 0;
}
.g-trust-row {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 40px; align-items: center;
}
.g-trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.7); font-size: 12px; font-weight: 500;
}
.g-trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════════════════════ */
.g-services { padding: 100px 0; background: var(--ivory); }
.g-section-head { text-align: center; margin-bottom: 60px; }
.g-section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px,4vw,44px); font-weight: 700; color: var(--navy);
}
.g-section-head p {
  max-width: 560px; margin: 0 auto;
  font-size: 14px; color: var(--mid-gray); line-height: 1.8;
}

.g-services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.g-service-card {
  background: #fff; border: 1px solid var(--light-gray);
  border-radius: 4px; padding: 36px 28px;
  transition: all .35s; position: relative; overflow: hidden;
}
.g-service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.g-service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,31,58,.12); }
.g-service-card:hover::before { transform: scaleX(1); }
.g-service-icon {
  width: 52px; height: 52px; font-size: 22px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 4px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
}
.g-service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.g-service-card p { font-size: 13px; line-height: 1.8; color: var(--mid-gray); }

/* ════════════════════════════════════════════════════════
   NOSOTROS
════════════════════════════════════════════════════════ */
.g-about { padding: 100px 0; background: #fff; }
.g-about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.g-about-imgs { position: relative; min-height: 420px; }
.g-about-img1 {
  width: 80%; border-radius: 4px; display: block;
  box-shadow: 0 20px 60px rgba(11,31,58,.15);
  border: 1px solid var(--light-gray);
}
.g-about-img2 {
  position: absolute; bottom: -40px; right: 0; width: 55%;
  border-radius: 4px; border: 4px solid #fff;
  box-shadow: 0 15px 40px rgba(11,31,58,.2);
}
.g-about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px,3.5vw,42px); font-weight: 700;
  color: var(--navy); line-height: 1.2; margin-bottom: 20px;
}
.g-about-text h2 em { font-style: italic; color: var(--gold); }
.g-about-text p { font-size: 14px; line-height: 1.9; color: var(--mid-gray); margin-bottom: 14px; }

.g-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 28px;
}
.g-pillar {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.g-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   PROCESO
════════════════════════════════════════════════════════ */
.g-process { padding: 100px 0; background: var(--ivory); }
.g-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative;
}
.g-steps::before {
  content: ''; position: absolute;
  top: 36px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: .4;
}
.g-step { text-align: center; padding: 0 16px; position: relative; }
.g-step-n {
  width: 72px; height: 72px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold);
  color: var(--gold); font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.g-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.g-step p { font-size: 12.5px; line-height: 1.7; color: var(--mid-gray); }

/* ════════════════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════════════════ */
.g-contact { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
.g-contact-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .07;
}
.g-contact-inner { position: relative; z-index: 1; text-align: center; }
.g-contact-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px,4vw,50px); font-weight: 700;
  color: #fff; margin-bottom: 14px;
}
.g-contact-inner > p {
  font-size: 15px; color: rgba(255,255,255,.6);
  max-width: 520px; margin: 0 auto 44px; line-height: 1.8;
}

.g-contact-cards {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 18px; margin-bottom: 40px;
}
.g-contact-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(201,168,76,.2);
  border-radius: 4px; padding: 26px 30px; text-align: left; min-width: 190px;
  transition: background .3s;
}
.g-contact-card:hover { background: rgba(201,168,76,.08); }
.g-cc-icon { font-size: 22px; margin-bottom: 8px; }
.g-contact-card h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.g-contact-card p, .g-contact-card a {
  font-size: 14px; color: rgba(255,255,255,.8);
  text-decoration: none; line-height: 1.5;
}
.g-contact-card a:hover { color: var(--gold-light); }

/* Redes en contacto */
.g-social-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 40px;
}
.g-social-pills a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px; border-radius: 40px; text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #fff; transition: all .3s;
  border: 1px solid transparent;
}
.g-social-pills a svg { width: 15px; height: 15px; fill: #fff; flex-shrink: 0; }
.gsp-fb { background: rgba(24,119,242,.2); border-color: rgba(24,119,242,.4); }
.gsp-fb:hover { background: #1877F2; box-shadow: 0 6px 20px rgba(24,119,242,.4); color: #fff; }
.gsp-ig { background: rgba(131,58,180,.2); border-color: rgba(253,29,29,.3); }
.gsp-ig:hover { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); box-shadow: 0 6px 20px rgba(253,29,29,.3); color: #fff; }
.gsp-yt { background: rgba(255,0,0,.2); border-color: rgba(255,0,0,.4); }
.gsp-yt:hover { background: #FF0000; box-shadow: 0 6px 20px rgba(255,0,0,.4); color: #fff; }
.gsp-tt { background: rgba(1,1,1,.3); border-color: rgba(255,255,255,.15); }
.gsp-tt:hover { background: #010101; box-shadow: 0 6px 20px rgba(0,0,0,.5); color: #fff; }

/* Botón WA grande */
.g-wa-big {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--wa); color: #fff;
  padding: 20px 44px; border-radius: 3px;
  text-decoration: none; font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: all .3s;
  box-shadow: 0 10px 40px rgba(37,211,102,.3);
  animation: waPulse 2.5s ease-in-out infinite;
}
.g-wa-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(37,211,102,.5);
  color: #fff; text-decoration: none;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 10px 40px rgba(37,211,102,.3); }
  50% { box-shadow: 0 10px 50px rgba(37,211,102,.55), 0 0 0 6px rgba(37,211,102,.08); }
}

/* Seguir en redes */
.g-social-pills { margin-top: 0; }
.g-contact-inner .g-label { margin-bottom: 6px; }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.g-footer { background: #060F1E; border-top: 1px solid rgba(201,168,76,.15); padding: 50px 0 28px; }
.g-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.g-footer-brand img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(201,168,76,.3); margin-bottom: 16px; display: block;
}
.g-footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.g-footer-brand > p { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 280px; }
.g-footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.g-footer-col ul { list-style: none; }
.g-footer-col li { margin-bottom: 10px; }
.g-footer-col a {
  font-size: 13px; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .2s;
}
.g-footer-col a:hover { color: var(--gold-light); }

.g-footer-social { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.g-footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(201,168,76,.25);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .3s;
}
.g-footer-social a:hover { transform: translateY(-3px); border-color: var(--gold); }
.g-footer-social a svg { width: 16px; height: 16px; fill: #fff; }
.g-footer-social a[data-net="facebook"]:hover  { background: #1877F2; }
.g-footer-social a[data-net="instagram"]:hover { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.g-footer-social a[data-net="youtube"]:hover   { background: #FF0000; }
.g-footer-social a[data-net="tiktok"]:hover    { background: #010101; }
.g-footer-social a[data-net="whatsapp"]:hover  { background: var(--wa); }

.g-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.g-footer-bottom p { font-size: 11px; color: rgba(255,255,255,.25); }
.g-footer-bottom a { color: var(--gold); text-decoration: none; }

/* ════════════════════════════════════════════════════════
   WHATSAPP FLOTANTE
════════════════════════════════════════════════════════ */
.g-wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 6px 24px rgba(37,211,102,.4);
  animation: floatBounce 3s ease-in-out infinite; transition: transform .3s;
}
.g-wa-float:hover { transform: scale(1.1); }
.g-wa-float svg { fill: #fff; }
@keyframes floatBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.g-wa-tooltip {
  position: absolute; right: 70px; background: var(--navy);
  color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 7px 14px; border-radius: 4px;
  border: 1px solid rgba(201,168,76,.2);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.g-wa-float:hover .g-wa-tooltip { opacity: 1; }

/* ════════════════════════════════════════════════════════
   RESPONSIVO
════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .g-nav-links { display: none; flex-direction: column; gap: 20px; }
  .g-nav-links.open {
    display: flex; position: absolute;
    top: 82px; left: 0; right: 0;
    background: var(--navy-mid); padding: 24px;
    border-bottom: 1px solid rgba(201,168,76,.15);
  }
  .g-hamburger { display: flex; }
  .g-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .g-hero-img { display: none; }
  .g-services-grid { grid-template-columns: 1fr; }
  .g-about-grid { grid-template-columns: 1fr; }
  .g-about-imgs { display: none; }
  .g-steps { grid-template-columns: 1fr 1fr; gap: 30px; }
  .g-steps::before { display: none; }
  .g-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .g-footer-bottom { flex-direction: column; text-align: center; }
  .g-social-bar { display: none; }
}
@media (max-width: 560px) {
  .g-hero { padding: 120px 0 60px; }
  .g-steps { grid-template-columns: 1fr; }
  .g-trust-row { gap: 20px; }
}
