/* ==========================================================================
   Wordcraft Press — front-end CSS
   Colors/typography/spacing tokens live in theme.json. This file holds the
   interaction patterns and component polish core blocks can't express on
   their own: the Servicios mega-menu, the sticky contact FAB, the
   chat-styled modal, card hover states, icon badges, and the pricing table.
   ========================================================================== */

/* ---- Global element polish ---------------------------------------------- */

/* Heading links (service icons, card titles) must not look like body links —
   no underline, inherit the heading's ink color, greens only on hover. */
h1 a, h2 a, h3 a, h4 a,
.wp-block-heading a {
	text-decoration: none;
	color: inherit;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover,
.wp-block-heading a:hover {
	color: var(--wp--preset--color--green-600);
}

/* Body links get a subtle underline offset so prose reads cleanly. */
.wc-prose a,
.entry-content a {
	text-underline-offset: 0.15em;
}

/* Consistent vertical rhythm helper for full-bleed sections. */
.wc-section {
	padding-block: clamp(4rem, 8vw, 6rem);
	padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}

.wc-section--tight {
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

/* Eyebrow: small uppercase label above section headings. */
.wc-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--green-500);
	margin-bottom: 0.75rem;
}

.wc-eyebrow.has-text-align-center {
	text-align: center;
}

/* Lede paragraph: slightly larger, muted, tighter measure. */
.wc-lede {
	font-size: 1.1875rem;
	line-height: 1.6;
	color: var(--wp--preset--color--ink-muted);
}

.wc-measure {
	max-width: 44rem;
	margin-inline: auto;
}

/* ---- Hero (two-column) ---------------------------------------------------- */

.wc-hero {
	background: var(--wp--preset--color--cream);
	background-image: linear-gradient(135deg, oklch(98% 0.01 95) 0%, oklch(92% 0.045 150) 100%);
}

.wc-hero__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(2.5rem, 5vw, 3.5rem);
	align-items: center;
}

.wc-hero__art {
	display: flex;
	justify-content: center;
}

.wc-hero__art svg {
	width: 100%;
	max-width: 420px;
	height: auto;
}

/* ---- Service card grid ---------------------------------------------------- */

.wc-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.75rem;
}

.wc-cards--4 {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wc-service-card {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	padding: 2rem;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.wc-service-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in oklab, var(--wp--preset--color--green-500) 40%, var(--wp--preset--color--border));
	box-shadow: 0 20px 40px -16px oklch(23% 0.05 155 / 0.22);
}

.wc-service-card h3 {
	margin: 0;
	font-size: 1.2rem;
}

.wc-service-card h3 a { text-decoration: none; color: inherit; }

.wc-service-card p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--ink-muted);
	line-height: 1.6;
}

.wc-more-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--wp--preset--color--green-600);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
}

.wc-more-link:hover { color: var(--wp--preset--color--green-700); }
.wc-more-link svg { width: 16px; height: 16px; }

/* ---- Why-us pillars ------------------------------------------------------- */

.wc-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2.5rem;
}

.wc-pillar h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.wc-pillar p { margin: 0; color: var(--wp--preset--color--ink-muted); line-height: 1.6; }

/* ---- Lead magnet (two-column) --------------------------------------------- */

.wc-leadmagnet__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(2rem, 4vw, 3rem);
	align-items: center;
}

.wc-leadmagnet__art svg { width: 100%; max-width: 320px; height: auto; }

.wc-badge-gratis {
	display: inline-block;
	background: var(--wp--preset--color--green-700);
	color: var(--wp--preset--color--white);
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	font-size: 0.85rem;
}

/* ---- Cover sections (background-image hero bands) ------------------------- */

/* Outline buttons placed over a photo/cover become white. */
.wp-block-cover .is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--white);
	border-color: rgba(255, 255, 255, 0.7);
}

.wp-block-cover .is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: #fff;
}

/* Keep cover text off the edges on narrow screens. */
.wp-block-cover .wp-block-cover__inner-container {
	padding-inline: clamp(1.25rem, 5vw, 2rem);
}

/* White text over photos gets a soft shadow so it stays legible even where the
   image is light — this lets us use a lighter overlay and show more of the photo. */
.wp-block-cover .has-white-color {
	text-shadow: 0 1px 16px rgba(9, 15, 12, 0.55);
}

