/*
Theme Name:   Imacgo (Astra Child)
Theme URI:    https://imacgo.com/
Description:  Tema hijo a medida para Imacgo Multiservicios. Diseño propio, ligero y bilingüe.
Author:       Master Informática
Author URI:   https://gmaster.eu/
Template:     astra
Version:      1.0.0
Text Domain:  imacgo-astra-child
*/

/* ===== Fuente ===== */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("assets/fonts/manrope-latin-wght-normal.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;
}

/* ===== Variables ===== */
:root {
	--img-navy: #0b1d33;
	--img-navy-2: #12304f;
	--img-blue: #1597e5;
	--img-blue-dark: #0b74b8;
	--img-cyan: #3ec7f4;
	--img-sky: #eaf6fd;
	--img-bg: #f6f9fc;
	--img-text: #23324a;
	--img-muted: #5d6b80;
	--img-line: #e2e9f1;
	--img-white: #fff;
	--img-green: #25d366;
	--img-radius: 18px;
	--img-radius-sm: 12px;
	--img-shadow: 0 10px 30px rgba(11, 29, 51, .08);
	--img-shadow-lg: 0 24px 60px rgba(11, 29, 51, .16);
	--img-max: 1200px;
	--img-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ===== Base ===== */
html { scroll-behavior: smooth; }
body,
button,
input,
select,
textarea {
	font-family: var(--img-font);
}
body {
	color: var(--img-text);
	background: var(--img-white);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
	font-family: var(--img-font);
	color: var(--img-navy);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.15;
	text-transform: none;
}
a { color: var(--img-blue-dark); }
a:hover, a:focus { color: var(--img-blue); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--img-cyan); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Astra: quitar márgenes del contenido en páginas */
.page .site-content > .ast-container,
.ast-page-builder-template .site-content > .ast-container { max-width: 100%; padding: 0; }
.page .entry-content > *:not(.alignfull):not(.img-section):not(.img-hero):not(.img-page-hero) { margin-left: auto; margin-right: auto; }
.ast-page-builder-template .entry-header { display: none; }
.page .entry-content { margin: 0; }
.page article.ast-article-single,
.ast-page-builder-template .site-main > article { margin: 0; padding: 0; }
.entry-content p:last-child { margin-bottom: 0; }

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

/* ===== Botones ===== */
.img-btn,
.entry-content .img-btn,
.wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: 15px 28px;
	border-radius: 999px;
	background: var(--img-blue);
	color: var(--img-white);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid var(--img-blue);
	box-shadow: 0 10px 24px rgba(21, 151, 229, .28);
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
	cursor: pointer;
}
.img-btn:hover, .img-btn:focus,
.wpcf7 input[type="submit"]:hover {
	background: var(--img-blue-dark);
	border-color: var(--img-blue-dark);
	color: var(--img-white);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(21, 151, 229, .36);
}
.img-btn .img-ico { width: 20px; height: 20px; }
.img-btn-ghost, .entry-content .img-btn-ghost {
	background: transparent;
	color: var(--img-white);
	border-color: rgba(255, 255, 255, .55);
	box-shadow: none;
}
.img-btn-ghost:hover, .img-btn-ghost:focus { background: var(--img-white); color: var(--img-navy); border-color: var(--img-white); }
.img-btn-wa, .entry-content .img-btn-wa { background: var(--img-green); border-color: var(--img-green); box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.img-btn-wa:hover, .img-btn-wa:focus { background: #1ebe5a; border-color: #1ebe5a; }
.img-btn-light, .entry-content .img-btn-light { background: var(--img-white); color: var(--img-navy); border-color: var(--img-white); box-shadow: var(--img-shadow); }
.img-btn-light:hover, .img-btn-light:focus { background: var(--img-sky); color: var(--img-navy); border-color: var(--img-sky); }
.img-btn-sm { padding: 10px 20px; font-size: 15px; box-shadow: none; }
.img-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ===== Cabecera ===== */
.img-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--img-line);
}
.admin-bar .img-header { top: 32px; }
.img-header-inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.img-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--img-navy); flex-shrink: 0; }
.img-brand:hover { color: var(--img-navy); }
.img-brand img { width: 52px; height: 52px; border-radius: 50%; background: #000; }
.img-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.img-brand-text strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.img-brand-text small { font-size: 12.5px; color: var(--img-muted); font-weight: 600; letter-spacing: .02em; }
.img-brand-light, .img-brand-light:hover { color: var(--img-white); }
.img-brand-light small { color: rgba(255, 255, 255, .65); }

.img-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.img-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.img-nav > ul > li { position: relative; display: flex; align-items: center; }
.img-nav > ul > li > a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--img-navy); font-weight: 700; font-size: 15.5px; text-decoration: none; }
.img-nav > ul > li > a:hover, .img-nav > ul > li > a.is-active { color: var(--img-blue-dark); background: var(--img-sky); }
.img-sub-toggle { background: none; border: 0; padding: 4px; margin-left: -10px; color: var(--img-navy); cursor: pointer; display: inline-flex; }
.img-sub-toggle .img-ico { width: 16px; height: 16px; transition: transform .2s; }
.img-sub {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 270px;
	list-style: none;
	margin: 0;
	padding: 10px;
	background: var(--img-white);
	border: 1px solid var(--img-line);
	border-radius: var(--img-radius-sm);
	box-shadow: var(--img-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .18s ease;
}
.img-sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover .img-sub, .has-sub:focus-within .img-sub, .has-sub.is-open .img-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .img-sub-toggle .img-ico, .has-sub.is-open .img-sub-toggle .img-ico { transform: rotate(180deg); }
.img-sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--img-navy); font-weight: 600; text-decoration: none; }
.img-sub a:hover { background: var(--img-sky); color: var(--img-blue-dark); }
.img-sub .img-ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--img-sky); color: var(--img-blue-dark); flex-shrink: 0; }
.img-nav-extra { display: flex; align-items: center; gap: 14px; }
.img-lang { display: inline-flex; background: var(--img-bg); border: 1px solid var(--img-line); border-radius: 999px; padding: 3px; }
.img-lang a { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--img-muted); text-decoration: none; }
.img-lang a.is-current { background: var(--img-navy); color: var(--img-white); }
.img-header-phone { display: none; align-items: center; gap: 8px; font-weight: 800; color: var(--img-navy); text-decoration: none; }
.img-header-phone .img-ico { width: 20px; height: 20px; color: var(--img-blue); }
.img-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--img-line); border-radius: 12px; background: var(--img-white); cursor: pointer; position: relative; padding: 0; }
.img-burger-bars, .img-burger-bars::before, .img-burger-bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--img-navy); border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
.img-burger-bars { top: 22px; }
.img-burger-bars::before { top: -7px; left: 0; right: 0; }
.img-burger-bars::after { top: 7px; left: 0; right: 0; }
.img-burger[aria-expanded="true"] .img-burger-bars { background: transparent; }
.img-burger[aria-expanded="true"] .img-burger-bars::before { transform: translateY(7px) rotate(45deg); }
.img-burger[aria-expanded="true"] .img-burger-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.img-header-inner { min-height: 68px; gap: 12px; }
	.img-burger { display: block; margin-left: 0; }
	.img-header-phone { display: inline-flex; margin-left: auto; }
	.img-header-phone span { display: none; }
	.img-header-phone .img-ico { width: 24px; height: 24px; }
	.img-nav {
		position: fixed;
		top: 68px;
		left: 0;
		right: 0;
		bottom: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 18px 20px 120px;
		background: var(--img-white);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .25s ease;
		margin: 0;
	}
	.admin-bar .img-nav { top: 114px; }
	.img-nav.is-open { transform: translateX(0); }
	.img-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.img-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--img-line); }
	.img-nav > ul > li > a { flex: 1; padding: 16px 6px; font-size: 18px; background: none !important; }
	.img-sub-toggle { margin: 0; padding: 12px; }
	.img-sub { position: static; display: none; min-width: 0; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; }
	.has-sub.is-open .img-sub { display: block; }
	.has-sub:hover .img-sub { transform: none; }
	.img-nav-extra { flex-direction: column; align-items: stretch; }
	.img-nav-extra .img-btn { padding: 15px 20px; font-size: 16px; }
	.img-lang { align-self: flex-start; }
	body.img-menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .img-header { top: 46px; } .admin-bar .img-nav { top: 114px; } }
