:root {
	--gag-bg: #f7f2eb;
	--gag-bg-soft: #fffaf3;
	--gag-dark: #101820;
	--gag-ink: #1b2834;
	--gag-muted: #607080;
	--gag-line: rgba(16, 24, 32, 0.12);
	--gag-primary: #143d4f;
	--gag-primary-dark: #0d2d3c;
	--gag-accent: #c4914a;
	--gag-white: #ffffff;
	--gag-radius: 22px;
	--gag-shadow: 0 24px 70px rgba(10, 25, 36, 0.14);
	--gag-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--gag-serif: Georgia, "Times New Roman", serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.gag-theme {
	margin: 0;
	background: var(--gag-bg);
	color: var(--gag-ink);
	font-family: var(--gag-font);
	font-size: 17px;
	line-height: 1.65;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--gag-accent);
}

img {
	max-width: 100%;
	height: auto;
}

.gag-container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	left: -999em;
}

.skip-link:focus {
	left: 20px;
	top: 20px;
	z-index: 9999;
	padding: 12px 16px;
	background: var(--gag-white);
	color: var(--gag-dark);
	border-radius: 8px;
}

.gag-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 242, 235, 0.9);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--gag-line);
}

.gag-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 82px;
}

.gag-brand {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.gag-brand-name {
	font-weight: 900;
	font-size: 30px;
	letter-spacing: 0.05em;
	color: var(--gag-dark);
}

.gag-brand-tagline {
	font-size: 13px;
	color: var(--gag-muted);
}

.gag-primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 24px;
}

.gag-primary-nav a {
	font-size: 15px;
	font-weight: 750;
	color: var(--gag-dark);
}

.gag-menu-toggle {
	display: none;
	border: 1px solid var(--gag-line);
	background: var(--gag-white);
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 800;
	cursor: pointer;
}

.gag-main {
	min-height: 60vh;
}

.gag-hero {
	position: relative;
	overflow: hidden;
	padding: 84px 0 76px;
	background:
		radial-gradient(circle at 80% 25%, rgba(196, 145, 74, 0.23), transparent 32%),
		linear-gradient(135deg, #fff8ef 0%, #efe4d4 54%, #dbe6e8 100%);
}

.gag-hero::before {
	content: "";
	position: absolute;
	inset: auto -120px -210px auto;
	width: 480px;
	height: 480px;
	background: rgba(20, 61, 79, 0.12);
	border-radius: 999px;
}

.gag-hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	align-items: center;
	gap: 54px;
}

.gag-eyebrow {
	margin: 0 0 14px;
	color: var(--gag-accent);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.gag-hero h1,
.gag-section-heading h2,
.gag-split h2,
.gag-review h2,
.gag-contact-grid h2,
.gag-entry-header h1,
.gag-page-header h1,
.gag-content-card h1 {
	margin: 0;
	color: var(--gag-dark);
	font-family: var(--gag-serif);
	font-weight: 800;
	line-height: 0.96;
	letter-spacing: -0.04em;
}

.gag-hero h1 {
	font-size: clamp(46px, 7vw, 82px);
	max-width: 820px;
}

.gag-hero-lead {
	max-width: 650px;
	margin: 24px 0 0;
	font-size: clamp(19px, 2.2vw, 24px);
	color: #31414e;
}

.gag-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.gag-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	border-radius: 999px;
	font-weight: 900;
	border: 1px solid transparent;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gag-button:hover,
.gag-button:focus {
	transform: translateY(-2px);
}

.gag-button-primary {
	background: var(--gag-primary);
	color: var(--gag-white);
	box-shadow: 0 14px 34px rgba(20, 61, 79, 0.28);
}

.gag-button-primary:hover,
.gag-button-primary:focus {
	background: var(--gag-primary-dark);
	color: var(--gag-white);
}

.gag-button-secondary {
	background: rgba(255, 255, 255, 0.68);
	color: var(--gag-primary);
	border-color: rgba(20, 61, 79, 0.22);
}

.gag-microcopy {
	margin: 18px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--gag-muted);
}

.gag-hero-visual {
	display: flex;
	justify-content: center;
}

.gag-portrait-card {
	position: relative;
	width: min(100%, 430px);
	aspect-ratio: 0.82;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.38)),
		linear-gradient(135deg, #173f51, #0d2633);
	border: 1px solid rgba(255,255,255,0.55);
	border-radius: 38px;
	box-shadow: var(--gag-shadow);
	overflow: hidden;
}

.gag-portrait-card::before {
	content: "GAG";
	position: absolute;
	top: 28px;
	left: 32px;
	font-size: 16px;
	font-weight: 950;
	letter-spacing: 0.18em;
	color: rgba(255,255,255,0.75);
}

.gag-portrait-head {
	position: absolute;
	top: 82px;
	left: 50%;
	width: 112px;
	height: 112px;
	transform: translateX(-50%);
	background: #d0a273;
	border-radius: 48% 48% 44% 44%;
	box-shadow: inset 0 -18px 0 rgba(102, 57, 35, 0.12);
}

