/*
Theme Name: Digitalización Bogotá
Theme URI: https://digitalizacionbogota.com/
Author: Digitalización Bogotá
Description: Tema propio, ligero y orientado a conversión para el servicio de digitalización documental en Bogotá.
Version: 2.9.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: digitalizacion-bogota
*/

:root {
	--ink: #10233f;
	--muted: #5d6a7b;
	--paper: #ffffff;
	--white: #ffffff;
	--lime: #eaf1ff;
	--lime-dark: #ceddff;
	--teal: #245eea;
	--orange: #245eea;
	--line: rgba(16, 35, 63, .13);
	--shadow: 0 24px 70px rgba(16, 35, 63, .11);
	--radius: 22px;
	--wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
.skip-link:focus {
	z-index: 10000;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--white);
}
.site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: var(--wrap);
	min-height: 68px;
	margin: auto;
	gap: 28px;
}
.wordmark {
	font-size: 14px;
	font-weight: 750;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 15px; font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: var(--teal); }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 22px;
	border: 1px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: var(--white);
	font-weight: 750;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(16,35,63,.16); }
.button--lime { border-color: var(--teal); background: var(--teal); color: #fff; }
.button--ghost { background: transparent; color: var(--ink); }
.button--small { min-height: 42px; padding-inline: 18px; font-size: 14px; }
.hero {
	position: relative;
	overflow: hidden;
	padding: 42px 0 38px;
	background: #fff;
}
.hero::after {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	width: 42%;
	height: 100%;
	border-radius: 0;
	background: linear-gradient(145deg, #f2f6ff, #e7efff);
	opacity: 1;
	content: "";
}
.hero-grid {
	display: grid;
	width: var(--wrap);
	margin: auto;
	grid-template-columns: 1.12fr .88fr;
	gap: 56px;
	align-items: center;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 22px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.eyebrow::before {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--teal);
	content: "";
}
h1, h2, h3 { margin-top: 0; font-weight: 750; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 20px; font-size: clamp(46px, 4.7vw, 64px); }
h1 span { color: var(--teal); }
h2 { max-width: 770px; margin-bottom: 20px; font-size: clamp(36px, 4.2vw, 56px); }
h3 { font-size: 25px; }
.hero-copy { max-width: 680px; margin: 0 0 24px; color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; font-weight: 650; }
.hero-visual {
	position: relative;
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 26px;
	background: var(--white);
	box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.hero-visual figcaption {
	position: absolute;
	right: 18px;
	bottom: 18px;
	left: 18px;
	display: flex;
	padding: 15px 17px;
	border: 1px solid rgba(255,255,255,.72);
	border-radius: 15px;
	background: rgba(255,255,255,.88);
	backdrop-filter: blur(12px);
	flex-direction: column;
}
.hero-visual figcaption span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-visual figcaption strong { font-size: 17px; }
.trust-strip { border-block: 1px solid var(--line); background: #f7f9fc; }
.trust-grid {
	display: grid;
	width: var(--wrap);
	margin: auto;
	grid-template-columns: repeat(5, 1fr);
}
.trust-item { display: flex; padding: 18px 14px; border-right: 1px solid var(--line); align-items: center; gap: 11px; }
.trust-item:last-child { border-right: 0; }
.trust-item i { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: var(--lime); color: var(--teal); font-style: normal; font-weight: 850; }
.dgb-icon { display: block; width: 20px; height: 20px; flex: 0 0 auto; overflow: visible; transition: transform .24s ease, opacity .24s ease; }
.trust-item .dgb-icon { width: 18px; height: 18px; }
.trust-item:hover .dgb-icon--map-pin g { transform: translateY(-1px); }
.trust-item:hover .dgb-icon--badge-check { transform: rotate(-5deg) scale(1.04); }
.trust-item:hover .dgb-icon--search { transform: rotate(-8deg) scale(1.05); }
.trust-item:hover .dgb-icon--layers { transform: translateY(-2px); }
.trust-item:hover .dgb-icon--lock g { transform: translateY(-1px); }
.dgb-icon g,.dgb-icon path,.dgb-icon rect,.dgb-icon circle { transform-box: fill-box; transform-origin: center; transition: transform .24s ease, stroke-dashoffset .3s ease; }
.dgb-icon-check { stroke-dasharray: 1; stroke-dashoffset: 0; }
.trust-item strong { display: block; font-size: 13px; line-height: 1.25; }
.trust-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.price-jump { padding: 20px 0; background: var(--ink); color: #fff; }
.price-jump .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.price-jump strong, .price-jump span { display: block; }
.price-jump strong { font-size: 17px; }
.price-jump div > span { color: rgba(255,255,255,.62); font-size: 14px; }
.price-jump a { display: flex; align-items: center; gap: 20px; color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; }
.price-jump a .dgb-icon { width: 22px; height: 22px; color: #7fa5ff; }
.price-jump a:hover .dgb-icon--arrow-right { transform: translateX(4px); }
.section { padding: 88px 0; }
.section--white { background: var(--white); }
.section--soft { background: #f5f7fb; }
.section--ink { background: var(--ink); color: var(--white); }
.wrap { width: var(--wrap); margin: auto; }
.section-head { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 54px; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); }
.section--ink .section-head p { color: rgba(255,255,255,.66); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
	position: relative;
	min-height: 260px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #f8faff;
}
.problem-cards .service-card { overflow: hidden; padding-top: 88px; background: #fff; }
.problem-cards .service-card:nth-child(2) { background: var(--ink); color: #fff; }
.problem-cards .service-card:nth-child(2) p { color: rgba(255,255,255,.66); }
.service-icon { position: absolute; top: 25px; left: 28px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--lime); color: var(--teal); font-size: 21px; font-weight: 800; }
.service-icon .dgb-icon { width: 21px; height: 21px; }
.service-card:hover .service-icon .dgb-icon { transform: scale(1.08); }
.service-card:nth-child(2) .service-icon { background: var(--teal); color: #fff; }
.service-number { display: block; margin-bottom: 16px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.service-card p { margin-bottom: 0; color: var(--muted); }
.service-card.compact { min-height: 210px; }
.solution-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.solution-list a { display: grid; padding: 25px 18px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; grid-template-columns: 42px 1fr auto; align-items: center; gap: 18px; transition: background .2s; }
.solution-list a:nth-child(odd) { border-right: 1px solid var(--line); }
.solution-list a:hover { background: #f7f9ff; }
.solution-list i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #edf3ff; color: var(--teal); font-style: normal; }
.solution-list i .dgb-icon { width: 19px; height: 19px; }
.solution-list div { display: grid; }
.solution-list span { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.solution-list strong { font-size: 21px; }
.solution-list small { color: var(--muted); font-size: 13px; }
.solution-list b { color: var(--teal); transition: transform .2s; }
.solution-list b .dgb-icon { width: 20px; height: 20px; }
.solution-list a:hover b { transform: translateX(4px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: steps; gap: 26px; }
.step { position: relative; padding: 72px 20px 0 0; border-top: 2px solid #ced8e8; }
.step:not(:last-child)::after { position: absolute; top: -5px; right: -17px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); content: ""; }
.step::before {
	position: absolute;
	top: 15px;
	left: 0;
	color: var(--teal);
	font-weight: 800;
	counter-increment: steps;
	content: "0" counter(steps);
}
.step p { color: var(--muted); }
.estimator-shell {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 30px;
	background: var(--white);
	box-shadow: var(--shadow);
	grid-template-columns: 1.1fr .9fr;
}
.estimator-intro { display: flex; padding: 42px; background: var(--ink); color: #fff; flex-direction: column; }
.estimator-intro .eyebrow::before { background: #7fa5ff; }
.estimator-intro p, .estimator-intro li { color: rgba(255,255,255,.72); }
.estimator-intro ul { padding-left: 20px; }
.estimator-proof { margin-top: auto; padding: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(255,255,255,.06); }
.estimator-proof strong { display: block; margin-bottom: 5px; color: #fff; font-size: 18px; }
.estimator-proof p { margin: 0; font-size: 14px; }
.estimator-panel { padding: 42px; }
.faq { max-width: 880px; }
.faq details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 750; }
.faq p { color: var(--muted); }
.faq-link a { color: var(--teal); font-weight: 750; }
.faq-link a,.guide-links span { display: inline-flex; align-items: center; gap: 6px; }
.faq-link .dgb-icon,.guide-links .dgb-icon { width: 15px; height: 15px; }
.faq-link a:hover .dgb-icon,.guide-links a:hover .dgb-icon { transform: translateX(3px); }
.guide-links { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px }
.guide-links a { display:grid;min-height:130px;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;align-content:space-between;transition:transform .2s ease,border-color .2s ease }
.guide-links a:hover { border-color:var(--teal);transform:translateY(-2px) }
.guide-links strong { font-size:20px }
.guide-links span { color:var(--muted);font-size:14px }
.dgb-guide-list,.dgb-evidence-grid { display:grid;margin:30px 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px }
.dgb-guide-list article,.dgb-evidence-grid article,.dgb-evidence-empty { padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff }
.dgb-guide-list h2 { margin-bottom:10px;font-size:24px }
.dgb-guide-list a { color:var(--ink);text-decoration:none }
.dgb-guide-list a:hover { color:var(--teal) }
.dgb-guide-cta,.dgb-evidence-empty { margin-top:35px;padding:24px;border-left:4px solid var(--teal);background:var(--soft) }
.dgb-evidence-grid dl { display:grid;grid-template-columns:120px 1fr;gap:8px 14px }
.dgb-evidence-grid dt { font-weight:750 }
.dgb-evidence-grid dd { margin:0;color:var(--muted) }
.dgb-related-guides { margin-top:48px;padding:28px;border-radius:20px;background:var(--soft) }
.dgb-related-guides h2 { font-size:28px }
.dgb-related-guides a { color:var(--teal);font-weight:700 }
.dgb-related-guides > p a { display:inline-flex;align-items:center;gap:6px }
.dgb-related-guides > p .dgb-icon { width:15px;height:15px }
.dgb-related-guides > p a:hover .dgb-icon { transform:translateX(3px) }
.dgb-data-table { width:100%;margin:24px 0;border-collapse:collapse }
.dgb-data-table th,.dgb-data-table td { padding:14px;border-bottom:1px solid var(--line);text-align:left }
.dgb-data-table thead th { background:var(--soft);color:var(--ink) }
.cta {
	display: grid;
	padding: 46px;
	border-radius: 30px;
	background: linear-gradient(135deg, #eaf1ff, #f7f9ff);
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 34px;
}
.cta h2 { margin: 0; font-size: clamp(36px, 4.2vw, 62px); }
.cta p { max-width: 680px; margin: 14px 0 0; color: var(--muted); }
.cta .eyebrow { margin: 0 0 12px; color: var(--ink); }
.cta-actions { display: grid; gap: 10px; min-width: 220px; }
.site-footer { padding: 42px 0; background: var(--ink); color: var(--white); }
.footer-inner { display: flex; width: var(--wrap); margin: auto; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-inner p { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.8); font-size: 13px; text-decoration: none; }
.footer-credit { display:grid;justify-items:end;gap:4px;text-align:right }
.footer-credit a { color:#fff;font-weight:700;text-decoration:none }
.footer-credit a:hover { text-decoration:underline }
.site-footer strong a { color:inherit;text-decoration:none }
.site-footer strong a:hover,.site-footer strong a:focus-visible { text-decoration:underline;text-underline-offset:3px }
.page-hero { padding: 96px 0 84px; background: linear-gradient(145deg, #fff 55%, #edf3ff); }
.page-hero h1 { max-width: 900px; }
.page-hero--contact { padding-bottom: 62px; }
.contact-context { display:grid;max-width:850px;margin:0 auto 24px;grid-template-columns:repeat(3,1fr);gap:12px }
.contact-context article { display:grid;padding:20px;border:1px solid var(--line);border-radius:15px;background:#fff;gap:5px }
.contact-context strong { color:var(--ink);font-size:15px }
.contact-context span { color:var(--muted);font-size:13px;line-height:1.5 }
.contact-direct { text-align:center;color:var(--muted) }
.contact-direct a { color:var(--teal);font-weight:750 }
.narrow { max-width: 920px; }
.center { text-align: center; }
.center .hero-copy { margin-inline: auto; }
.legal { padding: 90px 0 110px; }
.legal h1 { margin-bottom: 40px; }
.legal h2 { margin-top: 42px; font-size: 30px; }
.legal p { color: var(--muted); }
.notice { margin-top: 30px; padding: 24px; border-left: 4px solid var(--teal); background: #fff; color: var(--muted); }
.entry-content, .entry-header { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.entry-header { padding-top: 80px; }
.entry-content { padding-bottom: 100px; }

@media (max-width: 900px) {
	.admin-bar .site-header { top: 46px; }
	.site-nav a:not(.button) { display: none; }
	.hero { padding: 38px 0; }
	.hero-grid, .estimator-shell { grid-template-columns: 1fr; }
	.hero-visual { max-height: 300px; }
	.hero-visual img { aspect-ratio: 2.2; }
	.cards, .steps, .guide-links { grid-template-columns: 1fr 1fr; }
	.trust-grid { grid-template-columns: repeat(3, 1fr); }
	.section-head, .cta { grid-template-columns: 1fr; display: grid; align-items: start; }
}
@media (max-width: 600px) {
	:root { --wrap: min(100% - 26px, 1180px); }
	body { font-size: 16px; }
	.wordmark { max-width: 170px; }
	.header-inner { min-height: 68px; }
	.button--small { padding-inline: 14px; }
	.hero { padding: 28px 0 22px; }
	.hero::after { display: none; }
	.hero-grid { gap: 26px; }
	h1 { margin-bottom: 16px; font-size: 42px; line-height: 1.02; }
	.hero-copy { margin-bottom: 18px; font-size: 17px; line-height: 1.5; }
	.hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
	.hero-actions .button { min-height: 46px; padding: 0 13px; font-size: 13px; }
	.hero-note { margin-top: 10px; }
	.hero-visual { max-height: 155px; border-radius: 18px; box-shadow: 0 12px 35px rgba(16,35,63,.1); }
	.hero-visual img { height: 155px; aspect-ratio: auto; object-position: center; }
	.hero-visual figcaption { right: 9px; bottom: 9px; left: auto; padding: 9px 11px; }
	.hero-visual figcaption span { display: none; }
	.hero-visual figcaption strong { font-size: 12px; }
	.price-jump .wrap { align-items: flex-start; flex-direction: column; gap: 12px; }
	.price-jump a { width: 100%; justify-content: space-between; }
	.section { padding: 66px 0; }
	.cards, .steps, .solution-list, .contact-context, .guide-links, .dgb-guide-list, .dgb-evidence-grid { grid-template-columns: 1fr; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.trust-item:nth-child(even) { border-right: 0; }
	.trust-item:last-child { grid-column: 1 / -1; }
	.trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
	.trust-item:last-child { border-bottom: 0; }
	.solution-list a:nth-child(odd) { border-right: 0; }
	.step:not(:last-child)::after { display: none; }
	.estimator-intro, .estimator-panel, .cta { padding: 30px; }
	.footer-inner { flex-direction: column; }
	.footer-credit { justify-items:start;text-align:left }
}
@media (prefers-reduced-motion: reduce) {
	.dgb-icon,.dgb-icon g,.dgb-icon path,.dgb-icon rect,.dgb-icon circle { transition: none; }
}
