/* ==========================================================================
   WDA International Law Firm — estilos principales
   ========================================================================== */

:root {
	--gold: #b07c4b;
	--gold-dark: #93653a;
	--ink: #191919;
	--black: #181818;
	--navy: #1f2338;
	--navy-deep: #0f1625;
	--blue: #2f6db5;
	--light: #eff3f4;
	--line: #e3e3e3;
	--text: #3a3a3a;
	--muted: #6b6b6b;
	--serif: "PT Serif", Georgia, "Times New Roman", serif;
	--sans: "Poppins", Arial, Helvetica, sans-serif;
	--container: 1200px;
	--header-h: 120px;
	--header-h-sticky: 96px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h-sticky); }
body { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.7; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wda-icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 10px 16px; background: #fff; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }

/* Tipografía de sección ------------------------------------------------------ */
.supertitle { font-family: var(--sans); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--gold); margin: 0 0 18px; }
.section-title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; margin: 0 0 24px; }

/* Botones ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: stretch; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .06em; line-height: 1; border: 0; cursor: pointer; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--ink); color: #fff; }
.btn--gold .btn__icon { width: 56px; padding: 0 18px; height: auto; border-right: 1px solid rgba(255, 255, 255, .25); }
.btn--gold span { padding: 20px 28px 20px 24px; }
.btn--outline-light { background: transparent; color: #fff; border: 2px solid #fff; padding: 14px 34px; text-transform: uppercase; font-size: 12px; letter-spacing: .14em; }
.btn--outline-light:hover { background: #fff; color: var(--gold); }

/* Icon boxes -------------------------------------------------------------- */
.icon-box { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: #fff; width: 75px; height: 75px; font-size: 34px; flex: none; }
.icon-box--sm { width: 50px; height: 50px; font-size: 26px; }
.icon-box--xs { width: 45px; height: 45px; font-size: 22px; }
.icon-box--lg { width: 118px; height: 118px; font-size: 52px; }
.icon-box--quote { width: 105px; height: 105px; font-size: 48px; }
.icon-box--white { background: #fff; color: var(--gold); width: 98px; height: 98px; font-size: 44px; }

/* ==========================================================================
   Barra superior y cabecera
   ========================================================================== */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 60; background: rgba(15, 22, 37, .55); color: #fff; font-size: 12px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 6px 24px; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info a, .topbar__info span { color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.topbar__info .wda-icon { color: var(--gold); font-size: 13px; }
.topbar__follow { display: flex; align-items: center; gap: 10px; }
.topbar__social { display: flex; gap: 8px; }
.topbar__social a { color: var(--gold); display: inline-flex; }
.topbar__social svg { width: 12px; height: 12px; }
.wda-has-topbar .site-header { top: 34px; }

.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background-color .3s, box-shadow .3s, transform .3s; }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); padding: 0 0 0 16px; }
.site-logo { display: block; flex: none; margin-right: auto; }
.site-logo img { width: auto; height: 110px; max-width: 220px; object-fit: contain; }
.site-logo .logo-dark { display: none; }
.footer-logo .logo-text { display: block; margin-bottom: 26px; }
.logo-text { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: #fff; }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: block; padding: 0 22px; line-height: var(--header-h); font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; color: inherit; position: relative; white-space: nowrap; }
.main-nav .menu > li > a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: calc(50% - 32px); height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav .menu > li:hover > a::after,
.main-nav .menu > li.current-menu-item > a::after,
.main-nav .menu > li.current-menu-ancestor > a::after,
.main-nav .menu > li.current_page_item > a::after { transform: scaleX(1); }

.main-nav .sub-menu { list-style: none; margin: 0; padding: 12px 0; position: absolute; top: calc(50% + 34px); left: 0; min-width: 270px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.main-nav .sub-menu .sub-menu { top: -12px; left: 100%; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 26px; font-family: var(--sans); font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--ink); letter-spacing: .02em; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { color: var(--gold); }
.main-nav__phone-mobile { display: none; }

.header-phone { flex: none; white-space: nowrap; align-self: stretch; display: flex; align-items: center; padding: 0 44px 0 40px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: #fff; }
.header-phone:hover { color: var(--gold); }
body:not(.home) .header-phone { align-self: center; border: 1px solid rgba(255, 255, 255, .6); padding: 12px 26px; margin-right: 0; }

.nav-toggle { display: none; background: none; border: 0; width: 52px; height: 52px; margin-right: 12px; cursor: pointer; color: inherit; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 14px; width: 24px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav-toggle__bar { top: 25px; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; left: 0; }
.nav-toggle__bar::before { top: -8px; }
.nav-toggle__bar::after { top: 8px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

/* Cabecera fija al hacer scroll */
.site-header.is-sticky { position: fixed; top: 0 !important; background: #fff; color: var(--ink); box-shadow: 0 4px 24px rgba(0, 0, 0, .08); animation: wdaSlideDown .4s var(--ease); }
.site-header.is-sticky .site-header__inner { height: var(--header-h-sticky); }
.site-header.is-sticky .main-nav .menu > li > a { line-height: var(--header-h-sticky); }
.site-header.is-sticky .main-nav .menu > li > a::after { bottom: calc(50% - 24px); }
.site-header.is-sticky .main-nav .sub-menu { top: calc(50% + 26px); }
.site-header.is-sticky .site-logo img { height: 88px; }
.site-header.is-sticky .site-logo .logo-light { display: none; }
.site-header.is-sticky .site-logo .logo-dark { display: block; }
.site-header.is-sticky .logo-text { color: var(--ink); }
.site-header.is-sticky .header-phone { align-self: stretch; background: var(--ink); color: #fff; border: 0; padding: 0 44px 0 40px; }
.site-header.is-sticky .header-phone:hover { background: var(--gold); }
@keyframes wdaSlideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* ==========================================================================
   Portada
   ========================================================================== */

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink) var(--hero-img, none) center / cover no-repeat; color: #fff; overflow: hidden; display: flex; }
.hero[style*="--hero-img"]::before { content: ""; position: absolute; inset: 0; background: rgba(25, 25, 25, .82); }
.hero__slides { position: relative; flex: 1; display: grid; }
.hero__slide { grid-area: 1 / 1; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 140px 16.4%; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__content { position: relative; max-width: 760px; padding-right: 24px; }
.hero__square { position: absolute; left: -57px; top: 12px; width: 130px; height: 130px; background: var(--gold); z-index: 0; transform: translateY(20px); opacity: 0; transition: transform 1.1s var(--ease) .2s, opacity 1.1s .2s; }
.hero__slide.is-active .hero__square { transform: none; opacity: 1; }
.hero__super, .hero__title, .hero__text, .hero__content .btn { position: relative; z-index: 1; }
.hero__super { font-family: var(--sans); font-size: clamp(14px, 1.3vw, 18px); text-transform: uppercase; margin: 0 0 30px; color: #fff; }
.hero__title { font-size: clamp(38px, 3.6vw, 56px); line-height: 1.18; color: #fff; margin: 0 0 40px; }
.hero__text { font-family: var(--sans); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; max-width: 720px; margin: 0 0 36px; }
.hero__slide .hero__title, .hero__slide .hero__text, .hero__slide .hero__super, .hero__slide .btn { transform: translateY(24px); opacity: 0; transition: transform .9s var(--ease), opacity .9s; }
.hero__slide.is-active .hero__super { transform: none; opacity: 1; transition-delay: .15s; }
.hero__slide.is-active .hero__title { transform: none; opacity: 1; transition-delay: .3s; }
.hero__slide.is-active .hero__text { transform: none; opacity: 1; transition-delay: .45s; }
.hero__slide.is-active .btn { transform: none; opacity: 1; transition-delay: .6s; }
.hero__nav { position: absolute; left: 0; bottom: 0; background: var(--gold); display: flex; align-items: center; gap: 14px; padding: 38px 30px; z-index: 2; }
.hero__dot { width: 14px; height: 14px; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; transition: background-color .3s, transform .3s; }
.hero__dot.is-active { background: #fff; transform: scale(1.25); }

/* Bloques divididos (Quiénes somos / Testimonio) */
.split { display: grid; grid-template-columns: 1fr 1.12fr; min-height: 720px; }
.split__text { display: flex; align-items: center; padding: 120px 48px; }
.split__text--right { justify-content: flex-end; text-align: right; }
.split__text-inner { max-width: 520px; position: relative; }
.split__lead { font-family: var(--sans); font-size: 14px; line-height: 1.75; color: var(--ink); margin-bottom: 56px; }
.split__media { position: relative; background: var(--light) var(--img, none) center / cover no-repeat; min-height: 420px; }
.split--about .split__media { margin-top: -0px; }
.icon-box--tl { position: absolute; left: -105px; top: -40px; width: 105px; height: 80px; }
.split--about .icon-box--tl { left: -105px; top: 0; }
.split--testimonial .icon-box--quote { position: absolute; left: -105px; top: 100px; }
.testimonial { margin: 0; }
.testimonial p { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; color: var(--ink); margin: 0 0 34px; }
.testimonial__author { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.testimonial__author cite { display: block; font-style: normal; font-family: var(--sans); font-size: 14px; text-transform: uppercase; color: var(--gold); letter-spacing: .04em; }
.testimonial__author small { font-size: 13px; color: var(--ink); }
.testimonial__author img { width: 64px; height: 64px; object-fit: cover; }

/* Servicios */
.services { padding: 0 0 110px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; max-width: 1100px; }
.service-card { display: flex; flex-direction: column; background: var(--light); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, .1); color: var(--ink); }
.service-card__media { position: relative; aspect-ratio: 320 / 180; background: #d9dde0; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__media .icon-box { position: absolute; left: 0; bottom: 0; }
.service-card__body { padding: 30px 28px 34px; }
.service-card__title { font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.25; margin: 0 0 14px; }
.service-card__body p { font-size: 14px; line-height: 1.7; margin: 0; }

/* Experiencia + cifras */
.experience { display: grid; grid-template-columns: 1fr 1fr; align-items: center; position: relative; }
.experience__panel { position: relative; color: #fff; background: var(--blue) var(--img, none) center / cover no-repeat; margin-top: 80px; padding: 110px 64px 110px 16.5vw; z-index: 1; }
.experience__panel::before { content: ""; position: absolute; left: 0; right: -14.5%; top: -80px; height: 80px; background: inherit; background-position: top center; filter: brightness(.9); }
.experience__inner { max-width: 470px; }
.experience .supertitle { color: #fff; }
.experience .section-title { color: #fff; margin-bottom: 34px; }
.feature { display: flex; gap: 26px; margin-top: 26px; }
.feature__icon { font-size: 40px; line-height: 1; padding-top: 4px; }
.feature__title { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; color: #fff; margin: 0 0 6px; }
.feature p { font-size: 14px; line-height: 1.65; margin: 0; color: rgba(255, 255, 255, .9); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin: 80px 0 0 3.5vw; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 20px 30px; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat__icon { color: var(--gold); font-size: 46px; line-height: 1; margin-bottom: 4px; }
.stat__num { font-size: clamp(34px, 3vw, 42px); line-height: 1.2; color: var(--ink); }
.stat__label { font-family: var(--sans); font-size: 12px; text-transform: uppercase; margin-top: 10px; }

/* Equipo */
.team { padding: 110px 0 120px; }
.team__title { position: relative; text-align: center; font-size: clamp(28px, 3vw, 42px); line-height: 1.3; max-width: 1000px; margin: 0 auto 70px; }
.team__title .accent, .accent { color: var(--gold); }
.team__square { position: absolute; left: 50%; top: -30px; width: 120px; height: 120px; margin-left: -60px; background: var(--light); z-index: -1; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1180px; margin: 0 auto; }
.member__photo { position: relative; aspect-ratio: 1 / .93; background: var(--light); margin-bottom: 40px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo .icon-box { position: absolute; left: 22px; bottom: -22px; }
.member__name { font-size: 16px; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; padding-left: 22px; }
.member__role { font-size: 14px; margin: 0 0 10px; padding-left: 22px; }
.member__links { display: flex; gap: 10px; padding-left: 22px; }
.member__links a { color: var(--muted); display: inline-flex; }
.member__links a:hover { color: var(--gold); }
.member__links svg { width: 14px; height: 14px; }

/* Formulario */
.contact-form-section { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.contact-form-section__media { position: relative; background: var(--light) var(--img, none) center top / cover no-repeat; margin-left: 98px; margin-right: -6%; min-height: 660px; }
.contact-form-section__media .icon-box { position: absolute; left: -98px; top: 34px; }
.contact-form-section__panel { background: var(--gold); color: #fff; margin-top: 118px; padding: 90px 9% 90px 7%; position: relative; z-index: 1; }
.contact-form-section__inner { max-width: 600px; }
.contact-form-section .supertitle { color: #fff; }
.contact-form-section .section-title { color: #fff; font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 26px; }
.wda-form { display: grid; gap: 14px; }
.wda-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wda-form input[type="text"], .wda-form input[type="email"], .wda-form input[type="tel"], .wda-form select, .wda-form textarea,
.contact-form-section .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .contact-form-section .wpcf7 select, .contact-form-section .wpcf7 textarea {
	width: 100%; background: rgba(255, 255, 255, .16); border: 0; border-radius: 0; color: #fff; font-family: var(--serif); font-size: 14px; padding: 16px 14px; outline: none; transition: background-color .2s;
}
.wda-form select, .contact-form-section .wpcf7 select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.wda-form select option, .contact-form-section .wpcf7 select option { color: var(--ink); }
.wda-form textarea, .contact-form-section .wpcf7 textarea { min-height: 86px; resize: vertical; }
.wda-form ::placeholder, .contact-form-section .wpcf7 ::placeholder { color: rgba(255, 255, 255, .72); }
.wda-form input:focus, .wda-form select:focus, .wda-form textarea:focus,
.contact-form-section .wpcf7 input:focus, .contact-form-section .wpcf7 select:focus, .contact-form-section .wpcf7 textarea:focus { background-color: rgba(255, 255, 255, .26); }
.wda-form__check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-top: 6px; padding-left: 8px; }
.wda-form__check input { margin-top: 6px; accent-color: var(--ink); }
.wda-form a, .contact-form-section .wpcf7 a { color: #fff; text-decoration: underline; }
.wda-form__legal, .contact-form-section .wpcf7 .legal { font-size: 11px; line-height: 1.6; color: rgba(255, 255, 255, .85); margin: 0 0 22px; }
.wda-form .btn { justify-self: start; }
.wda-form__hp { position: absolute; left: -9999px; }
.contact-form-section .wpcf7 input[type="submit"] { background: transparent; color: #fff; border: 2px solid #fff; padding: 14px 34px; text-transform: uppercase; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; cursor: pointer; }
.contact-form-section .wpcf7 input[type="submit"]:hover { background: #fff; color: var(--gold); }
.contact-form-section .wpcf7-not-valid-tip { color: #fff; font-size: 12px; }
.contact-form-section .wpcf7 form .wpcf7-response-output { border-color: #fff; color: #fff; margin: 16px 0 0; }
.form-notice { padding: 14px 18px; margin: 0 0 18px; font-size: 14px; }
.form-notice--ok { background: rgba(255, 255, 255, .95); color: var(--ink); }
.form-notice--error { background: var(--ink); color: #fff; }

/* Clientes */
.clients { padding: 90px 0 110px; }
.clients__title { font-family: var(--sans); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.clients__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.clients__grid li { background: #fafafa; aspect-ratio: 2 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.clients__grid img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(0); transition: transform .4s var(--ease); }
.clients__grid li:hover img { transform: scale(1.04); }

/* Bloque de contacto */
.contact-block { display: grid; grid-template-columns: 1fr 1.18fr; min-height: 660px; }
.contact-block__map { display: block; background: var(--light) var(--img, none) center / cover no-repeat; min-height: 400px; }
.contact-block__info { position: relative; display: flex; align-items: center; padding: 120px 6% 100px 6%; }
.contact-block__info > .icon-box { position: absolute; left: 0; top: 0; }
.contact-block .section-title { font-size: clamp(32px, 3.2vw, 48px); margin-bottom: 46px; }
.contact-items { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 50px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-item__label { font-family: var(--sans); font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--gold); margin: 0 0 2px; }
.contact-item a { color: var(--ink); font-size: 14px; line-height: 1.6; }
.contact-item a:hover { color: var(--gold); }

/* ==========================================================================
   Pie de página
   ========================================================================== */
.site-footer { background: var(--navy) var(--footer-img, none) center / cover no-repeat; color: #fff; padding: 120px 0 100px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.1fr; gap: 40px; align-items: start; }
.footer-logo { display: inline-block; }
.footer-logo img { height: auto; width: 230px; max-width: 100%; margin-bottom: 26px; }
.footer-contact { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.footer-contact .wda-icon { color: var(--gold); margin-top: 2px; font-size: 14px; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--gold); }
.footer-social-label { font-size: 13px; margin: 0 0 10px; }
.social--boxed { display: flex; gap: 8px; }
.social--boxed a { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: #fff; }
.social--boxed a:hover { background: #fff; color: var(--gold); }
.social--boxed svg { width: 14px; height: 14px; }
.footer-title { font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin: 0; }
.footer-menu a { display: inline-block; min-width: 150px; color: #fff; font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .45); }
.footer-menu a:hover { color: var(--gold); border-color: var(--gold); }
.btn-phone { display: inline-flex; align-items: stretch; border: 1px solid var(--gold); color: #fff; margin-bottom: 36px; }
.btn-phone__icon { display: flex; align-items: center; justify-content: center; width: 50px; background: var(--gold); font-size: 18px; }
.btn-phone__text { padding: 14px 26px; font-family: var(--sans); font-weight: 600; letter-spacing: .14em; font-size: 14px; }
.btn-phone:hover { color: var(--gold); }
.copyright { font-size: 12px; line-height: 1.6; margin: 0; }

/* ==========================================================================
   Páginas interiores
   ========================================================================== */
.page-hero { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--navy-deep) var(--hero-img, none) center / cover no-repeat; padding: calc(var(--header-h) + 50px) 0 70px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 22, 37, .72) 0%, rgba(15, 22, 37, .45) 100%); }
.single .page-hero { min-height: 620px; }
.page-hero__inner { position: relative; max-width: 900px; }
.page-hero__super { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--gold); background: rgba(255, 255, 255, .12); padding: 14px 16px; margin: 0 0 12px; }
.page-hero__title { color: #fff; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.2; margin: 0; }
.page-hero__meta { font-family: var(--sans); font-weight: 600; font-size: 16px; margin: 26px 0 0; }

.layout { padding-top: 90px; padding-bottom: 110px; }
.layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 70px; }
.layout--page { max-width: 948px; }

/* Contenido */
.entry-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; color: var(--ink); }
.entry-content h3 { font-size: 24px; margin-top: 1.5em; color: var(--ink); }
.entry-content h4 { font-size: 19px; margin-top: 1.4em; color: var(--ink); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--gold); }
.entry-content blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--gold); font-size: 21px; line-height: 1.5; color: var(--ink); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--light); font-family: var(--sans); font-size: 13px; font-weight: 600; }
.entry-content img { margin-bottom: 1em; }
.entry-content .wp-block-button__link { background: var(--gold); color: #fff; border-radius: 0; font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: .06em; padding: 18px 30px; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--ink); }
.entry-content .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.entry-tags a { font-family: var(--sans); font-size: 11px; text-transform: uppercase; padding: 6px 12px; background: var(--light); color: var(--ink); }
.entry-tags a:hover { background: var(--gold); color: #fff; }

/* Listado de entradas */
.post-list { display: grid; gap: 50px; }
.post-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; align-items: start; }
.post-card:not(:has(.post-card__media)) { grid-template-columns: 1fr; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--light); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-meta { font-family: var(--sans); font-size: 11px; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.post-meta__sep { margin: 0 6px; }
.post-card__title { font-size: 24px; line-height: 1.3; margin: 0 0 12px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt { font-size: 15px; color: var(--text); }
.post-card__excerpt p { margin: 0 0 14px; }
.read-more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.read-more .wda-icon { font-size: 16px; transition: transform .25s; }
.read-more:hover .wda-icon { transform: translateX(4px); }
.archive-description { margin-bottom: 40px; color: var(--text); }

.pagination { margin-top: 60px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; font-family: var(--sans); font-size: 13px; background: var(--light); color: var(--ink); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--gold); color: #fff; }

.post-navigation { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 30px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { display: block; color: var(--ink); }
.post-navigation .nav-label { display: block; font-family: var(--sans); font-size: 11px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.post-navigation .nav-title { font-size: 17px; line-height: 1.4; }
.post-navigation a:hover .nav-title { color: var(--gold); }

/* Barra lateral */
.sidebar .widget { margin-bottom: 50px; }
.widget-title, .sidebar .wp-block-heading { font-size: 24px; margin: 0 0 22px; }
.search-form { display: flex; }
.search-field { flex: 1; min-width: 0; border: 0; background: var(--light); padding: 12px 14px; font-size: 14px; outline: none; }
.search-submit { width: 46px; border: 0; background: var(--gold); color: #fff; cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.search-submit:hover { background: var(--ink); }
.recent-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.recent-posts li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: start; }
.recent-posts__thumb { display: block; aspect-ratio: 1.7 / 1; overflow: hidden; background: var(--light); margin-top: 18px; }
.recent-posts__thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-posts time { display: block; font-family: var(--sans); font-size: 10px; text-transform: uppercase; color: var(--muted); }
.recent-posts__title { color: var(--ink); font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-posts__title:hover { color: var(--gold); }
.sidebar ul:not(.recent-posts) { list-style: none; padding: 0; margin: 0; }
.sidebar ul:not(.recent-posts) li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sidebar ul:not(.recent-posts) a { color: var(--ink); }
.sidebar ul:not(.recent-posts) a:hover { color: var(--gold); }

/* Comentarios */
.comments { margin-top: 70px; }
.comments__title, .comment-reply-title { font-size: 26px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list .children { list-style: none; padding-left: 40px; }
.comment-body { padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.comment-author { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 14px; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-family: var(--sans); font-size: 11px; text-transform: uppercase; margin: 4px 0 10px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; background: var(--light); border: 0; padding: 14px; font-size: 15px; }
.comment-form .submit { background: var(--gold); color: #fff; border: 0; padding: 16px 30px; font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; cursor: pointer; }
.comment-form .submit:hover { background: var(--ink); }

.not-found { text-align: center; }
.not-found .search-form { max-width: 460px; margin: 0 auto 40px; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.main-nav .menu > li > a { padding: 0 14px; }
	.main-nav .menu > li > a::after { left: 14px; right: 14px; }
	.header-phone, .site-header.is-sticky .header-phone { padding: 0 26px; }
	.hero__slide { padding-left: 10%; }
}

@media (max-width: 1080px) {
	:root { --header-h: 96px; --header-h-sticky: 80px; }
	.site-logo img { height: 84px; }
	.site-header.is-sticky .site-logo img { height: 70px; }
	.header-phone { display: none; }
	.nav-toggle { display: block; }
	.main-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--ink); color: #fff; padding: 110px 30px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); z-index: -1; box-shadow: -20px 0 50px rgba(0, 0, 0, .45); }
	.nav-open .main-nav { transform: none; }
	.nav-open .nav-toggle { color: #fff; }
	.nav-open .site-header.is-sticky .site-logo .logo-dark { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; }
	.main-nav .menu > li > a, .site-header.is-sticky .main-nav .menu > li > a { line-height: 1.4; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .menu > li.current-menu-item > a { color: var(--gold); }
	.main-nav .sub-menu, .site-header.is-sticky .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 6px 0 10px 14px; min-width: 0; }
	.main-nav .sub-menu a { color: rgba(255, 255, 255, .8); padding: 8px 0; }
	.main-nav__phone-mobile { display: block; margin-top: 30px; border: 1px solid var(--gold); color: #fff; text-align: center; padding: 14px; font-family: var(--sans); font-weight: 600; letter-spacing: .14em; font-size: 13px; }
	body.nav-open { overflow: hidden; }

	.hero__slide { padding: calc(var(--header-h) + 40px) 32px 140px 60px; }
	.hero__square { left: -36px; width: 90px; height: 90px; }
	.split, .experience, .contact-form-section, .contact-block { grid-template-columns: 1fr; }
	.split__text, .split__text--right { justify-content: flex-start; text-align: left; padding: 90px 32px 70px; }
	.split__text-inner { max-width: 680px; }
	.split__media { min-height: 380px; }
	.split--about .split__media { order: -1; }
	.icon-box--tl, .split--about .icon-box--tl { left: 0; top: auto; bottom: -40px; }
	.split--testimonial .icon-box--quote { left: 0; top: auto; bottom: 0; width: 80px; height: 80px; font-size: 38px; }
	.testimonial__author { justify-content: flex-start; flex-direction: row-reverse; }
	.services { padding-top: 40px; }
	.services__grid { grid-template-columns: 1fr 1fr; }
	.experience__panel { margin-top: 0; padding: 80px 32px; }
	.experience__panel::before { display: none; }
	.stats { margin: 60px auto; padding: 0 24px; width: 100%; }
	.team__grid { grid-template-columns: repeat(2, 1fr); }
	.contact-form-section__media { margin: 0; min-height: 380px; }
	.contact-form-section__media .icon-box { left: 0; top: 0; }
	.contact-form-section__panel { margin-top: 0; padding: 70px 32px; }
	.contact-block__map { min-height: 320px; }
	.contact-block__info { padding: 140px 32px 80px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; align-items: start; }
	.layout--sidebar { grid-template-columns: 1fr; gap: 50px; }
	.wda-has-topbar .site-header { top: 0; }
	.topbar { display: none; }
}

@media (max-width: 680px) {
	body { font-size: 15px; }
	.hero__slide { padding: calc(var(--header-h) + 30px) 24px 150px 40px; }
	.hero__square { left: -26px; width: 64px; height: 64px; }
	.hero__nav { padding: 26px 22px; }
	.services__grid, .team__grid, .contact-items, .site-footer__grid, .wda-form__row { grid-template-columns: 1fr; }
	.clients__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.stat { padding: 18px 8px 24px; }
	.post-card { grid-template-columns: 1fr; gap: 18px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.page-hero { min-height: 340px; }
	.single .page-hero { min-height: 460px; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; }
	.site-footer { padding: 80px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Widgets de bloques en la barra lateral */
.sidebar .wp-block-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.sidebar .wp-block-search__inside-wrapper { display: flex; border: 0; padding: 0; }
.sidebar .wp-block-search__input { flex: 1; min-width: 0; border: 0; background: var(--light); padding: 12px 14px; font-size: 14px; border-radius: 0; outline: none; }
.sidebar .wp-block-search__button { margin: 0; border: 0; border-radius: 0; background: var(--gold); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 0 16px; cursor: pointer; }
.sidebar .wp-block-search__button:hover { background: var(--ink); }
.sidebar .wp-block-group > .wp-block-heading, .sidebar h2.wp-block-heading { font-size: 24px; margin: 0 0 22px; }
.sidebar ol { padding-left: 0; list-style: none; }
.sidebar .wp-block-latest-comments { padding: 0; }
.sidebar .wp-block-latest-comments__comment { font-size: 15px; line-height: 1.5; padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
