/*
Theme Name: Docotoo
Description: Child theme of Twenty Twenty-Five for Docotoo.
Template: twentytwentyfive
Version: 0.3.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.3
Text Domain: docotoo
*/

/* -------------------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------------------- */
:root {
	--docotoo-primary: var(--wp--preset--color--primary, #2868d8);
	--docotoo-primary-dark: var(--wp--preset--color--primary-dark, #4054b2);
	--docotoo-primary-tint: var(--wp--preset--color--primary-tint, #eaf1fc);
	--docotoo-primary-soft: var(--wp--preset--color--primary-soft, #d6e4fa);
	--docotoo-navy: var(--wp--preset--color--navy, #0f1e37);
	--docotoo-ink: var(--wp--preset--color--ink, #121212);
	--docotoo-muted: var(--wp--preset--color--muted, #64666c);
	--docotoo-surface: var(--wp--preset--color--surface, #f5f5f5);
	--docotoo-white: var(--wp--preset--color--white, #ffffff);
	--docotoo-success: var(--wp--preset--color--success, #146c3f);
	--docotoo-border: #e6e9ef;
	--docotoo-radius: 18px;
	--docotoo-shadow: 0 18px 40px -28px rgba(15, 30, 55, 0.45);
}

/* -------------------------------------------------------------------------
   Site chrome
   The root block gap adds margin above top-level blocks. Keep the full-width
   sections flush against the header and footer.
   ------------------------------------------------------------------------- */
.wp-block-template-part,
.docotoo-main {
	margin-block: 0;
}

/* -------------------------------------------------------------------------
   Layout gap reset
   Default-layout groups inherit the global block-gap margins. Custom grids,
   cards and copy columns below manage their own spacing, so reset the
   direct children of those containers to avoid doubled gaps.
   ------------------------------------------------------------------------- */
.wp-block-group.docotoo-hero-grid > *,
.wp-block-group.docotoo-problem-grid > *,
.wp-block-group.docotoo-feature-grid > *,
.wp-block-group.docotoo-audience-grid > *,
.wp-block-group.docotoo-footer-grid > *,
.wp-block-group.docotoo-mockup > *,
.wp-block-group.docotoo-card > *,
.wp-block-group.docotoo-section-inner > *,
.wp-block-group.docotoo-hero-copy > *,
.wp-block-group.docotoo-audience-copy > *,
.wp-block-group.docotoo-footer-brand > *,
.wp-block-group.docotoo-footer-col > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.docotoo-header-bar {
	width: 100%;
	background: var(--docotoo-white);
	border-bottom: 1px solid var(--docotoo-border);
	position: relative;
	z-index: 10;
}

.docotoo-header {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-block: 1rem;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
	gap: 1.5rem;
}

.docotoo-logo {
	margin: 0;
	flex-shrink: 0;
	line-height: 0;
}

.docotoo-logo img {
	width: 92px;
	height: auto;
	display: block;
}

.docotoo-header .wp-block-navigation__container {
	gap: 1.75rem;
}

.docotoo-header .wp-block-navigation a {
	color: var(--docotoo-ink);
	font-weight: 500;
	text-decoration: none;
}

.docotoo-header .wp-block-navigation a:hover,
.docotoo-header .wp-block-navigation a:focus {
	color: var(--docotoo-primary);
}

.docotoo-header .wp-block-navigation__responsive-container-open {
	color: var(--docotoo-navy);
}

/* Desktop submenu panel (mobile overlay keeps the core behavior) */
@media (min-width: 601px) {
	.docotoo-header .wp-block-navigation__submenu-container {
		min-width: 240px;
		padding: 0.5rem;
		background: var(--docotoo-white);
		border: 1px solid var(--docotoo-border);
		border-radius: 12px;
		box-shadow: 0 22px 44px -26px rgba(15, 30, 55, 0.5);
	}

	.docotoo-header .wp-block-navigation__submenu-container a {
		display: block;
		padding: 0.55rem 0.75rem;
		border-radius: 8px;
		color: var(--docotoo-ink);
		font-weight: 500;
		white-space: nowrap;
	}

	.docotoo-header .wp-block-navigation__submenu-container a:hover,
	.docotoo-header .wp-block-navigation__submenu-container a:focus {
		background: var(--docotoo-primary-tint);
		color: var(--docotoo-primary-dark);
	}
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.docotoo-btn-light .wp-block-button__link {
	background: var(--docotoo-white);
	color: var(--docotoo-navy);
	box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.55);
}

.docotoo-btn-light .wp-block-button__link:hover,
.docotoo-btn-light .wp-block-button__link:focus {
	background: var(--docotoo-primary-tint);
	color: var(--docotoo-navy);
}

.docotoo-btn-outline .wp-block-button__link {
	background: transparent;
	color: var(--docotoo-white);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75);
}

.docotoo-btn-outline .wp-block-button__link:hover,
.docotoo-btn-outline .wp-block-button__link:focus {
	background: rgba(255, 255, 255, 0.14);
	color: var(--docotoo-white);
}

.docotoo-btn-light .wp-block-button__link:focus-visible,
.docotoo-btn-outline .wp-block-button__link:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.65);
	outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   Sections
   ------------------------------------------------------------------------- */
.docotoo-section {
	padding-block: clamp(3rem, 6vw, 5rem);
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.docotoo-section h2 {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(1.9rem, 2.4vw + 1rem, 2.9rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
}

.docotoo-section-inner {
	max-width: 1200px;
	margin-inline: auto;
}

/* -------------------------------------------------------------------------
   Prose blocks
   Multi-paragraph copy inside sections that use the inner gap reset.
   ------------------------------------------------------------------------- */
.docotoo-prose {
	max-width: 760px;
}

.docotoo-prose p,
.docotoo-prose li {
	color: var(--docotoo-muted);
	line-height: 1.7;
}

.docotoo-prose p {
	margin-block: 0 1rem;
}

.docotoo-prose p:last-child {
	margin-block-end: 0;
}

.docotoo-prose ul,
.docotoo-prose ol {
	margin-block: 0 1rem;
	padding-inline-start: 1.25rem;
}

.docotoo-prose li {
	margin-block: 0.35rem;
}

.wp-block-group.docotoo-section-inner > .docotoo-prose {
	margin-block: clamp(1.5rem, 3vw, 2rem) 0;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.docotoo-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--docotoo-white);
	background-color: var(--docotoo-navy);
	background-image:
		radial-gradient(circle at 80% 15%, rgba(40, 104, 216, 0.38), transparent 45%),
		linear-gradient(112deg, rgba(15, 30, 55, 0.97) 0%, rgba(15, 30, 55, 0.9) 45%, rgba(24, 52, 100, 0.8) 100%),
		url("/wp-content/uploads/2023/09/themeflat-com-bg_hero-Home03-scaled-1.webp");
	background-size: cover;
	background-position: center;
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.docotoo-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.docotoo-hero-copy h1 {
	max-width: 18ch;
	color: var(--docotoo-white);
	font-size: clamp(2.4rem, 4.5vw + 1rem, 4rem);
	line-height: 1.04;
	letter-spacing: -0.025em;
}

.docotoo-hero-copy p {
	color: rgba(255, 255, 255, 0.86);
}

.wp-block-group.docotoo-hero-copy > h1 {
	margin-block: 0 1.1rem;
}

.docotoo-eyebrow {
	margin: 0;
	color: var(--docotoo-primary);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.docotoo-hero-copy .docotoo-eyebrow {
	color: var(--docotoo-primary-soft);
}

.wp-block-group.docotoo-hero-copy > .docotoo-eyebrow {
	margin-block: 0 0.9rem;
}

.wp-block-group.docotoo-hero-copy > .wp-block-buttons {
	margin-block: 1.75rem 0;
	gap: 0.75rem;
}

/* Product mockup card */
.docotoo-mockup {
	background: var(--docotoo-white);
	color: var(--docotoo-ink);
	border: 1px solid rgba(15, 30, 55, 0.06);
	border-radius: var(--docotoo-radius);
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.6);
}

.wp-block-group.docotoo-mockup > .docotoo-mockup-head {
	margin-block: 0 0.25rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--docotoo-border);
	gap: 0.75rem;
}

.docotoo-mockup .docotoo-mockup-title {
	margin: 0;
	color: var(--docotoo-navy);
	font-size: 1rem;
	font-weight: 600;
}

.docotoo-mockup .docotoo-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.32rem 0.7rem;
	background: #e3f5ea;
	color: var(--docotoo-success);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.docotoo-mockup .docotoo-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.docotoo-mockup .docotoo-mockup-row {
	margin: 0;
	padding-block: 0.7rem;
	gap: 0.65rem;
	border-bottom: 1px dashed var(--docotoo-border);
}

.docotoo-mockup .docotoo-mockup-row:last-of-type {
	border-bottom: 0;
}

.docotoo-mockup .docotoo-check {
	display: inline-flex;
	align-items: center;
	color: var(--docotoo-primary);
	flex-shrink: 0;
}

.docotoo-mockup .docotoo-mockup-label {
	margin: 0;
	color: var(--docotoo-ink);
	font-size: 0.95rem;
}

.wp-block-group.docotoo-mockup > .docotoo-mockup-caption {
	margin-block: 0.9rem 0;
	color: var(--docotoo-muted);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Cards and icon badges
   ------------------------------------------------------------------------- */
.docotoo-card {
	background: var(--docotoo-white);
	border: 1px solid var(--docotoo-border);
	border-radius: var(--docotoo-radius);
	padding: clamp(1.5rem, 2.5vw, 2rem);
	box-shadow: var(--docotoo-shadow);
}

.docotoo-card h3 {
	font-size: clamp(1.05rem, 1vw + 0.8rem, 1.25rem);
	line-height: 1.3;
}

.wp-block-group.docotoo-card > h3 {
	margin-block: 0 0.5rem;
}

.docotoo-card p {
	color: var(--docotoo-muted);
}

.docotoo-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--docotoo-primary-tint);
	color: var(--docotoo-primary);
}

.wp-block-group.docotoo-card > .docotoo-icon {
	margin-block: 0 1rem;
}

.docotoo-icon svg {
	width: 24px;
	height: 24px;
}

/* -------------------------------------------------------------------------
   Problem section
   ------------------------------------------------------------------------- */
.docotoo-problem {
	background: var(--docotoo-surface);
}

.docotoo-problem-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.wp-block-group.docotoo-section-inner > .docotoo-problem-grid {
	margin-block: clamp(2rem, 4vw, 2.75rem) 0;
}

/* -------------------------------------------------------------------------
   Features section
   ------------------------------------------------------------------------- */
.docotoo-features {
	background: var(--docotoo-white);
}

.docotoo-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.wp-block-group.docotoo-section-inner > .docotoo-feature-grid {
	margin-block: clamp(2rem, 4vw, 2.75rem) 0;
}

.docotoo-feature-card {
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.docotoo-feature-card:hover {
	transform: translateY(-4px);
	border-color: var(--docotoo-primary-soft);
	box-shadow: 0 26px 50px -28px rgba(15, 30, 55, 0.45);
}

.docotoo-more-link a {
	font-weight: 600;
	text-decoration: none;
}

.docotoo-more-link a::after {
	content: " \2192";
}

.docotoo-more-link a:hover,
.docotoo-more-link a:focus {
	text-decoration: underline;
}

.wp-block-group.docotoo-section-inner > .docotoo-more-link {
	margin-block: 2rem 0;
}

/* "Saber más" link used at the bottom of feature and related cards */
.docotoo-card-link a {
	color: var(--docotoo-primary);
	font-weight: 600;
	text-decoration: none;
}

.docotoo-card-link a:hover,
.docotoo-card-link a:focus {
	text-decoration: underline;
}

.wp-block-group.docotoo-card > .docotoo-card-link {
	margin-block-start: 1rem;
}

/* -------------------------------------------------------------------------
   Intake channel section (home): three ways to receive documentation
   ------------------------------------------------------------------------- */
.docotoo-channels {
	background: var(--docotoo-white);
}

.wp-block-group.docotoo-section-inner > .docotoo-channel-subhead {
	margin-block: 0.75rem 0;
	max-width: 60ch;
	color: var(--docotoo-muted);
	font-size: 1.05rem;
	line-height: 1.6;
}

.wp-block-group.docotoo-section-inner > .docotoo-channel-grid {
	margin-block: clamp(2rem, 4vw, 2.75rem) 0;
}

.docotoo-channel-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.docotoo-channel-card {
	background: var(--docotoo-white);
	border: 1px solid var(--docotoo-border);
	border-radius: var(--docotoo-radius);
	padding: clamp(1.5rem, 2.5vw, 2rem);
	box-shadow: var(--docotoo-shadow);
}

.wp-block-group.docotoo-channel-card > * {
	margin-block: 0;
}

.wp-block-group.docotoo-channel-card > .docotoo-icon {
	margin-block: 1rem 0;
}

.wp-block-group.docotoo-channel-card > h3 {
	margin-block: 0.85rem 0.5rem;
}

.wp-block-group.docotoo-channel-card > p {
	margin-block: 0;
	color: var(--docotoo-muted);
}

.wp-block-group.docotoo-channel-card > .docotoo-card-link {
	margin-block: 1rem 0;
}

/* Availability badges */
.docotoo-badge-available,
.docotoo-badge-soon {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.32rem 0.7rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
}

.docotoo-badge-available::before,
.docotoo-badge-soon::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.docotoo-badge-available {
	background: #e3f5ea;
	color: var(--docotoo-success);
}

.docotoo-badge-soon {
	background: var(--docotoo-primary-tint);
	color: var(--docotoo-muted);
}

@media (max-width: 900px) {
	.docotoo-channel-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* -------------------------------------------------------------------------
   Audience section
   ------------------------------------------------------------------------- */
.docotoo-audience {
	color: var(--docotoo-white);
	background-color: var(--docotoo-primary);
	background-image:
		radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 42%),
		linear-gradient(120deg, var(--docotoo-primary) 0%, #1f56bd 100%);
}

.docotoo-audience-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4rem);
}

.docotoo-audience h2 {
	color: var(--docotoo-white);
}

.wp-block-group.docotoo-audience-copy > h2 {
	margin-block: 0 1rem;
}

.docotoo-audience p {
	color: rgba(255, 255, 255, 0.9);
}

.wp-block-group.docotoo-audience-copy > .wp-block-buttons {
	margin-block: 1.75rem 0;
}

.docotoo-person {
	position: relative;
	overflow: hidden;
	padding: clamp(1rem, 2vw, 1.5rem);
	background: var(--docotoo-white);
	border-radius: 24px;
	box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.45);
}

.docotoo-person::before {
	content: "";
	position: absolute;
	top: -50px;
	right: -60px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--docotoo-primary-soft) 0%, rgba(214, 228, 250, 0) 70%);
	pointer-events: none;
}

.docotoo-person .wp-block-image {
	position: relative;
	z-index: 1;
	margin: 0;
}

.docotoo-person img {
	display: block;
	width: 100%;
	height: auto;
}

/* -------------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------------- */
.docotoo-final-cta {
	color: var(--docotoo-white);
	background-color: var(--docotoo-navy);
	background-image:
		radial-gradient(circle at 82% 0%, rgba(40, 104, 216, 0.45), transparent 55%),
		linear-gradient(135deg, #0f1e37 0%, #122a4f 100%);
	text-align: center;
}

.docotoo-final-cta .docotoo-section-inner > h2 {
	max-width: 20ch;
	margin-block: 0 1rem;
	margin-inline: auto;
	color: var(--docotoo-white);
}

.docotoo-final-cta p {
	color: rgba(255, 255, 255, 0.82);
}

.docotoo-final-cta .docotoo-section-inner > .wp-block-buttons {
	margin-block: 1.75rem 0;
	justify-content: center;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.docotoo-footer {
	color: rgba(255, 255, 255, 0.78);
	background-color: var(--docotoo-navy);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-block: clamp(2.5rem, 5vw, 4rem);
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.docotoo-footer p {
	color: rgba(255, 255, 255, 0.72);
}

.docotoo-footer a {
	color: var(--docotoo-white);
	text-decoration: none;
}

.docotoo-footer a:hover,
.docotoo-footer a:focus {
	color: var(--docotoo-primary-soft);
	text-decoration: underline;
}

.docotoo-footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	align-items: start;
	gap: clamp(2rem, 4vw, 3rem);
}

.docotoo-footer-logo {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	background: var(--docotoo-white);
	border-radius: 12px;
}

.wp-block-group.docotoo-footer-brand > .docotoo-footer-logo {
	margin-block: 0 1rem;
}

.docotoo-footer-logo .wp-block-image {
	margin: 0;
}

.docotoo-footer-logo img {
	display: block;
	width: 78px;
	height: auto;
}

.wp-block-group.docotoo-footer-brand > p {
	margin-block: 0 0.75rem;
}

.wp-block-group.docotoo-footer-brand > p:last-child {
	margin-block: 0;
}

.docotoo-footer-label {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.wp-block-group.docotoo-footer-col > .docotoo-footer-label {
	margin-block: 0 0.75rem;
}

.docotoo-footer .wp-block-list {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.docotoo-footer .wp-block-list li {
	margin: 0;
}

.docotoo-footer .wp-block-list a {
	color: rgba(255, 255, 255, 0.78);
}

.docotoo-footer .wp-block-list a:hover,
.docotoo-footer .wp-block-list a:focus {
	color: var(--docotoo-white);
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.docotoo-hero-grid,
	.docotoo-audience-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.docotoo-problem-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.docotoo-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.docotoo-footer-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.docotoo-person {
		max-width: 460px;
		margin-inline: auto;
	}
}

@media (max-width: 600px) {
	.docotoo-hero-copy h1 {
		max-width: none;
	}

	.docotoo-feature-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.wp-block-group.docotoo-hero-copy > .wp-block-buttons {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.docotoo-feature-card {
		transition: none;
	}

	.docotoo-feature-card:hover {
		transform: none;
	}
}

/* -------------------------------------------------------------------------
   Desktop feature grid: center the last two cards (3 + 2)
   ------------------------------------------------------------------------- */
@media (min-width: 901px) {
	.docotoo-feature-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.docotoo-steps-grid.docotoo-steps-grid-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.docotoo-feature-grid > .docotoo-feature-card {
		grid-column: span 2;
	}

	.docotoo-feature-grid > .docotoo-feature-card:nth-child(4) {
		grid-column: 2 / span 2;
	}

	.docotoo-feature-grid > .docotoo-feature-card:nth-child(5) {
		grid-column: 4 / span 2;
	}
}

/* -------------------------------------------------------------------------
   Six-card feature grid: clean 3 + 3 desktop layout
   ------------------------------------------------------------------------- */
@media (min-width: 901px) {
	.docotoo-feature-grid.docotoo-feature-grid-6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.docotoo-feature-grid.docotoo-feature-grid-6 > .docotoo-feature-card,
	.docotoo-feature-grid.docotoo-feature-grid-6 > .docotoo-feature-card:nth-child(4),
	.docotoo-feature-grid.docotoo-feature-grid-6 > .docotoo-feature-card:nth-child(5) {
		grid-column: auto;
	}
}

/* -------------------------------------------------------------------------
   Compact header on small screens
   ------------------------------------------------------------------------- */
@media (max-width: 600px) {
	.docotoo-header {
		flex-wrap: nowrap;
		gap: 0.75rem;
		padding-block: 0.75rem;
	}

	.docotoo-logo img {
		width: 76px;
	}

	.docotoo-header .wp-block-buttons {
		margin-left: auto;
	}

	.docotoo-header .wp-block-button__link {
		padding: 0.55rem 0.85rem;
		font-size: 0.8rem;
		white-space: nowrap;
	}
}

/* -------------------------------------------------------------------------
   Accessibility toolbar: move it to the bottom-left so it never covers the logo
   ------------------------------------------------------------------------- */
#pojo-a11y-toolbar.pojo-a11y-toolbar-left {
	top: auto !important;
	bottom: 1rem !important;
}

/* -------------------------------------------------------------------------
   Interior page layout gap reset
   New containers below manage their own spacing, so reset direct children to
   avoid doubled block gaps.
   ------------------------------------------------------------------------- */
.wp-block-group.docotoo-steps-grid > *,
.wp-block-group.docotoo-step > *,
.wp-block-group.docotoo-form-card > *,
.wp-block-group.docotoo-split-grid > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* -------------------------------------------------------------------------
   Interior page hero (shorter variant of the home hero)
   ------------------------------------------------------------------------- */
.docotoo-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--docotoo-white);
	background-color: var(--docotoo-navy);
	background-image:
		radial-gradient(circle at 80% 15%, rgba(40, 104, 216, 0.38), transparent 45%),
		linear-gradient(112deg, rgba(15, 30, 55, 0.97) 0%, rgba(15, 30, 55, 0.9) 45%, rgba(24, 52, 100, 0.8) 100%),
		url("/wp-content/uploads/2023/09/themeflat-com-bg_hero-Home03-scaled-1.webp");
	background-size: cover;
	background-position: center;
	padding-block: clamp(2.75rem, 5vw, 4.25rem);
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.wp-block-group.docotoo-page-hero-inner {
	width: 100%;
	max-width: 820px;
}

.docotoo-page-hero .docotoo-hero-copy h1 {
	max-width: 24ch;
	font-size: clamp(2.1rem, 3vw + 1rem, 3.15rem);
}

.docotoo-page-hero .docotoo-hero-copy > .wp-block-buttons {
	margin-block: 1.5rem 0;
}

/* -------------------------------------------------------------------------
   Steps section (Cómo funciona)
   ------------------------------------------------------------------------- */
.docotoo-steps {
	background: var(--docotoo-surface);
}

.docotoo-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.25rem, 2vw, 1.75rem);
}

.wp-block-group.docotoo-section-inner > .docotoo-steps-grid {
	margin-block: clamp(2rem, 4vw, 2.75rem) 0;
}

.docotoo-step {
	background: var(--docotoo-white);
	border: 1px solid var(--docotoo-border);
	border-radius: var(--docotoo-radius);
	padding: clamp(1.5rem, 2.5vw, 2rem);
	box-shadow: var(--docotoo-shadow);
}

.docotoo-step .docotoo-step-number {
	display: block;
	margin-block-end: 0.85rem;
	color: var(--docotoo-primary);
	font-size: clamp(2rem, 2.4vw + 1rem, 2.75rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}

.docotoo-step h3 {
	font-size: clamp(1.05rem, 1vw + 0.8rem, 1.25rem);
	line-height: 1.3;
}

.wp-block-group.docotoo-step > h3 {
	margin-block: 0 0.5rem;
}

.docotoo-step p {
	color: var(--docotoo-muted);
}

/* -------------------------------------------------------------------------
   Two-column page sections (Demo, Contacto)
   ------------------------------------------------------------------------- */
.docotoo-split-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 4rem);
}

.wp-block-group.docotoo-split-copy > h2 {
	margin-block: 0 1rem;
}

.docotoo-split-copy p {
	color: var(--docotoo-muted);
}

.docotoo-split-copy .wp-block-list {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding-inline-start: 1.25rem;
	list-style: disc;
}

.docotoo-split-copy .wp-block-list li {
	margin: 0;
}

.docotoo-split-copy > .wp-block-shortcode,
.docotoo-split-copy > .wpcf7 {
	margin-block-start: 1.5rem;
}

/* -------------------------------------------------------------------------
   Contact form card (Demo)
   ------------------------------------------------------------------------- */
.docotoo-form-card {
	background: var(--docotoo-white);
	border: 1px solid var(--docotoo-border);
	border-radius: var(--docotoo-radius);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: var(--docotoo-shadow);
}

.wp-block-group.docotoo-form-card > h3 {
	margin-block: 0 1.25rem;
	font-size: clamp(1.15rem, 1vw + 0.9rem, 1.4rem);
	line-height: 1.25;
}

.wp-block-group.docotoo-form-card > .docotoo-form-note {
	margin-block: 1rem 0;
	color: var(--docotoo-muted);
	font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
   Contact Form 7 styling (scoped to .docotoo-form-card and .wpcf7)
   ------------------------------------------------------------------------- */
.docotoo-form-card .wpcf7,
.wpcf7 {
	margin: 0;
}

.wpcf7 form {
	margin: 0;
}

.wpcf7 p {
	margin: 0 0 1rem;
}

.wpcf7 p:last-of-type {
	margin-block-end: 0;
}

.wpcf7 label {
	display: block;
	margin-block-end: 0.35rem;
	color: var(--docotoo-ink);
	font-size: 0.9rem;
	font-weight: 600;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	color: var(--docotoo-ink);
	background: var(--docotoo-white);
	border: 1px solid var(--docotoo-border);
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
}

.wpcf7 textarea {
	min-height: 9rem;
	resize: vertical;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--docotoo-primary);
	box-shadow: 0 0 0 3px rgba(40, 104, 216, 0.18);
}

.wpcf7 .wpcf7-list-item {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0 1rem 0 0;
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0.2rem 0 0;
	flex-shrink: 0;
	accent-color: var(--docotoo-primary);
}

.wpcf7 .wpcf7-list-item-label {
	color: var(--docotoo-muted);
	font-weight: 400;
}

.wpcf7 input[type="submit"].wpcf7-submit,
.wpcf7 button.wpcf7-submit {
	display: inline-block;
	width: auto;
	padding: 0.8rem 1.5rem;
	color: var(--docotoo-white);
	background: var(--docotoo-primary);
	border: 0;
	border-radius: 8px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 160ms ease;
}

.wpcf7 input[type="submit"].wpcf7-submit:hover,
.wpcf7 input[type="submit"].wpcf7-submit:focus,
.wpcf7 button.wpcf7-submit:hover,
.wpcf7 button.wpcf7-submit:focus {
	background: var(--docotoo-primary-dark);
	color: var(--docotoo-white);
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-block-start: 0.35rem;
	color: #b42318;
	font-size: 0.85rem;
}

.wpcf7 .wpcf7-not-valid {
	border-color: #b42318;
}

.wpcf7 .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.75rem 1rem;
	border: 1px solid var(--docotoo-border);
	border-radius: 10px;
	font-size: 0.9rem;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #b7e0c6;
	background: #f0faf4;
	color: var(--docotoo-success);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #f0c2bc;
	background: #fdf2f2;
	color: #8a1f1f;
}

/* -------------------------------------------------------------------------
   Contact page card and helper link
   ------------------------------------------------------------------------- */
.wp-block-group.docotoo-contact-card > h3 {
	margin-block: 0 0.75rem;
}

.wp-block-group.docotoo-contact-card > .wp-block-buttons {
	margin-block: 1.5rem 0;
}

.wp-block-group.docotoo-section-inner > .docotoo-contact-link {
	margin-block: 2rem 0;
	color: var(--docotoo-muted);
}

/* -------------------------------------------------------------------------
   Interior pages: responsive two-column and steps grids
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.docotoo-split-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.docotoo-steps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.docotoo-steps-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.docotoo-page-hero .docotoo-hero-copy h1 {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7 input[type="submit"].wpcf7-submit,
	.wpcf7 button.wpcf7-submit {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
   Legal pages
   ------------------------------------------------------------------------- */
.docotoo-legal {
	background: var(--docotoo-white);
}

.docotoo-legal .docotoo-section-inner {
	max-width: 860px;
}

.docotoo-legal h2 {
	margin-block: 2rem 0.75rem;
	font-size: clamp(1.35rem, 1.2vw + 1rem, 1.7rem);
	color: var(--docotoo-navy);
}

.docotoo-legal h3 {
	margin-block: 1.5rem 0.5rem;
	font-size: 1.15rem;
	color: var(--docotoo-navy);
}

.docotoo-legal h4 {
	margin-block: 1.25rem 0.5rem;
	font-size: 1.05rem;
	color: var(--docotoo-navy);
}

.docotoo-legal p,
.docotoo-legal li {
	color: var(--docotoo-muted);
	line-height: 1.7;
}

.docotoo-legal p {
	margin-block: 0 1rem;
}

.docotoo-legal ul,
.docotoo-legal ol {
	margin-block: 0 1rem;
	padding-left: 1.25rem;
}

.docotoo-legal li {
	margin-block: 0.35rem;
}

.docotoo-legal a {
	color: var(--docotoo-primary);
}

.docotoo-legal strong {
	color: var(--docotoo-ink);
}

.docotoo-legal table {
	width: 100%;
	border-collapse: collapse;
	margin-block: 1.25rem;
	font-size: 0.95rem;
}

.docotoo-legal th,
.docotoo-legal td {
	border: 1px solid var(--docotoo-border);
	padding: 0.6rem 0.75rem;
	text-align: left;
	vertical-align: top;
}

.docotoo-legal th {
	background: var(--docotoo-surface);
	color: var(--docotoo-ink);
}

/* -------------------------------------------------------------------------
   FAQ section
   ------------------------------------------------------------------------- */
.docotoo-faq {
	background: var(--docotoo-surface);
}

.wp-block-group.docotoo-faq .docotoo-section-inner > h2 {
	margin-block: 0 clamp(1.5rem, 3vw, 2rem);
}

.wp-block-group.docotoo-faq .docotoo-section-inner > details {
	margin-block: 0;
}

.wp-block-group.docotoo-faq .docotoo-section-inner > details + details {
	margin-block-start: 1rem;
}

.docotoo-faq details {
	background: var(--docotoo-white);
	border: 1px solid var(--docotoo-border);
	border-radius: var(--docotoo-radius);
	padding: clamp(1rem, 1.6vw, 1.35rem) clamp(1.25rem, 2.4vw, 1.75rem);
	box-shadow: var(--docotoo-shadow);
}

.docotoo-faq details summary {
	cursor: pointer;
	color: var(--docotoo-navy);
	font-weight: 600;
	line-height: 1.4;
	padding-block: 0.1rem;
}

.docotoo-faq details summary:focus-visible {
	outline: 3px solid var(--docotoo-primary-soft);
	outline-offset: 4px;
	border-radius: 6px;
}

.docotoo-faq details p {
	margin-block: 0.75rem 0;
	color: var(--docotoo-muted);
	line-height: 1.7;
}

@media (max-width: 600px) {
	.docotoo-faq details {
		padding: 1rem;
	}
}

/* -------------------------------------------------------------------------
   Blog archive (home.html)
   ------------------------------------------------------------------------- */
.docotoo-blog {
	background: var(--docotoo-white);
}

.docotoo-blog-grid.wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.docotoo-blog-grid > li {
	display: flex;
	margin: 0;
	list-style: none;
}

/* -------------------------------------------------------------------------
   Blog post card
   ------------------------------------------------------------------------- */
.wp-block-group.docotoo-post-card > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.docotoo-post-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--docotoo-white);
	border: 1px solid var(--docotoo-border);
	border-radius: var(--docotoo-radius);
	padding: clamp(1.5rem, 2.5vw, 2rem);
	box-shadow: var(--docotoo-shadow);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.docotoo-post-card:hover {
	transform: translateY(-4px);
	border-color: var(--docotoo-primary-soft);
	box-shadow: 0 26px 50px -28px rgba(15, 30, 55, 0.45);
}

.docotoo-post-card .wp-block-post-title {
	margin-block: 0 0.5rem;
	font-size: clamp(1.1rem, 1vw + 0.9rem, 1.35rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.docotoo-post-card .wp-block-post-title a {
	color: var(--docotoo-navy);
	text-decoration: none;
}

.docotoo-post-card .wp-block-post-title a:hover,
.docotoo-post-card .wp-block-post-title a:focus {
	color: var(--docotoo-primary);
}

.docotoo-post-card .wp-block-post-date {
	margin-block: 0 0.75rem;
	color: var(--docotoo-muted);
	font-size: 0.8125rem;
}

.docotoo-post-card .wp-block-post-excerpt {
	margin-block: 0;
	color: var(--docotoo-muted);
}

.docotoo-post-card .wp-block-post-excerpt__excerpt {
	margin-block: 0;
	line-height: 1.6;
}

.docotoo-post-card .wp-block-post-excerpt__more-text {
	margin-block: 1rem 0;
}

.docotoo-post-card .wp-block-post-excerpt__more-link {
	color: var(--docotoo-primary);
	font-weight: 600;
	text-decoration: none;
}

.docotoo-post-card .wp-block-post-excerpt__more-link:hover,
.docotoo-post-card .wp-block-post-excerpt__more-link:focus {
	text-decoration: underline;
}

/* Blog pagination */
.docotoo-blog .wp-block-query-pagination {
	margin-block-start: clamp(2rem, 4vw, 2.75rem);
}

.docotoo-blog .wp-block-query-pagination a {
	color: var(--docotoo-primary);
	font-weight: 600;
	text-decoration: none;
}

.docotoo-blog .wp-block-query-pagination a:hover,
.docotoo-blog .wp-block-query-pagination a:focus {
	text-decoration: underline;
}

.docotoo-blog .wp-block-query-pagination .current {
	color: var(--docotoo-navy);
	font-weight: 700;
}

/* -------------------------------------------------------------------------
   Single post (single.html)
   ------------------------------------------------------------------------- */
.docotoo-page-hero .docotoo-hero-copy .wp-block-post-date {
	margin-block: 0.25rem 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.9rem;
}

.docotoo-page-hero .docotoo-hero-copy .wp-block-post-date time {
	color: inherit;
}

.docotoo-post-body {
	background: var(--docotoo-white);
}

.docotoo-post-content {
	max-width: 760px;
	margin-inline: auto;
	color: var(--docotoo-ink);
}

.docotoo-post-content h2 {
	max-width: none;
	margin-block: clamp(2rem, 3vw, 2.5rem) 0.75rem;
	font-size: clamp(1.5rem, 1.6vw + 1rem, 1.9rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.docotoo-post-content h3 {
	margin-block: 1.75rem 0.6rem;
	font-size: clamp(1.2rem, 1vw + 1rem, 1.45rem);
	line-height: 1.3;
}

.docotoo-post-content h2:first-child,
.docotoo-post-content h3:first-child {
	margin-block-start: 0;
}

.docotoo-post-content p,
.docotoo-post-content li {
	color: var(--docotoo-ink);
	line-height: 1.75;
}

.docotoo-post-content p {
	margin-block: 0 1.15rem;
}

.docotoo-post-content ul,
.docotoo-post-content ol {
	margin-block: 0 1.15rem;
	padding-inline-start: 1.4rem;
}

.docotoo-post-content li {
	margin-block: 0.4rem;
}

.docotoo-post-content li > ul,
.docotoo-post-content li > ol {
	margin-block: 0.4rem 0;
}

.docotoo-post-content a {
	color: var(--docotoo-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.docotoo-post-content a:hover,
.docotoo-post-content a:focus {
	color: var(--docotoo-primary-dark);
}

.docotoo-post-content strong {
	color: var(--docotoo-navy);
	font-weight: 600;
}

.docotoo-post-content blockquote {
	margin-block: 1.5rem;
	padding: 1rem 1.25rem;
	border-inline-start: 3px solid var(--docotoo-primary);
	background: var(--docotoo-primary-tint);
	border-radius: 0 12px 12px 0;
}

.docotoo-post-content blockquote p {
	margin-block: 0;
	color: var(--docotoo-navy);
}

.docotoo-post-content blockquote cite {
	display: block;
	margin-block-start: 0.5rem;
	color: var(--docotoo-muted);
	font-size: 0.9rem;
	font-style: normal;
}

.docotoo-post-content code {
	padding: 0.15rem 0.4rem;
	background: var(--docotoo-surface);
	border-radius: 6px;
	font-size: 0.9em;
}

.docotoo-post-content pre {
	overflow-x: auto;
	margin-block: 0 1.15rem;
	padding: 1rem 1.25rem;
	background: var(--docotoo-navy);
	color: var(--docotoo-white);
	border-radius: 12px;
}

.docotoo-post-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.docotoo-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.docotoo-post-content .docotoo-post-back {
	margin-block: 2rem 0;
	font-size: 0.9rem;
}

.docotoo-post-content .docotoo-post-back a {
	color: var(--docotoo-primary);
	font-weight: 600;
	text-decoration: none;
}

.docotoo-post-content .docotoo-post-back a:hover,
.docotoo-post-content .docotoo-post-back a:focus {
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
   Blog responsive
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.docotoo-blog-grid.wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.docotoo-blog-grid.wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}

	.docotoo-post-card {
		padding: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.docotoo-post-card {
		transition: none;
	}

	.docotoo-post-card:hover {
		transform: none;
	}
}