/* Lead-magnet: white card floating over the "hazlo tú mismo" photo. */
.wc-leadmagnet-card {
	background: var(--wp--preset--color--card);
	border-radius: 18px;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	box-shadow: 0 24px 48px -16px oklch(19% 0.014 150 / 0.45);
	margin-inline: auto;
	max-width: 620px;
	/* Cover blocks default their text to white; force dark text inside the card. */
	color: var(--wp--preset--color--ink);
}

.wc-leadmagnet-card :is(h1, h2, h3, h4, p, li, label) {
	color: var(--wp--preset--color--ink);
	text-shadow: none;
}

/* ---- Checklist (green ticks) ---------------------------------------------- */

.wc-checklist {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
}

.wc-checklist li {
	position: relative;
	padding-left: 1.9rem;
	margin-bottom: 0.75rem;
	color: var(--wp--preset--color--ink-muted);
}

.wc-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 999px;
	background: var(--wp--preset--color--green-100);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e6e3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6'/%3E%3C/svg%3E");
	background-size: 0.8rem;
	background-repeat: no-repeat;
	background-position: center;
}

/* ---- Client reviews (testimonials carousel) ------------------------------- */

.wc-resenas-strip {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-block: 0.5rem 1rem;
	-webkit-overflow-scrolling: touch;
}

.wc-resena-card {
	flex: 0 0 auto;
	scroll-snap-align: start;
	width: min(360px, 82vw);
	margin: 0;
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	padding: 1.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.wc-stars { letter-spacing: 0.1em; font-size: 1rem; line-height: 1; }
.wc-star { color: var(--wp--preset--color--border); }
.wc-star.is-on { color: var(--wp--preset--color--gold); }

.wc-resena-card__text {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--wp--preset--color--ink);
}

.wc-resena-card__text::before { content: "“"; }
.wc-resena-card__text::after { content: "”"; }

.wc-resena-card__cite {
	margin-top: auto;
	font-style: normal;
	display: flex;
	flex-direction: column;
}

.wc-resena-card__cite strong { color: var(--wp--preset--color--ink); }
.wc-resena-card__rol { font-size: 0.85rem; color: var(--wp--preset--color--ink-muted); }

.wc-resenas-empty {
	text-align: center;
	color: var(--wp--preset--color--ink-muted);
}

/* ---- Carousels: hidden scrollbar + pagination dots ------------------------ */

.wc-scroll-strip,
.wc-resenas-strip {
	scrollbar-width: none;        /* Firefox */
	-ms-overflow-style: none;     /* old Edge */
}

.wc-scroll-strip::-webkit-scrollbar,
.wc-resenas-strip::-webkit-scrollbar {
	display: none;                /* Chrome/Safari */
}

/* Dots are injected by front.js after each carousel strip. */
.wc-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.35rem;
}

.wc-carousel-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: var(--wp--preset--color--border);
	cursor: pointer;
	transition: width .2s ease, background-color .2s ease;
}

.wc-carousel-dot:hover { background: var(--wp--preset--color--green-300); }

.wc-carousel-dot.is-active {
	background: var(--wp--preset--color--green-500);
	width: 22px;
}

/* ---- Libro catalog: filter bar, chips, ficha meta ------------------------- */

.wc-libro-filtros {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.1rem 1.25rem;
	background: var(--wp--preset--color--cream-alt);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
}

.wc-libro-filtros__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
}

.wc-libro-filtros__label {
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--green-600);
	margin-right: 0.35rem;
}

.wc-chip {
	display: inline-block;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--ink);
	font-size: 0.85rem;
	text-decoration: none;
	line-height: 1.4;
}

.wc-chip:hover {
	border-color: var(--wp--preset--color--green-500);
	color: var(--wp--preset--color--green-700);
}

.wc-chip.is-current {
	background: var(--wp--preset--color--green-500);
	border-color: var(--wp--preset--color--green-500);
	color: var(--wp--preset--color--white);
}

.wc-ficha-meta {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 1.25rem 0 0;
}

.wc-ficha-meta__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: baseline;
}

.wc-ficha-meta__label {
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--green-600);
	min-width: 9rem;
}

.wc-ficha-meta__chips { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; }

/* ---- Author / team walls -------------------------------------------------- */

.wc-wall-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1.5rem;
}

