/*
Theme Name: WH&LOG Landing
Description: Landing de una sola página para WH&LOG Solutions México. Todo el contenido (textos, imágenes, video de fondo, logos) se edita con bloques nativos de Gutenberg.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: whlog
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
section[id], [id].wp-block-group, [id].wp-block-cover { scroll-margin-top: 80px; }

.whlog-landing > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.whlog-main { margin-block-start: 0 !important; }

.whlog-section { padding-block: clamp(4rem, 8vw, 6.5rem); }

/* Eyebrow + títulos de sección */
.whlog-eyebrow {
	font-size: .8rem; font-weight: 700; letter-spacing: .02em; margin-bottom: .25rem !important;
}
.whlog-title {
	text-transform: uppercase; font-weight: 900; line-height: 1.1;
	font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-top: 0 !important;
}
.whlog-title mark { padding: 0; }

/* ---------- Botones ---------- */
.wp-block-button.is-style-whlog-pill .wp-block-button__link,
.wp-block-button.is-style-whlog-ghost .wp-block-button__link {
	border-radius: 999px; font-weight: 600; font-size: .9rem; padding: .8rem 1.6rem;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.wp-block-button.is-style-whlog-pill .wp-block-button__link {
	background: transparent; color: var(--wp--preset--color--navy);
	border: 1.5px solid var(--wp--preset--color--orange);
}
.wp-block-button.is-style-whlog-pill .wp-block-button__link::after,
.wp-block-button.is-style-whlog-ghost .wp-block-button__link::after { content: "  →"; white-space: pre; }
.wp-block-button.is-style-whlog-pill .wp-block-button__link:hover {
	background: var(--wp--preset--color--orange); color: var(--wp--preset--color--navy);
}
.wp-block-button.is-style-whlog-ghost .wp-block-button__link {
	background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.5);
	backdrop-filter: blur(6px);
}
.wp-block-button.is-style-whlog-ghost .wp-block-button__link:hover {
	background: var(--wp--preset--color--orange); border-color: var(--wp--preset--color--orange); color: var(--wp--preset--color--navy);
}
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
/* Botón blanco sobre fondo naranja */
.whlog-on-orange .wp-block-button.is-style-whlog-pill .wp-block-button__link { background: #fff; border-color: #fff; }

/* ---------- Header ---------- */
.whlog-header-part { position: fixed; inset: 0 0 auto 0; z-index: 100; }
.admin-bar .whlog-header-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .whlog-header-part { top: 46px; } }
.whlog-header {
	padding-block: 1.1rem; transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.whlog-header.is-scrolled {
	background: var(--wp--preset--color--navy); padding-block: .6rem; box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.whlog-logo { margin: 0 !important; }
.whlog-logo img { width: 200px; height: auto; display: block; }
.whlog-header.is-scrolled .whlog-logo img { width: 160px; }
.whlog-nav { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.whlog-nav .wp-block-navigation-item__content { padding: .3rem .1rem; border-bottom: 2px solid transparent; }
.whlog-nav .wp-block-navigation-item__content:hover { border-color: var(--wp--preset--color--orange); }
.whlog-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--navy) !important; color: #fff !important;
}
.whlog-header .wp-block-button__link { padding: .55rem 1.1rem !important; font-size: .75rem !important; }
@media (max-width: 900px) { .whlog-header .whlog-header-cta { display: none; } }

/* ---------- Hero ---------- */
.whlog-hero { min-height: 100svh !important; }
.whlog-hero .wp-block-cover__inner-container { max-width: 900px; padding-top: 5rem; }
.whlog-hero h1 {
	font-weight: 900; text-transform: uppercase; line-height: 1.05;
	font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 1.25rem;
}
.whlog-hero .whlog-hero-lead { font-size: 1.05rem; font-weight: 700; }
.whlog-hero .whlog-hero-sub { font-size: .95rem; max-width: 520px; margin-inline: auto; opacity: .9; }
.whlog-rating { font-size: .8rem; }
.whlog-rating strong { color: var(--wp--preset--color--orange); letter-spacing: .1em; }
.whlog-hero-foot { margin-top: 3.5rem !important; }
.whlog-hero-foot .wp-block-social-links { gap: .5rem; }
.whlog-hero-foot .wp-social-link { background: rgba(255,255,255,.12) !important; color: #fff !important; }

/* ---------- Banda de experiencia + logos ---------- */
.whlog-band { padding-block: .7rem; font-size: .85rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.whlog-band p { margin: 0; }
.whlog-logos { padding-block: 1.75rem; border-bottom: 1px solid #eceff3; }
.whlog-logos .wp-block-gallery { align-items: center; }
.whlog-logos .wp-block-gallery .wp-block-image img { filter: grayscale(1); opacity: .65; transition: .2s; max-height: 46px; width: auto !important; object-fit: contain !important; margin-inline: auto; }
.whlog-logos .wp-block-gallery .wp-block-image img:hover { filter: none; opacity: 1; }

/* ---------- Nosotros ---------- */
.whlog-about-img img { border-radius: 18px; box-shadow: 0 30px 60px -25px rgba(14,43,76,.45); }

/* ---------- Tarjetas blancas (¿Cuándo contactarnos?) ---------- */
.whlog-cards { gap: 1.5rem !important; }
.whlog-card {
	background: #fff; border-radius: 16px; padding: 2rem 1.5rem; text-align: center; height: 100%;
	box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); transition: transform .25s ease;
}
.whlog-card:hover { transform: translateY(-6px); }
.whlog-card p { font-size: .95rem; }
.whlog-icon { margin-bottom: 1rem !important; }
.whlog-icon img { width: 56px; height: 56px; margin-inline: auto; display: block; }

/* ---------- Servicios ---------- */
.whlog-services { background-image: radial-gradient(circle at 10% 0%, rgba(244,162,29,.08), transparent 40%); }
.whlog-service { margin: 0; }
.whlog-service img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .35s ease; }
.whlog-service:hover img { transform: scale(1.03); }
.whlog-service figcaption { text-align: center; font-size: .9rem; font-weight: 600; color: var(--wp--preset--color--navy); margin-top: .75rem; }

/* ---------- Tecnología ---------- */
.whlog-tech { border-radius: 16px; overflow: hidden; }
.whlog-tech h3 { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; margin-bottom: .25rem; }
.whlog-tech p { font-size: .8rem; color: var(--wp--preset--color--orange); margin: 0; }

/* ---------- Cobertura ---------- */
.whlog-coverage { background: linear-gradient(115deg, var(--wp--preset--color--navy-dark) 0%, var(--wp--preset--color--navy-light) 100%); }
.whlog-stat { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; line-height: 1; margin: 0; }
.whlog-stat-label { text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; margin-top: .25rem !important; }
.whlog-list-dash { list-style: none; padding-left: 0; }
.whlog-list-dash li { padding-left: 1.75rem; position: relative; margin-bottom: .4rem; }
.whlog-list-dash li::before { content: ""; position: absolute; left: 0; top: .65em; width: 1.1rem; height: 3px; background: var(--wp--preset--color--orange); }

/* ---------- Testimonios ---------- */
.whlog-quote {
	border: 1px solid #e5e8ee; border-radius: 16px; padding: 2rem 1.5rem; text-align: center; height: 100%;
	background: #fff; transition: box-shadow .25s ease;
}
.whlog-quote:hover { box-shadow: 0 20px 40px -24px rgba(14,43,76,.4); }
.whlog-quote .whlog-quote-logo img { max-height: 40px; width: auto; margin-inline: auto; display: block; }
.whlog-quote .whlog-stars { color: var(--wp--preset--color--orange); letter-spacing: .15em; margin: .5rem 0 !important; }
.whlog-quote .whlog-quote-name { font-weight: 700; font-size: .9rem; margin-bottom: 0 !important; }
.whlog-quote .whlog-quote-role { font-size: .8rem; opacity: .7; margin-top: 0 !important; }
.whlog-quote .whlog-quote-text { font-size: .9rem; }

/* ---------- Sectores ---------- */
.whlog-sectors { background: linear-gradient(115deg, var(--wp--preset--color--navy-dark) 0%, var(--wp--preset--color--navy-light) 100%); }
.whlog-sector { text-align: center; }
.whlog-sector .whlog-icon img { width: 52px; height: 52px; }
.whlog-sector p { font-size: .9rem; }

/* ---------- FAQ ---------- */
.whlog-faq { max-width: 860px; margin-inline: auto; }
.whlog-faq .wp-block-details {
	background: var(--wp--preset--color--orange); color: var(--wp--preset--color--navy);
	border-radius: 14px; padding: 1.1rem 1.4rem; margin-bottom: 1rem;
}
.whlog-faq .wp-block-details summary { font-weight: 800; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.whlog-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.whlog-faq .wp-block-details summary::after {
	content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	font-size: 1.5rem; font-weight: 400; transition: transform .2s;
}
.whlog-faq .wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.whlog-faq .wp-block-details[open] { background: #fff; box-shadow: 0 16px 36px -22px rgba(14,43,76,.45); border: 2px solid var(--wp--preset--color--orange); }
.whlog-faq .wp-block-details > :not(summary) { font-size: .95rem; }

/* ---------- Contacto / formulario ---------- */
.whlog-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 760px; margin-inline: auto; }
.whlog-form .full { grid-column: 1 / -1; }
.whlog-form input, .whlog-form select, .whlog-form textarea {
	width: 100%; box-sizing: border-box; border: 1px solid #cfd6df; border-radius: 999px; background: #fff;
	padding: .8rem 1.2rem; font: inherit; font-size: .9rem; color: var(--wp--preset--color--ink);
}
.whlog-form textarea { border-radius: 18px; min-height: 110px; }
.whlog-form input:focus, .whlog-form select:focus, .whlog-form textarea:focus {
	outline: none; border-color: var(--wp--preset--color--orange); box-shadow: 0 0 0 3px rgba(244,162,29,.25);
}
.whlog-form .whlog-hp { position: absolute; left: -9999px; }
.whlog-form button {
	grid-column: 1 / -1; justify-self: center; cursor: pointer; font: inherit; font-weight: 600;
	border: 1.5px solid var(--wp--preset--color--orange); color: var(--wp--preset--color--navy);
	background: transparent; border-radius: 999px; padding: .8rem 2.4rem; transition: .2s;
}
.whlog-form button:hover { background: var(--wp--preset--color--orange); }
.whlog-form-msg { grid-column: 1 / -1; text-align: center; border-radius: 12px; padding: .9rem 1rem; font-weight: 600; }
.whlog-form-msg.ok { background: #e7f6ec; color: #17663a; }
.whlog-form-msg.err { background: #fdecec; color: #9b1c1c; }
@media (max-width: 640px) { .whlog-form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.whlog-footer { font-size: .88rem; }
.whlog-footer a { color: inherit; text-decoration: none; }
.whlog-footer a:hover { color: var(--wp--preset--color--orange); }
.whlog-footer h4 { font-size: .9rem; font-weight: 800; text-transform: uppercase; }
.whlog-footer ul { list-style: none; padding: 0; }
.whlog-footer li { margin-bottom: .35rem; }
.whlog-footer .whlog-section { padding-bottom: 2.5rem; }
.whlog-footer-bottom { padding-block: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; opacity: .75; }

/* Botón flotante de WhatsApp (editable en el pie de página) */
.whlog-wa { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; margin: 0 !important; }
.whlog-wa .wp-block-button__link {
	width: 58px; height: 58px; border-radius: 50% !important; padding: 0 !important; font-size: 0 !important;
	background: #25d366 !important; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45);
	background-image: url("assets/icons/whatsapp.svg") !important; background-repeat: no-repeat !important;
	background-position: center !important; background-size: 30px !important;
}

/* ---------- Animación de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
	.whlog-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
	.whlog-reveal.is-visible { opacity: 1; transform: none; }
}
/* En el editor siempre visible */
.editor-styles-wrapper .whlog-reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .whlog-header-part { position: static; }

/* Páginas interiores */
.whlog-page-hero { padding-top: 8rem; padding-bottom: 3rem; }
.whlog-page-hero + .whlog-landing { padding-block: 3rem; }

/* Sin separación entre el contenido y el pie */
.wp-site-blocks > footer, .wp-site-blocks > main { margin-block-start: 0 !important; }
#contacto > p { max-width: 760px; margin-inline: auto; }

/* ---------- Logos de clientes en movimiento continuo ---------- */
.whlog-logos.is-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.whlog-logos.is-marquee .wp-block-gallery {
	display: flex !important; flex-wrap: nowrap !important; width: max-content !important; max-width: none !important;
	gap: 3.5rem !important; padding-right: 3.5rem; margin: 0 !important;
	animation: whlog-marquee var(--whlog-marquee-speed, 30s) linear infinite;
}
.whlog-logos.is-marquee .wp-block-gallery > .wp-block-image { width: auto !important; flex: 0 0 auto !important; margin: 0 !important; }
.whlog-logos.is-marquee .wp-block-gallery .wp-block-image img { height: 46px; max-height: 46px; width: auto !important; }
.whlog-logos.is-marquee:hover .wp-block-gallery { animation-play-state: paused; }
@keyframes whlog-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .whlog-logos.is-marquee .wp-block-gallery { animation: none; } }

/* =========================================================
   Contenido real (presentación corporativa)
   ========================================================= */
.wp-block-heading { margin-bottom: .35rem; }
h3.wp-block-heading { font-size: 1.05rem; font-weight: 800; }
.whlog-eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .72rem; color: var(--wp--preset--color--orange); }
.whlog-photo-bg .whlog-eyebrow { color: var(--wp--preset--color--navy); }
.whlog-eyebrow--spaced { margin-top: 3rem !important; }
.whlog-quote-line { color: var(--wp--preset--color--navy); font-size: 1.05rem; }
.whlog-why .whlog-quote-line { color: var(--wp--preset--color--orange); }

/* Tarjetas: efecto al pasar el mouse (borde, sombra y elevación) */
.whlog-card, .whlog-service-card, .whlog-chip, .whlog-step, .whlog-kpi, .whlog-contact-card, .whlog-stat-box, .whlog-sector {
	border: 2px solid transparent;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.whlog-card:hover, .whlog-service-card:hover, .whlog-chip:hover, .whlog-step:hover, .whlog-contact-card:hover, .whlog-stat-box:hover {
	transform: translateY(-6px); border-color: var(--wp--preset--color--navy);
	box-shadow: 0 26px 46px -22px rgba(10,31,55,.55);
}

/* Estadísticas en "Quiénes somos" */
.whlog-stats { gap: 1rem !important; margin-block: 1.5rem !important; }
.whlog-stat-box { background: var(--wp--preset--color--cloud); border-radius: 14px; padding: 1.1rem 1.25rem; height: 100%; display: flex; align-items: center; gap: 1rem; }
.whlog-stat-box .whlog-stat { color: var(--wp--preset--color--orange); font-size: 2.6rem; margin: 0 !important; }
.whlog-stat-box .whlog-stat-label { margin: 0 !important; text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.whlog-about-img img { aspect-ratio: 4/5; object-fit: cover; object-position: top; max-height: 620px; width: 100%; }

/* Sección con foto de fondo (misión, visión y valores) */
.whlog-photo-bg .wp-block-cover__image-background { filter: blur(4px) saturate(.6); transform: scale(1.06); }
.whlog-photo-bg .whlog-title { color: #fff; }
.whlog-photo-bg .wp-block-cover__inner-container > .whlog-cards + .whlog-cards { margin-top: 1.5rem; }
.whlog-card { color: var(--wp--preset--color--ink); }
.whlog-card h3 { color: var(--wp--preset--color--navy); }
.whlog-card--row { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; align-items: start; }
.whlog-card--row .whlog-icon { grid-row: span 2; margin: 0 !important; }
.whlog-card--row h3, .whlog-card--row p { margin: 0 !important; }
.whlog-card .whlog-icon img { width: 48px; height: 48px; }

/* Servicios */
.whlog-service-card { background: #fff; border-radius: 16px; padding: 1.6rem 1.4rem; height: 100%; box-shadow: 0 14px 34px -24px rgba(14,43,76,.45); border-color: #e9edf2; }
.whlog-service-card .whlog-icon img { width: 44px; height: 44px; margin: 0; }
.whlog-service-card .whlog-icon { margin-bottom: .8rem !important; }
.whlog-service-card h3 { color: var(--wp--preset--color--navy); margin-top: 0; }
.whlog-service-card p { font-size: .9rem; margin-top: .3rem !important; color: #4a5868; }
.whlog-services .whlog-cards + .whlog-cards { margin-top: 1.5rem; }
.whlog-chips { gap: 1rem !important; }
.whlog-chip { display: flex; align-items: center; gap: .9rem; background: var(--wp--preset--color--cloud); border-radius: 14px; padding: .9rem 1.1rem; height: 100%; }
.whlog-chip > * { margin: 0 !important; }
.whlog-chip .whlog-icon img { width: 36px; height: 36px; }
.whlog-chip p { color: var(--wp--preset--color--navy); font-size: .92rem; }
.whlog-services > .wp-block-buttons { margin-top: 2.5rem !important; }

/* Proceso en 6 pasos */
.whlog-steps { gap: 1rem !important; margin-top: 2.5rem !important; }
.whlog-step { text-align: center; padding: 1.25rem .75rem; border-radius: 16px; height: 100%; }
.whlog-step:hover { background: #fff; }
.whlog-step-icon { margin: 0 auto .8rem !important; width: 92px; height: 92px; border-radius: 50%; background: var(--wp--preset--color--navy); display: flex; align-items: center; justify-content: center; }
.whlog-step-icon img { width: 44px; height: 44px; }
.whlog-steps > .wp-block-column:last-child .whlog-step-icon { background: var(--wp--preset--color--orange); }
.whlog-step-num { color: var(--wp--preset--color--orange); font-weight: 800; font-size: .85rem; margin: 0 !important; }
.whlog-step h3 { color: var(--wp--preset--color--navy); margin: .1rem 0 .3rem; }
.whlog-step p:last-child { font-size: .88rem; color: #4a5868; margin-top: 0 !important; }

/* Cobertura */
.whlog-coverage-card { border-radius: 20px; padding: clamp(1.75rem, 4vw, 2.75rem); background-image: linear-gradient(160deg, var(--wp--preset--color--navy) 0%, var(--wp--preset--color--navy-dark) 100%); }
.whlog-coverage-card .whlog-title { font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: none; }
.whlog-location { gap: 1rem !important; align-items: center !important; margin-block: 1.4rem !important; }
.whlog-location-img { margin: 0 !important; flex: 0 0 auto; }
.whlog-location-img img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; border: 3px solid var(--wp--preset--color--orange); }
.whlog-location h3 { margin: 0; font-size: 1.1rem; }
.whlog-location p { margin: .2rem 0 0 !important; font-size: .85rem; opacity: .85; }
.whlog-map img { width: 100%; height: auto; }

/* Indicadores */
.whlog-kpis { gap: 2rem !important; margin-top: 2rem !important; }
.whlog-kpi { display: grid; grid-template-columns: 54px 1fr; column-gap: 1rem; align-items: center; padding: .9rem 1rem; border-radius: 14px; }
.whlog-kpi + .whlog-kpi { margin-top: .5rem; }
.whlog-kpi:hover { background: #fff; box-shadow: 0 16px 36px -24px rgba(14,43,76,.45); border-color: var(--wp--preset--color--navy); }
.whlog-kpi > * { margin: 0 !important; }
.whlog-kpi-icon { grid-row: span 2; width: 54px; height: 54px; border-radius: 50%; background: var(--wp--preset--color--navy); display: flex; align-items: center; justify-content: center; }
.whlog-kpi:nth-child(2n) .whlog-kpi-icon { background: var(--wp--preset--color--orange); }
.whlog-kpi-icon img { width: 26px; height: 26px; }
.whlog-kpi h3 { color: var(--wp--preset--color--navy); font-size: 1rem; }
.whlog-kpi p { font-size: .85rem; color: #4a5868; }
@media (min-width: 782px) {
	.whlog-kpis-left .whlog-kpi { grid-template-columns: 1fr 54px; text-align: right; }
	.whlog-kpis-left .whlog-kpi-icon { grid-column: 2; grid-row: 1 / span 2; }
	.whlog-kpis-left .whlog-kpi h3, .whlog-kpis-left .whlog-kpi p { grid-column: 1; }
}
.whlog-kpi-img img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 14px solid #fff; box-shadow: 0 0 0 10px var(--wp--preset--color--navy), 0 0 0 20px var(--wp--preset--color--orange); width: 100%; max-width: 280px; margin: 20px auto; display: block; }

/* Por qué elegirnos */
.whlog-why .whlog-title { text-transform: none; font-size: clamp(2rem, 4vw, 3rem); }
.whlog-why-item { display: grid; grid-template-columns: 40px 1fr; column-gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.whlog-why-item:last-child { border-bottom: 0; }
.whlog-why-item > * { margin: 0 !important; }
.whlog-why-icon { grid-row: span 2; }
.whlog-why-icon img { width: 34px; height: 34px; }
.whlog-why-item p { font-size: .9rem; opacity: .85; }

/* Sectores */
.whlog-sectors .whlog-cards { gap: 1rem !important; margin-top: 1.5rem; }
.whlog-sector { border-radius: 16px; padding: 1.5rem 1rem; height: 100%; background: rgba(255,255,255,.05); }
.whlog-sector:hover { background: rgba(255,255,255,.1); border-color: var(--wp--preset--color--orange); transform: translateY(-6px); }
.whlog-sector h3 { margin-top: .4rem; }
.whlog-sector p { font-size: .85rem; opacity: .85; margin-top: .2rem !important; }

/* Contacto */
.whlog-contact-cards { max-width: 760px; margin: 1.5rem auto 2rem !important; gap: 1rem !important; }
.whlog-contact-card { background: var(--wp--preset--color--cloud); border-radius: 16px; padding: 1.4rem 1.5rem; height: 100%; }
.whlog-contact-card > * { margin: 0 !important; }
.whlog-contact-card h3 { color: var(--wp--preset--color--navy); }
.whlog-contact-role { font-size: .82rem; color: var(--wp--preset--color--orange); font-weight: 700; margin-bottom: .6rem !important; }
.whlog-contact-card a { color: var(--wp--preset--color--navy); text-decoration: none; font-weight: 600; font-size: .92rem; }
.whlog-contact-card a:hover { color: var(--wp--preset--color--orange); }
#contacto .whlog-form input, #contacto .whlog-form select, #contacto .whlog-form textarea { background: var(--wp--preset--color--cloud); border-color: transparent; }

/* Pie de página */
.whlog-footer li { margin-bottom: .8rem; line-height: 1.5; }
.whlog-footer .wp-block-social-links { margin-top: 1rem; }

/* Ajustes */
.whlog-stat-box .whlog-stat { flex: 0 0 auto; white-space: nowrap; }
.wp-block-cover.whlog-section > .wp-block-cover__inner-container { padding-inline: clamp(1rem, 4vw, 2rem); box-sizing: border-box; }
.whlog-why .whlog-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

/* Redes + presentación: esquina inferior izquierda del hero (alineado con el logo) */
@media (min-width: 782px) {
	.whlog-hero .wp-block-cover__inner-container { position: static; }
	.whlog-hero .wp-block-cover__inner-container > * { position: relative; z-index: 2; }
	.whlog-hero .wp-block-cover__inner-container > .whlog-hero-foot {
		position: absolute; z-index: 2; margin: 0 !important; justify-content: flex-start !important;
		left: max(clamp(1rem, 4vw, 2rem), calc((100% - 1320px) / 2)); bottom: 2rem;
	}
	.editor-styles-wrapper .whlog-hero .wp-block-cover__inner-container > .whlog-hero-foot { position: relative; left: auto; bottom: auto; }
}