@media (max-width: 480px) { .img-brand-text small { display: none; } .img-brand img { width: 44px; height: 44px; } }

/* ===== Secciones ===== */
.img-section { padding: 96px 0; }
.img-section-tight { padding: 64px 0; }
.img-bg-soft { background: var(--img-bg); }
.img-bg-navy { background: var(--img-navy); color: rgba(255, 255, 255, .82); }
.img-bg-navy h2, .img-bg-navy h3 { color: var(--img-white); }
.img-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--img-sky);
	color: var(--img-blue-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.img-bg-navy .img-eyebrow { background: rgba(62, 199, 244, .14); color: var(--img-cyan); }
.img-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.img-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 16px; }
.img-head p { font-size: 18.5px; color: var(--img-muted); margin: 0; }
.img-bg-navy .img-head p { color: rgba(255, 255, 255, .75); }
.img-head-left { text-align: left; margin-left: 0; }

/* ===== Hero ===== */
.img-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(1200px 600px at 85% -10%, rgba(62, 199, 244, .25), transparent 60%), linear-gradient(160deg, #0b1d33 0%, #0f2b4a 60%, #0b1d33 100%);
	color: rgba(255, 255, 255, .85);
	padding: 88px 0 100px;
}
.img-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: var(--img-white); clip-path: ellipse(70% 100% at 50% 100%); }
.img-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.img-hero h1 { color: var(--img-white); font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 22px; }
.img-hero h1 span { color: var(--img-cyan); }
.img-hero .img-lead { font-size: 19.5px; max-width: 590px; margin: 0; }
.img-hero .img-eyebrow { background: rgba(255, 255, 255, .1); color: var(--img-white); }
.img-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 30px 0 0; padding: 0; font-size: 15px; font-weight: 600; }
.img-trust li { display: flex; align-items: center; gap: 8px; }
.img-trust li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--img-cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%230b1d33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; flex-shrink: 0; }
.img-hero-media { position: relative; }
.img-hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.img-hero-collage img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--img-radius); box-shadow: var(--img-shadow-lg); }
.img-hero-collage img:nth-child(1) { height: 300px; grid-row: span 2; height: 100%; min-height: 456px; }
.img-hero-card {
	position: absolute;
	left: -28px;
	bottom: 28px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	background: var(--img-white);
	color: var(--img-navy);
	border-radius: var(--img-radius-sm);
	box-shadow: var(--img-shadow-lg);
	font-weight: 700;
	line-height: 1.3;
	max-width: 290px;
}
.img-hero-card .img-ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--img-green); color: var(--img-white); flex-shrink: 0; }
.img-hero-card small { display: block; color: var(--img-muted); font-weight: 600; }

