/* Fuentes servidas desde el propio sitio (licencia SIL Open Font License) */
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300 400;font-display:swap;src:url('/wp-content/uploads/lja-fuentes/cormorant-garamond-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300 400;font-display:swap;src:url('/wp-content/uploads/lja-fuentes/cormorant-garamond-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300 600;font-display:swap;src:url('/wp-content/uploads/lja-fuentes/cormorant-garamond-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300 600;font-display:swap;src:url('/wp-content/uploads/lja-fuentes/cormorant-garamond-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 500;font-display:swap;src:url('/wp-content/uploads/lja-fuentes/dm-sans-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 500;font-display:swap;src:url('/wp-content/uploads/lja-fuentes/dm-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* ============================================================
   LJA Partners — estilos globales para WordPress + Elementor
   Mismo diseño que la web estática (mayo-junio 2026), adaptado
   al marcado de Elementor. Cambios respecto al original: grises
   y ocre de texto oscurecidos para cumplir el contraste WCAG AA.
   ============================================================ */

:root {
  --dark:         #1E1C2C;
  --dark-2:       #2C2A3C;
  --dark-3:       #3A3848;
  --beige:        #F2E6D2;
  --beige-light:  #FAF6F0;
  --beige-mid:    #EAD9C0;
  --white:        #FFFFFF;
  --text-primary: #1A1824;
  --text-mid:     #5A5768;
  --text-muted:   #67647A;   /* antes #9896A2 (2,9:1) */
  --warm-accent:  #8B7355;   /* iconos y líneas */
  --warm-text:    #7A6449;   /* texto ocre pequeño (antes #8B7355, 4,49:1) */
  --border:       rgba(30, 28, 44, 0.10);
  --border-dark:  rgba(255, 255, 255, 0.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --t-fast:     0.25s;
  --t-mid:      0.45s;

  --max-w:      1280px;
  --nav-h:      76px;
  --section-py: clamp(72px, 10vw, 120px);
  --section-px: clamp(24px, 5vw, 80px);
}

/* ── Base y neutralización de los espaciados por defecto de Elementor ── */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.elementor-template-canvas {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  --kit-widget-spacing: 0px;
}

:where(.elementor-template-canvas) .e-con {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --margin-top: 0px; --margin-bottom: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --widgets-spacing: 0px 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
  --min-height: 0;
}
.elementor-template-canvas .elementor-widget:not(:last-child) { margin-block-end: 0; }
:where(.elementor-template-canvas .elementor-widget) { width: auto; max-width: 100%; }
:where(.elementor-template-canvas .e-con > .elementor-widget) { width: 100%; }

:where(.elementor-template-canvas) :where(h1, h2, h3, h4, p) { margin: 0; }
:where(.elementor-template-canvas) a { color: inherit; text-decoration: none; }
:where(.elementor-template-canvas) img { display: block; max-width: 100%; height: auto; }
:where(.elementor-template-canvas) .elementor-heading-title { line-height: inherit; color: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; }

/* Foco visible en todo el sitio */
.elementor-template-canvas a:focus-visible,
.elementor-template-canvas button:focus-visible,
.elementor-template-canvas input:focus-visible,
.elementor-template-canvas select:focus-visible,
.elementor-template-canvas textarea:focus-visible {
  outline: 2px solid var(--warm-accent);
  outline-offset: 3px;
}
.section--dark a:focus-visible, .hero a:focus-visible, .page-hero a:focus-visible,
.nav--hero a:focus-visible, .nav--dark-page:not(.nav--scrolled) a:focus-visible,
.footer a:focus-visible, .nav__mobile a:focus-visible, .hero button:focus-visible,
.nav--hero button:focus-visible, .nav--dark-page:not(.nav--scrolled) button:focus-visible {
  outline-color: var(--beige);
}

/* Enlace para saltar al contenido */
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  background: var(--white); color: var(--dark) !important;
  padding: 10px 18px; font-size: 14px; font-weight: 500;
  transform: translateY(-200%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ── Tipografía ── */
.t-label, .t-label .elementor-heading-title, .t-label p {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.t-label--light, .t-label--light p, .t-label--light .elementor-heading-title { color: rgba(255,255,255,0.6); }
.t-label--warm, .t-label--warm p, .t-label--warm .elementor-heading-title { color: var(--warm-text); }

.h1, .h1 .elementor-heading-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.h2, .h2 .elementor-heading-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.h3, .h3 .elementor-heading-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
}
.h1 em, .h2 em, .page-hero__title em { font-style: italic; color: var(--beige); }

.body-lg, .body-lg p { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: var(--text-mid); }
.body-md, .body-md p { font-size: 15px; line-height: 1.7; color: var(--text-mid); }
.body-sm, .body-sm p { font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* ── Contenedores ── */
.container {
  width: 100%;
  max-width: var(--max-w) !important;
  margin-left: auto !important; margin-right: auto !important;
  padding-left: var(--section-px) !important; padding-right: var(--section-px) !important;
}
.section { padding-top: var(--section-py) !important; padding-bottom: var(--section-py) !important; }
.section--beige { background: var(--beige-light); }
.section--dark  { background: var(--dark); color: var(--white); }
.section--beige-mid { background: var(--beige); }

/* Línea divisoria */
.divider { width: 40px !important; height: 1px; background: var(--warm-accent); margin: 24px 0 !important; }
.divider--white { background: rgba(255,255,255,0.3); margin: 20px auto !important; }

/* ── Botones (widget Botón de Elementor) ── */
.btn .elementor-button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2;
  border: 1px solid transparent; border-radius: 0;
  background: transparent; color: var(--dark);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }
.btn--arrow .elementor-button-text::after {
  content: ''; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -3px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn--dark .elementor-button { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn--dark .elementor-button:hover, .btn--dark .elementor-button:focus { background: var(--dark-2); border-color: var(--dark-2); color: var(--white); }
.btn--outline .elementor-button { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--outline .elementor-button:hover, .btn--outline .elementor-button:focus { background: var(--dark); color: var(--white); }
.btn--light .elementor-button { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn--light .elementor-button:hover, .btn--light .elementor-button:focus { background: var(--beige); border-color: var(--beige); color: var(--dark); }
.btn--outline-light .elementor-button { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--outline-light .elementor-button:hover, .btn--outline-light .elementor-button:focus { border-color: var(--white); color: var(--white); }

/* ── Navegación ── */
.nav {
  position: fixed !important; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
body.admin-bar .nav { top: 32px; }
.nav--hero { background: transparent; border-bottom: 1px solid transparent; }
.nav--dark-page { background: var(--dark); border-bottom: 1px solid var(--border-dark); }
.nav--scrolled, .nav--dark-page.nav--scrolled { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 2px 24px rgba(0,0,0,0.06); }

.nav__container {
  max-width: var(--max-w) !important; margin: 0 auto !important;
  padding: 0 var(--section-px) !important;
  height: 100%;
  --flex-direction: row; flex-direction: row !important;
  align-items: center !important; justify-content: space-between !important;
  flex-wrap: nowrap !important;
}
.nav__logo { width: auto !important; flex-shrink: 0; }
.nav__logo img { height: 72px; width: auto; }
.nav__logo-img--dark  { display: block; }
.nav__logo-img--light { display: none; }
.nav--scrolled .nav__logo-img--dark  { display: none; }
.nav--scrolled .nav__logo-img--light { display: block; }

.nav__links {
  --flex-direction: row; flex-direction: row !important;
  align-items: center !important; gap: 36px !important;
  width: auto !important; flex-wrap: nowrap !important;
}
.nav__links > .elementor-widget { width: auto !important; }
.nav__link .elementor-button {
  background: transparent; border: 0; border-radius: 0; padding: 0;
  font-family: var(--font-sans); font-size: 13px; font-weight: 400; letter-spacing: 0.04em; line-height: 1.4;
  color: rgba(255,255,255,0.8); position: relative;
  transition: color var(--t-fast) var(--ease);
}
.nav__link .elementor-button::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: currentColor; transition: width var(--t-fast) var(--ease);
}
.nav__link .elementor-button:hover, .nav__link .elementor-button:focus, .nav__link.active .elementor-button { color: var(--white); }
.nav__link .elementor-button:hover::after, .nav__link.active .elementor-button::after { width: 100%; }
.nav--scrolled .nav__link .elementor-button { color: var(--text-mid); }
.nav--scrolled .nav__link .elementor-button:hover, .nav--scrolled .nav__link .elementor-button:focus,
.nav--scrolled .nav__link.active .elementor-button { color: var(--dark); }

.nav__cta-btn .elementor-button {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); padding: 9px 22px;
}
.nav__cta-btn .elementor-button::after { display: none; }
.nav__cta-btn .elementor-button:hover, .nav__cta-btn .elementor-button:focus { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: var(--white); }
.nav--scrolled .nav__cta-btn .elementor-button { color: var(--dark); border-color: var(--dark); }
.nav--scrolled .nav__cta-btn .elementor-button:hover, .nav--scrolled .nav__cta-btn .elementor-button:focus { background: var(--dark); color: var(--white); }

.nav__toggle { width: auto !important; display: none; }
.nav__hamburger {
  display: flex; flex-direction: column; gap: 6px; width: 28px;
  cursor: pointer; background: none !important; border: none !important; padding: 4px 0 !important; border-radius: 0 !important;
  position: relative; z-index: 101;
}
.nav__hamburger span {
  display: block; width: 100%; height: 1px; background: var(--white);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
  transform-origin: center;
}
.nav--scrolled .nav__hamburger span { background: var(--dark); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none !important;
  position: fixed !important; inset: 0;
  background: var(--dark);
  z-index: 99;
  --flex-direction: column; flex-direction: column !important;
  align-items: center !important; justify-content: center !important;
  gap: 36px !important;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-mid) var(--ease), visibility var(--t-mid) var(--ease);
}
.nav__mobile.open { opacity: 1; visibility: visible; }
.nav__mobile > .elementor-widget { width: auto !important; }
.nav__mobile-link .elementor-button {
  background: transparent; border: 0; padding: 0; border-radius: 0;
  font-family: var(--font-serif); font-size: 42px; font-weight: 300; line-height: 1.2;
  color: rgba(255,255,255,0.75);
}
.nav__mobile-link .elementor-button:hover, .nav__mobile-link .elementor-button:focus { color: var(--white); }

/* ── Hero (portada) ── */
.hero {
  position: relative;
  min-height: 100svh !important;
  justify-content: center !important;
  background: var(--dark);
  overflow: hidden;
  padding-top: var(--nav-h) !important;
}
.hero__canvas-wrap { position: absolute !important; inset: 0; z-index: 0; width: 100% !important; height: 100%; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; display: block; }
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w) !important; width: 100%;
  margin: 0 auto !important;
  padding: clamp(64px, 8vw, 100px) var(--section-px) !important;
}
.hero__label { margin-bottom: 28px !important; }
.hero__title, .hero__title .elementor-heading-title { color: var(--white); max-width: 900px; }
.hero__title { margin-bottom: 28px !important; }
.hero__title em { font-style: italic; color: var(--beige); }
.hero__subtitle { max-width: 540px; margin-bottom: 44px !important; }
.hero__subtitle, .hero__subtitle p { color: rgba(255,255,255,0.7); font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7; }
.hero__actions { --flex-direction: row; flex-direction: row !important; gap: 16px !important; flex-wrap: wrap !important; }
.hero__actions > .elementor-widget { width: auto !important; }

.hero__label, .hero__title, .hero__subtitle, .hero__actions { opacity: 0; transform: translateY(20px); animation: ljaFadeUp 0.9s var(--ease-out) forwards; }
.hero__label   { animation-delay: 0.2s; }
.hero__title   { animation-delay: 0.4s; }
.hero__subtitle{ animation-delay: 0.6s; }
.hero__actions { animation-delay: 0.8s; }

.hero__extras { position: absolute !important; left: var(--section-px); right: var(--section-px); bottom: 32px; z-index: 3; width: auto !important; }
.hero__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero__scroll { display: flex; align-items: center; gap: 14px; opacity: 0; animation: ljaFadeIn 1s var(--ease-out) 1.4s forwards; }
.hero__scroll-text { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero__scroll-line { width: 40px; height: 1px; background: rgba(255,255,255,0.2); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; left: -100%; top: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.7); animation: ljaLineSweep 2s var(--ease) 1.8s 2; /* 4 s en total: por debajo de los 5 s del criterio 2.2.2 */ }
.hero__pause {
  background: transparent !important; border: 1px solid rgba(255,255,255,0.3) !important; border-radius: 0 !important;
  color: rgba(255,255,255,0.75) !important; font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 14px !important; cursor: pointer; line-height: 1.2;
}
.hero__pause:hover { border-color: rgba(255,255,255,0.7) !important; color: var(--white) !important; }

/* ── Servicios ── */
.services__header { --display: grid; display: grid !important; grid-template-columns: 1fr 1fr; gap: 40px !important; align-items: end !important; margin-bottom: 72px !important; }
.services__grid { --display: grid; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 0 !important; border-top: 1px solid var(--border); }
.service-card {
  padding: 48px 36px 48px 0 !important;
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
  transition: background var(--t-fast) var(--ease);
}
.service-card:nth-child(3n) { border-right: none; padding-right: 0 !important; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }
.service-card:hover { background: var(--beige-light); }
.service-card__number, .service-card__number p { font-family: var(--font-serif); font-size: 13px; color: var(--text-muted); }
.service-card__number { margin-bottom: 24px !important; }
.card-icon svg { display: block; color: var(--warm-accent); }
.service-card .card-icon svg { width: 36px; height: 36px; margin-bottom: 20px; }
.service-card__title .elementor-heading-title { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--dark); line-height: 1.2; }
.service-card__title { margin-bottom: 14px !important; }
.service-card__desc p, .service-card__desc { font-size: 14px; line-height: 1.7; color: var(--text-mid); }

/* ── Quiénes somos (portada) ── */
.about-teaser { --display: grid; display: grid !important; grid-template-columns: 1fr 1fr; min-height: 600px !important; }
.about-teaser__image { position: relative; overflow: hidden; background: var(--dark-2); min-height: 320px !important; }
.about-teaser__image .elementor-widget-image, .about-teaser__image .elementor-widget-container,
.about-teaser__image .elementor-widget-image > a { height: 100%; }
.about-teaser__image img { width: 100% !important; height: 100% !important; object-fit: cover; opacity: 0.7; transition: transform 0.8s var(--ease); position: absolute; inset: 0; max-width: none !important; }
.about-teaser:hover .about-teaser__image img { transform: scale(1.03); }
.about-teaser__content { background: var(--beige-light); justify-content: center !important; padding: clamp(48px, 6vw, 96px) !important; }
.about-teaser__eyebrow { margin-bottom: 0 !important; }
.about-teaser__title { margin-bottom: 24px !important; }
.about-teaser__body { margin-bottom: 36px !important; }
.about-teaser__stats { --display: grid; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px !important; margin-top: 48px !important; padding-top: 48px !important; border-top: 1px solid var(--border); }
.stat__number, .stat__number p { font-family: var(--font-serif); font-size: 44px; font-weight: 300; color: var(--dark); line-height: 1; }
.stat__number { margin-bottom: 6px !important; }
.stat__label, .stat__label p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ── Metodología (portada, fondo oscuro) ── */
.approach__header { text-align: center; max-width: 640px !important; margin: 0 auto 72px !important; align-items: center !important; }
.approach__header .h2 .elementor-heading-title, .approach__header .h2 { color: var(--white); }
.approach__grid { --display: grid; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 40px !important; }
.approach-item__step, .approach-item__step p { font-family: var(--font-serif); font-size: 60px; font-weight: 300; color: var(--beige); line-height: 1; }
.approach-item__step { margin-bottom: 20px !important; }
.approach-item__title .elementor-heading-title { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--white); line-height: 1.3; }
.approach-item__title { margin-bottom: 12px !important; }
.approach-item__desc, .approach-item__desc p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ── Casos de éxito ── */
.cases__header { --flex-direction: row; flex-direction: row !important; align-items: flex-end !important; justify-content: space-between !important; margin-bottom: 56px !important; gap: 24px !important; }
.cases__header > .e-con { width: auto !important; flex: 1 1 auto; }
.cases__header > .elementor-widget { width: auto !important; flex-shrink: 0; }
.cases__grid { --display: grid; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 2px !important; background: var(--border); }
.case-card { background: var(--white); padding: 40px 36px !important; transition: background var(--t-fast) var(--ease); }
.case-card:hover { background: var(--beige-light); }
.case-card__sector, .case-card__sector p { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-text); }
.case-card__sector { margin-bottom: 16px !important; }
.case-card__title .elementor-heading-title { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--dark); line-height: 1.3; }
.case-card__title { margin-bottom: 12px !important; }
.case-card__country p { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.case-card__country p::before {
  content: ''; width: 14px; height: 14px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Banda de llamada a la acción ── */
.cta-banner {
  --display: grid; display: grid !important; grid-template-columns: 1fr auto;
  align-items: center !important; gap: 40px !important;
  padding: clamp(56px, 7vw, 96px) var(--section-px) !important;
  max-width: var(--max-w) !important; margin: 0 auto !important;
}
.cta-banner__subtitle, .cta-banner__subtitle p { color: var(--text-mid); font-size: 16px; }
.cta-banner__subtitle { margin-top: 12px !important; }
.cta-banner__actions { --flex-direction: row; flex-direction: row !important; gap: 16px !important; width: auto !important; flex-shrink: 0; }
.cta-banner__actions > .elementor-widget { width: auto !important; }

/* ── Cabecera de páginas interiores ── */
.page-hero { background: var(--dark); padding-top: calc(var(--nav-h) + clamp(60px, 8vw, 100px)) !important; padding-bottom: clamp(60px, 8vw, 100px) !important; }
.page-hero__label { margin-bottom: 20px !important; }
.page-hero__title, .page-hero__title .elementor-heading-title { color: var(--white); max-width: 760px; }
.page-hero__subtitle { max-width: 540px; margin-top: 20px !important; }
.page-hero__subtitle, .page-hero__subtitle p { color: rgba(255,255,255,0.7); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
.page-hero--legal .page-hero__title .elementor-heading-title { font-size: clamp(40px, 5.5vw, 68px); }

/* ── Equipo: misión y visión ── */
.mission__grid { --display: grid; display: grid !important; grid-template-columns: 1fr 1fr; gap: 80px !important; align-items: start !important; }
.mission__title { margin-bottom: 20px !important; }

/* ── Valores ── */
.block-header { margin-bottom: 56px !important; max-width: 640px; }
.values__grid { --display: grid; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 0 !important; border: 1px solid var(--border); }
.value-card { padding: 40px 32px !important; border-right: 1px solid var(--border); }
.value-card:last-child { border-right: none; }
.value-card .card-icon svg { width: 32px; height: 32px; margin-bottom: 20px; }
.value-card__title .elementor-heading-title, .expertise-card__title .elementor-heading-title, .method-item__title .elementor-heading-title {
  font-family: var(--font-serif); font-weight: 400; color: var(--dark); line-height: 1.25;
}
.value-card__title .elementor-heading-title { font-size: 20px; }
.value-card__title { margin-bottom: 10px !important; }
.value-card__desc p, .value-card__desc { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* ── Áreas del equipo ── */
.team__header { margin-bottom: 64px !important; }
.team__intro { max-width: 640px; margin-top: 16px !important; }
.expertise__grid { --display: grid; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 0 !important; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.expertise-card { padding: 40px 32px !important; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background var(--t-fast) var(--ease); }
.expertise-card:hover { background: var(--beige-light); }
.expertise-card .card-icon svg { width: 28px; height: 28px; margin-bottom: 20px; }
.expertise-card__title .elementor-heading-title { font-size: 19px; }
.expertise-card__title { margin-bottom: 12px !important; }
.expertise-card__desc p, .expertise-card__desc { font-size: 13.5px; line-height: 1.7; color: var(--text-mid); }

/* ── Cómo trabajamos ── */
.method__grid { --display: grid; display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 2px !important; background: var(--border); }
.method-item { background: var(--white); padding: 48px !important; --display: grid; display: grid !important; grid-template-columns: auto 1fr; gap: 28px !important; transition: background var(--t-fast) var(--ease); }
.method-item:hover { background: var(--beige-light); }
.method-item__num, .method-item__num p { font-family: var(--font-serif); font-size: 52px; font-weight: 300; color: #9C8260; line-height: 1; }
.method-item__num { padding-top: 4px; }
.method-item__title .elementor-heading-title { font-size: 22px; }
.method-item__title { margin-bottom: 10px !important; }
.method-item__desc p, .method-item__desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* ── Contacto ── */
.contact-grid { --display: grid; display: grid !important; grid-template-columns: 1fr 1fr; gap: 80px !important; align-items: start !important; }
.contact-info__head { margin-bottom: 48px !important; }
.contact-info__item { --flex-direction: row; flex-direction: row !important; gap: 16px !important; margin-bottom: 32px !important; flex-wrap: nowrap !important; }
.contact-info__item > .elementor-widget:first-child { width: auto !important; flex-shrink: 0; }
.contact-info__item .card-icon svg { width: 20px; height: 20px; margin-top: 2px; }
.contact-info__text p { margin: 0; }
.contact-info__label, .contact-info__text p.contact-info__label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-info__value, .contact-info__text p.contact-info__value, .contact-info__text a { font-size: 15px; color: var(--dark); line-height: 1.6; }
.contact-info__text a { text-decoration: underline; text-underline-offset: 3px; }
.contact-info__link .elementor-button {
  background: transparent; border: 0; padding: 0; border-radius: 0; font-family: var(--font-sans);
  font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--dark); text-transform: none; letter-spacing: 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.contact-info__link .elementor-button:hover { color: var(--warm-text); }
.form-note { margin: 0 0 20px; }
.map-band__inner { text-align: center; padding: 40px 24px; }
.contact-more { margin-top: 48px !important; padding-top: 48px !important; border-top: 1px solid var(--border); }
.contact-more .t-label { margin-bottom: 16px !important; }
.contact-more .body-md { margin-bottom: 12px !important; }

.form-field { margin-bottom: 24px; }
.form-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 0; font-family: var(--font-sans); font-size: 15px; color: var(--dark);
  background: transparent; border: none; border-bottom: 1px solid rgba(30,28,44,0.45); border-radius: 0;
  outline: none; transition: border-color var(--t-fast) var(--ease); -webkit-appearance: none; appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); opacity: 1; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--dark); }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5768' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; background-size: 16px; padding-right: 24px; }
.form-textarea { resize: vertical; height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; }
.form-check input { margin-top: 4px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--dark); }
.form-check label { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.form-check a { color: var(--dark); text-decoration: underline; }
.form-submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 16px 32px; margin-top: 32px; font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; background: var(--dark); color: var(--white);
  border: 1px solid var(--dark); border-radius: 0; cursor: pointer; transition: background var(--t-fast) var(--ease);
}
.form-submit-btn:hover { background: var(--dark-2); }
.form-submit-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.form-status { margin-top: 16px; font-size: 14px; color: var(--text-mid); min-height: 1.5em; }

.map-band { background: var(--dark-2); min-height: 320px !important; align-items: center !important; justify-content: center !important; text-align: center; }
.map-band svg { width: 36px; height: 36px; margin: 0 auto 12px; display: block; color: rgba(255,255,255,0.65); }
.map-band p { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ── Páginas legales ── */
.legal-content { max-width: 820px !important; }
.legal-content .elementor-widget-text-editor, .legal-content p, .legal-content li, .legal-content td, .legal-content th { font-size: 15px; line-height: 1.75; color: var(--text-mid); }
.legal-content h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 400; color: var(--dark); line-height: 1.25; margin: 48px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--dark); margin: 28px 0 10px; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 14px 20px; padding: 0; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--dark); font-weight: 500; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.legal-content th, .legal-content td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--border); }
.legal-content th { color: var(--dark); font-weight: 500; background: var(--beige-light); }
.legal-table-wrap { overflow-x: auto; }

/* ── Pie ── */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding-top: clamp(56px, 6vw, 80px) !important; }
.footer__top { --display: grid; display: grid !important; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px !important; margin-bottom: 56px !important; }
.footer__logo, .footer__logo p { font-family: var(--font-serif); font-size: 26px; font-weight: 300; color: var(--white); }
.footer__logo { margin-bottom: 16px !important; }
.footer__tagline, .footer__tagline p { font-size: 14px; line-height: 1.6; max-width: 260px; color: rgba(255,255,255,0.7); }
.footer__heading, .footer__heading .elementor-heading-title { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); line-height: 1.4; }
.footer__heading { margin-bottom: 20px !important; }
.footer__links { gap: 10px !important; align-items: flex-start !important; }
.footer__links > .elementor-widget { width: auto !important; }
.footer__link .elementor-button, .footer__legal-link .elementor-button {
  background: transparent; border: 0; padding: 0; border-radius: 0; text-transform: none; letter-spacing: 0;
  font-family: var(--font-sans); font-size: 14px; font-weight: 400; line-height: 1.5;
  color: rgba(255,255,255,0.7); transition: color var(--t-fast) var(--ease); text-align: left; white-space: normal;
}
.footer__link .elementor-button:hover, .footer__link .elementor-button:focus { color: var(--white); }
.footer__address, .footer__address p { font-size: 14px; line-height: 1.8; font-style: normal; color: rgba(255,255,255,0.7); }
.footer__address a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 3px; }
.footer__address a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--border-dark); padding-top: 28px !important; padding-bottom: 32px !important;
  --flex-direction: row; flex-direction: row !important; align-items: center !important; justify-content: space-between !important;
  gap: 16px !important; flex-wrap: wrap !important;
}
.footer__bottom > .elementor-widget, .footer__bottom > .e-con { width: auto !important; }
.footer__copy, .footer__copy p { font-size: 12px; color: rgba(255,255,255,0.7); }
.footer__legal { --flex-direction: row; flex-direction: row !important; gap: 24px !important; flex-wrap: wrap !important; }
.footer__legal > .elementor-widget { width: auto !important; }
.footer__legal-link .elementor-button { font-size: 12px; color: rgba(255,255,255,0.7); }
.footer__legal-link .elementor-button:hover, .footer__legal-link .elementor-button:focus { color: var(--white); }
.footer__kd { background: var(--white); padding: 20px var(--section-px) !important; align-items: center !important; }
.footer__kd img { width: 100%; max-width: 900px !important; height: auto; margin: 0 auto; }

