:root {
  --navy: #141114;
  --navy-2: #1E1A1E;
  --navy-3: #2A2429;
  --brand: #C8322F;
  --brand-dark: #A32622;
  --accent: #EE9A3E;
  --white: #FFFFFF;
  --gray-light: #F3F6FA;
  --text: #334155;
  --heading: #141114;
  --muted: #64748B;
  --border: #E2E8F0;
  --success: #047857;
  --danger: #B91C1C;
  --whatsapp: #128C4A;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 17, 20, .06), 0 8px 24px rgba(20, 17, 20, .06);
  --shadow-lg: 0 24px 60px rgba(20, 17, 20, .16);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 1rem; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { color: var(--heading); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus, h1:focus { outline: none; }
main { min-height: 60vh; outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.icon { flex-shrink: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 700 .97rem/1.2 var(--font); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 8px 22px rgba(200, 50, 47, .3); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 8px 22px rgba(18, 140, 74, .28); }
.btn-whatsapp:hover { background: #0E7A40; color: var(--white); }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--border); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.28); backdrop-filter: blur(12px); }
.btn-outline-light:hover { border-color: var(--accent); color: var(--white); }
.btn-ghost, .btn-ghost.btn-outline, .btn-ghost.btn-whatsapp { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.18); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); color: var(--white); background: rgba(255,255,255,.1); }
.btn-ghost-dark { background: var(--gray-light); color: var(--heading); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--brand); }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20, 17, 20, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.06); transition: background-color .25s ease; }
.site-header.scrolled { background: rgba(20, 17, 20, .97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; text-decoration: none; }
.logo { height: 42px; width: auto; }
.logo-name { font: 800 19px var(--font); fill: var(--white); letter-spacing: -.02em; }
.logo-tag { font: 700 8.6px var(--font); fill: var(--accent); letter-spacing: .16em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; color: rgba(255,255,255,.78); text-decoration: none; font-weight: 600; font-size: .93rem; border-radius: 8px; transition: color .2s ease, background-color .2s ease; }
.site-nav ul a:hover, .site-nav ul a.active { color: var(--white); background: rgba(255,255,255,.06); }
.site-nav ul a.active { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 2px 2px; }
.menu-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--white); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-icon-close { display: none; }
.menu-open .menu-icon-open { display: none; }
.menu-open .menu-icon-close { display: inline-flex; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 24px 28px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .menu-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .site-nav ul a.active { box-shadow: inset 3px 0 0 var(--accent); }
}

