/*
Theme Name: Bookinia
Theme URI: https://www.bookinia.com
Author: Bookinia
Author URI: https://www.bookinia.com
Description: Theme oficial del sitio de producto de Bookinia, la plataforma de agendamientos para WordPress. Diseño SaaS limpio en azul eléctrico, azul oscuro y blanco, optimizado para presentar el plugin, sus pasarelas de pago chilenas y sus planes con licencia.
Version: 1.8.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bookinia-theme
Tags: business, portfolio, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   Tokens
   ============================================================ */
:root {
	--blue: #2f6bff;
	--blue-600: #1f57e6;
	--navy: #0b1b3a;
	--navy-700: #14264d;
	--ink: #0b1b3a;
	--muted: #5a6580;
	--bg: #ffffff;
	--soft: #f4f7ff;
	--soft-2: #eef3ff;
	--line: #e4ebf7;
	--white: #ffffff;

	--radius: 18px;
	--radius-sm: 12px;
	--radius-pill: 999px;
	--shadow-sm: 0 2px 10px rgba(11, 27, 58, 0.06);
	--shadow: 0 18px 50px rgba(11, 27, 58, 0.12);
	--shadow-blue: 0 16px 40px rgba(47, 107, 255, 0.30);

	--maxw: 1140px;
	--display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--body);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--display); font-weight: 700;
	font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--blue); margin-bottom: 18px;
	background: rgba(47, 107, 255, .09);
	padding: 7px 14px 7px 12px; border-radius: 999px;
	line-height: 1;
}
.eyebrow::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%;
	background: var(--blue); flex: 0 0 auto;
}
/* Sobre fondos oscuros (app, servicio) el badge se aclara */
.section--app .eyebrow, .service-copy .eyebrow {
	background: rgba(255, 255, 255, .10); color: #9db6ff;
}
.section--app .eyebrow::before, .service-copy .eyebrow::before { background: #9db6ff; }
/* Centrado en las cabeceras de sección */
.section-head .eyebrow { margin-left: auto; margin-right: auto; }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--display); font-weight: 600; font-size: 1rem;
	padding: 13px 26px; border-radius: var(--radius-pill);
	border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--primary {
	background: var(--blue); color: #fff !important;
	box-shadow: 0 8px 26px rgba(47, 107, 255, 0.45);
	position: relative; overflow: hidden;
}
.btn--primary::after {
	content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: skewX(-20deg); pointer-events: none;
	animation: btn-shine 3.4s ease-in-out infinite;
}
@keyframes btn-shine { 0%, 55% { left: -130%; } 100% { left: 150%; } }
.btn--primary:hover { background: var(--blue-600); color: #fff !important; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(47, 107, 255, 0.62); }
.btn--primary svg, .btn--primary polyline { stroke: #fff; }
@media (prefers-reduced-motion: reduce) { .btn--primary::after { display: none; } }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); color: var(--navy); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--navy); letter-spacing: -0.02em; }
.brand:hover { color: var(--navy); }
.brand .mark { width: 34px; height: 34px; flex: 0 0 auto; }
/* Logo del encabezado — cubre tanto el logo de Identidad del sitio (custom-logo,
   que WordPress renderiza FUERA de .brand) como el logo empaquetado (.brand-logo). */
