@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/_shared/fonts/barlow-condensed-700.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/_shared/fonts/inter-400.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/_shared/fonts/inter-600.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/_shared/fonts/inter-700.woff2) format('woff2')}
:root{--font-title:'Barlow Condensed','Arial Narrow', sans-serif;--font-body:'Inter',system-ui, sans-serif;--font-title-weight:700}
:root{--ink:#17202A;--paper:#F4F6F8;--accent:#A85F00;--accent-soft:#F2C27D;--green:#16A34A;--line:#D9DEE3;--muted:#4F5B66}
/* Layout shared by the sample landing pages. Colors come from the CSS variables set in each page. */
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body, Inter, system-ui, sans-serif); color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
.display { font-family: var(--font-title, 'Barlow Condensed', 'Arial Narrow', sans-serif); font-weight: var(--font-title-weight, 700); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { font-size: 28px; letter-spacing: 1px; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
/* language bar: top right corner, above the header row */
header { position: relative; }
.lang-bar { position: absolute; top: 6px; right: 16px; display: flex; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: .5px; }
.lang-bar a { color: var(--muted); text-decoration: none; padding: 4px 8px; border-radius: 6px; }
.lang-bar a:hover, .lang-bar a:focus-visible { color: var(--ink); background: var(--line); }
.lang-bar a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
header.has-langs .wrap { padding-top: 34px; }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; padding: 16px 26px; min-height: 52px; font: 700 19px var(--font-body, Inter, system-ui, sans-serif); color: #fff; cursor: pointer; }
.btn-accent { background: var(--accent); }
.btn-green { background: var(--green); }
.btn-sm { padding: 12px 20px; min-height: 44px; font-size: 15px; }
.btn:focus-visible, nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 80px; }
.hero-text { flex: 1 1 480px; min-width: 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2px; color: var(--muted); }
.hero h1 { font-size: 76px; line-height: .95; margin: 12px 0 20px; }
.lead { margin: 0 0 32px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* "Centrada" template: the cover as one centered column, its picture below */
.tpl-centrada .hero .wrap { flex-direction: column; text-align: center; }
.tpl-centrada .hero-text { flex: none; max-width: 820px; }
.tpl-centrada .lead { margin-left: auto; margin-right: auto; }
.tpl-centrada .cta-row { justify-content: center; }
.tpl-centrada .hero .photo { flex: none; width: 100%; max-width: 960px; }
.tpl-centrada section.block h2 { text-align: center; }
.photo { flex: 1 1 360px; min-width: 0; height: 420px; background: var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; text-align: center; padding: 24px; }

section.block { padding: 72px 0; }
section.white { background: #fff; }
section.dark { background: var(--ink); color: var(--paper); }
section.block h2 { font-size: 44px; margin-bottom: 32px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 260px; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.card-icon { display: block; width: 48px; height: 48px; margin-bottom: 16px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; }
.thumb { flex: 1 1 260px; height: 240px; background: var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }
.steps { display: flex; flex-wrap: wrap; gap: 32px; }
.step { flex: 1 1 260px; }
.step .n { font-size: 64px; line-height: 1; color: var(--accent-soft); }
.step h3 { font-size: 20px; margin: 8px 0; }
.step p { margin: 0; line-height: 1.5; opacity: .85; }
.final { text-align: center; padding: 96px 0; }
.final h2 { font-size: 52px; margin-bottom: 16px; }
.final p { margin: 0 auto 32px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 560px; }
.final .cta-row { justify-content: center; }
footer { padding: 32px 32px 140px; text-align: center; font-size: 14px; color: var(--muted); }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0 0 16px; }
.social-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.social-links a:hover { text-decoration: underline; color: var(--accent); }
/* social icons (template sites): the SVGs in /_shared/icons are masks, so they take the page's colors */
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); }
.social-icons a:hover, .social-icons a:focus-visible { color: var(--accent); }
.social-icons .icon { display: block; width: 24px; height: 24px; background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon-instagram { --icon: url(/_shared/icons/instagram.svg); }
.icon-facebook { --icon: url(/_shared/icons/facebook.svg); }
.icon-tiktok { --icon: url(/_shared/icons/tiktok.svg); }
.icon-youtube { --icon: url(/_shared/icons/youtube.svg); }
.icon-linkedin { --icon: url(/_shared/icons/linkedin.svg); }
.icon-x { --icon: url(/_shared/icons/x.svg); }
.icon-threads { --icon: url(/_shared/icons/threads.svg); }
.icon-telegram { --icon: url(/_shared/icons/telegram.svg); }
.icon-website { --icon: url(/_shared/icons/website.svg); }
.icon-whatsapp { --icon: url(/_shared/icons/whatsapp.svg); }
/* an icon inside a button (the WhatsApp buttons) */
.btn .icon { display: inline-block; width: 22px; height: 22px; margin-right: 10px; background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .brand { font-size: 22px; }
  .hero h1 { font-size: 48px; }
  .hero .wrap { padding-top: 24px; padding-bottom: 48px; gap: 24px; }
  .photo { height: 220px; flex-basis: 100%; }
  section.block { padding: 48px 0; }
  section.block h2 { font-size: 36px; }
  .final h2 { font-size: 40px; }
}

/* gallery images (Trabajos) */
.thumb-img { padding: 0; overflow: hidden; }
.thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* picture slider (after Trabajos) */
.slider { position: relative; max-width: 900px; margin: 0 auto; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 8px; background: var(--line); }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; height: 420px; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-btn { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font: 700 28px/1 var(--font-body, Inter, system-ui, sans-serif); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-btn:focus-visible, .slider-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.slider-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
[data-slider-section][hidden], [data-video-section][hidden] { display: none; }

/* small video */
.video-box { max-width: 560px; margin: 0 auto; }
.video-box video { width: 100%; max-height: 420px; border-radius: 8px; background: #000; display: block; }

@media (max-width: 640px) { .slide { height: 240px; } }

/* picture caption: text, color and background come from captions.json */
.thumb-img, .slide { position: relative; }
.pic-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: .95rem; line-height: 1.3; color: #fff; background: rgba(0,0,0,.6); }

/* zone map */
[data-map-section][hidden] { display: none; }
.map-text { margin: -12px 0 24px; font-size: 18px; line-height: 1.5; color: var(--muted); max-width: 640px; }
.map-box iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: 12px; }
.map-link { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; }
@media (max-width: 640px) { .map-box iframe { height: 300px; } }

/* services page: illustration, price, FAQ */
.photo-art { background: transparent; padding: 0; }
.photo-art svg { max-height: 420px; }
ul.check { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
ul.check li { position: relative; padding-left: 30px; line-height: 1.45; }
ul.check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.price-card { max-width: 480px; background: var(--paper); border: 2px solid var(--accent); border-radius: 16px; padding: 32px; }
.price-name { font-size: 15px; font-weight: 600; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }
.price { font-size: 64px; line-height: 1.1; margin: 8px 0 20px; }
.price small { font-size: 22px; font-weight: 600; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq details p { margin: 12px 0 0; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) { .price { font-size: 48px; } }
/* an uploaded hero image fills the photo box */
.photo-img { padding: 0; overflow: hidden; background: none; }
.photo-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* several plans side by side (a template site's Planes section): wrap, one per row on phones */
.plans { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.plans .price-card { flex: 1 1 280px; max-width: none; display: flex; flex-direction: column; }
.plans .price { font-size: 44px; }
.plans .price-card .btn { margin-top: auto; align-self: flex-start; }

/* logo image in the header */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { display: block; height: 44px; width: auto; max-width: 70vw; }
@media (max-width: 640px) { .brand-logo img { height: 34px; } }

/* ---------- sections added with the conversion templates ---------- */
.icon-phone { --icon: url(/_shared/icons/phone.svg); }
.btn-call { background: var(--ink); }
.btn-lg { padding: 20px 34px; min-height: 60px; font-size: 21px; }
.card-price { margin: 14px 0 0 !important; color: var(--ink) !important; font-weight: 700; font-size: 17px; }

/* trust badges: a row of checks under the cover */
.badges-row { padding: 24px 0; }
.hero + .badges-row { padding-top: 0; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; }
.badges li::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 14px; font-weight: 700; }

/* highlighted numbers: "40 min / llegada", "200 / invitados" */
.highlights { background: var(--ink); color: var(--paper); padding: 36px 0; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.fact dt { font-size: 52px; line-height: 1; color: var(--accent-soft); }
.fact dd { margin: 6px 0 0; font-size: 16px; opacity: .9; }

/* Google reviews */
/* width: max-content, or a flex parent (the review card) stretches it and the fill's % no longer matches the stars */
.stars { position: relative; display: inline-block; width: max-content; align-self: flex-start; font-size: 24px; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.stars-empty { color: var(--muted); opacity: .3; }
.stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; color: #F5B301; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -12px 0 32px; }
.rating-num { font-size: 48px; line-height: 1; }
.rating-count { color: var(--muted); font-size: 16px; }
.rating-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--paper); display: flex; flex-direction: column; gap: 12px; }
.review .stars { font-size: 18px; }
.review blockquote { margin: 0; line-height: 1.55; }
.review figcaption { color: var(--muted); font-weight: 600; font-size: 15px; }

/* the professional: name, licence, first visit */
.pro { max-width: 760px; }
.credential { margin: 8px 0 18px; color: var(--muted); font-weight: 600; letter-spacing: .5px; }
.first-visit { display: inline-block; margin: 0 0 24px; padding: 10px 16px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; }

/* booking: the call to book and the week's opening hours */
.booking { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.booking-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.booking-text { flex: 1 1 360px; }
.hours { flex: 0 1 380px; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.hours th, .hours td { padding: 10px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; }
.hours td { color: var(--muted); font-variant-numeric: tabular-nums; }

/* price calculator */
.quote { max-width: 560px; border: 2px solid var(--accent); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--paper); }
.quote-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.quote-field select, .quote-field input { font: 500 17px var(--font-body, Inter, system-ui, sans-serif); padding: 12px; min-height: 48px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.quote-result { margin: 0; font-size: 18px; }
.quote-result strong { display: block; font-size: 32px; margin-top: 4px; }
.quote-note { margin: 0; color: var(--muted); font-size: 14px; }
.quote .btn { align-self: flex-start; }

/* before / after: the after photo is clipped from the left by the range input */
.compares { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.compare:only-child { max-width: 720px; }
.compare { margin: 0; }
.compare-box { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--line); }
.compare-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.4); pointer-events: none; }
.compare-tag { position: absolute; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 700; }
.compare-tag-before { left: 10px; }
.compare-tag-after { right: 10px; }
.compare-range { width: 100%; margin: 12px 0 0; accent-color: var(--accent); }
.compare figcaption { margin-top: 6px; font-weight: 600; }

/* zone: the areas served */
.areas-title { margin: 0 0 10px; font-weight: 700; }
.areas { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.areas li { padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }

/* FAQ: ask the assistant */
.faq-more { margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 600; }

/* ---------- the conversion templates ---------- */
/* Turnos primero: the booking block is the second thing seen, highlighted */
.tpl-turnos .booking { background: var(--ink); color: var(--paper); border: 0; }
.tpl-turnos .booking .lead { color: var(--paper); opacity: .85; }
.tpl-turnos .hours { color: var(--ink); }
/* Urgencias: big call buttons, the call first */
.tpl-urgencias .hero h1 { font-size: 64px; }
.tpl-urgencias .hero .btn-call { background: var(--accent); font-size: 22px; padding: 20px 32px; min-height: 64px; }
.tpl-urgencias .hero .btn-call + .btn-accent { background: var(--ink); }
.tpl-urgencias .highlights { background: var(--accent); color: #fff; }
.tpl-urgencias .fact dt { color: #fff; }
/* Profesional con confianza: calm, the person first */
.tpl-confianza .hero h1 { font-size: 60px; }
.tpl-confianza #profesional { border-top: 4px solid var(--accent); }
/* Evento: the video full width on top */
.tpl-evento [data-video-section] .video-box { max-width: 960px; }
.tpl-evento .services .card, .tpl-evento #servicios .card { border-top: 4px solid var(--accent); }
/* Una sola pantalla: compact, everything close together */
.tpl-una_pantalla .hero .wrap { padding-top: 32px; padding-bottom: 32px; }
.tpl-una_pantalla .hero h1 { font-size: 56px; }
.tpl-una_pantalla .hero .photo { height: 300px; }
.tpl-una_pantalla section.block { padding: 40px 0; }
.tpl-una_pantalla section.block h2 { font-size: 34px; margin-bottom: 20px; }
.tpl-una_pantalla .card { padding: 20px; }
.tpl-una_pantalla .final { padding: 48px 0; }

@media (max-width: 640px) {
  .fact dt { font-size: 40px; }
  .rating-num { font-size: 40px; }
  .tpl-urgencias .hero h1, .tpl-confianza .hero h1, .tpl-una_pantalla .hero h1 { font-size: 42px; }
  .tpl-urgencias .hero .cta-row .btn { flex: 1 1 100%; }
  .compares { grid-template-columns: 1fr; }
  .hours { flex-basis: 100%; }
}

/* ---------- template looks: each template has its own design, not only its own section order ---------- */

/* Visual: the cover is a full-width photo with the text over it; soft cards with shadows, pill buttons */
.tpl-visual .btn { border-radius: 999px; }
.tpl-visual .hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.tpl-visual .hero .wrap { min-height: 560px; padding-top: 96px; padding-bottom: 96px; }
.tpl-visual .hero .photo { position: absolute; inset: 0; z-index: 0; height: auto; border-radius: 0; max-width: none; }
.tpl-visual .hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.25)); }
.tpl-visual .hero-text { position: relative; z-index: 1; }
.tpl-visual .hero .eyebrow, .tpl-visual .hero .lead { color: rgba(255,255,255,.88); }
.tpl-visual .hero .btn-call { background: var(--accent); }
.tpl-visual .card { border: 0; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.09); background: #fff; }
.tpl-visual section.white .card { background: var(--paper); box-shadow: none; }
.tpl-visual .thumb, .tpl-visual .slider-track, .tpl-visual .thumb-img { border-radius: 18px; }
.tpl-visual section.block h2 { font-size: 52px; }

/* Catálogo: dense, product-style; titles with a bar on the left, square corners, a photo grid */
.tpl-catalogo .btn, .tpl-catalogo .card, .tpl-catalogo .thumb, .tpl-catalogo .photo { border-radius: 2px; }
.tpl-catalogo header { border-bottom: 3px solid var(--accent); }
.tpl-catalogo .hero .wrap { padding-top: 36px; padding-bottom: 44px; gap: 32px; }
.tpl-catalogo .hero h1 { font-size: 56px; }
.tpl-catalogo .photo { height: 320px; }
.tpl-catalogo section.block { padding: 52px 0; }
.tpl-catalogo section.block h2 { font-size: 34px; margin-bottom: 24px; padding-left: 14px; border-left: 6px solid var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.tpl-catalogo .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tpl-catalogo .card { border-top: 4px solid var(--accent); padding: 20px; }
.tpl-catalogo .card-price { color: var(--accent) !important; font-size: 22px; }
.tpl-catalogo .thumb { height: 260px; }

/* Profesional: narrow and formal; flat, centered titles with a short rule, text-first cover */
.tpl-profesional .wrap { max-width: 960px; }
.tpl-profesional header .wrap { max-width: 1120px; }
.tpl-profesional .btn, .tpl-profesional .card, .tpl-profesional .photo { border-radius: 3px; }
.tpl-profesional .hero .wrap { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
.tpl-profesional .hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -.5px; padding-bottom: 18px; border-bottom: 3px solid var(--accent); margin-bottom: 22px; }
.tpl-profesional .hero .photo { flex: 0 1 320px; height: 380px; }
.tpl-profesional section.block { padding: 60px 0; }
.tpl-profesional section.block h2 { font-size: 36px; text-align: center; margin-bottom: 40px; }
.tpl-profesional section.block h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin: 14px auto 0; }
.tpl-profesional .card { border: 0; border-bottom: 2px solid var(--line); background: transparent; padding: 20px 8px; }
.tpl-profesional .faq details { border-radius: 3px; }

/* Centrada (cover already centered): soft pill buttons, centered cards and steps */
.tpl-centrada .btn { border-radius: 999px; }
.tpl-centrada .card, .tpl-centrada .step { text-align: center; }
.tpl-centrada .card-icon { margin-left: auto; margin-right: auto; }
.tpl-centrada .hero h1 { font-size: 68px; }

/* Antes y después / Presupuesto / Evento: their own accents */
.tpl-antes_despues .card { border: 0; border-left: 5px solid var(--accent); border-radius: 4px; background: #fff; }
.tpl-antes_despues section.block h2 { text-transform: uppercase; letter-spacing: 1px; }
.tpl-presupuesto .btn { border-radius: 999px; }
.tpl-presupuesto .card { border-radius: 16px; background: #fff; border-color: transparent; box-shadow: 0 4px 18px rgba(0,0,0,.07); }
.tpl-evento section.block h2 { text-align: center; font-size: 50px; }
.tpl-evento .hero h1 { font-size: 88px; }
.tpl-evento .btn { border-radius: 999px; }

@media (max-width: 640px) {
  .tpl-visual .hero .wrap { min-height: 420px; padding-top: 56px; padding-bottom: 56px; }
  .tpl-visual section.block h2 { font-size: 38px; }
  .tpl-catalogo .hero h1, .tpl-profesional .hero h1 { font-size: 40px; }
  .tpl-centrada .hero h1, .tpl-evento .hero h1 { font-size: 46px; }
  .tpl-profesional .hero .photo { flex-basis: 100%; height: 240px; }
}

/* ---------- long sales page + digital shop ---------- */
.wrap.narrow { max-width: 780px; }
.story p { font-size: 20px; line-height: 1.75; margin: 0 0 22px; }
.cta-inline { margin: 36px 0 0 !important; text-align: center; }
.shop-list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 24px; }
.shop-item { display: flex; gap: 16px; align-items: flex-start; border: 2px solid var(--line); border-radius: 14px; padding: 18px 20px; cursor: pointer; background: var(--paper); }
.shop-item:has(input:checked) { border-color: var(--accent); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.shop-item input { flex: none; width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--accent); }
.shop-body { flex: 1 1 auto; min-width: 0; }
.shop-title { font-weight: 700; font-size: 20px; }
.shop-kind { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; letter-spacing: .5px; vertical-align: middle; }
.shop-desc { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }
.shop-price { flex: none; font-weight: 800; font-size: 24px; white-space: nowrap; }
.shop-form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.shop-form label:first-child { margin-top: 0; }
.shop-form .shop-input { width: 100%; font: inherit; font-size: 18px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.shop-form .shop-input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.shop-form input[aria-invalid="true"] { border-color: #dc2626; }
.shop-form .btn { width: 100%; margin-top: 16px; }
.shop-secure { margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.shop-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.shop-msg { margin: 16px 0 0; text-align: center; font-weight: 600; min-height: 1.5em; }
.shop-msg.err { color: #b91c1c; }
.shop-sticky { display: none; position: fixed; left: 16px; right: 92px; bottom: 16px; z-index: 40; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.shop-sticky[hidden] { display: none !important; }
@media (max-width: 760px) { .shop-sticky { display: inline-flex; } .shop-item { flex-wrap: wrap; } .shop-price { margin-left: 40px; } }

/* Venta de contenido: centered cover, big readable type, testimonials as large quotes */
.tpl-venta .btn { border-radius: 999px; }
.tpl-venta .hero .wrap { flex-direction: column; text-align: center; padding-top: 64px; padding-bottom: 56px; }
.tpl-venta .hero-text { flex: none; max-width: 820px; }
.tpl-venta .hero h1 { font-size: 64px; line-height: 1; }
.tpl-venta .lead { margin-left: auto; margin-right: auto; font-size: 21px; max-width: 640px; }
.tpl-venta .cta-row { justify-content: center; }
.tpl-venta .hero .photo { flex: none; width: 100%; max-width: 620px; height: 380px; border-radius: 18px; }
.tpl-venta section.block h2 { text-align: center; font-size: 46px; }
.tpl-venta .card { border: 0; border-radius: 18px; background: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.08); }
.tpl-venta section.white .card { background: var(--paper); box-shadow: none; }
.tpl-venta .review { border-radius: 18px; }
.tpl-venta .review blockquote { font-size: 18px; line-height: 1.65; }
.tpl-venta .shop { background: var(--paper); }
.tpl-venta .shop-item { background: #fff; }
@media (max-width: 640px) { .tpl-venta .hero h1 { font-size: 40px; } .tpl-venta section.block h2 { font-size: 34px; } }

/* "Descargar de nuevo": a recent buyer's purchases, remembered in their browser for a few days */
.purchase-bar { background: #fdf4ff; border-bottom: 2px solid #A21CAF; padding: 12px 0; }
.purchase-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: 1120px; margin: 0 auto; padding: 4px 32px; }
.purchase-title { flex: 1 1 220px; min-width: 0; font-weight: 600; }
.btn-fuchsia { background: #A21CAF; color: #fff; }
.btn-fuchsia:hover { background: #86198F; }
.purchase-x { background: none; border: 0; color: #6b7280; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 8px; }
@media (max-width: 640px) { .purchase-row { padding: 4px 20px; } }

/* legal notice above the products: the platform is not the seller */
.platform-note { margin: 18px 0 0; padding: 12px 16px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tpl-venta .platform-note { background: #fff; }

:root {
  --bot-ink: #1E1B18; --bot-paper: #F5F0E8; --bot-accent: #B93A0B; --bot-green: #1F7A4D; --bot-line: #E4DACB;
}
body.bot-open { overflow: hidden; }

.bot-fabs { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; z-index: 20; }
.bot-fab { display: inline-flex; align-items: center; gap: 10px; color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; min-height: 52px; box-sizing: border-box;
  font: 600 16px/1 var(--font-body, Inter, system-ui, sans-serif); text-decoration: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.bot-fab-bot { background: var(--bot-ink); }
.bot-fab-wa { background: var(--bot-green); font-size: 19px; font-weight: 700; }   /* white on the lighter green: large text */
.bot-fab-call { background: var(--bot-accent); font-size: 19px; font-weight: 700; }
.bot-fab:focus-visible, .bot-chip:focus-visible, .bot-close:focus-visible, .bot-send:focus-visible, .bot-input:focus-visible { outline: 3px solid var(--bot-accent); outline-offset: 2px; }

.bot-dialog { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; background: var(--bot-paper); display: flex; flex-direction: column; font-family: var(--font-body, Inter, system-ui, sans-serif); color: var(--bot-ink); }
.bot-dialog[hidden] { display: none; }
.bot-head { background: var(--bot-ink); color: var(--bot-paper); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; }
.bot-title { font: var(--font-title-weight, 700) 24px/1.1 var(--font-title, 'Barlow Condensed', 'Arial Narrow', sans-serif); letter-spacing: .5px; }
.bot-head-right { display: flex; align-items: center; gap: 16px; }
.bot-wa-link { color: var(--bot-paper); font-size: 15px; font-weight: 500; text-decoration: underline; }
.bot-close { background: transparent; color: var(--bot-paper); border: 1.5px solid #8A8178; border-radius: 8px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

.bot-body { flex: 1; min-height: 0; width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; box-sizing: border-box; }
.bot-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.bot-msg { max-width: 82%; border-radius: 14px; padding: 10px 14px; font-size: 16px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.bot-msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--bot-line); }
.bot-msg-user { align-self: flex-end; background: var(--bot-ink); color: var(--bot-paper); }

.bot-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 12px; }
.bot-chips:empty { display: none; }
.bot-chip { background: #fff; color: var(--bot-accent); border: 1.5px solid var(--bot-accent); border-radius: 999px; padding: 10px 16px; min-height: 44px; font: 600 15px/1 var(--font-body, Inter, system-ui, sans-serif); cursor: pointer; }
.bot-chip:disabled { opacity: .5; cursor: default; }

.bot-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 20px 20px; position: relative; }
.bot-form[hidden] { display: none; }
.bot-input { flex: 1; min-width: 0; padding: 14px; font: 16px var(--font-body, Inter, system-ui, sans-serif); border: 1.5px solid #CFC3B1; border-radius: 10px; background: #fff; color: var(--bot-ink); }
.bot-input[hidden] { display: none; }
.bot-input:disabled { background: #EFE9DE; cursor: not-allowed; }
.bot-send { background: var(--bot-accent); color: #fff; border: 0; border-radius: 10px; padding: 0 22px; min-height: 52px; font: 600 16px var(--font-body, Inter, system-ui, sans-serif); cursor: pointer; }
.bot-send:disabled { opacity: .5; cursor: default; }
.bot-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* group of numeric fields (width + height, ...) */
.bot-fields { flex: 1; min-width: 0; display: flex; gap: 8px; }
.bot-fields[hidden] { display: none; }
.bot-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #5C554D; }
.bot-field .bot-input { width: 100%; flex: none; }

/* typing indicator */
.bot-typing { display: inline-flex; gap: 5px; align-items: center; padding: 14px 16px; }
.bot-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8A8178; animation: bot-blink 1.1s infinite ease-in-out; }
.bot-typing i:nth-child(2) { animation-delay: .18s; }
.bot-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes bot-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bot-typing i { animation: none; opacity: .6; } }

@media (max-width: 520px) {
  .bot-title { font-size: 20px; }
  .bot-head { padding: 10px 14px; }
  .bot-head-right { gap: 10px; }
  .bot-wa-link { font-size: 14px; }
  .bot-form { padding: 12px 14px 16px; }
}

/* extra controls: textarea, toggle buttons (multi), slider */
.bot-ta { resize: none; min-height: 84px; font-family: inherit; }
.bot-multi { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bot-multi[hidden], .bot-slider[hidden], .bot-ta[hidden], .bot-slot[hidden] { display: none; }
/* appointment slots: a scrolling row of days, then the day's times in a grid */
.bot-slot { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bot-slot-label { font: 600 12px/1.2 var(--font-body, Inter, system-ui, sans-serif); text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.bot-slot-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
.bot-slot-days .bot-toggle { flex: none; scroll-snap-align: start; }
.bot-slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; max-height: 168px; overflow-y: auto; }
.bot-slot-times .bot-toggle { padding: 10px 6px; font-variant-numeric: tabular-nums; }
.bot-slot-empty { margin: 0; font-size: 15px; }
.bot-toggle { background: #fff; color: var(--bot-ink); border: 1.5px solid #CFC3B1; border-radius: 999px; padding: 10px 16px; min-height: 44px; font: 600 15px/1 var(--font-body, Inter, system-ui, sans-serif); cursor: pointer; }
.bot-toggle[aria-pressed="true"] { background: var(--bot-ink); color: var(--bot-paper); border-color: var(--bot-ink); }
.bot-toggle:disabled { opacity: .5; cursor: default; }
.bot-toggle:focus-visible, .bot-range:focus-visible { outline: 3px solid var(--bot-accent); outline-offset: 2px; }
.bot-slider { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bot-range-out { font: 700 22px/1.1 var(--font-title, 'Barlow Condensed', 'Arial Narrow', sans-serif); text-align: center; }
.bot-range { width: 100%; accent-color: var(--bot-accent); height: 32px; }
.bot-range-ends { display: flex; justify-content: space-between; font-size: 12px; color: #5C554D; }

.bot-reset:disabled { opacity: .4; cursor: default; }

/* smooth open / close of the chat window */
.bot-dialog { animation: bot-in .45s ease both; }
.bot-dialog.bot-closing { animation: bot-out .5s ease forwards; pointer-events: none; }
@keyframes bot-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bot-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) { .bot-dialog { animation: none !important; } }