/* Cabecera de páginas interiores */
.img-page-hero {
	position: relative;
	background: linear-gradient(160deg, #0b1d33 0%, #12304f 100%);
	color: rgba(255, 255, 255, .85);
	padding: 72px 0 80px;
	overflow: hidden;
}
.img-page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: var(--img-hero-bg) center/cover no-repeat; opacity: .28; }
.img-page-hero .img-container { position: relative; }
.img-page-hero h1 { color: var(--img-white); font-size: clamp(34px, 4.6vw, 54px); margin: 0 0 16px; max-width: 820px; }
.img-page-hero p { font-size: 19px; max-width: 700px; margin: 0; }
.img-crumbs { font-size: 14px; margin: 0 0 18px; color: rgba(255, 255, 255, .6); }
.img-crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.img-crumbs a:hover { color: var(--img-white); }

/* ===== Tarjetas de servicios ===== */
.img-grid { display: grid; gap: 26px; }
.img-grid-3 { grid-template-columns: repeat(3, 1fr); }
.img-grid-2 { grid-template-columns: repeat(2, 1fr); }
.img-grid-4 { grid-template-columns: repeat(4, 1fr); }
.img-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--img-white);
	border: 1px solid var(--img-line);
	border-radius: var(--img-radius);
	overflow: hidden;
	box-shadow: var(--img-shadow);
	transition: transform .25s ease, box-shadow .25s ease;
	text-decoration: none;
	color: var(--img-text);
}
a.img-card:hover { transform: translateY(-6px); box-shadow: var(--img-shadow-lg); color: var(--img-text); }
.img-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--img-sky); }
.img-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.img-card:hover .img-card-media img { transform: scale(1.05); }
.img-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.img-card-body .img-ico { width: 54px; height: 54px; padding: 13px; margin: -54px 0 14px; position: relative; border-radius: 16px; background: var(--img-blue); color: var(--img-white); box-shadow: 0 10px 22px rgba(21, 151, 229, .35); }
.img-card h3 { font-size: 22px; margin: 0 0 10px; }
.img-card p { margin: 0 0 18px; color: var(--img-muted); font-size: 16px; }
.img-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--img-blue-dark); font-weight: 800; font-size: 15.5px; }
.img-more .img-ico { width: 18px; height: 18px; transition: transform .2s; }
a.img-card:hover .img-more .img-ico { transform: translateX(4px); }
.img-card-cta { background: linear-gradient(160deg, var(--img-blue) 0%, var(--img-blue-dark) 100%); color: var(--img-white); border: 0; justify-content: center; padding: 34px; }
.img-card-cta h3 { color: var(--img-white); }
.img-card-cta p { color: rgba(255, 255, 255, .85); }