.site-header .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; margin: 0; }
.site-header img.custom-logo,
.site-header .brand img.custom-logo,
.site-header .brand img.brand-logo { height: 38px !important; width: auto !important; max-width: 220px; display: block; }
.site-header .brand .mark { width: 34px; height: 34px; }
.footer-brand .brand img.brand-logo,
.footer-brand .brand img.custom-logo { height: 40px !important; width: auto !important; max-width: 240px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--navy); font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; border-radius: 2px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 60% at 85% 0%, rgba(47, 107, 255, 0.10), transparent 70%),
		radial-gradient(50% 50% at 10% 20%, rgba(47, 107, 255, 0.07), transparent 70%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero p.lead { max-width: 30em; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; color: var(--muted); font-size: .92rem; display: flex; align-items: center; gap: 10px; }
.hero-trust strong { color: var(--navy); }

.hero-anim { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-anim { animation: none; } }

/* Booking card mockup (signature element) */
.bk-card {
	background: #fff; border: 1px solid var(--line); border-radius: 22px;
	box-shadow: var(--shadow); overflow: hidden; max-width: 420px; margin-left: auto;
}
.bk-card__top { background: var(--navy); color: #fff; padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.bk-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #6f9bff); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; }
.bk-card__top h4 { color: #fff; margin: 0; font-size: 1rem; }
.bk-card__top small { color: #aebbd6; }
.bk-card__body { padding: 22px; }
.bk-card__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.bk-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 20px; }
.bk-week div { text-align: center; padding: 10px 0; border-radius: 12px; font-size: .85rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); }
.bk-week div.on { background: var(--soft-2); color: var(--navy); border-color: transparent; }
.bk-week div .d { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--navy); }
.bk-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.bk-slots button { font-family: var(--body); font-weight: 600; font-size: .9rem; padding: 10px 0; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.bk-slots button.sel { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.bk-card__cta { width: 100%; border: 0; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 600; padding: 14px; border-radius: 12px; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.hero-visual { position: relative; }
@media (prefers-reduced-motion: no-preference) {
	}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================================================
   Logos / gateways strip
   ============================================================ */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.strip__label { color: var(--muted); font-size: .9rem; }
.gw { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.15rem; opacity: .8; letter-spacing: -0.01em; }

/* ============================================================
   Features
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 28px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico {
	width: 48px; height: 48px; border-radius: 13px; background: var(--soft-2); color: var(--blue);
	display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ============================================================
   How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; }
.step__n {
	width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
	font-family: var(--display); font-weight: 700; display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px; font-size: 1.1rem;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 32px 28px; display: flex; flex-direction: column;
}
.plan--featured { border-color: var(--blue); box-shadow: var(--shadow); position: relative; }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); font-family: var(--display); }
.plan h3 { font-size: 1.15rem; margin-bottom: 4px; }
.plan__desc { color: var(--muted); font-size: .92rem; min-height: 40px; }
.plan__price { font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--navy); margin: 14px 0 2px; }
.plan__price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan__period { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.plan__note { color: var(--blue); font-size: .82rem; font-weight: 600; margin: -12px 0 18px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.plan li svg { flex: 0 0 auto; color: var(--blue); margin-top: 3px; }
.plan li.plan__group { font-weight: 700; color: var(--navy); margin-top: 6px; font-size: .9rem; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--navy);
	padding: 22px 40px 22px 0; position: relative;
}
.faq__q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); transition: transform .2s ease; }
.faq__item.open .faq__q::after { content: "−"; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__a p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--navy); color: #fff; border-radius: 26px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(47,107,255,.35), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3cee6; max-width: 36em; margin: 0 auto 28px; font-size: 1.1rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: #aebbd6; padding: 64px 0 32px; }
.site-footer a { color: #d6deef; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #93a1c2; margin-top: 14px; max-width: 28em; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: #8190b3; }

/* ============================================================
   Generic content (blog / pages)
   ============================================================ */
.page-hero { padding: 70px 0 30px; }
.page-hero .eyebrow { margin-bottom: 10px; }
.content-area { padding: 40px 0 90px; }
.entry { max-width: 760px; margin: 0 auto; }
.entry img { border-radius: var(--radius-sm); }
.entry h2, .entry h3 { margin-top: 1.6em; }
.entry a { text-decoration: underline; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--soft-2); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-body { padding: 22px; }
.post-card h3 { margin-bottom: 6px; }
.post-card .meta { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers { padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line); color: var(--navy); }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* WP core */
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.aligncenter { margin-inline: auto; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
:focus-visible { outline: 3px solid rgba(47,107,255,.4); outline-offset: 2px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
	.hero .container { grid-template-columns: 1fr; gap: 40px; }
	.hero-visual { order: -1; }
	.bk-card { margin: 0 auto; }
	.grid--3, .steps { grid-template-columns: 1fr 1fr; }
	.pricing { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.steps--line .step::after { display: none; }
}
@media (max-width: 720px) {
	.section { padding: 68px 0; }
	.nav { position: fixed; inset: 74px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; transform: translateY(-130%); transition: transform .28s ease; box-shadow: var(--shadow); }
	.nav.open { transform: none; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav ul a { display: block; padding: 14px 24px; }
	.nav .header-actions { padding: 12px 24px; }
	.nav .header-actions .btn { width: 100%; justify-content: center; }
	.nav-toggle { display: block; }
	.grid--3, .grid--2, .steps, .pricing, .footer-grid { grid-template-columns: 1fr; }
	.cta-band { padding: 48px 22px; }
}
@media (max-width: 480px) {
	.container { padding: 0 18px; }
	.pricing { max-width: none; }
	.cta-band { padding: 40px 18px; border-radius: 20px; }
}

/* ============================================================
   WooCommerce
   ============================================================ */
.woocommerce-area { padding-top: 20px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products li.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: left; transition: transform .18s ease, box-shadow .2s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product img { border-radius: var(--radius-sm); margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--navy); padding: 0 0 6px; }
.woocommerce .price, .woocommerce ul.products li.product .price { color: var(--navy); font-weight: 700; font-family: var(--display); }
.woocommerce .price ins { text-decoration: none; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--blue); color: #fff; font-family: var(--display); font-weight: 600;
	border-radius: var(--radius-pill); padding: 12px 24px; border: 0; transition: background .2s ease, transform .15s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: var(--blue-600); transform: translateY(-1px);
}
.woocommerce #respond input#submit.alt.disabled, .woocommerce a.button.disabled { opacity: .6; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top: none; border-radius: var(--radius-sm); padding: 14px 18px 14px 44px; background: var(--soft);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--blue); }
.woocommerce-message { border-left: 3px solid var(--blue); }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce .select2-selection,
.woocommerce table.cart input, .woocommerce #order_review input {
	border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
}
.woocommerce table.shop_table { border-radius: var(--radius-sm); border-color: var(--line); }
.woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--blue); }
.woocommerce div.product .product_title { font-family: var(--display); }
.woocommerce .woocommerce-ordering select, .woocommerce-pagination .page-numbers li .page-numbers.current { border-color: var(--line); }
.bls-keys-box code { word-break: break-all; }

@media (max-width: 980px) { .woocommerce ul.products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .woocommerce ul.products { grid-template-columns: 1fr; } }

/* ============================================================
   Servicio llave en mano
   ============================================================ */
.service-band {
	background: var(--navy); color: #fff; border-radius: 26px; padding: 56px;
	display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
	position: relative; overflow: hidden;
}
.service-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 0%, rgba(47,107,255,.35), transparent 65%); }
.service-band > * { position: relative; }
.service-copy h2 { color: #fff; }
.service-copy > p { color: #c3cee6; font-size: 1.08rem; margin-bottom: 22px; }
.service-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.service-list li { display: flex; gap: 12px; align-items: flex-start; }
.service-list li svg { color: #6f9bff; flex: 0 0 auto; margin-top: 3px; }
.service-list span { color: #e7edf9; }

/* Mockup navegador */
.browser { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; max-width: 380px; margin: 0 auto; }
.browser__bar { background: #eef2f9; padding: 12px 16px; display: flex; gap: 7px; }
.browser__bar span { width: 11px; height: 11px; border-radius: 50%; background: #cdd6e6; }
.browser__bar span:first-child { background: #ff6058; } .browser__bar span:nth-child(2) { background: #ffbd2e; } .browser__bar span:nth-child(3) { background: #28c840; }
.browser__body { padding: 22px; }
.browser__brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.browser__brand .mark { width: 26px; height: 26px; }
.browser__row { height: 12px; border-radius: 6px; background: var(--soft-2); margin-bottom: 10px; }
.browser__row.short { width: 60%; }
.browser__slots { display: flex; gap: 8px; margin: 18px 0; }
.browser__slots span { flex: 1; height: 34px; border-radius: 9px; border: 1px solid var(--line); }
.browser__slots span.on { background: var(--blue); border-color: var(--blue); }
.browser__cta { background: var(--blue); color: #fff; text-align: center; padding: 11px; border-radius: 10px; font-family: var(--display); font-weight: 600; }

/* ============================================================
   Demo
   ============================================================ */
.demo-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.demo-live h2 { margin-bottom: 4px; }
.demo-note { color: var(--muted); margin-bottom: 24px; }
.demo-fallback { background: var(--soft); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); }
.demo-panel { position: sticky; top: 96px; }
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.demo-card__ico { font-size: 30px; }
.demo-card h3 { margin: 12px 0 8px; font-size: 1.3rem; }
.demo-card > p { color: var(--muted); }
.demo-go { width: 100%; justify-content: center; margin: 18px 0; }
.demo-creds { background: var(--soft); border-radius: var(--radius-sm); padding: 16px 18px; }
.demo-creds__label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.demo-cred { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; }
.demo-cred span { color: var(--muted); font-size: .9rem; }
.demo-cred code { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-weight: 600; color: var(--navy); }
.demo-login-link { display: inline-block; margin-top: 10px; font-weight: 600; font-size: .92rem; }
.demo-hint { color: var(--muted); font-size: .85rem; margin: 16px 0 0; }

@media (max-width: 980px) {
	.service-band { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
	.service-visual { order: -1; }
	.demo-grid { grid-template-columns: 1fr; }
	.demo-panel { position: static; }
}

/* ============================================================
   DEMO — secciones ampliadas
   ============================================================ */
.demo-tip { font-size: .9rem; color: var(--muted); margin: -6px 0 16px; }
.demo-tip code { background: #eaf0ff; color: var(--blue); padding: 2px 8px; border-radius: 6px; font-weight: 600; }

.demo-try { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.demo-try__item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.demo-try__item svg { flex: 0 0 auto; color: var(--blue); margin-top: 3px; }
.demo-try__item strong { display: block; color: var(--navy); margin-bottom: 3px; }
.demo-try__item span { color: var(--muted); font-size: .92rem; }

.demo-tour { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.demo-tour__card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.demo-tour__ico { font-size: 1.6rem; line-height: 1; }
.demo-tour__card strong { color: var(--navy); font-size: 1.02rem; }
.demo-tour__desc { color: var(--muted); font-size: .9rem; }

.demo-cta { text-align: center; background: var(--navy); color: #fff; border-radius: 20px; padding: 46px 24px; }
.demo-cta h2 { color: #fff; margin: 0 0 8px; }
.demo-cta p { color: rgba(255,255,255,.82); margin: 0 0 22px; }

@media (max-width: 780px) {
	.demo-try, .demo-tour { grid-template-columns: 1fr; }
}

/* Fix del widget de reservas (override de alta especificidad para la página demo:
   asegura el layout correcto aunque el CSS del plugin esté cacheado por LiteSpeed). */
.bookinia-widget .bk-body { display: block !important; }
.bookinia-widget .bk-body .bk-cards {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 14px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	justify-items: stretch !important;
}
.bookinia-widget .bk-body .bk-cards .bk-card {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 17px 18px !important;
}
.bookinia-widget .bk-card .bk-card-main { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.bookinia-widget .bk-card .bk-card-name { display: block; line-height: 1.3; }
.bookinia-widget .bk-card .bk-card-meta { display: block; line-height: 1.4; margin-top: 0; }
.demo-live .bookinia-widget { max-width: none !important; }
.bookinia-widget .bk-body .bk-step-title { margin: 0 0 4px !important; }
.bookinia-widget .bk-body .bk-step-title + .bk-cards { margin-top: 18px !important; }

/* Placeholder "Próximamente" cuando los precios están ocultos */
.plan__soon { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--muted); margin: 14px 0 20px; }

/* Crédito "Desarrollado por Bookinia" (respaldo de estilo para la demo) */
.bookinia-widget .bk-credit { display:flex; align-items:center; justify-content:center; gap:7px; padding:14px 16px 18px; margin:0; font-size:11px; font-weight:600; letter-spacing:.02em; color:var(--muted); text-decoration:none; border-top:1px solid #e6ecf7; }
.bookinia-widget .bk-credit img { height:15px; width:auto; opacity:.92; }
.bookinia-widget .bk-credit:hover { color: var(--navy); }

/* ============================================================
   App móvil (PWA)
   ============================================================ */
.section--app { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.app-band { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.app-copy h2 { margin-top: .35em; }
.app-copy > p { color: var(--muted); font-size: 1.05rem; max-width: 30em; }
.app-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.app-list li { display: flex; gap: 13px; align-items: flex-start; }
.app-list__tick { flex: 0 0 auto; width: 26px; height: 26px; border-radius: var(--radius-pill); background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.app-list__tick svg, .app-list__tick polyline { stroke: #fff; }
.app-list li span:last-child { font-size: .98rem; color: var(--muted); line-height: 1.5; }
.app-list li strong { color: var(--ink); font-weight: 600; }

/* Mockup del teléfono */
.app-phone { display: flex; justify-content: center; }
.phone { width: 320px; background: #0b1b3a; border-radius: 46px; box-shadow: 0 34px 66px -18px rgba(11,27,58,.34), 0 10px 26px rgba(11,27,58,.12); padding: 11px; }
.phone__screen { background: #fff; border-radius: 32px; overflow: hidden; position: relative; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 20px; background: #0b1b3a; border-radius: 999px; z-index: 3; }
.phone__head { background: var(--navy); padding: 30px 18px 16px; display: flex; align-items: center; gap: 10px; }
.phone__mark { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.phone__brand { color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.phone__body { background: #f4f6fa; padding: 18px 15px 20px; display: flex; flex-direction: column; gap: 14px; }
.phone__seg { display: flex; background: #eef1f7; border: 1px solid var(--line); border-radius: 11px; padding: 3px; margin: 0; }
.phone__seg span { flex: 1; text-align: center; font-size: .82rem; font-weight: 600; color: var(--muted); padding: 9px 0; border-radius: 8px; }
.phone__seg span.is-on { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.phone__card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px; margin: 0; box-shadow: var(--shadow-sm); }
.phone__row { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.phone__row strong { font-family: var(--display); font-size: 1.05rem; color: var(--navy); }
.phone__row em { font-style: normal; font-size: .68rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.phone__row em.ok { background: #e6f6ec; color: #1c7a43; }
.phone__row em.warn { background: #fdf3d8; color: #a16207; }
.phone__name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.phone__sub { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.phone__tabs { display: flex; background: #fff; border-top: 1px solid var(--line); }
.phone__tabs span { flex: 1; display: flex; justify-content: center; padding: 13px 0; color: #9aa6bf; }
.phone__tabs span.is-on { color: var(--blue); box-shadow: inset 0 2px 0 var(--blue); }

@media (max-width: 820px) {
	.app-band { grid-template-columns: 1fr; gap: 36px; }
	.app-phone { order: -1; }
}

/* Selector de idioma */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; margin-right: 12px; }
.lang-switch a { padding: 6px 12px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; line-height: 1; display: inline-flex; align-items: center; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { background: var(--navy); color: #fff; }
@media (max-width: 820px) { .lang-switch { margin-right: 8px; } }

/* ============================================================
   Ajustes de revisión (julio)
   ============================================================ */

/* Cómo funciona — línea de tiempo centrada */
.steps--line { max-width: 960px; margin: 0 auto; }
@media (min-width: 781px) {
	.steps--line { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
	/* Línea continua de centro a centro de los círculos extremos (sin sobresalir) */
	.steps--line::before { content: ""; position: absolute; top: 32px; left: 16.6%; right: 16.6%; height: 2px; background: var(--line); z-index: 0; }
	.steps--line .step { text-align: center; position: relative; z-index: 1; }
	.steps--line .step__n { margin: 0 auto 20px; }
	.steps--line .step h3 { justify-content: center; }
	.steps--line .step p { max-width: 30ch; margin-inline: auto; }
}
.steps--line .step__n {
	width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff;
	font-family: var(--display); font-weight: 700; font-size: 1.4rem;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(11,27,58,.18);
	cursor: default; transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
/* Efecto al pasar el cursor por el paso */
.steps--line .step:hover .step__n {
	background: var(--blue);
	transform: translateY(-4px) scale(1.06);
	box-shadow: 0 14px 30px rgba(47,107,255,.36);
}
.steps--line .step:hover h3 { color: var(--blue); transition: color .22s ease; }

/* Mockup navegador — logo oficial */
.browser__logo { height: 26px; width: auto; display: block; }

/* Banda CTA — logo oficial */
.cta-band__logo { height: 30px; width: auto; margin: 0 auto 20px; display: block; opacity: .96; }

/* Footer — bloque SEO a ancho completo + fila de enlaces */
.footer-seo { display: block; text-align: center; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-seo__text { color: rgba(255,255,255,.62); font-size: .95rem; line-height: 1.8; max-width: 1100px; margin: 0 auto; }
.footer-seo__text strong { color: rgba(255,255,255,.86); font-weight: 600; }
.footer-seo__logo { margin-top: 26px; display: flex; justify-content: center; }
.footer-seo__logo .brand-logo { height: 32px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 22px 0; }
.footer-links a { color: rgba(255,255,255,.66); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
