@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --brand-yellow: #fdf153;
  --brand-black: #111111;
  --brand-white: #ffffff;
  --ink: #171717;
  --muted: #5f5f5b;
  --surface: #f5f5f2;
  --line: #e4e4df;
  --radius: 14px;
  --shadow: 0 14px 40px rgb(17 17 17 / 9%);
  --max: 1200px;
  --gutter: max(24px, calc((100vw - var(--max)) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 16px/1.65 'DM Sans', Arial, sans-serif; }
img { max-width: 100%; }
h1, h2, h3 { margin-top: 0; color: inherit; font-family: Manrope, 'DM Sans', sans-serif; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 820px; margin: .7rem 0 1rem; font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
h2 { margin: .4rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { margin: .4rem 0 .65rem; font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 200; top: -60px; left: 1rem; padding: .65rem .9rem; background: var(--brand-yellow); color: var(--brand-black); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Contact bar and shared navigation */
.topline { background: var(--brand-black); color: #fff; font-size: .76rem; }
.topline-inner { display: flex; min-height: 40px; align-items: center; justify-content: flex-start; gap: clamp(1rem, 3vw, 2.5rem); }
.topline-inner a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topline-inner a:hover { color: var(--brand-yellow); }
.topline-inner .topline-address { white-space: normal; line-height: 1.25; }
.topline-inner span { margin-left: auto; text-align: right; white-space: nowrap; }
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid #ecece8; background: rgb(255 255 255 / 97%); box-shadow: 0 4px 16px rgb(17 17 17 / 4%); backdrop-filter: blur(12px); }
.header-inner { position: relative; display: flex; height: 86px; align-items: center; gap: 1.2rem; }
.brand { display: flex; width: 220px; height: auto; aspect-ratio: 5.1 / 1; flex: none; align-items: center; overflow: hidden; }
.brand img { position: relative; top: -9%; left: -6.7%; width: 111.2%; max-width: none; flex: none; height: auto; border: 0; outline: 0; box-shadow: none; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 1.5vw, 1.45rem); margin-left: auto; }
.primary-nav a, .footer-grid a { color: inherit; font-weight: 700; text-decoration: none; }
.primary-nav a { position: relative; padding: .65rem 0; font-size: clamp(.72rem, .99vw, .99rem); white-space: nowrap; }
.primary-nav a::after { position: absolute; right: 0; bottom: .25rem; left: 0; height: 3px; background: var(--brand-yellow); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--brand-black); }
.header-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .45rem; padding: .68rem 1.1rem; border: 1px solid var(--brand-black); border-radius: 999px; background: var(--brand-yellow); color: var(--brand-black); font-size: .86rem; font-weight: 800; text-decoration: none; white-space: nowrap; transition: box-shadow .18s ease, transform .18s ease; }
.header-cta:hover { box-shadow: 0 5px 0 var(--brand-black); transform: translateY(-2px); }
.menu-toggle { display: none; }
.search-toggle { position: relative; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: transparent; font-size: 0; cursor: pointer; }
.search-toggle:hover { background: var(--surface); }
.search-toggle::before { position: absolute; top: 10px; left: 10px; width: 14px; height: 14px; border: 2px solid var(--brand-black); border-radius: 50%; content: ''; }
.search-toggle::after { position: absolute; top: 25px; left: 24px; width: 8px; height: 2px; border-radius: 2px; background: var(--brand-black); content: ''; transform: rotate(45deg); }

/* Search modal and result template */
.search-panel { position: fixed; z-index: 100; inset: 0; display: grid; width: 100%; place-items: center; padding: 24px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.search-panel[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgb(17 17 17 / 82%); backdrop-filter: blur(4px); }
.search-dialog { position: relative; z-index: 1; width: min(920px, 100%); padding: clamp(2.6rem, 6vw, 4.5rem); border-radius: 18px; background: var(--brand-yellow); box-shadow: 0 28px 80px rgb(0 0 0 / 30%); }
.search-dialog form { max-width: 100%; }
.search-dialog label { display: block; margin: 0 0 1rem; color: var(--brand-black); font: 800 clamp(1.3rem, 3vw, 1.9rem)/1.2 Manrope, sans-serif; }
.search-dialog .search-row { gap: 0; overflow: hidden; border: 4px solid #fff; border-radius: 12px; background: #fff; box-shadow: 0 0 0 2px rgb(17 17 17 / 9%); }
.search-row { display: flex; gap: .65rem; }
.search-row input, .form-card input, .form-card select, .form-card textarea { width: 100%; min-height: 50px; padding: .8rem .95rem; border: 1px solid #c9c9c4; border-radius: 8px; background: #fff; color: var(--brand-black); font: inherit; }
.search-dialog .search-row input { min-width: 0; min-height: 64px; padding: 1rem 1.2rem; border: 0; border-radius: 0; font-size: 1.05rem; }
.search-dialog .search-row .button { min-width: 130px; border-radius: 8px; background: var(--brand-black); color: #fff; }
.search-close { position: absolute; top: 14px; right: 16px; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid var(--brand-black); border-radius: 50%; background: transparent; color: var(--brand-black); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.search-close:hover { background: rgb(17 17 17 / 8%); }
.search-results { min-height: 65vh; padding: 2rem 0 5rem; }
.search-results h1 { margin: .3rem 0 1rem; font-size: clamp(2.6rem, 5vw, 4.2rem); }
.search-results .breadcrumbs { width: 100%; margin: 0 0 2rem; }
.search-results .search-row { max-width: 780px; }
.search-results .search-row input { min-height: 58px; }
#result-count { margin: 1rem 0; font-weight: 700; }
.result-list { display: grid; max-width: 1100px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.result-item { display: flex; min-height: 190px; flex-direction: column; padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none; box-shadow: 0 5px 18px rgb(17 17 17 / 4%); transition: box-shadow .18s ease, transform .18s ease; }
.result-item:hover { border-color: #d3c528; box-shadow: var(--shadow); transform: translateY(-3px); }
.result-item .eyebrow { color: #666; }
.result-item h2 { margin: .5rem 0; font-size: 1.2rem; }
.result-item p { margin: 0 0 1rem; color: var(--muted); line-height: 1.55; }
.result-item span:last-child { margin-top: auto; font-size: .87rem; font-weight: 800; }

/* Shared buttons, headings and breadcrumb */
.eyebrow { display: inline-block; color: #4d4d4a; font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: var(--brand-yellow); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; padding: .82rem 1.2rem; border: 1px solid transparent; border-radius: 8px; font: 800 .9rem 'DM Sans', sans-serif; text-align: center; text-decoration: none; cursor: pointer; transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease; }
.button:hover { box-shadow: 0 4px 0 rgb(17 17 17 / 18%); transform: translateY(-2px); }
.button-yellow { border-color: var(--brand-black); background: var(--brand-yellow); color: var(--brand-black); }
.button-dark { border-color: var(--brand-black); background: var(--brand-black); color: #fff; }
.button-outline { border-color: rgb(255 255 255 / 70%); background: transparent; color: #fff; }
.button-outline-dark { border-color: var(--brand-black); background: #fff; color: var(--brand-black); }
.button-outline-dark:hover { background: var(--brand-yellow); }
.breadcrumbs { display: flex; width: min(var(--max), calc(100% - 48px)); flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem auto 0; color: #666; font-size: .8rem; }
.breadcrumbs a { color: #444; text-decoration: underline; text-decoration-color: #c4c4bd; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: #111; text-decoration-color: var(--brand-yellow); }
.home-breadcrumb { margin-top: .65rem; margin-bottom: .45rem; }

/* Home cover: existing image is a background with a legibility overlay */
.hero { position: relative; display: grid; min-height: 500px; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); overflow: hidden; background: var(--brand-black); color: #fff; }
.hero-copy { z-index: 2; display: flex; flex-direction: column; align-self: stretch; justify-content: center; padding: clamp(42px, 6vw, 86px) var(--gutter); }
.hero h1 { max-width: 760px; margin: .75rem 0 1rem; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.hero p { max-width: 650px; margin: 0; color: #ededeb; font-size: 1.06rem; }
.hero-photo { position: relative; min-height: 420px; overflow: hidden; background: #272727; }
.hero-photo img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgb(17 17 17 / 5%), rgb(17 17 17 / 20%)); content: ''; pointer-events: none; }
.photo-caption { position: absolute; z-index: 2; right: 18px; bottom: 18px; padding: .55rem .8rem; background: var(--brand-yellow); color: var(--brand-black); font-size: .66rem; font-weight: 800; letter-spacing: .08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.55rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.15rem; margin-top: 1.8rem; color: #e0e0dc; font-size: .83rem; }
.home-hero { display: block; min-height: clamp(540px, 68vw, 720px); isolation: isolate; }
.home-hero .hero-photo { position: absolute; z-index: -1; inset: 0; min-height: 100%; }
.home-hero .hero-photo img { object-position: center 56%; }
.home-hero .hero-photo::after { background: linear-gradient(90deg, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 65%) 48%, rgb(0 0 0 / 52%) 100%), linear-gradient(0deg, rgb(0 0 0 / 48%) 0%, rgb(0 0 0 / 22%) 56%, rgb(0 0 0 / 20%) 100%); }
.home-hero .hero-copy { width: min(var(--max), calc(100% - 48px)); min-height: inherit; align-items: center; margin-inline: auto; padding: clamp(56px, 9vw, 120px) 0; text-align: center; }
.home-hero h1 { max-width: 900px; }
.home-hero p { max-width: 760px; }
.home-hero .hero-actions, .home-hero .hero-meta { justify-content: center; }
.home-hero .hero-meta { color: #fff; }
.home-hero .photo-caption, .inner-hero:not(.hero-nosotros):not(.hero-contacto) .photo-caption { display: none; }
.hero-nosotros .photo-caption, .hero-contacto .photo-caption { background: #fff; }

/* Intentional variants keep page intent visible while using the same hero system */
.hero-servicios .hero-copy, .hero-precios .hero-copy { background: var(--brand-yellow); color: var(--brand-black); }
.hero-servicios .eyebrow, .hero-precios .eyebrow,
.hero-servicios p, .hero-precios p, .hero-servicios .hero-meta, .hero-precios .hero-meta { color: #252525; }
.hero-servicios .button-outline, .hero-precios .button-outline { border-color: var(--brand-black); color: var(--brand-black); }
.hero-servicios .hero-photo::after, .hero-precios .hero-photo::after { background: linear-gradient(90deg, rgb(17 17 17 / 10%), rgb(17 17 17 / 28%)); }
.hero-servicios-revision-tecnomecanica-motos .hero-photo { order: -1; }
.hero-servicios-revision-tecnomecanica-motocarros .hero-copy { border-top: 10px solid var(--brand-yellow); background: var(--surface); color: var(--brand-black); }
.hero-servicios-revision-tecnomecanica-motocarros .eyebrow,
.hero-servicios-revision-tecnomecanica-motocarros p,
.hero-servicios-revision-tecnomecanica-motocarros .hero-meta { color: #454541; }
.hero-servicios-revision-tecnomecanica-motocarros .button-outline,
.hero-que-revisan .button-outline, .hero-requisitos .button-outline,
.hero-preguntas-frecuentes .button-outline { border-color: var(--brand-black); color: var(--brand-black); }
.hero-que-revisan .hero-copy, .hero-requisitos .hero-copy, .hero-preguntas-frecuentes .hero-copy { background: var(--surface); color: var(--brand-black); }
.hero-que-revisan .eyebrow, .hero-requisitos .eyebrow, .hero-preguntas-frecuentes .eyebrow,
.hero-que-revisan p, .hero-requisitos p, .hero-preguntas-frecuentes p,
.hero-que-revisan .hero-meta, .hero-requisitos .hero-meta, .hero-preguntas-frecuentes .hero-meta { color: #454541; }
.hero-requisitos .hero-copy { border-left: 10px solid var(--brand-yellow); }
.hero-vigencia-rtmgc .hero-photo { min-height: 540px; }
.hero-proceso-de-revision .hero-photo img { object-position: center 48%; }
.hero-contacto .hero-photo, .hero-nosotros .hero-photo { min-height: 500px; }
.hero-contacto .hero-photo::after, .hero-nosotros .hero-photo::after { background: linear-gradient(90deg, rgb(17 17 17 / 8%), rgb(17 17 17 / 20%)); }
.hero-contacto .hero-photo img, .hero-nosotros .hero-photo img { object-position: center 48%; }
.hero-politica-de-privacidad .hero-photo, .hero-blog .hero-photo { display: none; }
.hero-politica-de-privacidad, .hero-blog { grid-template-columns: 1fr; min-height: 340px; }
.hero-politica-de-privacidad .hero-copy, .hero-blog .hero-copy { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; padding-inline: 0; }
.hero-blog .hero-copy { text-align: center; align-items: center; }

/* Content sections, benefits, cards and accordions */
.page-content { padding-bottom: 4.7rem; }
.section { display: grid; grid-template-columns: minmax(230px, .78fr) minmax(0, 1.22fr); gap: clamp(1.5rem, 4vw, 3.2rem); padding: clamp(2.7rem, 5vw, 4.2rem) 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 440px; }
.section-heading .eyebrow { color: #5a5a56; }
.section-heading h2 { margin-top: .65rem; }
.section-content > p:first-child { margin-top: .2rem; }
.section-content p, .card p, .benefits p { color: var(--muted); }
.section-content > p:last-child { margin-bottom: 0; }
.dark-section { width: 100vw; margin-inline: calc((min(var(--max), 100vw - 48px) - 100vw) / 2); padding: clamp(2.7rem, 5vw, 4rem) var(--gutter); background: var(--surface); color: var(--brand-black); }
.dark-section .eyebrow, .dark-section .benefits b { color: #222; }
.dark-section .benefits > div { border-color: #d2d2cb; }
.dark-section .benefits p { color: #555; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { position: relative; display: flex; min-height: 240px; flex-direction: column; padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 5px 18px rgb(17 17 17 / 4%); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.card::before { position: absolute; top: 0; left: 1.45rem; width: 42px; height: 4px; background: var(--brand-yellow); content: ''; }
.card:hover { border-color: #d4c83b; box-shadow: var(--shadow); transform: translateY(-4px); }
.card-index { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-yellow); color: var(--brand-black); font-size: .72rem; font-weight: 900; }
.card h3 { margin: .85rem 0 .55rem; }
.card p { margin: 0 0 1rem; font-size: .91rem; }
.text-link { margin-top: auto; font-size: .86rem; font-weight: 800; }
.inline-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.inline-links a { display: inline-flex; min-height: 44px; align-items: center; padding: .6rem .9rem; border: 1px solid #d6d6d0; border-radius: 8px; background: #fff; color: var(--brand-black); font-weight: 700; text-decoration: none; }
.inline-links a:hover { border-color: var(--brand-black); background: var(--brand-yellow); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.benefits > div { padding: 1.15rem 1rem; border-left: 3px solid var(--brand-yellow); }
.benefits b { color: #272727; font-size: .76rem; letter-spacing: .06em; }
.benefits h3 { margin: .55rem 0; }
.benefits p { margin: 0; font-size: .9rem; }
.faq-list details { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: .1rem 2.2rem .1rem 0; color: var(--brand-black); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: -.05rem; right: .3rem; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--brand-yellow); content: '+'; font-size: 1.15rem; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details[open] summary { margin-bottom: .6rem; }
.faq-list p { max-width: 780px; margin: 0; color: var(--muted); }

/* Contact and article layouts */
.contact-grid { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); gap: 1.2rem; padding: 2.7rem 0; }
.contact-card, .form-card { padding: clamp(1.35rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 6px 22px rgb(17 17 17 / 5%); }
.contact-card { border-top: 5px solid var(--brand-yellow); }
.contact-card .eyebrow, .form-card .eyebrow { color: #555; }
.contact-card dl { margin: 1.4rem 0; }
.contact-card dt { margin-top: 1rem; color: #5c5c58; font-size: .78rem; font-weight: 700; }
.contact-card dd { margin: .15rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.contact-card dd a { text-decoration-color: #c8bd24; text-underline-offset: 3px; }
.muted { color: #63635e; font-size: .82rem; }
.form-card label { display: block; margin: .9rem 0; color: #272727; font-size: .86rem; font-weight: 700; }
.form-card label input, .form-card label select, .form-card label textarea { display: block; margin-top: .3rem; }
.form-card textarea { min-height: 118px; resize: vertical; }
.form-card .consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .78rem; font-weight: 500; }
.consent input { width: 18px; height: 18px; min-height: 0; flex: none; margin: .15rem 0 0; accent-color: #5e5900; }
.form-note { margin-top: .85rem; color: #595954; font-size: .78rem; }
.article-body { max-width: 780px; margin: clamp(2rem, 5vw, 3.5rem) auto; font-size: 1.04rem; }
.article-body h1 { font-size: clamp(2.2rem, 4.3vw, 3.5rem); }
.article-body h2 { margin-top: 2.1rem; font-size: 1.7rem; }
.article-body p, .article-body li { color: #4f4f4a; }
.article-body section { padding: 1rem 0; }

/* Shared CTA, footer and WhatsApp action */
.prefooter-cta { padding: 2rem 0; background: var(--brand-yellow); color: var(--brand-black); }
.prefooter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.prefooter-inner .eyebrow { color: #353535; }
.prefooter-inner h2 { margin: .35rem 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.prefooter-inner p { margin: 0; color: #333; }
.prefooter-call { display: flex; align-items: center; gap: 1rem; color: var(--brand-black); text-decoration: none; white-space: nowrap; }
.phone-icon { display: grid; width: 58px; height: 58px; flex: none; place-items: center; border: 2px solid var(--brand-black); border-radius: 50%; font-size: 1.45rem; }
.prefooter-call small, .prefooter-call strong { display: block; }
.prefooter-call small { font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.prefooter-call strong { font: 800 clamp(1.2rem, 2vw, 1.65rem) Manrope, sans-serif; }
.site-footer { padding: 3.4rem 0 1rem; background: var(--brand-black); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.25fr; gap: 1.8rem; padding-bottom: 2.6rem; }
.footer-about > a { display: block; width: min(220px, 100%); }
.footer-about img { display: block; width: 100%; height: auto; border: 0; outline: 0; box-shadow: none; }
.footer-about p { max-width: 330px; margin-top: 1rem; color: #d0d0cd; font-size: .88rem; }
.footer-grid h2 { margin: 0 0 .9rem; color: var(--brand-yellow); font-size: 1.1rem; letter-spacing: 0; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-grid a, .footer-grid span { color: #e2e2df; font-size: .82rem; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--brand-yellow); }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid #4a4a47; color: #d0d0cd; font-size: .76rem; line-height: 1.8; }
.footer-bottom a { color: var(--brand-yellow); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom i { padding: 0 .35rem; color: var(--brand-yellow); font-style: normal; }
.float-wa { position: fixed; z-index: 25; right: 20px; bottom: 20px; display: grid; width: 62px; height: 62px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #20c96b; color: #fff; text-decoration: none; box-shadow: 0 8px 24px rgb(17 17 17 / 20%); transition: transform .18s ease, background-color .18s ease; }
.float-wa:hover { background: #15b95e; transform: translateY(-3px); }
.float-wa svg { width: 38px; height: 38px; fill: currentColor; }

/* Error page */
.not-found { display: flex; min-height: 58vh; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 3rem; padding-bottom: 4rem; }
.not-found .eyebrow { padding: .3rem .55rem; background: var(--brand-yellow); color: var(--brand-black); }
.not-found h1 { margin-top: 1.2rem; }
.not-found p { max-width: 550px; color: var(--muted); }

/* Responsive breakpoints */

@media (min-width: 1061px) and (max-width: 1200px) {
  .header-inner { height: 78px; gap: .75rem; }
  .brand { width: 180px; }
  .primary-nav { position: absolute; z-index: 31; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; margin: 0; padding: .6rem 24px 1rem; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 14px 20px rgb(17 17 17 / 7%); }
  .primary-nav.nav-open { display: flex; }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid #ededeb; font-size: .93rem; }
  .primary-nav a::after { right: auto; bottom: -1px; width: 48px; }
  .menu-toggle { display: flex; order: 5; width: 40px; height: 40px; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: .15rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 2px; background: var(--brand-black); }
  .header-cta { margin-left: auto; }
  .search-toggle { margin-left: .25rem; }
}

@media (max-width: 1060px) {
  .header-inner { height: 78px; gap: .75rem; }
  .brand { width: 180px; }
  .primary-nav { gap: .9rem; }
  .primary-nav a { font-size: .82rem; }
  .menu-toggle { display: flex; order: 5; width: 40px; height: 40px; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 2px; background: var(--brand-black); }
  .primary-nav { position: absolute; z-index: 31; top: 100%; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; margin: 0; padding: .6rem 24px 1rem; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 14px 20px rgb(17 17 17 / 7%); }
  .primary-nav.nav-open { display: flex; }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid #ededeb; font-size: .93rem; }
  .primary-nav a::after { bottom: -1px; right: auto; width: 48px; }
  .header-cta { margin-left: auto; }
  .search-toggle { margin-left: auto; }
  .menu-toggle { margin-left: .15rem; }
  .topline-inner span { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(270px, .9fr); }
  .section { grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  :root { --gutter: 18px; }
  .container, .breadcrumbs { width: calc(100% - 36px); }
  .topline-inner { min-height: 38px; flex-wrap: wrap; justify-content: center; gap: .2rem .8rem; padding: .3rem 0; }
  .topline-inner a { font-size: .69rem; line-height: 1.35; }
  .header-inner { height: 68px; gap: .25rem; }
  .brand { width: 104px; }
  .header-cta { min-height: 40px; padding: .45rem .6rem; font-size: .68rem; }
  .search-toggle { width: 34px; height: 38px; margin-left: auto; }
  .search-toggle::before { top: 9px; left: 8px; }
  .search-toggle::after { top: 24px; left: 22px; }
  .menu-toggle { width: 34px; height: 34px; margin-left: .1rem; }
  .search-panel { padding: 16px; }
  .search-dialog { padding: 4rem 1rem 1.15rem; border-radius: 14px; }
  .search-dialog .search-row { border-width: 3px; }
  .search-dialog .search-row input { min-height: 54px; padding: .65rem; font-size: .9rem; }
  .search-dialog .search-row .button { min-width: 84px; gap: .25rem; padding: .55rem; font-size: .75rem; }
  .search-dialog .search-close { top: 10px; right: 10px; width: 36px; height: 36px; }
  .hero, .hero.inner-hero { display: flex; min-height: 0; flex-direction: column; }
  .hero-copy { min-height: 320px; padding: 3rem 18px; }
  .hero h1 { font-size: clamp(2.15rem, 9vw, 3.2rem); }
  .hero p { font-size: .97rem; }
  .hero-photo { min-height: 275px; }
  .hero-actions { gap: .55rem; }
  .hero-actions .button { width: 100%; }
  .hero-meta { flex-direction: column; gap: .35rem; margin-top: 1.3rem; font-size: .78rem; }
  .home-hero { display: block; min-height: 600px; }
  .home-hero .hero-photo { position: absolute; min-height: 100%; }
  .home-hero .hero-photo img { object-position: 58% center; }
  .home-hero .hero-copy { width: calc(100% - 36px); min-height: 600px; padding: 3rem 0; }
  .home-hero .hero-meta { align-items: center; }
  .hero-servicios-revision-tecnomecanica-motos .hero-photo { order: 0; }
  .hero-requisitos .hero-copy { border-top: 8px solid var(--brand-yellow); border-left: 0; }
  .hero-politica-de-privacidad, .hero-blog { min-height: 300px; }
  .hero-politica-de-privacidad .hero-copy, .hero-blog .hero-copy { width: calc(100% - 36px); }
  .breadcrumbs { margin-top: .8rem; font-size: .75rem; }
  .page-content { padding-bottom: 3rem; }
  .section { grid-template-columns: 1fr; gap: .9rem; padding: 2.45rem 0; }
  .dark-section { width: calc(100% + 36px); margin-left: -18px; padding: 2.5rem 18px; }
  .cards { grid-template-columns: 1fr; gap: .8rem; }
  .card { min-height: 185px; padding: 1.25rem; }
  .benefits { grid-template-columns: 1fr; gap: .4rem; }
  .benefits > div { padding: .75rem 0 .75rem 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: .9rem; padding: 1.8rem 0; }
  .contact-card, .form-card { padding: 1.2rem; }
  .article-body { width: calc(100% - 36px); font-size: 1rem; }
  .article-body h2 { font-size: 1.45rem; }
  .prefooter-cta { padding: 1.5rem 0; }
  .prefooter-inner { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .prefooter-inner h2 { font-size: 1.55rem; }
  .prefooter-call { gap: .7rem; white-space: normal; }
  .phone-icon { width: 48px; height: 48px; }
  .site-footer { padding-top: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .9rem; padding-bottom: 1.8rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid h2 { font-size: 1rem; }
  .footer-grid a, .footer-grid span { font-size: .77rem; }
  .footer-bottom { flex-direction: column; font-size: .72rem; }
  .float-wa { right: 12px; bottom: 12px; width: 56px; height: 56px; }
  .float-wa svg { width: 34px; height: 34px; }
  .search-results { padding: 1rem 0 3rem; }
  .search-results .breadcrumbs { margin-bottom: 1.25rem; }
  .search-results .search-row { flex-direction: column; }
  .search-results .search-row .button { width: 100%; }
  .result-list { grid-template-columns: 1fr; gap: .8rem; }
  .result-item { min-height: 160px; padding: 1.2rem; }
  .not-found { min-height: 48vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
:focus-visible { outline: 3px solid #6e6800; outline-offset: 3px; }
body.search-open { overflow: hidden; }

/* Puntual refinements: compact header, in-hero breadcrumbs and branded icons */
:root { --header-height: 70px; }
.header-inner { height: var(--header-height); gap: 1rem; }
.brand { width: 205px; }
.primary-nav { gap: clamp(.75rem, 1.25vw, 1.2rem); }
.topline-inner { min-height: 36px; }
.topline-inner a { display: inline-flex; align-items: center; gap: .48rem; }
.ui-icon { display: inline-block; width: 18px; height: 18px; flex: none; fill: currentColor; vertical-align: middle; }
.topline .ui-icon { color: var(--brand-yellow); }
.footer-iconlink { display: flex; align-items: flex-start; gap: .6rem; }
.footer-iconlink .ui-icon, .footer-icontext .ui-icon { color: var(--brand-yellow); }
.footer-iconlink span, .footer-icontext > span { min-width: 0; }
.footer-icontext { display: flex; align-items: flex-start; gap: .6rem; }
.phone-icon .ui-icon { width: 23px; height: 23px; }
.hero-copy > .breadcrumbs { width: 100%; align-self: stretch; margin: 0 0 1.2rem; color: #f2f2ed; font-size: .76rem; }
.hero-copy > .breadcrumbs a { color: #fff; text-underline-offset: 3px; }
.hero-copy > .breadcrumbs span[aria-hidden="true"] { color: var(--brand-yellow); }
.hero-servicios .hero-copy > .breadcrumbs,
.hero-precios .hero-copy > .breadcrumbs,
.hero-que-revisan .hero-copy > .breadcrumbs,
.hero-requisitos .hero-copy > .breadcrumbs,
.hero-preguntas-frecuentes .hero-copy > .breadcrumbs,
.hero-servicios-revision-tecnomecanica-motocarros .hero-copy > .breadcrumbs { color: #555; }
.hero-servicios .hero-copy > .breadcrumbs a,
.hero-precios .hero-copy > .breadcrumbs a,
.hero-que-revisan .hero-copy > .breadcrumbs a,
.hero-requisitos .hero-copy > .breadcrumbs a,
.hero-preguntas-frecuentes .hero-copy > .breadcrumbs a,
.hero-servicios-revision-tecnomecanica-motocarros .hero-copy > .breadcrumbs a { color: #222; }
.article-body > .breadcrumbs { width: 100%; margin: 0 0 1.35rem; }
.search-results > .breadcrumbs { width: 100%; margin: 0 0 1.35rem; }
.not-found > .breadcrumbs { width: auto; margin: 0 0 1rem; align-self: flex-start; }

/* High-contrast conversion CTA */
.prefooter-cta { position: relative; overflow: hidden; padding: clamp(2.2rem, 4vw, 3.3rem) 0; background: linear-gradient(112deg, #111 0%, #191919 68%, #242100 100%); color: #fff; }
.prefooter-cta::after { position: absolute; top: -90px; right: 12%; width: 260px; height: 260px; border: 1px solid rgb(253 241 83 / 25%); border-radius: 50%; content: ''; pointer-events: none; }
.prefooter-inner { position: relative; z-index: 1; flex-wrap: wrap; }
.prefooter-inner .eyebrow { color: var(--brand-yellow); }
.prefooter-inner h2 { color: #fff; }
.prefooter-inner p { color: #deded8; }
.prefooter-call { color: #fff; }
.prefooter-call small { color: #d7d7d0; }
.phone-icon { border-color: var(--brand-yellow); color: var(--brand-yellow); }
.prefooter-whatsapp { min-height: 54px; }

/* Home has varied compositions, not repeated editorial rows */
.home-services, .home-intro, .home-process, .home-prep, .home-location,
.home-benefits, .home-guidance, .home-reviews, .home-faq { display: block; }
.home-services .section-heading, .home-process .section-heading,
.home-reviews .reviews-heading, .home-faq .section-heading { max-width: 780px; margin: 0 auto 2rem; text-align: center; }
.home-services .section-content, .home-prep .section-content, .home-faq .section-content { width: 100%; }
.home-services .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-services .card { min-height: 410px; overflow: hidden; padding: 0 1.35rem 1.45rem; }
.card-media { display: block; height: 190px; margin: 0 -1.35rem 1rem; overflow: hidden; background: var(--surface); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-kicker { color: #555; font-size: .68rem; font-weight: 800; letter-spacing: .11em; }
.home-intro { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.home-intro-copy { max-width: 520px; }
.home-intro-copy h2, .location-copy h2, .benefits-content h2 { margin: .55rem 0 1rem; font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.home-intro-copy p { color: var(--muted); }
.home-intro-copy .button { margin-top: .5rem; }
.home-intro-visual { position: relative; min-height: 430px; }
.home-intro-visual img { position: absolute; display: block; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow); }
.intro-photo-main { inset: 0 16% 9% 0; width: 84%; height: 91%; }
.intro-photo-secondary { right: 0; bottom: 0; width: 44%; height: 52%; border: 8px solid #fff; }
.home-intro-visual .photo-caption { right: 18%; bottom: 12%; }
.home-process { padding: clamp(3.4rem, 6vw, 5rem) 0; background: var(--surface); }
.home-process .section-heading { margin-bottom: 2rem; }
.home-process .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-process .benefits > div { min-height: 250px; padding: 1.5rem; border: 1px solid #e2e2dc; border-top: 4px solid var(--brand-yellow); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 26px rgb(17 17 17 / 5%); }
.home-process .benefits b { display: inline-flex; min-height: 34px; align-items: center; padding: .3rem .65rem; border-radius: 999px; background: var(--brand-yellow); color: #111; }
.home-process .benefits h3 { margin-top: 1.1rem; }
.home-process-cta { display: flex; width: fit-content; margin: 1.6rem auto 0; }
.home-promo { position: relative; display: flex; min-height: 370px; align-items: center; justify-content: center; overflow: hidden; padding: 3.5rem 24px; background: #111 url('/assets/images/proceso-inspeccion.jpg') center 48% / cover no-repeat; color: #fff; text-align: center; }
.home-promo::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(17 17 17 / 78%), rgb(17 17 17 / 64%)); content: ''; }
.promo-copy { position: relative; z-index: 1; max-width: 720px; }
.promo-copy .eyebrow { color: var(--brand-yellow); }
.promo-copy h2 { margin: .7rem 0; font-size: clamp(2rem, 4vw, 3.3rem); }
.promo-copy p { margin-bottom: 1.4rem; color: #ededeb; font-size: 1.05rem; }
.home-prep { padding-block: clamp(3.5rem, 6vw, 5rem); }
.prep-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prep-cards .card { min-height: 250px; }
.home-location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(3rem, 6vw, 5rem) 0; }
.location-photo { min-height: 380px; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.location-photo img { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.location-copy { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-top: 5px solid var(--brand-yellow); border-radius: var(--radius); box-shadow: var(--shadow); }
.location-line { display: flex; align-items: flex-start; gap: .75rem; margin: 1.2rem 0; }
.location-line .ui-icon { color: #5b5500; }
.location-line a { font-weight: 700; text-underline-offset: 3px; }
.location-copy .button { margin-top: .7rem; }
.home-benefits { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 5rem) 0; background: var(--surface); }
.home-benefits .benefits-photo { min-height: 390px; overflow: hidden; border-radius: var(--radius); }
.benefits-photo img { display: block; width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.home-benefits .benefits-content { padding: 0 clamp(1rem, 3vw, 2.5rem) 0 0; }
.home-benefits .benefits { grid-template-columns: 1fr; gap: .45rem; }
.home-benefits .benefits > div { padding: 1rem 0 1rem 1.1rem; border-left: 3px solid #d3c500; border-bottom: 1px solid #d8d8d1; }
.home-guidance { padding-block: 3rem; background: #fff; }
.home-guidance .section-heading { max-width: 760px; margin: 0 auto 1.25rem; text-align: center; }
.home-guidance .section-content { max-width: 780px; margin-inline: auto; text-align: center; }
.home-guidance .inline-links { justify-content: center; margin-top: 1.2rem; }
.home-reviews { padding: clamp(3.5rem, 6vw, 5.5rem) 0; background: #fff; }
.home-reviews .reviews-heading p { max-width: 700px; margin: 0 auto; color: var(--muted); }
.testimonial-window { overflow: hidden; }
.testimonial-track { display: flex; gap: 1rem; transition: transform .38s ease; will-change: transform; }
.testimonial-card { display: flex; min-height: 310px; flex: 0 0 auto; flex-direction: column; align-items: center; padding: 1.6rem; border: 1px solid var(--line); border-bottom: 6px solid var(--brand-yellow); background: #fff; text-align: center; }
.testimonial-avatar { width: 64px; height: 64px; margin-bottom: 1rem; border-radius: 50%; object-fit: cover; }
.testimonial-source { color: #555; font-size: .75rem; font-weight: 700; }
.testimonial-card blockquote { margin: .8rem 0; color: var(--muted); }
.testimonial-card cite { margin-top: auto; color: var(--brand-black); font-style: normal; font-weight: 800; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.testimonial-controls[hidden] { display: none; }
.testimonial-arrow { width: 42px; height: 42px; border: 1px solid #d2c600; border-radius: 50%; background: #fff; color: #111; font-size: 1.5rem; cursor: pointer; }
.testimonial-arrow:hover, .testimonial-dot[aria-current="true"] { background: var(--brand-yellow); }
.testimonial-dots { display: flex; gap: .5rem; }
.testimonial-dot { width: 12px; height: 12px; padding: 0; border: 1px solid #777; border-radius: 50%; background: #fff; cursor: pointer; }

/* Search results: compact, scannable cards */
.search-backdrop { background: rgb(17 17 17 / 60%); backdrop-filter: blur(6px); }
.search-dialog { transform: translateY(0); animation: search-dialog-in .2s ease-out both; }
@keyframes search-dialog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.search-results > .eyebrow { margin-top: .2rem; }
.search-results > h1 { margin-bottom: .6rem; }
.search-description { max-width: 760px; margin-bottom: 1.4rem; color: var(--muted); }
.result-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#no-results { padding: 1.5rem 0; }
#no-results .inline-links { margin-top: 1rem; }

@media (max-width: 1060px) {
  .header-inner { height: 66px; }
  .brand { width: 175px; }
  .primary-nav { gap: .75rem; }
  .result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-services .cards, .prep-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-intro, .home-location { gap: 2rem; }
  .home-process .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-benefits { gap: 1.8rem; }
}
@media (max-width: 700px) {
  .header-inner { height: 60px; }
  .brand { width: 108px; }
  .topline-inner { justify-content: flex-start; gap: .45rem 1rem; }
  .topline-inner .ui-icon { width: 15px; height: 15px; }
  .home-services .section-heading, .home-process .section-heading,
  .home-reviews .reviews-heading, .home-faq .section-heading { margin-bottom: 1.3rem; text-align: center; }
  .home-services .cards, .prep-cards, .home-process .benefits { grid-template-columns: 1fr; }
  .home-services .card { min-height: 360px; }
  .card-media { height: 175px; }
  .home-intro, .home-location, .home-benefits { grid-template-columns: 1fr; }
  .home-intro { padding-block: 2.7rem; }
  .home-intro-copy { max-width: none; }
  .home-intro-visual { min-height: 330px; }
  .intro-photo-main { inset: 0 10% 8% 0; width: 90%; height: 92%; }
  .intro-photo-secondary { width: 43%; height: 48%; }
  .home-intro-visual .photo-caption { right: 12%; bottom: 11%; }
  .home-process .benefits > div { min-height: 0; padding: 1.25rem; }
  .home-promo { min-height: 350px; padding: 2.8rem 18px; }
  .home-process-cta { width: 100%; }
  .home-prep { padding-block: 2.8rem; }
  .location-photo, .location-photo img { min-height: 270px; }
  .location-copy { padding: 1.3rem; }
  .home-benefits .benefits-photo, .benefits-photo img { min-height: 260px; }
  .home-benefits .benefits-content { padding: 0; }
  .home-reviews { padding-block: 2.8rem; }
  .testimonial-card { min-height: 280px; padding: 1.25rem; }
  .review-mark { width: 40px; height: 40px; }
  .prefooter-inner { align-items: flex-start; }
  .prefooter-whatsapp { width: 100%; }
  .prefooter-call { max-width: 100%; }
  .search-results { min-height: 58vh; }
  .search-results > h1 { font-size: clamp(2rem, 9vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .search-dialog { animation: none; }
}
.home-process, .home-promo, .home-benefits { width: 100vw; margin-left: calc((min(var(--max), 100vw - 48px) - 100vw) / 2); padding-right: var(--gutter); padding-left: var(--gutter); }
.home-promo { background-image: none; }
.promo-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.home-promo::before { z-index: 1; }
.promo-copy { z-index: 2; }
.process-icon { display: block; width: 48px; height: 48px; margin: 1.2rem 0 .2rem; fill: none; stroke: #272727; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.prep-cards .prep-icon { display: block; width: 36px; height: 36px; margin: .85rem 0 .3rem; fill: none; stroke: #272727; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.testimonial-arrow:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 700px) {
  .home-process, .home-promo, .home-benefits { width: calc(100% + 36px); margin-left: -18px; padding-right: 18px; padding-left: 18px; }
}

/* Final correction pass: consistent desktop hero depth, editorial inner-page rhythm,
   diffused yellow CTA, verified-review state, and polished search results. */
@media (min-width: 1061px) {
  .home-hero { min-height: 600px; }
  .hero.inner-hero { min-height: 600px; }
  .hero.inner-hero .hero-copy,
  .hero.inner-hero .hero-photo { min-height: 600px; }
}

/* Interior pages alternate the text/image balance without changing their content. */
.hero.inner-hero + .page-content > .section:nth-of-type(even) {
  grid-template-columns: minmax(0, 1.22fr) minmax(230px, .78fr);
  padding-inline: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(110deg, #faf9f3, #fff 72%);
}
.hero.inner-hero + .page-content > .section:nth-of-type(even) .section-heading {
  grid-column: 2;
  grid-row: 1;
}
.hero.inner-hero + .page-content > .section:nth-of-type(even) .section-content {
  grid-column: 1;
  grid-row: 1;
}
.hero.inner-hero + .page-content > .section .section-heading h2 {
  text-wrap: balance;
}

/* A diffused yellow light gives the conversion CTA depth while retaining contrast. */
.prefooter-cta {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 18% 110%, rgb(255 255 255 / 48%), transparent 48%),
    radial-gradient(ellipse at 88% 0%, rgb(255 255 255 / 56%), transparent 42%),
    linear-gradient(112deg, #fdf153 0%, #fffbd0 58%, #f5e936 100%);
  color: #111;
}
.prefooter-inner h2, .prefooter-call { color: #111; }
.prefooter-inner p, .prefooter-call small, .prefooter-inner .eyebrow { color: #333; }
.phone-icon { border-color: #111; color: #111; }
.prefooter-cta::before {
  position: absolute;
  z-index: -1;
  top: -130px;
  left: 20%;
  width: min(620px, 60vw);
  height: 360px;
  border-radius: 50%;
  background: rgb(255 255 255 / 42%);
  content: '';
  filter: blur(70px);
  pointer-events: none;
}
.prefooter-inner { gap: clamp(1.25rem, 2.5vw, 2.4rem); }
.prefooter-inner > div:first-child { flex: 1 1 430px; }
.prefooter-whatsapp { border: 2px solid #111; box-shadow: 0 5px 0 rgb(0 0 0 / 22%); }
.prefooter-whatsapp:hover { box-shadow: 0 7px 15px rgb(253 241 83 / 20%); transform: translateY(-2px); }

/* Search results use a compact lead-in and substantial, linked result cards. */
.search-results { padding-top: 1.4rem; }
.search-results > .breadcrumbs { margin-bottom: 1.25rem; }
.search-results > .eyebrow { display: inline-block; padding: .25rem .5rem; background: var(--brand-yellow); color: #111; font-size: .7rem; letter-spacing: .1em; }
.search-results > h1 { max-width: 900px; font-size: clamp(2.35rem, 4.6vw, 3.8rem); line-height: 1.04; }
.search-results .search-row { gap: .65rem; align-items: stretch; }
.search-results .search-row input { border: 1px solid #c9c9c4; border-radius: 12px; background: #fff; box-shadow: inset 0 1px 2px rgb(17 17 17 / 3%); }
.search-results .search-row .button { min-width: 120px; border-radius: 12px; }
#result-count { color: #3e3e39; }
.result-list { max-width: 1160px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.4rem; }
.result-item { position: relative; min-height: 250px; padding: 1.5rem 1.55rem 1.35rem; border-color: #e2e1d9; border-radius: 14px; box-shadow: 0 9px 28px rgb(17 17 17 / 5%); }
.result-item::before { position: absolute; top: 0; left: 1.5rem; width: 52px; height: 4px; background: var(--brand-yellow); content: ''; }
.result-item h2 { margin: .7rem 0 .55rem; font-size: 1.23rem; line-height: 1.28; }
.result-item p { font-size: .94rem; }
.result-item .result-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: .9rem; border-top: 1px solid #ecebe5; color: #171717; font-size: .9rem; font-weight: 800; }
.result-item:hover { border-color: #cabc12; box-shadow: 0 15px 32px rgb(17 17 17 / 10%); transform: translateY(-4px); }
.no-results-panel {
  display: grid;
  max-width: 1100px;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin: 2rem 0 1rem;
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  border: 1px solid #e6e4d7;
  border-radius: 16px;
  background: linear-gradient(115deg, #faf9f3, #fff 68%);
  box-shadow: 0 10px 30px rgb(17 17 17 / 5%);
}
.no-results-panel[hidden] { display: none; }
.no-results-icon { display: grid; width: 88px; height: 88px; place-items: center; border-radius: 50%; background: var(--brand-yellow); }
.no-results-icon svg { width: 54px; height: 54px; fill: none; stroke: #111; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.no-results-copy h2 { margin: .5rem 0; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.no-results-copy p { max-width: 760px; color: var(--muted); }
.no-results-search { max-width: 780px; margin: 1.2rem 0; }
.no-results-search input { min-height: 52px; }
.no-results-copy > .button { min-height: 48px; }

@media (max-width: 1060px) {
  .result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero.inner-hero + .page-content > .section:nth-of-type(even) { grid-template-columns: minmax(0, 1.2fr) minmax(200px, .8fr); }
}
@media (max-width: 700px) {
  .home-hero { min-height: 0; }
  .home-hero .hero-copy { min-height: 0; padding-block: 3rem; }
  .hero.inner-hero .hero-copy { min-height: 0; }
  .hero.inner-hero .hero-photo { min-height: 275px; }
  .hero.inner-hero + .page-content > .section:nth-of-type(even) { display: grid; grid-template-columns: 1fr; padding-inline: 0; background: transparent; }
  .hero.inner-hero + .page-content > .section:nth-of-type(even) .section-heading,
  .hero.inner-hero + .page-content > .section:nth-of-type(even) .section-content { grid-column: 1; grid-row: auto; }
  .prefooter-cta::before { left: -10%; width: 120vw; }
  .result-list { grid-template-columns: 1fr; }
  .result-item { min-height: 205px; }
  .no-results-panel { grid-template-columns: 1fr; gap: 1rem; }
  .no-results-icon { width: 68px; height: 68px; }
  .no-results-icon svg { width: 42px; height: 42px; }
  .no-results-search { flex-direction: column; }
  .no-results-search .button { width: 100%; }
}


/* Editorial and legal heroes use distinct branded artwork instead of repeating a facility photo. */
.hero-blog .blog-abstract { background: radial-gradient(ellipse at 68% 38%, rgb(253 241 83 / 72%), transparent 28%), linear-gradient(135deg, #242424 0%, #111 55%, #5d5700 100%); }
.hero-blog .blog-abstract::before { position: absolute; inset: 12% 12% 12% 20%; border: 1px solid rgb(255 255 255 / 27%); border-radius: 48% 52% 44% 56%; content: ''; transform: rotate(-12deg); }
.hero-politica-de-privacidad .privacy-abstract { background: radial-gradient(ellipse at 74% 28%, rgb(253 241 83 / 64%), transparent 26%), linear-gradient(125deg, #111 0%, #393600 58%, #242424 100%); }
.hero-politica-de-privacidad .privacy-abstract::before { position: absolute; inset: 20% 16% 20% 24%; border: 1px solid rgb(255 255 255 / 28%); border-radius: 50% 18px 50% 18px; content: ''; transform: rotate(-8deg); }

/* Search hero: center the full query experience over the CDA yellow gradient. */
.search-breadcrumb { padding-top: .1rem; }
.search-breadcrumb .breadcrumbs { margin: .8rem auto; }
.search-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem, 6vw, 5.2rem) 0 clamp(2.5rem, 5vw, 4.3rem);
  background:
    radial-gradient(ellipse at 12% 4%, rgb(255 255 255 / 74%), transparent 39%),
    radial-gradient(ellipse at 91% 96%, rgb(255 255 255 / 54%), transparent 35%),
    linear-gradient(118deg, #fdf153 0%, #fff77a 47%, #f9e82d 100%);
  text-align: center;
}
.search-hero::after {
  position: absolute;
  right: -90px;
  bottom: -220px;
  width: 430px;
  height: 430px;
  border: 1px solid rgb(17 17 17 / 10%);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}
.search-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; }
.search-hero .eyebrow { display: inline-block; padding: .28rem .6rem; background: #111; color: var(--brand-yellow); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.search-hero h1 { max-width: 1040px; margin: .65rem 0 .7rem; font-size: clamp(2.4rem, 5.4vw, 4.5rem); line-height: 1.08; text-align: center; text-wrap: balance; }
.search-hero .search-description { max-width: 760px; margin: 0 auto 1.4rem; color: #333; }
.search-hero .search-row { width: min(820px, 100%); justify-content: center; margin: 0 auto; }
.search-hero .search-row input { min-width: 0; min-height: 60px; border: 1px solid rgb(17 17 17 / 18%); border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgb(17 17 17 / 8%); text-align: left; }
.search-hero .search-row .button { min-width: 130px; border: 1px solid #111; border-radius: 12px; }
.search-hero #result-count { margin: 1rem 0 0; color: #272727; font-weight: 800; }
.search-results { min-height: 0; padding-top: 2rem; }
@media (max-width: 700px) {
  .search-breadcrumb .breadcrumbs { margin-block: .6rem; }
  .search-hero { padding: 2.6rem 0 2.3rem; }
  .search-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .search-hero .search-description { margin-bottom: 1.1rem; }
  .search-hero .search-row { flex-direction: column; }
  .search-hero .search-row .button { width: 100%; }
  .search-results { padding-top: 1.5rem; }
}


/* Search breadcrumb takes the eyebrow position inside its yellow hero. */
.search-hero-breadcrumb {
  width: 100%;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #333;
}
.search-hero-breadcrumb a { color: #111; }
.search-hero-breadcrumb span[aria-hidden="true"] { color: #5e5700; }
.search-hero h1 { margin-top: 0; }
.result-item h2 { margin-top: .15rem; }


/* 404: composición centrada con líneas decorativas discretas. */
.not-found-designed { position:relative; display:grid; min-height:600px; width:100%; max-width:none; place-items:center; overflow:hidden; padding:56px 24px; background:linear-gradient(145deg,#fff 20%,#f7f7f3 100%); text-align:center; isolation:isolate; }
.not-found-content { position:relative; z-index:2; max-width:720px; }
.error-number { display:block; color:#111; font-size:clamp(8rem,16vw,13.75rem); font-weight:900; letter-spacing:-.09em; line-height:.85; text-shadow:5px 5px 0 var(--brand-yellow); }
.not-found-designed h1 { margin:1.2rem 0 .8rem; font-size:clamp(2rem,4vw,3.2rem); line-height:1.1; }
.not-found-designed p { max-width:610px; margin:0 auto 1.8rem; color:#60605d; font-size:1.08rem; line-height:1.65; }
.error-home-link { min-width:190px; justify-content:center; padding:1rem 1.5rem; }
.error-home-link:focus-visible { outline:3px solid #111; outline-offset:4px; }
.error-art { position:absolute; z-index:0; width:480px; height:480px; border:1px solid rgb(17 17 17 / 9%); border-radius:50%; pointer-events:none; }
.error-art::after { position:absolute; inset:48px; border:1px solid rgb(236 220 0 / 32%); border-radius:50%; content:''; }
.error-art-one { top:-230px; left:-160px; }
.error-art-two { right:-180px; bottom:-260px; transform:rotate(25deg); }
@media (max-width:700px) { .not-found-designed { min-height:600px; padding:80px 22px; } .error-art { width:300px; height:300px; } .error-art-one { top:-150px; left:-170px; } .error-art-two { right:-190px; bottom:-160px; } .not-found-designed p { font-size:1rem; } }

/* Carrusel de testimonios inspirado en la composición de CIA Express. */
.home-reviews .reviews-heading { max-width:none; margin-bottom:3rem; }
.home-reviews .reviews-heading .eyebrow { display:inline-block; padding:.12rem .3rem; background:var(--brand-yellow); color:#111; font-weight:800; }
.home-reviews .reviews-heading h2 { margin:1.1rem auto 1rem; font-size:clamp(2rem,3.4vw,3rem); text-transform:uppercase; }
.home-reviews .reviews-heading p { max-width:960px; font-size:1.1rem; line-height:1.6; }
.testimonial-stage { position:relative; display:flex; align-items:center; gap:12px; }
.testimonial-window { flex:1; min-width:0; overflow:hidden; }
.testimonial-track { display:flex; gap:16px; transition:transform .38s ease; }
.testimonial-card { min-height:330px; padding:2rem 1.5rem 1.25rem; border:0; border-bottom:6px solid var(--brand-yellow); box-shadow:0 8px 30px rgb(17 17 17 / 5%); }
.testimonial-avatar { display:grid; width:68px; height:68px; place-items:center; margin:0 auto 1.2rem; border-radius:50%; background:#f1f1ed; color:#333; font-size:1.5rem; font-weight:800; }
.testimonial-card blockquote { flex:1; margin:.2rem 0 1rem; font-size:1.05rem; line-height:1.55; }
.testimonial-card cite { margin:0; font-style:italic; font-weight:800; }
.testimonial-city { display:block; margin-top:.2rem; color:#666; font-size:.75rem; font-style:italic; font-weight:700; text-transform:uppercase; }
.testimonial-side-arrow { flex:none; width:36px; border:0; background:transparent; color:#e5d600; font-size:2.5rem; line-height:1; cursor:pointer; }
.testimonial-side-arrow:disabled { opacity:.3; cursor:default; }
.testimonial-side-arrow:focus-visible,.testimonial-dot:focus-visible { outline:2px solid #111; outline-offset:3px; }
.testimonial-dots { justify-content:center; margin-top:1.2rem; }
.testimonial-dot { width:12px; height:12px; border:0; background:#ccc; }
.testimonial-dot[aria-current="true"] { background:#111; }
.testimonial-pending { margin:1.5rem auto; color:#666; text-align:center; }
@media (max-width:700px) { .testimonial-stage { gap:4px; } .testimonial-side-arrow { width:24px; font-size:2rem; } .testimonial-card { min-height:300px; padding:1.4rem .9rem; } }
@media (prefers-reduced-motion:reduce) { .testimonial-track { transition:none; } }

/* Modal global y carrusel con datos de demostración identificados. */
.search-panel { position:fixed; z-index:1000; inset:0; width:100vw; height:100dvh; }
.search-backdrop { position:absolute; inset:0; background:rgb(0 0 0 / 64%); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.testimonial-demo-note { max-width:720px; margin:1.25rem auto 0; color:#63635f; font-size:.82rem; text-align:center; }
.testimonial-source { margin-bottom:.5rem; color:#837b00; font-size:.7rem; font-weight:800; letter-spacing:.08em; }
.testimonial-card { min-height:350px; }
.testimonial-dots[hidden],.testimonial-side-arrow[hidden] { display:none; }
@media(max-width:700px){.testimonial-card{min-height:315px}}

/* Public review carousel and global search overlay */
.testimonial-avatar { display:grid; place-items:center; flex:none; background:#fff2a8; color:#111; font-size:1.55rem; font-weight:800; }
.testimonial-card { box-shadow:0 12px 28px rgba(0,0,0,.045); }
.testimonial-card cite { font-style:italic; }
.testimonial-city { margin-top:.25rem; color:#666; font-size:.8rem; font-weight:700; text-transform:uppercase; }
.testimonial-dot { border:0; background:#c8c8c8; }
.testimonial-dot[aria-current="true"] { background:#111; }
.testimonial-arrow { color:#e9d600; border:0; background:transparent; }
.testimonial-arrow:disabled { opacity:.35; cursor:default; }
.search-panel { position:fixed; inset:0; width:100vw; height:100dvh; z-index:9999; }
.search-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.58); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
@media (max-width:700px) { .testimonial-card { min-height:300px; } }

/* SEO and responsive refinements, 2026-11-03 */
.testimonial-avatar-demo { background-image:url('/assets/images/testimonios-demo.jpg'); background-size:300% 200%; background-position:var(--avatar-x) var(--avatar-y); background-repeat:no-repeat; }
.testimonial-avatar img { display:block; width:100%; height:100%; border-radius:50%; object-fit:cover; }
.home-reviews .testimonial-card { min-height:340px; padding:2rem 1.5rem 1.35rem; }
.home-reviews .testimonial-card blockquote { display:flex; align-items:center; justify-content:center; min-height:110px; font-size:1.08rem; }
.home-reviews .testimonial-side-arrow { min-width:44px; min-height:44px; }
.home-reviews .testimonial-dots { gap:.75rem; }
.home-reviews .testimonial-dot { width:14px; height:14px; }
@media (max-width:700px) {
  .hero-copy,.hero.inner-hero .hero-copy,.section-heading,.home-intro-copy,.location-copy,.benefits-content,.home-guidance,.home-reviews,.home-faq,.home-promo .promo-copy,.contact-grid>.contact-card,.prefooter-inner { text-align:center; }
  .hero-actions,.inline-links,.section-content>.button,.home-intro-copy .button,.location-copy .button,.home-promo .button,.contact-grid .button,.prefooter-inner { justify-content:center; }
  .hero-actions,.inline-links { align-items:center; }
  .section-heading,.section-content,.home-intro-copy,.location-copy,.benefits-content { margin-inline:auto; }
  .home-intro-copy .button,.location-copy .button,.home-promo .button,.contact-grid .button { margin-inline:auto; }
  .home-process .process-icon,.prep-cards .prep-icon { margin-inline:auto; }
  .prefooter-inner { align-items:center; }
  .prefooter-inner > div:first-child { flex: 1 1 auto; }
  .prefooter-call { justify-content:center; }
  .footer-grid { grid-template-columns:1fr; text-align:center; }
  .footer-grid>div:first-child { grid-column:auto; }
  .footer-grid .footer-iconlink,.footer-grid .footer-icontext { justify-content:center; text-align:left; }
  .footer-bottom { align-items:center; text-align:center; }
  .home-reviews .testimonial-card { min-height:315px; padding:1.4rem .9rem; }
}
@media (max-width:360px) {
  .header-inner { gap:.15rem; }
  .brand { width:92px; }
  .header-cta { padding:.4rem .45rem; font-size:.62rem; }
  .topline-inner a { overflow-wrap:anywhere; }
  .testimonial-stage { gap:0; }
  .testimonial-side-arrow { min-width:23px; }
}


/* Nosotros: composición editorial adaptada a los tokens existentes del CDA. */
.about-hero { overflow:hidden; padding:clamp(2rem,4vw,3.5rem) 0; background:linear-gradient(112deg,#f5f5f2 0%,#fff 60%,#fdf153 160%); }
.about-hero-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); align-items:center; gap:clamp(2rem,6vw,5.5rem); }
.about-hero-copy { padding-block:1rem; }
.about-hero-copy .breadcrumbs { width:100%; margin:0 0 2rem; }
.about-hero-copy h1 { max-width:700px; margin:.8rem 0 1rem; font-size:clamp(2.8rem,5.2vw,5rem); }
.about-hero-copy > p { max-width:620px; color:#51514d; font-size:1.1rem; }
.about-hero-copy .hero-actions { margin-top:1.5rem; }
.about-hero-visual { position:relative; min-height:480px; overflow:visible; }
.about-hero-visual > img { display:block; width:100%; height:480px; border-radius:18px 18px 18px 92px; object-fit:cover; box-shadow:var(--shadow); }
.about-photo-tag { position:absolute; left:-32px; bottom:30px; display:flex; align-items:center; gap:.85rem; max-width:320px; padding:1rem 1.2rem; border-radius:12px; background:#fff; box-shadow:var(--shadow); }
.about-photo-tag b,.about-photo-tag small { display:block; }
.about-photo-tag small { margin-top:.15rem; color:#666; font-size:.75rem; }
.about-tag-icon { display:grid; width:42px; height:42px; flex:none; place-items:center; border-radius:50%; background:var(--brand-yellow); font-weight:900; }
.about-hero-stamp { position:absolute; top:20px; right:-16px; display:grid; width:82px; height:82px; place-content:center; border:5px solid #fff; border-radius:50%; background:var(--brand-yellow); font:800 .72rem/1.3 Manrope,sans-serif; text-align:center; transform:rotate(9deg); }
.about-content { padding-bottom:4rem; }
.about-section { padding:clamp(3.2rem,6vw,5.6rem) 0; border-bottom:1px solid var(--line); scroll-margin-top:100px; }
.about-intro { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); align-items:center; gap:clamp(2.5rem,7vw,6.5rem); }
.about-intro-copy { max-width:530px; }
.about-intro-copy h2,.about-team-copy h2,.about-contact-copy h2 { margin:.65rem 0 1.1rem; font-size:clamp(2rem,3.7vw,3.3rem); }
.about-intro-copy p,.about-team-copy p { color:var(--muted); }
.about-photo-collage { position:relative; min-height:440px; }
.about-photo-collage figure { position:absolute; overflow:hidden; margin:0; border-radius:4px; box-shadow:var(--shadow); }
.about-photo-collage img { display:block; width:100%; height:100%; object-fit:cover; }
.about-photo-main { inset:0 17% 12% 0; }
.about-photo-small { right:0; bottom:0; width:47%; height:48%; border:8px solid #fff; }
.about-photo-note { position:absolute; right:9%; top:11%; display:grid; gap:.2rem; padding:1rem 1.2rem; border-left:4px solid var(--brand-yellow); background:#fff; box-shadow:var(--shadow); }
.about-photo-note span { color:#5c5c58; font-size:.77rem; }
.about-section-heading { max-width:780px; margin:0 auto 2.2rem; text-align:center; }
.about-section-heading h2 { margin:.55rem 0 .8rem; }
.about-section-heading p { max-width:720px; margin-inline:auto; color:var(--muted); }
.about-values { width:100vw; margin-inline:calc((min(var(--max),100vw - 48px) - 100vw)/2); padding-inline:var(--gutter); background:var(--surface); }
.about-value-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.about-value-card { min-height:250px; padding:1.6rem; border:1px solid #e2e2dc; border-top:4px solid var(--brand-yellow); border-radius:var(--radius); background:#fff; }
.about-value-featured { background:#111; color:#fff; }
.about-value-number { display:inline-grid; min-width:42px; height:32px; place-items:center; border-radius:99px; background:var(--brand-yellow); color:#111; font-size:.75rem; font-weight:900; }
.about-value-card h3 { margin:1.2rem 0 .6rem; }
.about-value-card p { color:var(--muted); }
.about-value-featured p { color:#eee; }
.about-value-card small { color:#64645f; font-size:.73rem; }
.about-service-cards .card { min-height:420px; }
.about-service-card .card-media { height:200px; }
.about-service-card .text-link { display:block; margin-top:auto; }
.about-process { margin-top:2rem; padding:1.7rem 2rem; border-left:5px solid var(--brand-yellow); background:var(--surface); }
.about-process ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.2rem; padding-left:1.2rem; }
.about-process li { padding-left:.2rem; color:#454541; font-size:.9rem; }
.about-process > p { margin:1.1rem 0 0; color:#555; font-size:.9rem; }
.about-reviews { width:100vw; margin-inline:calc((min(var(--max),100vw - 48px) - 100vw)/2); padding-inline:var(--gutter); background:#fafaf8; }
.about-reviews .testimonial-demo-note { max-width:760px; padding:1rem 1.2rem; border-left:4px solid var(--brand-yellow); border-radius:4px; background:#fff; text-align:left; }
.about-reviews .testimonial-stage:empty,.about-reviews .testimonial-track:empty { min-height:0; }
.about-credential-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.about-credential-grid article { min-height:255px; padding:1.5rem; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.about-credential-icon { display:grid; width:44px; height:44px; place-items:center; border-radius:50%; background:var(--brand-yellow); font-size:1.25rem; font-weight:900; }
.about-credential-grid h3 { margin:1rem 0 .6rem; }
.about-credential-grid p { color:var(--muted); font-size:.9rem; }
.about-credential-grid article > a,.about-contact-grid article > a { font-size:.84rem; font-weight:800; text-underline-offset:3px; }
.about-contact { width:100vw; margin-inline:calc((min(var(--max),100vw - 48px) - 100vw)/2); padding-inline:var(--gutter); background:var(--surface); }
.about-contact-copy { max-width:760px; margin:0 auto 2rem; text-align:center; }
.about-contact-copy p { color:var(--muted); }
.about-contact-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:.7rem; margin-top:1.2rem; }
.about-contact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.about-contact-grid article { min-height:225px; padding:1.5rem; border:1px solid #e1e1da; border-radius:var(--radius); background:#fff; }
.about-contact-icon { color:#726a00; font-size:1.5rem; font-weight:800; }
.about-contact-grid h3 { margin:.8rem 0 .5rem; }
.about-contact-grid p { min-height:52px; color:var(--muted); font-size:.9rem; }
.about-contact-grid p a { font-weight:700; }
.about-team { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(2rem,6vw,5rem); }
.about-team-visual { position:relative; min-height:390px; }
.about-team-visual img { display:block; width:100%; height:390px; border-radius:4px 80px 4px 4px; object-fit:cover; box-shadow:var(--shadow); }
.about-team-points { display:grid; gap:.6rem; margin:1.2rem 0; }
.about-team-points span { position:relative; padding-left:1.5rem; color:#454541; font-size:.9rem; }
.about-team-points span::before { position:absolute; left:0; color:#6b6400; content:'✓'; font-weight:900; }
.about-faq { border-bottom:0; }
.about-faq .about-section-heading { text-align:left; margin-left:0; }
.about-faq .about-section-heading p { margin-left:0; }
.about-faq-list { max-width:920px; }
.about-faq-list a { font-weight:700; text-underline-offset:3px; }
.about-content + * { margin-top:0; }
.about-content .section-heading,.about-content .section-content { min-width:0; }
@media(max-width:900px) {
 .about-hero-grid,.about-intro,.about-team { grid-template-columns:1fr 1fr; gap:2rem; }
 .about-hero-visual,.about-hero-visual > img { min-height:380px; height:380px; }
 .about-hero-stamp { right:0; }
 .about-process ol { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .about-service-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .about-service-card:last-child { grid-column:1/-1; }
}
@media(max-width:700px) {
 .about-hero { padding:1.2rem 0 0; }
 .about-hero-grid,.about-intro,.about-team { grid-template-columns:1fr; gap:1.5rem; }
 .about-hero-copy { padding:0 0 1.5rem; text-align:center; }
 .about-hero-copy .breadcrumbs { justify-content:center; margin-bottom:1.2rem; }
 .about-hero-copy h1 { margin-inline:auto; font-size:clamp(2.3rem,10vw,3.2rem); }
 .about-hero-copy > p { margin-inline:auto; font-size:1rem; }
 .about-hero-copy .hero-actions { justify-content:center; }
 .about-hero-copy .hero-actions .button { width:100%; }
 .about-hero-visual { min-height:290px; margin-inline:18px; }
 .about-hero-visual > img { height:290px; min-height:290px; border-radius:14px 14px 14px 56px; }
 .about-photo-tag { left:8px; bottom:14px; max-width:calc(100% - 24px); padding:.7rem .8rem; text-align:left; }
 .about-hero-stamp { top:12px; right:8px; width:66px; height:66px; font-size:.6rem; }
 .about-content { padding-bottom:2rem; }
 .about-section { padding:3rem 0; text-align:center; }
 .about-intro-copy { max-width:none; }
 .about-intro-copy p,.about-team-copy p { text-align:left; }
 .about-photo-collage { min-height:320px; margin:0 4px; }
 .about-photo-note { top:8%; right:4%; padding:.75rem; text-align:left; }
 .about-values,.about-reviews,.about-contact { width:calc(100% + 36px); margin-left:-18px; padding-inline:18px; }
 .about-section-heading { margin-bottom:1.5rem; }
 .about-section-heading p { text-align:center; }
 .about-value-grid,.about-credential-grid,.about-contact-grid,.about-service-cards { grid-template-columns:1fr; }
 .about-value-card { min-height:0; text-align:left; }
 .about-service-card:last-child { grid-column:auto; }
 .about-service-card { text-align:left; }
 .about-service-card .card-media { height:210px; }
 .about-process { padding:1.3rem; text-align:left; }
 .about-process ol { grid-template-columns:1fr; gap:.75rem; padding-left:1.2rem; }
 .about-process > p { text-align:left; }
 .about-reviews .reviews-heading p { font-size:.95rem; }
 .about-reviews .testimonial-demo-note { text-align:left; }
 .about-contact-actions { flex-direction:column; align-items:center; }
 .about-contact-actions .button { width:100%; }
 .about-contact-grid article { min-height:0; text-align:center; }
 .about-contact-grid p { min-height:0; }
 .about-team-visual { min-height:290px; margin:0 4px; text-align:left; }
 .about-team-visual img { height:290px; }
 .about-team-copy { text-align:center; }
 .about-team-points { text-align:left; }
 .about-faq .about-section-heading { margin-inline:auto; text-align:center; }
 .about-faq .about-section-heading p { margin-inline:auto; text-align:center; }
 .about-faq-list { text-align:left; }
}
@media(prefers-reduced-motion:reduce){.about-hero-visual img,.about-photo-collage img{transition:none}}

/* Ajustes v2 de Nosotros y componentes compartidos Home/Nosotros. */
.about-hero { padding:clamp(1.25rem,2.5vw,2rem) 0; }
.about-hero-copy h1 { font-size:clamp(1.8rem,4.2vw,5rem); line-height:1.08; text-wrap:balance; }
.about-service-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
.about-service-cards .about-service-card { min-height:420px; }
.about-service-pair { display:grid; height:200px; grid-template-columns:1fr 1fr; overflow:hidden; }
.about-service-pair img { display:block; width:100%; height:100%; object-fit:cover; }
.about-service-pair img+img { border-left:3px solid #fff; }
.about-service-links { display:grid; gap:.45rem; margin-top:auto; }
.about-service-links .text-link { margin-top:0; }
.about-process { margin-top:2rem; padding:2rem; border:1px solid var(--line); border-top:4px solid var(--brand-yellow); border-left:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.about-process-heading { max-width:720px; margin-bottom:1.5rem; }
.about-process-heading h3 { margin:.4rem 0; font-size:clamp(1.6rem,2.4vw,2rem); }
.about-process-heading p { margin:0; color:var(--muted); }
.about-process-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.9rem; margin:0; padding:0; list-style:none; }
.about-process-steps li { display:flex; align-items:flex-start; gap:1rem; min-width:0; padding:1.15rem; border:1px solid var(--line); border-radius:12px; background:#fafaf8; }
.about-step-number { display:grid; width:40px; height:40px; flex:none; place-items:center; border-radius:50%; background:var(--brand-yellow); color:#111; font-size:.78rem; font-weight:900; }
.about-process-steps h4 { margin:0 0 .35rem; font-size:1rem; }
.about-process-steps p { margin:0; color:var(--muted); font-size:.9rem; line-height:1.55; }
.about-process-links { margin:1.25rem 0 0; color:var(--muted); font-size:.9rem; }
.about-reviews { width:auto; margin-inline:0; padding-inline:0; background:transparent; }
.about-reviews .reviews-heading,.about-faq .about-section-heading { max-width:780px; margin:0 auto 2rem; text-align:center; }
.about-reviews .reviews-heading h2,.about-faq .about-section-heading h2 { margin:.55rem 0 .8rem; }
.about-reviews .reviews-heading p,.about-faq .about-section-heading p { max-width:720px; margin-inline:auto; }
.about-contact-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; gap:clamp(1.5rem,4vw,3.5rem); }
.about-contact-copy { max-width:none; margin:0 0 1.3rem; text-align:left; }
.about-contact-copy h2 { max-width:600px; }
.about-contact-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.about-contact-details article { display:flex; align-items:flex-start; gap:.8rem; min-width:0; padding:1rem; border:1px solid #e1e1da; border-radius:12px; background:#fff; }
.about-contact-details article>div { min-width:0; }
.about-contact-details h3 { margin:0 0 .4rem; font-size:1rem; }
.about-contact-details p { margin:0 0 .55rem; color:var(--muted); font-size:.88rem; overflow-wrap:anywhere; }
.about-contact-details a { font-size:.82rem; font-weight:800; text-underline-offset:3px; overflow-wrap:anywhere; }
.about-contact-icon { flex:none; color:#726a00; font-size:1.2rem; font-weight:800; }
.about-contact-actions { justify-content:flex-start; flex-wrap:wrap; }
.about-map-wrap { position:relative; min-height:460px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:#eee; }
.about-map-wrap iframe { display:block; width:100%; height:100%; min-height:460px; border:0; }
.about-map-link { position:absolute; right:12px; bottom:12px; padding:.65rem .85rem; border:1px solid #ddd; border-radius:8px; background:#fff; color:#111; font-size:.82rem; font-weight:800; text-decoration:none; box-shadow:0 2px 8px rgb(0 0 0 / 14%); }
.about-contact { width:100vw; margin-inline:calc((min(var(--max),100vw - 48px) - 100vw)/2); padding-inline:var(--gutter); background:var(--surface); }
.about-faq .about-section-heading { text-align:center; margin-inline:auto; }
.about-faq .about-section-heading p { margin-inline:auto; }
.about-faq-list { max-width:920px; margin-inline:auto; }
@media(max-width:900px){
 .about-contact-layout { grid-template-columns:1fr; }
 .about-map-wrap,.about-map-wrap iframe { min-height:380px; }
 .about-service-card:last-child { grid-column:auto; }
}
@media(max-width:700px){
 .about-hero { padding:.85rem 0 0; }
 .about-hero-copy h1 { font-size:clamp(1.8rem,4.2vw,5rem); }
 .about-service-cards { grid-template-columns:1fr; }
 .about-process { padding:1.2rem; text-align:left; }
 .about-process-heading { text-align:left; }
 .about-process-steps { grid-template-columns:1fr; gap:.7rem; }
 .about-process-links { text-align:left; }
 .about-contact-layout { gap:1.2rem; }
 .about-contact-copy { text-align:left; }
 .about-contact-details { grid-template-columns:1fr; }
 .about-contact-details article { text-align:left; }
 .about-contact-actions { flex-direction:column; align-items:stretch; }
 .about-contact-actions .button { width:100%; }
 .about-map-wrap,.about-map-wrap iframe { min-height:320px; }
 .about-reviews { width:100%; margin-inline:0; padding-inline:0; }
}


/* Arquitectura v4: navegación única, categorías combinadas y contraste de CTA. */
@media (min-width: 1281px) {
  .header-inner { min-height: 112px; height:auto; gap:.85rem; }
  .primary-nav { display:grid; grid-template-columns:repeat(4,max-content); grid-template-rows:repeat(2,auto); justify-content:center; align-content:center; column-gap:clamp(.75rem,1.1vw,1.05rem); row-gap:0; margin-left:auto; }
  .primary-nav a { font-size:.82rem; }
}
@media (max-width: 1280px) {
  .header-inner { height:78px; gap:.65rem; }
  .brand { width:180px; }
  .menu-toggle { display:flex; order:5; width:40px; height:40px; flex:none; flex-direction:column; align-items:center; justify-content:center; gap:5px; border:1px solid var(--line); border-radius:50%; background:#fff; cursor:pointer; }
  .menu-toggle span:not(.sr-only) { width:18px; height:2px; background:var(--brand-black); }
  .primary-nav { position:absolute; z-index:31; top:100%; right:0; left:0; display:none; align-items:stretch; flex-direction:column; gap:0; max-height:calc(100dvh - 80px); overflow-y:auto; margin:0; padding:.6rem 24px 1rem; border-bottom:1px solid var(--line); background:#fff; box-shadow:0 14px 20px rgb(17 17 17 / 7%); }
  .primary-nav.nav-open { display:flex; }
  .primary-nav a { padding:.75rem 0; border-bottom:1px solid #ededeb; font-size:.93rem; white-space:normal; }
  .primary-nav a::after { bottom:-1px; right:auto; width:48px; }
}
@media (max-width: 700px) { .header-inner { height:68px; gap:.25rem; } .brand { width:104px; } }
@media (max-width: 360px) { .header-inner { gap:.15rem; } .brand { width:92px; } }
.about-service-card > .card-kicker { display:block; margin-top:1rem; }
.home-service-multi { display:grid !important; grid-template-columns:1fr 1fr; overflow:hidden; }
.home-service-multi img { width:100%; height:100%; min-width:0; object-fit:cover; }
.home-service-multi img+img { border-left:3px solid #fff; }
.home-services .card-kicker { margin-top:.9rem; }
.contact-legal-section { max-width:780px; margin:2.5rem auto; padding:2rem 0 0; border-top:1px solid var(--line); }
.contact-legal-section h2 { font-size:1.5rem; }
.contact-legal-section p { color:var(--muted); }
@media (max-width:700px) { .home-service-multi { min-height:200px; } .contact-legal-section { margin:2rem auto; padding-top:1.5rem; text-align:left; } }

/* V5: shared header with a flexible desktop navigation and compact tablet/mobile menu. */
.site-header .header-inner{display:grid!important;grid-template-columns:minmax(150px,190px) minmax(0,1fr) 42px auto;align-items:center;gap:clamp(.5rem,1.1vw,1.05rem);height:86px;min-height:0}
.site-header .brand{grid-column:1;width:100%;max-width:190px;min-width:0;flex:none}
.site-header .brand img{display:block;width:100%;height:auto}
.site-header .primary-nav{position:static;inset:auto;z-index:auto;display:flex;grid-column:2;align-items:center;justify-content:center;gap:clamp(.35rem,.8vw,.9rem);min-width:0;max-height:none;overflow:visible;margin:0;padding:0;border:0;background:transparent;box-shadow:none;flex-direction:row;flex-wrap:nowrap}
.site-header .primary-nav a{padding:.65rem 0;font-size:clamp(.72rem,.99vw,.99rem);white-space:nowrap}
.site-header .search-toggle{grid-column:3;width:42px;height:42px;margin:0;flex:none}
.site-header .header-cta{grid-column:4;min-height:48px;margin:0;padding:.65rem 1.05rem;font-size:.86rem;white-space:nowrap}
.site-header .menu-toggle{display:none;grid-column:4}
.site-header .menu-toggle:focus-visible,.site-header .search-toggle:focus-visible,.site-header .header-cta:focus-visible,.site-header .primary-nav a:focus-visible{outline:3px solid #111;outline-offset:3px}
@media(max-width:1240px){
  .site-header .header-inner{grid-template-columns:minmax(0,1fr) 42px auto 42px;gap:.65rem;height:78px}
  .site-header .brand{grid-column:1;max-width:185px}
  .site-header .primary-nav{position:absolute;top:100%;right:0;left:0;z-index:31;display:none;grid-column:auto;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:0;max-height:min(72vh,560px);overflow-y:auto;margin:0;padding:.5rem 24px 1rem;border-bottom:1px solid var(--line);background:#fff;box-shadow:0 14px 20px rgb(17 17 17 / 7%)}
  .site-header .primary-nav.nav-open{display:flex}
  .site-header .primary-nav a{padding:.85rem 0;border-bottom:1px solid #ededeb;font-size:.98rem;white-space:normal}
  .site-header .search-toggle{grid-column:2;width:42px;height:42px}
  .site-header .header-cta{grid-column:3;min-height:44px;padding:.55rem .85rem;font-size:.82rem}
  .site-header .menu-toggle{display:flex;grid-column:4;width:42px;height:42px;align-items:center;justify-content:center;gap:5px;margin:0;padding:0;border:1px solid var(--line);border-radius:50%;background:#fff;cursor:pointer}
  .site-header .menu-toggle span:not(.sr-only){display:block;width:18px;height:2px;background:var(--brand-black)}
}
@media(max-width:600px){
  .site-header .header-inner{grid-template-columns:minmax(0,1fr) 40px auto 40px;gap:.35rem;height:68px}
  .site-header .brand{max-width:122px}
  .site-header .search-toggle{width:40px;height:42px}
  .site-header .search-toggle::before{top:9px;left:7px}
  .site-header .search-toggle::after{top:24px;left:21px}
  .site-header .header-cta{min-height:40px;padding:.45rem .6rem;font-size:.72rem}
  .site-header .menu-toggle{width:40px;height:40px}
  .site-header .primary-nav{right:-4px;left:-4px;padding-right:20px;padding-left:20px}
}
@media(max-width:360px){
  .site-header .header-inner{grid-template-columns:minmax(0,1fr) 40px auto 40px;gap:.2rem}
  .site-header .brand{max-width:94px}
  .site-header .search-toggle{width:40px}
  .site-header .header-cta{min-height:40px;padding:.4rem .45rem;font-size:.66rem}
  .site-header .menu-toggle{width:40px;height:40px}
  .site-header .menu-toggle span:not(.sr-only){width:16px}
}

/* Home conversion links: reuse the current button palette and spacing. */
.home-section-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 1.5rem; padding: 1.2rem 1.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-section-cta p { margin: 0; font-weight: 700; }
.home-section-cta-actions, .location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; }
.home-intro-copy .text-link { display: inline-flex; margin: .8rem 0 0 1rem; font-weight: 700; text-underline-offset: 3px; }
.home-process-more { display: flex; width: fit-content; justify-content: center; margin: .85rem auto 0; font-weight: 700; text-underline-offset: 3px; }
.home-promo-prices { position: relative; z-index: 2; display: inline-flex; margin: .85rem 0 0 1rem; color: #fff; font-weight: 700; text-underline-offset: 3px; }
.location-actions { margin-top: .7rem; }
.location-actions .button { margin-top: 0; }
@media (max-width: 700px) {
  .home-section-cta { align-items: stretch; flex-direction: column; gap: .8rem; padding: 1.1rem 0; text-align: center; }
  .home-section-cta-actions, .location-actions { align-items: stretch; flex-direction: column; gap: .75rem; }
  .home-section-cta-actions .button, .location-actions .button { width: 100%; }
  .home-intro-copy .text-link { display: flex; width: fit-content; margin: .9rem auto 0; }
  .home-promo-prices { display: flex; width: fit-content; margin: .9rem auto 0; }
}


/* V10: Home services cards, section transition, and shared client testimonial carousel. */
.home-services { border-bottom: 0; }
.home-services .cards { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.home-services .cards > .card { width: 100%; min-width: 0; }
.home-section-cta { border-bottom: 0; }
.home-section-cta-actions { align-items: center; }
.home-section-cta-actions .text-link { display: inline-flex; align-items: center; align-self: center; margin: 0; }
.home-benefits .benefits-content .section-heading { max-width: none; }
.home-benefits .benefits-content .section-heading h2 { max-width: 19ch; margin: .55rem 0 1rem; font-size: clamp(1.9rem, 2.9vw, 2.7rem); text-wrap: balance; }
.home-reviews { width: 100vw; max-width: none; margin-left: calc((min(var(--max), 100vw - 48px) - 100vw) / 2); padding: clamp(3.5rem, 6vw, 5.5rem) var(--gutter); background: #edf2f8; color: #263a53; }
.home-reviews .reviews-heading { max-width: 900px; margin: 0 auto 2.6rem; text-align: center; }
.home-reviews .reviews-heading .eyebrow { display: inline-block; padding: .12rem .3rem; background: var(--brand-yellow); color: #111; }
.home-reviews .reviews-heading h2 { margin: .8rem auto .65rem; color: #263a53; font-size: clamp(1.9rem, 3.4vw, 2.8rem); text-transform: none; text-wrap: balance; }
.home-reviews .reviews-heading p { max-width: 700px; margin: 0 auto; color: #596777; font-size: 1rem; }
.testimonial-stage { position: relative; display: flex; align-items: center; gap: 1rem; width: min(100%, 1480px); margin-inline: auto; }
.testimonial-window { flex: 1 1 auto; min-width: 0; overflow: hidden; touch-action: pan-y; }
.testimonial-track { display: flex; align-items: stretch; gap: 1rem; transition: transform .38s ease; }
.home-reviews .testimonial-card { display: flex; min-width: 0; min-height: 360px; flex: 0 0 auto; flex-direction: column; align-items: stretch; padding: clamp(1.25rem, 2.2vw, 2rem); border: 0; border-radius: 24px; background: #fff; color: #2e4159; text-align: left; box-shadow: 0 12px 36px rgb(38 58 83 / 7%); }
.testimonial-card-header { display: flex; min-width: 0; align-items: center; gap: .85rem; margin-bottom: 1.35rem; }
.home-reviews .testimonial-avatar { display: grid; width: 60px; height: 60px; flex: 0 0 60px; place-items: center; margin: 0; overflow: hidden; border-radius: 50%; background: #dce8f2; color: #264361; font-size: 1.2rem; font-weight: 800; }
.home-reviews .testimonial-avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.home-reviews .testimonial-person { display: flex; min-width: 0; flex-direction: column; gap: .15rem; }
.home-reviews .testimonial-card cite { margin: 0; overflow-wrap: anywhere; color: #263a53; font-size: 1.08rem; font-style: normal; font-weight: 800; }
.home-reviews .testimonial-city { display: block; margin: 0; color: #667383; font-size: .82rem; font-style: normal; font-weight: 600; text-transform: none; }
.home-reviews .testimonial-source { margin: 0 0 0 auto; color: #596777; font-size: .78rem; font-weight: 700; }
.home-reviews .testimonial-rating { display: flex; align-items: center; gap: .12rem; margin: 0 0 .75rem; color: #f2a900; font-size: 1.35rem; line-height: 1; }
.home-reviews .testimonial-card blockquote { flex: 1 1 auto; margin: 0; color: #34475e; font-size: 1.04rem; line-height: 1.65; overflow-wrap: anywhere; }
.home-reviews .testimonial-side-arrow { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; padding: 0; border: 1px solid #a9d0e8; border-radius: 50%; background: #fff; color: #1687c5; font-size: 1.9rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgb(38 58 83 / 6%); }
.testimonial-side-arrow:hover:not(:disabled) { background: #eaf5fc; border-color: #68add4; }
.testimonial-side-arrow:disabled { opacity: .42; cursor: default; }
.testimonial-side-arrow:focus-visible, .testimonial-dot:focus-visible, .testimonial-carousel:focus-visible { outline: 3px solid #1478ad; outline-offset: 3px; }
.home-reviews .testimonial-dots { display: flex; justify-content: center; gap: .25rem; margin: 1.25rem auto 0; }
.home-reviews .testimonial-dot { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.home-reviews .testimonial-dot::before { width: 10px; height: 10px; border-radius: 50%; background: #bac7d5; content: ''; }
.home-reviews .testimonial-dot[aria-current="true"]::before { width: 13px; height: 13px; background: #359ed1; }
.home-reviews .testimonial-dots[hidden], .home-reviews .testimonial-side-arrow[hidden], .home-reviews .testimonial-source[hidden] { display: none; }
@media (max-width: 1060px) {
  .home-benefits .benefits-content .section-heading h2 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); }
  .testimonial-stage { gap: .75rem; }
  .home-reviews .testimonial-side-arrow { width: 44px; height: 44px; flex-basis: 44px; }
}
@media (max-width: 700px) {
  .home-services .cards { grid-template-columns: 1fr; gap: 1rem; }
  .home-section-cta-actions .text-link { align-self: center; }
  .home-benefits .benefits-content .section-heading h2 { max-width: 24ch; margin-inline: auto; font-size: clamp(1.8rem, 6vw, 2.2rem); }
  .home-reviews { padding-block: 2.8rem; }
  .home-reviews .reviews-heading { margin-bottom: 1.8rem; }
  .testimonial-stage { gap: .2rem; }
  .home-reviews .testimonial-side-arrow { width: 44px; height: 44px; flex-basis: 44px; border-color: #a9d0e8; background: #fff; box-shadow: 0 4px 16px rgb(38 58 83 / 6%); font-size: 1.7rem; }
  .home-reviews .testimonial-card { min-height: 330px; padding: 1.25rem; border-radius: 20px; }
  .home-reviews .testimonial-avatar { width: 52px; height: 52px; flex-basis: 52px; }
  .home-reviews .testimonial-card blockquote { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { scroll-behavior: auto; transition: none; }
}

/* V12: tighter Home rhythm, highlighted service helper, centered prep title,
   and corporate yellow/black/gray review carousel. */
.home-services { padding-block: clamp(3.5rem, 5vw, 5rem); }
.home-intro { gap: clamp(2rem, 4vw, 4.5rem); padding-block: clamp(3.5rem, 5vw, 5rem); }
.home-process, .home-prep, .home-location, .home-benefits, .home-guidance, .home-reviews, .home-faq { padding-block: clamp(3.5rem, 5vw, 5rem); }
.home-prep .section-heading { max-width: 820px; margin: 0 auto 2rem; text-align: center; }
.home-prep .section-heading .eyebrow, .home-prep .section-heading h2 { display: block; width: 100%; text-align: center; }
.home-prep .section-heading h2 { max-width: 820px; margin-inline: auto; text-wrap: balance; }
.home-section-cta { display: flex; align-items: center; justify-content: space-between; gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 1.25rem; padding: clamp(1.25rem, 2vw, 1.75rem); border: 1px solid #e5dc54; border-bottom: 1px solid #e5dc54; border-radius: 18px; background: linear-gradient(110deg, #fffbd0, #fdf153); box-shadow: 0 10px 26px rgb(17 17 17 / 7%); }
.home-section-cta-copy { max-width: 560px; }
.home-section-cta-copy h3 { margin: 0 0 .45rem; color: #111; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.25; letter-spacing: -.025em; }
.home-section-cta-copy p { margin: 0; color: #4d4d49; font-size: .94rem; line-height: 1.5; }
.home-section-cta-actions { flex: 0 0 auto; gap: .75rem 1.1rem; }
.home-section-cta-actions .button { min-height: 50px; }
.home-section-cta-actions .text-link { color: #111; text-underline-offset: 4px; }
.home-reviews { background: var(--surface); color: var(--brand-black); }
.home-reviews .reviews-heading { max-width: 740px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.home-reviews .reviews-heading .reviews-excellent { margin: 0 auto .2rem; color: #171717; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.home-reviews .reviews-header-stars { margin: 0 auto .35rem; color: var(--brand-yellow); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: .08em; line-height: 1.15; text-shadow: 0 1px 0 #b5aa28; }
.home-reviews .reviews-heading p { margin: 0 auto; color: #555550; font-size: 1rem; line-height: 1.5; }
.home-reviews .testimonial-card { background: #fff; color: #222; }
.home-reviews .testimonial-avatar { background: #f0f0eb; color: #111; }
.home-reviews .testimonial-card cite { color: #171717; }
.home-reviews .testimonial-city, .home-reviews .testimonial-card blockquote { color: #555550; }
.home-reviews .testimonial-decorative-stars { margin: 0 0 .8rem; color: var(--brand-yellow); font-size: 1.4rem; font-weight: 800; letter-spacing: .12em; line-height: 1; text-shadow: 0 1px 0 #b5aa28; }
.home-reviews .testimonial-rating { color: #645d00; }
.home-reviews .testimonial-side-arrow { border-color: #b5aa28; background: #fff; color: #111; }
.home-reviews .testimonial-side-arrow:hover:not(:disabled) { border-color: #111; background: var(--brand-yellow); }
.home-reviews .testimonial-side-arrow:focus-visible, .home-reviews .testimonial-dot:focus-visible, .home-reviews .testimonial-carousel:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.home-reviews .testimonial-dot::before { background: #c9c9c2; }
.home-reviews .testimonial-dot[aria-current="true"]::before { background: #d2c600; }
@media (max-width: 700px) {
  .home-services, .home-process, .home-prep, .home-location, .home-benefits, .home-guidance, .home-reviews, .home-faq { padding-block: 2.9rem; }
  .home-intro { gap: 1.5rem; padding-block: 2.9rem; }
  .home-section-cta { align-items: stretch; flex-direction: column; gap: 1rem; margin-top: 1rem; padding: 1.2rem; text-align: left; }
  .home-section-cta-copy { max-width: none; }
  .home-section-cta-actions { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: .75rem; }
  .home-section-cta-actions .button { width: 100%; }
  .home-section-cta-actions .text-link { align-self: center; min-height: 44px; }
  .home-prep .section-heading { margin-bottom: 1.4rem; }
  .home-reviews .reviews-heading { margin-bottom: 1.7rem; }
  .home-reviews .testimonial-decorative-stars { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-section-cta, .home-reviews .testimonial-card, .testimonial-track { transition: none; }
}

/* V15: reference-matched review heading and cards; stars are decorative assets. */
.home-reviews { background: #f1f1ee; color: #171717; }
.home-reviews .reviews-heading { display: flex; flex-direction: column; align-items: center; gap: .45rem; margin-bottom: clamp(2rem, 4vw, 3rem); text-align: center; }
.home-reviews .reviews-heading .reviews-excellent { margin: 0; color: #171717; font-size: clamp(1.55rem, 2.3vw, 2rem); font-weight: 850; letter-spacing: .035em; line-height: 1.15; text-transform: uppercase; }
.home-reviews .reviews-header-stars { display: flex; align-items: center; justify-content: center; gap: 3px; margin: 0; line-height: 1; text-shadow: none; }
.home-reviews .reviews-header-stars img { display: block; width: 25px; height: 25px; }
.home-reviews .reviews-heading .reviews-count { margin: 0; color: #4f4f4a; font-size: .98rem; line-height: 1.4; }
.home-reviews .reviews-count strong { color: #171717; font-weight: 800; }
.home-reviews .reviews-google-logo { display: block; width: auto; height: 30px; margin-top: .25rem; object-fit: contain; }
.testimonial-card-header { position: relative; gap: .85rem; margin-bottom: 1rem; padding-right: 2.3rem; }
.home-reviews .testimonial-avatar { width: 64px; height: 64px; flex-basis: 64px; border-radius: 50%; }
.home-reviews .testimonial-avatar.testimonial-avatar-demo { background-image: url('/assets/images/testimonios-demo.jpg'); background-size: 300% 200%; background-position: var(--avatar-x) var(--avatar-y); background-repeat: no-repeat; }
.home-reviews .testimonial-person { gap: .05rem; }
.home-reviews .testimonial-card cite { font-size: 1.08rem; }
.home-reviews .testimonial-city { margin: 0; color: #666660; font-size: .84rem; font-weight: 500; line-height: 1.2; text-transform: none; }
.home-reviews .testimonial-google-mark { position: absolute; top: 0; right: 0; display: block; width: 28px; height: 28px; object-fit: contain; }
.home-reviews .testimonial-card { min-height: 290px; padding: 1rem; }
.home-reviews .testimonial-card-header { margin-bottom: .65rem; }
.home-reviews .testimonial-decorative-stars { display: flex; align-items: center; gap: 3px; margin: 0 0 .35rem; line-height: 1; text-shadow: none; }
.home-reviews .testimonial-decorative-stars img { display: block; width: 17px; height: 17px; flex: 0 0 17px; }
.home-reviews .testimonial-card blockquote { display: block; min-height: 0; flex: 0 0 auto; margin: 0; align-items: initial; justify-content: initial; }
.home-reviews .testimonial-side-arrow { width: 48px; height: 48px; flex-basis: 48px; border-color: #d0c62b; color: #171717; }
.home-reviews .testimonial-side-arrow:hover:not(:disabled) { border-color: #171717; background: var(--brand-yellow); color: #111; }
.home-reviews .testimonial-side-arrow:focus-visible, .home-reviews .testimonial-dot:focus-visible, .home-reviews .testimonial-carousel:focus-visible { outline-color: #171717; }
.home-reviews .testimonial-dot::before { background: #c8c8c2; }
.home-reviews .testimonial-dot[aria-current="true"]::before { background: var(--brand-yellow); }
@media (max-width: 700px) {
  .home-reviews .reviews-heading { gap: .4rem; margin-bottom: 1.7rem; }
  .home-reviews .reviews-heading .reviews-excellent { font-size: 1.55rem; }
  .home-reviews .testimonial-card { min-height: 270px; padding: .9rem; }
  .home-reviews .testimonial-card-header { gap: .7rem; margin-bottom: .6rem; padding-right: 2rem; }
  .home-reviews .testimonial-avatar { width: 56px; height: 56px; flex-basis: 56px; }
  .home-reviews .testimonial-google-mark { width: 25px; height: 25px; }
}

/* Shared reviews section heading used by Home and Nosotros. */
.home-reviews .reviews-heading { gap: .4rem; }
.home-reviews .reviews-heading .reviews-eyebrow { margin: 0; }
.home-reviews .reviews-section-title { max-width: 900px; margin: 0 auto .4rem; color: #171717; font-size: clamp(1.75rem, 3.3vw, 2.6rem); font-weight: 800; line-height: 1.14; letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.home-reviews .reviews-heading .reviews-excellent { margin: .25rem 0 0; color: #42423e; font-size: 1rem; font-weight: 800; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; }
@media (max-width: 700px) {
  .home-reviews .reviews-section-title { max-width: 34ch; font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* Responsive alignment: shared layouts and their nested content. */
@media (max-width: 700px) {
  .container, .section, .section-heading, .section-content,
  .card, .benefits > div, .result-item, .about-section,
  .about-process, .about-contact-details article { min-width: 0; }
  main h1, main h2, main h3, main h4 { overflow-wrap: anywhere; text-wrap: balance; }
  .hero-copy, .hero.inner-hero .hero-copy { align-items: center; text-align: center; }
  .hero-copy > p, .hero-copy > h1, .hero-copy > .eyebrow { margin-inline: auto; }
  .hero-actions, .hero-meta, .breadcrumbs { justify-content: center; text-align: center; }
  .hero-actions { width: 100%; }
  .hero-actions .button { max-width: 100%; }
  .hero-photo img, .card-media img, .about-team-visual img { max-width: 100%; }
  .section, .section-heading, .section-content, .home-section-cta,
  .home-intro-copy, .home-process, .home-prep, .home-location,
  .home-benefits, .home-guidance, .home-faq, .about-section,
  .about-intro-copy, .about-team-copy, .about-contact-copy,
  .contact-legal-section, .article-body, .not-found,
  .search-results, .result-item { text-align: center; }
  .section-heading, .section-heading h2, .section-content > p,
  .about-contact-copy h2, .article-body h1 { margin-inline: auto; }
  .cards, .benefits, .result-list, .about-process-steps { width: 100%; min-width: 0; }
  .card, .prep-cards .card, .about-value-card, .about-service-card,
  .about-credential-grid article, .about-contact-grid article,
  .result-item { align-items: center; text-align: center; }
  .card > :not(.card-media), .result-item > *, .about-value-card > *,
  .about-service-card > :not(.card-media):not(.about-service-pair) { max-width: 100%; }
  .card-index, .process-icon, .prep-cards .prep-icon,
  .about-value-number, .about-credential-icon, .about-contact-icon { margin-inline: auto; }
  .card .text-link, .result-item .text-link,
  .about-service-links, .about-contact-actions { justify-content: center; text-align: center; }
  .benefits > div { padding-inline: 1rem; }
  .benefits > div h3, .benefits > div p, .card h3, .card p { width: 100%; }
  .inline-links, .home-section-cta-actions, .location-actions { justify-content: center; }
  .home-section-cta { text-align: center; }
  .home-intro-copy p, .about-intro-copy p, .about-team-copy p,
  .about-process > p, .about-process-heading,
  .about-process-links, .about-contact-copy,
  .about-contact-details article, .about-service-card,
  .about-value-card, .about-reviews .testimonial-demo-note { text-align: center; }
  .about-process-steps li { flex-direction: column; align-items: center; text-align: center; }
  .about-team-points { text-align: center; }
  .about-team-points span { padding-left: 0; }
  .about-team-points span::before { position: static; margin-right: .35rem; }
  .about-contact-details article { flex-direction: column; align-items: center; }
  .about-contact-actions { align-items: center; }
  .about-contact-actions .button { max-width: 100%; }
  .home-reviews .testimonial-card { align-items: center; text-align: center; }
  .home-reviews .testimonial-card-header { flex-direction: column; gap: .4rem; padding-right: 0; text-align: center; }
  .home-reviews .testimonial-person { align-items: center; }
  .home-reviews .testimonial-google-mark { position: static; margin-inline: auto; }
  .home-reviews .testimonial-rating,
  .home-reviews .testimonial-decorative-stars { justify-content: center; }
  .home-reviews .testimonial-card blockquote { text-align: center; }
  .faq-list summary { padding-left: 2.2rem; text-align: center; }
  .faq-list p { margin-inline: auto; text-align: center; }
  .prefooter-inner { justify-content: center; text-align: center; }
  .prefooter-call { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; }
  .footer-grid > div, .footer-grid > div:not(:first-child) { width: 100%; align-items: center; text-align: center; }
  .footer-about > a, .footer-about p { margin-inline: auto; }
  .footer-grid .footer-iconlink, .footer-grid .footer-icontext { justify-content: center; text-align: center; }
  .footer-bottom { align-items: center; text-align: center; }
  .search-results .search-row, .no-results-search { margin-inline: auto; }
  .not-found { align-items: center; }
  .form-card label, .form-card input, .form-card select,
  .form-card textarea, .search-row input { text-align: left; }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .cards, .about-credential-grid, .about-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* The home process markup sets desktop columns inline. */
@media (max-width: 700px) {
  .home-process .benefits { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 700px) {
  .about-photo-tag { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .about-photo-tag > span:last-child { text-align: center; }
}

@media (max-width: 700px) {
  .home-reviews .testimonial-avatar.testimonial-avatar-demo { background-image: url('/assets/images/mobile-optimized/testimonios-demo-450.webp'); }
}