.wc-wall-grid--team {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.wc-wall-cover {
	aspect-ratio: 3 / 4;
	border-radius: 0.75rem;
	box-shadow: 0 12px 28px -12px oklch(23% 0.05 155 / 0.35);
	display: flex;
	align-items: flex-end;
	padding: 14px;
}

.wc-wall-cover p {
	font-family: var(--wp--preset--font-family--heading);
	color: oklch(99% 0.006 90);
	font-size: 0.85rem;
	font-weight: 600;
	margin: 0;
}

.wc-wall-avatar {
	text-align: center;
}

.wc-wall-avatar__circle {
	width: 120px;
	height: 120px;
	border-radius: 999px;
	margin: 0 auto 0.75rem;
	box-shadow: 0 12px 28px -12px oklch(23% 0.05 155 / 0.3);
}

.wc-wall-avatar__name {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	margin: 0;
}

.wc-wall-avatar__role {
	font-size: 0.85rem;
	color: var(--wp--preset--color--ink-muted);
	margin: 0.15rem 0 0;
}

.wc-placeholder-note {
	font-size: 0.85rem;
	color: var(--wp--preset--color--ink-muted);
	font-style: italic;
	margin-top: 1.5rem;
}

/* ---- FAQ accordion (core Details block) ----------------------------------
   Turns the plain <details> list into tidy bordered cards with a rotating
   chevron marker and comfortable spacing. */

.wp-block-details {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	background: var(--wp--preset--color--card);
	padding: 0;
	margin-bottom: 0.85rem;
	overflow: hidden;
}

.wp-block-details > summary {
	list-style: none;
	cursor: pointer;
	padding: 1.05rem 1.25rem;
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--wp--preset--color--ink);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.wp-block-details > summary::-webkit-details-marker { display: none; }

.wp-block-details > summary::after {
	content: "";
	flex: 0 0 auto;
	width: 0.65rem;
	height: 0.65rem;
	border-right: 2px solid var(--wp--preset--color--green-500);
	border-bottom: 2px solid var(--wp--preset--color--green-500);
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.wp-block-details[open] > summary::after { transform: rotate(-135deg); }

.wp-block-details[open] > summary {
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.wp-block-details > :not(summary) {
	padding-inline: 1.25rem;
	color: var(--wp--preset--color--ink-muted);
}

.wp-block-details > :not(summary):first-of-type { padding-top: 1rem; }
.wp-block-details > :not(summary):last-child { padding-bottom: 1.15rem; }

/* Category headings on the FAQ page get breathing room above their group. */
.entry-content > .wp-block-heading,
.wc-prose > .wp-block-heading {
	margin-top: 2.5rem;
}

/* ---- Contact Form 7 forms ------------------------------------------------
   CF7 outputs unstyled markup; this brings inputs, checkboxes and the submit
   button in line with the rest of the design system. */

.wpcf7-form label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--ink);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
	display: block;
	width: 100%;
	margin-top: 0.4rem;
	padding: 0.8rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	box-sizing: border-box;
}

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

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: 2px solid var(--wp--preset--color--green-500);
	outline-offset: 1px;
	border-color: transparent;
}

.wpcf7-form input[type="file"] {
	display: block;
	margin-top: 0.4rem;
	font-size: 0.9rem;
}

/* Consent / acceptance + newsletter checkboxes */
.wpcf7-form .wpcf7-acceptance,
.wpcf7-form .wpcf7-checkbox {
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--wp--preset--color--ink-muted);
}

.wpcf7-form .wpcf7-list-item {
	display: block;
	margin: 0 0 0.75rem;
}

/* Each checkbox/acceptance row wraps its text in a <label>; keep that text at
   normal weight (the bold-label rule above is for field labels only). */
.wpcf7-form .wpcf7-list-item label {
	font-weight: 400;
	font-size: 0.9rem;
	margin-bottom: 0;
	color: var(--wp--preset--color--ink-muted);
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
}

.wpcf7-form .wpcf7-list-item-label {
	margin-left: 0.5rem;
}

.wpcf7-form input[type="checkbox"] {
	width: 1.1rem;
	height: 1.1rem;
	accent-color: var(--wp--preset--color--green-500);
	vertical-align: middle;
}

.wpcf7-form .wpcf7-submit {
	appearance: none;
	border: none;
	cursor: pointer;
	background: var(--wp--preset--color--green-500);
	color: var(--wp--preset--color--white);
	font-family: inherit;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.9rem 1.75rem;
	border-radius: 10px;
	margin-top: 0.5rem;
	transition: background-color .2s ease;
}

.wpcf7-form .wpcf7-submit:hover {
	background: var(--wp--preset--color--green-600);
}

.wpcf7-form .wpcf7-spinner { margin-left: 0.5rem; }