/* ── Aviso de cookies ── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 760px; margin: 0 auto; background: var(--white); color: var(--text-primary);
  border: 1px solid var(--border); box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  padding: 20px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-sans);
}
.cookie-banner p { flex: 1 1 320px; margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-mid); }
.cookie-banner a { color: var(--dark); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 22px; border: 1px solid var(--dark); border-radius: 0; cursor: pointer; line-height: 1.2;
}
.cookie-banner .cookie-accept { background: var(--dark); color: var(--white); }
.cookie-banner .cookie-reject { background: var(--white); color: var(--dark); }
.cookie-banner button:focus-visible { outline: 2px solid var(--warm-accent); outline-offset: 3px; }

/* ── Animaciones ── */
@keyframes ljaFadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes ljaFadeIn { to { opacity: 1; } }
@keyframes ljaLineSweep { 0% { left: -100%; } 50% { left: 100%; } 100% { left: 100%; } }

html.lja-js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
html.lja-js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s !important; }
.reveal--delay-2 { transition-delay: 0.2s !important; }
.reveal--delay-3 { transition-delay: 0.3s !important; }

@media (prefers-reduced-motion: reduce) {
  .hero__label, .hero__title, .hero__subtitle, .hero__actions, .hero__scroll { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero__scroll-line::after { animation: none !important; }
  html.lja-js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .about-teaser__image img { transition: none !important; }
}

/* ── Ajustes frente a los estilos por defecto del tema y de Elementor ── */
.elementor-template-canvas .elementor-heading-title { margin: 0; }
.elementor-template-canvas .elementor-widget-text-editor p:last-child { margin-block-end: 0; margin-bottom: 0; }
.elementor-template-canvas .elementor-widget-text-editor:not(.legal-text) p { margin-block-start: 0; }
.elementor-element.hero__title { max-width: 900px !important; }
.elementor-element.hero__subtitle { max-width: 540px !important; }
.elementor-element.page-hero__title { max-width: 760px !important; }
.elementor-element.page-hero__subtitle { max-width: 540px !important; }
.elementor-element.team__intro { max-width: 640px !important; }
.elementor-element.footer__tagline { max-width: 260px !important; }
.elementor-element.hero__content { width: auto !important; align-self: center; }
.footer__address address { font-style: normal; margin: 0; }
.contact-form .form-input, .contact-form .form-select, .contact-form .form-textarea {
  width: 100%; padding: 14px 0; font-family: var(--font-sans); font-size: 15px; line-height: 1.5; color: var(--dark);
  background-color: transparent; border: none; border-bottom: 1px solid rgba(30,28,44,0.45); border-radius: 0; box-shadow: none;
}
.contact-form .form-select { padding-right: 24px; }
.contact-form .form-input:focus, .contact-form .form-select:focus, .contact-form .form-textarea:focus { border-bottom-color: var(--dark); }
.contact-form .form-check label { display: block; }
.contact-form .form-submit-btn:hover, .contact-form .form-submit-btn:focus { background: var(--dark-2); color: var(--white); }
.hero__pause, .nav__hamburger, .cookie-banner button { text-transform: uppercase; }
.nav__hamburger { text-transform: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services__header { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--border); padding-right: 36px !important; }
  .service-card:nth-child(2n) { border-right: none; padding-right: 0 !important; }
  .service-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }
  .approach__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(2) { border-right: none; }
  .value-card:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .value-card:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
  .expertise__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-px: 24px; }
  .nav__links { display: none !important; }
  .nav__toggle { display: block; }
  .nav__mobile { display: flex !important; }

  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser__image { min-height: 320px !important; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; padding-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .service-card:last-child { border-bottom: none !important; }

  .cases__header { flex-direction: column !important; align-items: flex-start !important; }
  .cases__grid { grid-template-columns: 1fr; }

  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__actions { flex-direction: column !important; }

  .approach__grid { grid-template-columns: 1fr; gap: 32px !important; }
  .mission__grid { grid-template-columns: 1fr; gap: 48px !important; }

  .values__grid { grid-template-columns: 1fr; }
  .value-card { border-right: none !important; border-top: 1px solid var(--border) !important; }
  .value-card:first-child { border-top: none !important; }

  .method__grid { grid-template-columns: 1fr; }
  .method-item { padding: 36px 24px !important; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px !important; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer__top { grid-template-columns: 1fr; gap: 40px !important; }
  .footer__bottom { flex-direction: column !important; align-items: flex-start !important; }

  .hero__bottom { flex-direction: row; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  .expertise__grid { grid-template-columns: 1fr; }
  .nav__logo img { height: 56px; }
}

@media (max-width: 480px) {
  .about-teaser__stats { grid-template-columns: 1fr; gap: 20px !important; }
  .h1 .elementor-heading-title, .h1 { font-size: clamp(38px, 11vw, 44px); }
  .h2 .elementor-heading-title, .h2 { font-size: clamp(30px, 9vw, 36px); }
  .nav__mobile-link .elementor-button { font-size: 34px; }
  .btn .elementor-button { white-space: normal; }
}