/* ===== Pasos ===== */
.img-steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.img-steps li { position: relative; padding: 34px 28px 30px; background: var(--img-white); border: 1px solid var(--img-line); border-radius: var(--img-radius); }
.img-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 15px; font-weight: 800; color: var(--img-blue); margin-bottom: 14px; letter-spacing: .06em; }
.img-steps h3 { font-size: 21px; margin: 0 0 8px; }
.img-steps p { margin: 0; color: var(--img-muted); font-size: 16px; }
.img-bg-navy .img-steps li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.img-bg-navy .img-steps p { color: rgba(255, 255, 255, .72); }
.img-bg-navy .img-steps li::before { color: var(--img-cyan); }

/* ===== Bloque texto + imagen ===== */
.img-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.img-split-media img { width: 100%; border-radius: var(--img-radius); box-shadow: var(--img-shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.img-split h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 18px; }
.img-split p { color: var(--img-muted); }
.img-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.img-checks li { position: relative; padding-left: 34px; font-weight: 600; color: var(--img-text); }
.img-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--img-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%230b74b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.img-checks-2 { grid-template-columns: 1fr 1fr; }

/* ===== Ventajas ===== */
.img-feature { padding: 30px 26px; border-radius: var(--img-radius); background: var(--img-white); border: 1px solid var(--img-line); }
.img-feature .img-ico { width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: var(--img-sky); color: var(--img-blue-dark); margin-bottom: 18px; }
.img-feature h3 { font-size: 19px; margin: 0 0 8px; }
.img-feature p { margin: 0; font-size: 15.5px; color: var(--img-muted); }
.img-num { font-size: 40px; font-weight: 800; color: var(--img-blue); line-height: 1; margin-bottom: 12px; letter-spacing: -.03em; }

/* ===== Zonas ===== */
.img-zones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.img-zones li { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: var(--img-white); border: 1px solid var(--img-line); font-weight: 700; color: var(--img-navy); box-shadow: 0 4px 12px rgba(11, 29, 51, .04); }
.img-zones .img-ico { width: 18px; height: 18px; color: var(--img-blue); }

/* ===== Preguntas frecuentes ===== */
.img-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.img-faq-item { background: var(--img-white); border: 1px solid var(--img-line); border-radius: var(--img-radius-sm); overflow: hidden; }
.img-faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 800; font-size: 17.5px; color: var(--img-navy); }
.img-faq-item summary::-webkit-details-marker { display: none; }
.img-faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--img-sky); color: var(--img-blue-dark); font-size: 22px; line-height: 30px; text-align: center; font-weight: 600; transition: transform .2s; }
.img-faq-item[open] summary::after { content: "−"; }
.img-faq-item > div { padding: 0 24px 22px; color: var(--img-muted); }
.img-faq-item > div p { margin: 0; }