.wpcf7-form .wpcf7-not-valid-tip {
	color: oklch(50% 0.18 25);
	font-size: 0.85rem;
	font-weight: 400;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
	border-color: oklch(60% 0.18 25);
}

.wpcf7-response-output {
	border-radius: 10px;
	padding: 0.85rem 1rem !important;
	font-size: 0.95rem;
}

/* Contact page: form sits in a card. */
.wc-contact-form--page,
.wc-newsletter-form--page {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

/* Chat-modal variant: no card chrome, tighter. */
.wc-contact-form--chat .wpcf7-form label,
.wc-newsletter-form--chat .wpcf7-form label { margin-bottom: 0.75rem; }

/* Lead-magnet: newsletter form on the gradient needs no card. */
.wc-newsletter-form--lead-magnet .wpcf7-form label { color: var(--wp--preset--color--ink); }

/* ---- Service-page hero bands ---------------------------------------------
   The 5 /servicios/ subpages open with a full-bleed gradient band whose
   heading + intro paragraphs are direct children. Center them and cap the
   measure so long intros don't stretch edge to edge on wide screens. */

.has-forest-to-ink-gradient-background,
.has-emerald-to-gold-gradient-background {
	text-align: center;
}

.has-forest-to-ink-gradient-background > .wp-block-heading,
.has-forest-to-ink-gradient-background > p,
.has-emerald-to-gold-gradient-background > .wp-block-heading,
.has-emerald-to-gold-gradient-background > p {
	max-width: 52rem;
	margin-inline: auto;
}

/* ---- Header / mega-menu ------------------------------------------------- */

.wc-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: color-mix(in oklab, var(--wp--preset--color--cream) 86%, transparent);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Centered, max-width header content so it breathes on wide screens. */
.wc-header__inner {
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1rem, 3vw, 2.25rem);
	flex-wrap: wrap;
}

.wc-brand {
	align-items: center;
	gap: 0.7rem;
	flex-wrap: nowrap;
}

.wc-brand .wp-block-site-logo { margin: 0; line-height: 0; }
.wc-brand .wp-block-site-logo img { display: block; }
.wc-brand .wp-block-site-title { font-size: 1.35rem; white-space: nowrap; }

/* A little more breathing room between the nav items. */
.wc-header__nav.wp-block-navigation { --wp--style--block-gap: 1.75rem; }

.wc-mega-menu {
	display: none;
	position: absolute;
	inset-inline: 0;
	top: 100%;
	background: var(--wp--preset--color--card);
	border-top: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 20px 40px -16px oklch(23% 0.05 155 / 0.22);
	padding: 2rem clamp(1.5rem, 5vw, 4rem);
	z-index: 90;
}

/* Invisible bridge over the gap between the "Servicios" trigger and the panel,
   so moving the cursor down into the menu never lands on dead space. Combined
   with the JS close-delay, the flyout no longer collapses mid-move. */
.wc-mega-menu::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: -1.25rem;
	height: 1.25rem;
}

.wc-mega-menu__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2rem;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
}

.wc-mega-menu__column h3 {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: var(--wp--preset--color--green-500);
	margin-bottom: 0.75rem;
}

.wc-mega-menu__column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wc-mega-menu__column li {
	margin-bottom: 0.5rem;
}

.wc-mega-menu__column a {
	text-decoration: none;
	color: var(--wp--preset--color--ink);
}

.wc-mega-menu__column a:hover {
	color: var(--wp--preset--color--green-600);
	text-decoration: underline;
}

/* Open state is driven entirely by JS (hover-intent with a close delay on
   desktop, tap on mobile) so the cursor can cross the gap between trigger and
   panel without the flyout collapsing. */
.wc-header.is-mega-open .wc-mega-menu {
	display: block;
}

@media (max-width: 781px) {
	.wc-mega-menu {
		position: static;
		box-shadow: none;
		border-top: none;
	}

	.wc-mega-menu__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.wc-header.is-mega-open .wc-mega-menu {
		display: block;
	}
}

.wc-header__nav a {
	font-weight: 700;
	font-size: 15px;
}

.wc-header__nav .wp-block-navigation-item.wc-mega-trigger > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.wc-header__nav .wp-block-navigation-item.wc-nav-cta > a {
	color: var(--wp--preset--color--white) !important;
	background: var(--wp--preset--color--green-500);
	padding: 10px 20px;
	border-radius: 9px;
}