/* Hero */
.hero { position: relative; background: var(--navy); color: rgba(255,255,255,.82); overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 10vw, 120px); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: .85; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,20,.98) 0%, rgba(20,17,20,.88) 42%, rgba(20,17,20,.2) 100%); }
.hero-grid-overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(238,154,62,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(238,154,62,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hero-grid-overlay::after { content: ""; position: absolute; left: 0; right: 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(238,154,62,.12), transparent); animation: scan 7s linear infinite; }
@keyframes scan { from { top: -120px; } to { top: 100%; } }
.hero-inner { max-width: var(--container); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 24px; animation: rise .8s ease both; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 58ch; margin-bottom: 36px; animation: rise .8s .1s ease both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise .8s .2s ease both; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0; margin: 44px 0 0; font-size: .92rem; font-weight: 600; animation: rise .8s .3s ease both; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--accent); }
.hero-credit { position: absolute; right: 20px; bottom: 12px; margin: 0; font-size: .72rem; color: rgba(255,255,255,.45); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--accent); }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(238,154,62,.6); animation: pulse 2s infinite; }
.hero .eyebrow::before { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(238,154,62,.55); } 70% { box-shadow: 0 0 0 10px rgba(238,154,62,0); } 100% { box-shadow: 0 0 0 0 rgba(238,154,62,0); } }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--gray-light); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.75); position: relative; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-split h2 { margin-bottom: 0; }
.section-lead { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-lead { color: rgba(255,255,255,.7); }

.reveal { animation: rise .7s ease both; }
@supports (animation-timeline: view()) {
  .reveal { animation-timeline: view(); animation-range: entry 0% entry 45%; }
}

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-card { position: relative; padding: 32px 26px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.benefit-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .35s ease; }
.benefit-card:hover::after { width: 100%; }
.benefit-index { position: absolute; top: 22px; right: 24px; font-weight: 800; color: #CBD5E1; font-size: .85rem; letter-spacing: .1em; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(200,50,47,.1); color: var(--brand); margin-bottom: 20px; }
.icon-badge-dark { background: rgba(238,154,62,.12); color: var(--accent); }
.icon-badge-success { background: rgba(4,120,87,.12); color: var(--success); }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-3); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-tag { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(20,17,20,.75); color: var(--white); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(12px); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.service-card-body h3 a { color: var(--heading); text-decoration: none; }
.service-card-body h3 a:hover { color: var(--brand); }
.service-card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: var(--navy-2); border: 1px solid rgba(255,255,255,.07); transition: border-color .25s ease, transform .25s ease; }
.process-step:hover { border-color: rgba(238,154,62,.45); transform: translateY(-4px); }
.process-num { position: absolute; top: 24px; right: 24px; font-size: 2.2rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(238,154,62,.45); }
.process-step p { color: rgba(255,255,255,.68); margin: 0; font-size: .95rem; }
.section:not(.section-dark) .process-step { background: var(--white); border-color: var(--border); }
.section:not(.section-dark) .process-step p { color: var(--muted); }

/* Applications */
.applications { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.application-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid var(--border); transition: box-shadow .25s ease, transform .25s ease; }
.application-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.application-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.application-body { padding: 26px; margin-top: -48px; position: relative; }
.application-body .icon-badge { background: var(--brand); color: var(--white); box-shadow: 0 10px 24px rgba(200,50,47,.35); }
.application-body p { color: var(--muted); }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mini-list li { position: relative; padding-left: 18px; font-size: .93rem; font-weight: 600; color: var(--text); }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.testimonial { margin: 0; padding: 40px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; }
.testimonial::before { content: "“"; position: absolute; right: 30px; top: -10px; font-size: 9rem; line-height: 1; color: rgba(200,50,47,.08); font-weight: 800; }
.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.rating-value { font-size: 2.6rem; font-weight: 800; color: var(--heading); line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: #F59E0B; }
.star-filled { fill: #F59E0B; }
.rating-count { font-weight: 700; color: var(--muted); font-size: .92rem; }
.testimonial blockquote { margin: 0 0 20px; }
.testimonial blockquote p { font-size: 1.35rem; font-weight: 700; color: var(--heading); line-height: 1.45; margin: 0; }
.testimonial figcaption { font-size: .92rem; color: var(--muted); display: grid; gap: 6px; }
.testimonial small { font-size: .8rem; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > .icon { color: var(--brand); margin-top: 3px; }
.contact-list strong { display: block; color: var(--heading); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--gray-light); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 340px; padding: 36px; border-radius: var(--radius-lg); background: var(--navy); color: rgba(255,255,255,.78); text-decoration: none; overflow: hidden; background-image: linear-gradient(rgba(238,154,62,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(238,154,62,.09) 1px, transparent 1px); background-size: 40px 40px; transition: transform .25s ease; }
.map-card:hover { transform: translateY(-4px); color: var(--white); }
.map-card strong { color: var(--white); font-size: 1.6rem; }
.map-card .link-arrow { color: var(--accent); margin-top: 10px; }
.map-pin-pulse { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand); color: var(--white); animation: pulse 2.2s infinite; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: rgba(200,50,47,.4); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; color: var(--heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { transition: transform .25s ease; color: var(--brand); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* CTA */
.cta { background: var(--navy); position: relative; overflow: hidden; padding: clamp(64px, 8vw, 100px) 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 20%, rgba(200,50,47,.35), transparent 70%), radial-gradient(400px 260px at 10% 100%, rgba(238,154,62,.18), transparent 70%); }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 40px 64px; }
.cta h2 { color: var(--white); max-width: 20ch; margin-bottom: 12px; }
.cta-text { color: rgba(255,255,255,.78); max-width: 52ch; }
.cta-note { color: rgba(255,255,255,.72); font-size: .92rem; margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.cta h2 { max-width: 24ch; }

/* Footer */
.site-footer { background: #0B090B; color: rgba(255,255,255,.66); padding: 72px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { margin: 18px 0; max-width: 36ch; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-title { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.66); text-decoration: none; transition: color .2s ease; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { font-style: normal; display: grid; gap: 14px; }
.footer-contact > * { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(18,140,74,.45); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); color: var(--white); }

/* Page header */
.page-header { position: relative; background: var(--navy); color: rgba(255,255,255,.78); padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 84px); overflow: hidden; isolation: isolate; }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 22ch; }
.page-lead { font-size: 1.12rem; max-width: 60ch; }
.page-header .hero-actions { margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; margin-bottom: 28px; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.72); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* Details */
.detail-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.rich-text h2, .prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.rich-text > :first-child, .prose > :first-child { margin-top: 0; }
.rich-text p, .prose p { font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--white); background: var(--brand); border-radius: 50%; padding: 3px; margin-top: 3px; }
.detail-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.detail-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.detail-figure img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.detail-figure figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .72rem; color: rgba(255,255,255,.85); background: rgba(20,17,20,.6); padding: 2px 8px; border-radius: 6px; }
.aside-card { padding: 28px; border-radius: var(--radius-lg); background: var(--gray-light); border: 1px solid var(--border); }
.aside-card h2 { font-size: 1.2rem; }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; }
.related-list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--heading); font-weight: 600; }
.related-list a:hover { color: var(--brand); }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-aside { display: grid; gap: 20px; }
.prose ul:not(.check-list) { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .9fr 1.3fr; gap: 48px; align-items: start; }
.contact-side h2 { font-size: 1.5rem; }
.channel-cards { display: grid; gap: 14px; }
.channel-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.channel-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.channel-card .icon-badge { margin: 0; }
.channel-card strong { display: block; color: var(--heading); }
.channel-card small { display: block; color: var(--muted); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-title { font-size: 1.5rem; margin-bottom: 6px; }
.form-subtitle { color: var(--muted); font-size: .94rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 700; font-size: .9rem; color: var(--heading); padding: 0; }
.optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea, .admin-tools select, .admin-actions select { width: 100%; font: 500 1rem var(--font); color: var(--heading); padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(200,50,47,.14); }
.field .invalid, .field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--danger); }
.validation-message { color: var(--danger); font-size: .85rem; font-weight: 600; }
.field-hint { color: var(--muted); font-size: .82rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.radio-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 999px; cursor: pointer; font-weight: 600 !important; transition: border-color .2s ease, background-color .2s ease; }
.radio-pill:has(input:checked) { border-color: var(--brand); background: rgba(200,50,47,.07); }
.radio-pill input { width: auto; accent-color: var(--brand); margin: 0; }
.checkbox { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; color: var(--text) !important; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #FEF2F2; color: var(--danger); font-weight: 600; margin-bottom: 20px; }
.form-alert-info { background: #FDF3EC; color: var(--brand-dark); }
.form-footnote { font-size: .86rem; color: var(--muted); margin: 16px 0 0; text-align: center; }
.form-success { text-align: center; padding: 24px 8px; outline: none; }
.form-success .icon-badge { width: 64px; height: 64px; border-radius: 50%; }
.protocol { font-size: 1.05rem; }
.protocol strong { font-family: ui-monospace, monospace; letter-spacing: .08em; color: var(--brand); }

/* States */
.state { display: flex; gap: 16px; align-items: flex-start; padding: 28px; border-radius: var(--radius-lg); border: 1px dashed var(--border); background: var(--white); }
.state p { margin: 4px 0 12px; color: var(--muted); }
.state-loading { align-items: center; color: var(--muted); font-weight: 600; justify-content: center; }
.state-error { border-color: rgba(185,28,28,.35); background: #FFFBFB; }
.state-error > .icon { color: var(--danger); }
.state-empty > .icon { color: var(--brand); }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(200,50,47,.2); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.spinner-sm { width: 18px; height: 18px; border-width: 2px; border-color: rgba(255,255,255,.35); border-top-color: var(--white); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 404 */
.notfound { background: var(--gray-light); }
.notfound-inner { text-align: center; }
.notfound-inner .btn-row { justify-content: center; }
.notfound-code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; margin: 0 0 8px; color: transparent; -webkit-text-stroke: 2px var(--brand); letter-spacing: -.04em; }

/* Admin */
.admin { background: var(--gray-light); min-height: 70vh; }
.admin-login { max-width: 440px; margin: 0 auto; }
.admin-login .field { margin-bottom: 16px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.admin-head h1 { font-size: 2rem; margin-bottom: 4px; }
.admin-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-tools select { width: auto; padding: 9px 12px; }
.admin-list { display: grid; gap: 16px; }
.admin-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.admin-card header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.admin-card h2 { font-size: 1.15rem; margin: 4px 0; }
.admin-card .muted { margin: 0; font-size: .88rem; }
.protocol-tag { font-family: ui-monospace, monospace; font-size: .8rem; color: var(--brand); font-weight: 700; }
.admin-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.admin-meta dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.admin-meta dd { margin: 0; font-weight: 600; color: var(--heading); word-break: break-word; }
.admin-desc { background: var(--gray-light); padding: 14px; border-radius: 10px; white-space: pre-line; font-size: .95rem; }
.admin-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-actions label { font-weight: 700; font-size: .88rem; }
.admin-actions select { width: auto; padding: 8px 12px; }
.status-badge { padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; background: var(--gray-light); color: var(--text); }
.status-new { background: #DBEAFE; color: #1E40AF; }
.status-inprogress, .status-contacted { background: #CFFAFE; color: #155E75; }
.status-quoted { background: #FEF3C7; color: #92400E; }
.status-won { background: #D1FAE5; color: #065F46; }
.status-lost, .status-cancelled { background: #F1F5F9; color: #475569; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; font-size: .9rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-card { margin: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-3); }
.gallery-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-card:hover .gallery-media img { transform: scale(1.04); }
.gallery-card figcaption { padding: 20px 22px 22px; }
.gallery-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.gallery-card p { color: var(--muted); font-size: .93rem; margin-bottom: 8px; }
.gallery-meta { font-weight: 700; font-size: .8rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--brand) !important; }

/* Admin content */
.admin-tabs { display: flex; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--border); border-radius: 999px; width: fit-content; margin-bottom: 32px; flex-wrap: wrap; }
.admin-tab { border: 0; background: transparent; font: 700 .92rem var(--font); color: var(--text); padding: 10px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background-color .2s ease, color .2s ease; }
.admin-tab:hover { background: var(--gray-light); }
.admin-tab.active { background: var(--navy); color: var(--white); }
.admin-rows { display: grid; gap: 10px; }
.admin-row { display: grid; grid-template-columns: auto 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; }
.admin-row.is-hidden { opacity: .72; background: #FAFBFD; }
.admin-row img, .admin-thumb-empty { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--gray-light); }
.admin-row h3 { font-size: 1rem; margin: 0; }
.admin-row .muted { margin: 0; font-size: .84rem; overflow-wrap: anywhere; }
.row-order { display: flex; flex-direction: column; gap: 4px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--white); color: var(--heading); cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.icon-btn:hover:not([disabled]) { border-color: var(--brand); color: var(--brand); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn-danger { background: #FEF2F2; color: var(--danger); border-color: #FECACA; }
.btn-danger:hover { background: var(--danger); color: var(--white); }
.editor { margin-bottom: 28px; }
.editor .form-grid { margin-bottom: 20px; }
.editor-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.uploader { display: grid; grid-template-columns: 180px 1fr; gap: 16px; align-items: center; }
.uploader-preview { width: 180px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--gray-light); border: 1.5px dashed var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.uploader-preview img { width: 100%; height: 100%; object-fit: cover; }
.uploader input[type=file] { font: 500 .9rem var(--font); }
.toggle-row { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--heading); }
.toggle-row input { width: 20px; height: 20px; accent-color: var(--brand); }

/* Blazor */
#blazor-error-ui { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .benefit-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .applications, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; }
  .reviews-grid, .location-grid, .faq-layout, .detail-layout, .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail-aside { position: static; }
  .admin-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .benefit-grid, .process, .service-grid, .applications, .footer-grid, .form-grid, .gallery-grid { grid-template-columns: 1fr; }
  .admin-row { grid-template-columns: auto minmax(0, 1fr); }
  .admin-row img, .admin-row .admin-thumb-empty { display: none; }
  .row-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .uploader { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn, .page-header .hero-actions .btn { width: 100%; }
  .hero-media img { object-position: 75% center; }
  .testimonial { padding: 28px; }
  .testimonial blockquote p { font-size: 1.15rem; }
  .btn { white-space: normal; text-align: center; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .admin-card header { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.icon.flip { transform: rotate(180deg); }
.uploader .btn { justify-self: start; align-self: flex-start; }
.form-alert, .state, .editor { scroll-margin-top: calc(var(--header-h) + 24px); }
.admin-whatsapp-link { display: inline-flex; align-items: center; gap: 6px; color: #128C7E; }
.admin-whatsapp-link:hover { color: #075E54; text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.admin-confirm { border: 1.5px solid rgba(18, 140, 74, .35); background: rgba(18, 140, 74, .06); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; animation: fade-in .2s ease; }
.admin-confirm p { margin: 0 0 10px; color: var(--heading); }
.admin-confirm-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-search { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-search input { font: 500 .95rem var(--font); color: var(--heading); padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--white); min-width: 260px; transition: border-color .2s ease, box-shadow .2s ease; }
.admin-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(200, 50, 47, .15); }
.stats-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.stat-card span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.stat-card strong { display: block; font-size: 2rem; color: var(--heading); margin-top: 4px; }
.stat-card-won strong { color: var(--success); }
.stats-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.stats-table th, .stats-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.stats-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stats-table tbody tr:last-child td { border-bottom: 0; }
.stats-table tbody tr:hover { background: var(--gray-light); }
.stats-bar-col { width: 40%; }
.stats-bar { position: relative; height: 10px; background: var(--gray-light); border-radius: 999px; overflow: hidden; }
.stats-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; transition: width .4s ease; }
.stats-bar-received { background: rgba(200, 50, 47, .35); }
.stats-bar-won { background: var(--success); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .stats-summary { grid-template-columns: 1fr; }
  .stats-bar-col { display: none; }
  .stats-table th, .stats-table td { padding: 10px 8px; font-size: .85rem; }
  .stats-table th { letter-spacing: .02em; font-size: .68rem; }
  .admin-search input { min-width: 0; flex: 1; }
}