/* ===== Banda de llamada a la acción ===== */
.img-cta {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.3fr auto;
	gap: 30px;
	align-items: center;
	padding: 56px;
	border-radius: 26px;
	background: radial-gradient(600px 300px at 100% 0%, rgba(62, 199, 244, .35), transparent 60%), linear-gradient(140deg, #0b1d33, #12304f);
	color: rgba(255, 255, 255, .82);
}
.img-cta h2 { color: var(--img-white); font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 10px; }
.img-cta p { margin: 0; font-size: 18px; }
.img-cta .img-actions { margin: 0; justify-content: flex-end; }

/* ===== Contacto ===== */
.img-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.img-contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.img-contact-list li a, .img-contact-list li > span { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--img-radius-sm); background: var(--img-white); border: 1px solid var(--img-line); text-decoration: none; color: var(--img-navy); font-weight: 700; }
.img-contact-list li a:hover { border-color: var(--img-blue); box-shadow: var(--img-shadow); }
.img-contact-list .img-ico { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--img-sky); color: var(--img-blue-dark); flex-shrink: 0; }
.img-contact-list .img-ico-whatsapp { background: #e6f9ee; color: #128c4a; }
.img-contact-list small { display: block; font-weight: 600; color: var(--img-muted); font-size: 14px; }
.img-form-card { padding: 38px; background: var(--img-white); border-radius: 22px; box-shadow: var(--img-shadow-lg); border: 1px solid var(--img-line); }
.img-form-card h2, .img-form-card h3 { margin-top: 0; font-size: 28px; }
.img-map { margin-top: 22px; border-radius: var(--img-radius-sm); overflow: hidden; border: 1px solid var(--img-line); }
.img-map iframe { display: block; width: 100%; height: 280px; border: 0; }

/* Formularios Contact Form 7 */
.wpcf7 form { display: grid; gap: 14px; }
.wpcf7 form p { margin: 0; }
.img-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wpcf7 label { display: block; font-weight: 700; color: var(--img-navy); font-size: 15px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%;
	margin-top: 6px;
	padding: 14px 16px;
	border: 1.5px solid var(--img-line);
	border-radius: 12px;
	background: var(--img-bg);
	color: var(--img-text);
	font-size: 16px;
	transition: border-color .2s, background .2s;
}
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--img-blue); background: var(--img-white); }
.wpcf7 .wpcf7-acceptance label { font-weight: 500; font-size: 14.5px; color: var(--img-muted); display: flex; gap: 10px; align-items: flex-start; }
.wpcf7 .wpcf7-acceptance input { margin-top: 4px; width: 18px; height: 18px; }
.wpcf7 input[type="submit"] { width: 100%; font-family: var(--img-font); }
.wpcf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }
.wpcf7 form .wpcf7-response-output { margin: 4px 0 0; border-radius: 10px; padding: 12px 16px; }