.wc-header__nav .wp-block-navigation-item.wc-nav-cta > a:hover {
	background: var(--wp--preset--color--green-600);
}

.wc-header__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: var(--wp--preset--color--green-50);
	margin-inline-start: 0.4rem;
}

.wc-header__social a:hover {
	background: var(--wp--preset--color--green-100);
}

/* ---- Footer ---------------------------------------------------------------
   The global link-color style (green-600) is unreadable on the footer's dark
   background, so footer link columns get their own muted/light treatment,
   matching the reference's footer link styling. */

.wc-footer-col h3 {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	color: oklch(70% 0.012 150);
}

.wc-footer-col a {
	color: oklch(88% 0.01 150) !important;
	text-decoration: none;
}

.wc-footer-col a:hover {
	color: var(--wp--preset--color--white) !important;
}

/* ---- Sticky contact button (circular FAB, like an email icon) ----------- */

.wc-sticky-contact {
	position: fixed;
	inset-inline-end: clamp(1rem, 4vw, 1.5rem);
	inset-block-end: clamp(1rem, 4vw, 1.5rem);
	z-index: 200;
}

.wc-sticky-contact a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: var(--wp--preset--color--green-700) !important;
	box-shadow: 0 24px 48px -16px oklch(23% 0.05 155 / 0.45);
	transition: background-color .2s ease;
}

.wc-sticky-contact a:hover {
	background: var(--wp--preset--color--green-800) !important;
}

.wc-sticky-contact svg {
	width: 24px;
	height: 24px;
	stroke: var(--wp--preset--color--white);
}

/* ---- Chat-styled contact modal -------------------------------------------- */

.wc-chat-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 300;
	background: oklch(19% 0.014 150 / 0.45);
	align-items: flex-end;
	justify-content: flex-end;
	padding: clamp(1rem, 4vw, 2.5rem);
	padding-inline-end: clamp(1rem, 4vw, 6rem);
	padding-block-end: clamp(5.5rem, 10vw, 7rem);
}

.wc-chat-modal.is-open {
	display: flex;
}

.wc-chat-modal__panel {
	background: var(--wp--preset--color--card);
	border-radius: 1.25rem;
	max-width: 380px;
	width: 100%;
	max-height: min(640px, 80vh);
	overflow-y: auto;
	padding: 1.5rem;
	box-shadow: 0 24px 48px -16px oklch(23% 0.05 155 / 0.45);
}

.wc-chat-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	font-family: var(--wp--preset--font-family--heading);
}

.wc-chat-modal__bubble {
	background: var(--wp--preset--color--green-50);
	border-radius: 1rem;
	padding: 0.85rem 1.1rem;
	margin-bottom: 1rem;
}

.wc-chat-modal__close {
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--wp--preset--color--green-700);
}

/* ---- Scroll-snap "carousels" (author covers, no JS needed) --------------- */

.wc-scroll-strip {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-block: 0.5rem 1rem;
	-webkit-overflow-scrolling: touch;
}

.wc-scroll-strip > * {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.wc-scroll-strip img {
	border-radius: 0.75rem;
	box-shadow: 0 12px 28px -12px oklch(23% 0.05 155 / 0.35);
}

/* ---- Cards: services, testimonials, blog teasers ------------------------- */

.wc-card {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.wc-card--interactive:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -16px oklch(23% 0.05 155 / 0.22);
}

.wc-icon-badge {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--wp--preset--color--green-50);
	color: var(--wp--preset--color--green-500);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.wc-icon-badge svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	fill: none;
}

.wc-icon-badge--lg {
	width: 56px;
	height: 56px;
	border-radius: 14px;
}

.wc-icon-badge--lg svg {
	width: 26px;
	height: 26px;
}

/* ---- Pricing table -------------------------------------------------------- */

.wc-pricing-table {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
}

.wc-pricing-table__plan {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	padding: 1.75rem;
	background: var(--wp--preset--color--card);
}

.wc-pricing-table__plan.wc-pricing-table__highlight {
	border-color: var(--wp--preset--color--green-500);
	box-shadow: 0 20px 40px -16px oklch(23% 0.05 155 / 0.28);
	transform: translateY(-0.5rem);
}

.wc-pricing-table__badge {
	display: inline-block;
	background: var(--wp--preset--color--green-500);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

.wc-pricing-table__price-was {
	text-decoration: line-through;
	opacity: 0.6;
	margin-inline-end: 0.5rem;
}