.gag-portrait-head::before,
.gag-portrait-head::after {
	content: "";
	position: absolute;
	top: 42px;
	width: 10px;
	height: 10px;
	border-radius: 99px;
	background: #1f2527;
}

.gag-portrait-head::before { left: 33px; }
.gag-portrait-head::after { right: 33px; }

.gag-portrait-body {
	position: absolute;
	top: 202px;
	left: 50%;
	width: 220px;
	height: 210px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, #111a22, #223140);
	border-radius: 70px 70px 20px 20px;
}

.gag-portrait-body::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 58px;
	height: 105px;
	transform: translateX(-50%);
	background: #f7f2eb;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.gag-table {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 132px;
	background: linear-gradient(180deg, #a36d38, #6e4021);
	border-top: 10px solid rgba(255,255,255,0.22);
}

.gag-paper {
	position: absolute;
	bottom: 54px;
	width: 92px;
	height: 58px;
	background: rgba(255,255,255,0.9);
	border-radius: 8px;
	box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

.gag-paper-one {
	left: 52px;
	transform: rotate(-7deg);
}

.gag-paper-two {
	right: 52px;
	transform: rotate(9deg);
}

.gag-section {
	padding: 82px 0;
}

.gag-section-light {
	background: var(--gag-bg-soft);
}

.gag-section-dark {
	background: var(--gag-dark);
	color: rgba(255,255,255,0.82);
}

.gag-section-heading {
	max-width: 760px;
	margin-bottom: 34px;
}

.gag-section-heading h2,
.gag-split h2,
.gag-review h2,
.gag-contact-grid h2,
.gag-page-header h1,
.gag-entry-header h1,
.gag-content-card h1 {
	font-size: clamp(36px, 4vw, 58px);
}

.gag-section-heading p,
.gag-split p,
.gag-review p,
.gag-contact-grid p {
	font-size: 18px;
	color: var(--gag-muted);
}

.gag-section-dark h2,
.gag-section-dark .gag-eyebrow {
	color: var(--gag-white);
}

.gag-section-dark p {
	color: rgba(255,255,255,0.76);
}

.gag-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.gag-card-grid-three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gag-card,
.gag-content-card,
.gag-form-shell,
.gag-checklist-card,
.gag-review-box {
	background: rgba(255,255,255,0.78);
	border: 1px solid rgba(16, 24, 32, 0.09);
	border-radius: var(--gag-radius);
	box-shadow: 0 18px 45px rgba(10, 25, 36, 0.07);
}

.gag-card {
	padding: 28px;
}

.gag-card h2,
.gag-card h3 {
	margin: 0 0 10px;
	color: var(--gag-dark);
	font-size: 23px;
	line-height: 1.16;
}

.gag-card p {
	margin: 0;
	color: var(--gag-muted);
}

.gag-text-link {
	display: inline-flex;
	margin-top: 18px;
	font-weight: 900;
	color: var(--gag-primary);
}

.gag-split-grid,
.gag-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	align-items: center;
}

.gag-checklist-card {
	padding: 34px;
}

.gag-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 16px;
}

.gag-checklist li {
	position: relative;
	padding-left: 34px;
	font-weight: 800;
}

.gag-checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: -2px;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gag-accent);
	color: var(--gag-white);
	border-radius: 99px;
	font-size: 14px;
}

.gag-process {
	background: linear-gradient(180deg, #f7f2eb, #efe2d2);
}

.gag-process-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.gag-process-grid article {
	padding: 30px;
	background: var(--gag-white);
	border-radius: var(--gag-radius);
	border: 1px solid var(--gag-line);
}

.gag-process-grid span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 99px;
	background: var(--gag-primary);
	color: var(--gag-white);
	font-weight: 900;
}

.gag-process-grid h3 {
	margin: 20px 0 8px;
	font-size: 22px;
}

.gag-review-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	padding: 38px;
	background: linear-gradient(135deg, #fff8ef, #ffffff);
}

.gag-contact-grid {
	align-items: start;
}

.gag-form-shell {
	padding: 28px;
	background: var(--gag-white);
	color: var(--gag-ink);
}

.gag-contact-form p {
	margin: 0 0 16px;
}

.gag-contact-form label {
	display: block;
	font-size: 14px;
	font-weight: 900;
	color: var(--gag-dark);
	margin-bottom: 7px;
}

.gag-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.gag-contact-form input[type="text"],
.gag-contact-form input[type="tel"],
.gag-contact-form input[type="email"],
.gag-contact-form select,
.gag-contact-form textarea,
.search-field {
	width: 100%;
	border: 1px solid rgba(16, 24, 32, 0.18);
	border-radius: 14px;
	padding: 13px 14px;
	font: inherit;
	background: #fbfbfb;
	color: var(--gag-dark);
}

.gag-contact-form textarea {
	resize: vertical;
}