/* ===== Texto largo (legales, sobre nosotros) ===== */
.img-prose { max-width: 820px; margin: 0 auto; }
.img-prose h2 { font-size: 28px; margin: 42px 0 14px; }
.img-prose h3 { font-size: 21px; margin: 30px 0 10px; }
.img-prose ul { padding-left: 1.2em; }
.img-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.img-prose th, .img-prose td { border: 1px solid var(--img-line); padding: 10px; text-align: left; }

/* ===== Pie ===== */
.img-footer { background: var(--img-navy); color: rgba(255, 255, 255, .72); padding: 80px 0 0; font-size: 15.5px; }
.img-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 56px; }
.img-footer h3 { color: var(--img-white); font-size: 16px; text-transform: uppercase; letter-spacing: .1em; margin: 8px 0 18px; }
.img-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.img-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.img-footer a:hover { color: var(--img-cyan); }
.img-footer-brand p { margin: 20px 0 0; max-width: 360px; }
.img-footer-contact a, .img-footer-contact li > span { display: flex; gap: 10px; align-items: flex-start; }
.img-footer-contact .img-ico { width: 18px; height: 18px; margin-top: 4px; color: var(--img-cyan); flex-shrink: 0; }
.img-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; }
.img-footer-bottom .img-container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.img-footer-bottom p { margin: 0; }
.img-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.img-credit { margin-left: auto !important; opacity: .7; }

/* Botones flotantes */
.img-fab { position: fixed; right: 20px; bottom: 96px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.img-fab a { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; color: var(--img-white); box-shadow: 0 12px 28px rgba(0, 0, 0, .22); text-decoration: none; transition: transform .2s; }
.img-fab a:hover { transform: scale(1.06); color: var(--img-white); }
.img-fab .img-ico { width: 30px; height: 30px; }
.img-fab span { display: none; }
.img-fab-wa { background: var(--img-green); }
.img-fab-call { display: none !important; background: var(--img-blue); }

/* Animación suave al aparecer */
.img-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.img-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .img-reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
	.img-hero-grid, .img-split, .img-contact { grid-template-columns: 1fr; gap: 44px; }
	.img-hero-card { left: 16px; }
	.img-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.img-footer-grid { grid-template-columns: 1fr 1fr; }
	.img-cta { grid-template-columns: 1fr; padding: 42px 32px; }
	.img-cta .img-actions { justify-content: flex-start; }
}
@media (max-width: 860px) {
	.img-grid-3, .img-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	body { font-size: 16.5px; }
	.img-section { padding: 68px 0; }
	.img-container { padding: 0 18px; }
	.img-hero { padding: 56px 0 84px; }
	.img-hero-collage img { height: 150px; }
	.img-hero-collage img:nth-child(1) { min-height: 316px; }
	.img-hero-card { position: relative; left: 0; bottom: 0; margin-top: 16px; max-width: none; }
	.img-grid-3, .img-grid-2, .img-grid-4, .img-steps, .img-fields-2, .img-checks-2 { grid-template-columns: 1fr; }
	.img-footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.img-form-card { padding: 26px 20px; }
	.img-actions .img-btn { width: 100%; }
	.img-credit { margin-left: 0 !important; }
	.img-fab { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
	.img-fab a { flex: 1; width: auto; height: 58px; border-radius: 0; gap: 10px; font-weight: 800; box-shadow: none; }
	.img-fab .img-ico { width: 22px; height: 22px; }
	.img-fab span { display: inline; }
	.img-fab-call { display: inline-flex !important; }
	.img-footer { padding-bottom: 58px; }
}

.grecaptcha-badge { z-index: 80; }
@media (max-width: 1080px) { .img-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
@media (max-width: 680px) { .grecaptcha-badge { bottom: 72px !important; } }