.gag-form-legal label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 700;
	line-height: 1.4;
	color: var(--gag-muted);
}

.gag-form-legal input {
	margin-top: 4px;
}

.gag-honeypot {
	position: absolute;
	left: -9999px;
}

.gag-form-notice {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 12px;
	font-weight: 800;
}

.gag-form-ok {
	background: #e7f7ed;
	color: #176034;
}

.gag-form-error {
	background: #fff1ee;
	color: #9a2d19;
}

.gag-page-main,
.gag-archive-main {
	padding: 68px 0 88px;
}

.gag-content-narrow {
	max-width: 900px;
}

.gag-content-card {
	padding: clamp(28px, 5vw, 56px);
}

.gag-entry-header {
	margin-bottom: 28px;
}

.gag-entry-content > *:first-child {
	margin-top: 0;
}

.gag-entry-content a {
	color: var(--gag-primary);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gag-featured-image {
	margin-bottom: 28px;
}

.gag-featured-image img,
.gag-post-thumb img {
	border-radius: 18px;
}

.gag-entry-cta {
	margin-top: 34px;
	padding-top: 28px;
	border-top: 1px solid var(--gag-line);
}

.gag-page-header {
	max-width: 800px;
	margin-bottom: 34px;
}

.gag-post-list {
	display: grid;
	gap: 22px;
}

.gag-post-card h2 {
	font-size: 24px;
}

.gag-card-excerpt p {
	margin: 0;
}

.navigation.pagination {
	margin-top: 34px;
}

.nav-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.page-numbers {
	padding: 8px 12px;
	background: var(--gag-white);
	border-radius: 10px;
	font-weight: 800;
}

.gag-site-footer {
	background: #0d141b;
	color: rgba(255,255,255,0.74);
}

.gag-footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.8fr;
	gap: 36px;
	padding: 54px 0;
}

.gag-footer-grid h2,
.gag-footer-grid h3 {
	margin: 0 0 12px;
	color: var(--gag-white);
}

.gag-footer-grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gag-footer-grid a {
	color: rgba(255,255,255,0.86);
}

.gag-footer-small {
	font-size: 13px;
	color: rgba(255,255,255,0.48);
}

.gag-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding: 18px 0;
	font-size: 14px;
}

.gag-footer-bottom p {
	margin: 0;
}

@media (max-width: 900px) {
	.gag-menu-toggle {
		display: inline-flex;
	}

	.gag-primary-nav {
		position: absolute;
		left: 20px;
		right: 20px;
		top: 82px;
		display: none;
		background: var(--gag-white);
		border: 1px solid var(--gag-line);
		border-radius: 18px;
		box-shadow: var(--gag-shadow);
		padding: 14px;
	}

	.gag-primary-nav.is-open {
		display: block;
	}

	.gag-primary-nav ul {
		align-items: stretch;
		flex-direction: column;
		gap: 4px;
	}

	.gag-primary-nav a {
		display: block;
		padding: 10px;
	}

	.gag-hero-grid,
	.gag-split-grid,
	.gag-contact-grid,
	.gag-footer-grid {
		grid-template-columns: 1fr;
	}

	.gag-card-grid,
	.gag-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gag-hero {
		padding-top: 56px;
	}
}

@media (max-width: 640px) {
	.gag-container {
		width: min(100% - 28px, 1120px);
	}

	.gag-card-grid,
	.gag-process-grid,
	.gag-form-grid {
		grid-template-columns: 1fr;
	}

	.gag-review-box {
		align-items: flex-start;
		flex-direction: column;
	}

	.gag-section {
		padding: 58px 0;
	}

	.gag-hero h1 {
		font-size: 44px;
	}
}

/* GAG v1.1: imágenes reales */
.gag-hero-photo,
.gag-feature-photo,
.gag-service-image {
	margin: 0;
	overflow: hidden;
	background: rgba(255,255,255,0.55);
	box-shadow: var(--gag-shadow);
}

.gag-hero-photo {
	border-radius: 34px;
	width: min(100%, 560px);
	aspect-ratio: 16 / 10;
	border: 1px solid rgba(255,255,255,0.75);
}

.gag-hero-photo img,
.gag-feature-photo img,
.gag-service-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gag-service-grid {
	align-items: stretch;
}

.gag-service-card {
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.gag-service-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 0;
	box-shadow: none;
}

.gag-service-content {
	padding: 26px;
}

.gag-feature-photo {
	border-radius: 28px;
	aspect-ratio: 16 / 10;
	border: 1px solid rgba(16,24,32,0.08);
}

.gag-feature-photo-small {
	aspect-ratio: 16 / 9;
}

.gag-split-with-image {
	align-items: center;
}

.gag-review-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
	align-items: center;
	gap: 34px;
}

.gag-blog-teaser .gag-split-grid {
	align-items: center;
}

@media (max-width: 900px) {
	.gag-review-grid {
		grid-template-columns: 1fr;
	}
}
