:root {
  color-scheme: light;
  --navy: #111d2c;
  --ink: #152438;
  --muted: #4e5d6c;
  --red: #b8232f;
  --red-dark: #971b25;
  --paper: #f5f5f2;
  --line: #e1e4e7;
  --wrap: min(100% - 88px, 1320px);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #de5861; outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.symbols { display: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; padding: 12px 20px; background: #fff; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: #fff; box-shadow: 0 1px 0 #18253712; }
.nav-row { height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; object-fit: contain; max-width: 100%; }
.nav-cluster { display: flex; align-items: center; gap: 14px; margin-left: auto; height: 100%; }
.nav-cluster .lang-switch { margin-left: 2px; }
nav { display: flex; align-items: center; gap: clamp(21px, 3vw, 46px); height: 100%; font-size: .93rem; font-weight: 650; }
nav a { display: flex; align-items: center; height: 100%; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current] { color: var(--red); border-color: var(--red); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 750; letter-spacing: .04em; }
.lang-switch a { opacity: .45; padding: 6px 2px; border-bottom: 2px solid transparent; }
.lang-switch a[aria-current="true"], .lang-switch a:hover { opacity: 1; color: var(--red); border-color: var(--red); }
.lang-switch span { opacity: .35; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 5px; padding: 10px 14px; font-weight: 750; font-size: .89rem; white-space: nowrap; }
.header-phone .icon { color: var(--red); width: 16px; height: 16px; }
.header-phone:hover { border-color: var(--red); }
.menu-toggle { display: none; }
section[id], main[id] { scroll-margin-top: 94px; }
.hero { position: relative; display: grid; isolation: isolate; align-items: center; min-height: clamp(550px, 48vw, 730px); background: #171d24; color: #fff; overflow: hidden; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 63% 55%; }
.hero::after { content: ""; background: linear-gradient(90deg, #101a27f7 0%, #101a27e8 19%, #101a27ac 39%, #101a2736 61%, transparent 84%), linear-gradient(0deg, #0b1422c7, transparent 24%); }
.hero-content { padding-block: 72px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 17px; color: var(--red); font-size: .73rem; font-weight: 650; letter-spacing: .1em; }
.eyebrow span { display: inline-block; width: 24px; height: 1px; background: currentColor; flex: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 600; letter-spacing: -.028em; line-height: 1.09; }
h1 { font-size: clamp(3.15rem, 6vw, 6.1rem); margin-bottom: 25px; }
h1 em { font-style: normal; color: #f16e76; }
.hero-copy { max-width: 395px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.56; color: #edf0f2; margin-bottom: 26px; }
.actions { display: flex; gap: 11px; flex-wrap: wrap; }
.button { border: 1px solid transparent; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 18px; min-height: 49px; font-weight: 650; font-size: .93rem; line-height: 1.2; transition: background .18s, border-color .18s; }
.primary { background: var(--red); color: #fff; }
.primary:hover { background: var(--red-dark); }
.primary:disabled { opacity: .55; cursor: default; }
.ghost { background: #0b152866; border-color: #ffffff75; color: #fff; }
.ghost:hover { background: #162339; border-color: #fff; }
.outline { border-color: var(--line); color: var(--ink); }
.outline:hover { border-color: var(--red); color: var(--red); }
.section { padding-block: clamp(60px, 7vw, 105px); }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.45rem); margin-bottom: 0; }
.services { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 32px; }
.section-head p { max-width: 300px; margin: 0; color: var(--muted); line-height: 1.6; }
.service-grid, .parts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: #fff; border-radius: 6px; }
.card-media { position: relative; overflow: hidden; background: #263846; aspect-ratio: 1.65; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; display: block; transition: transform .28s; }
.workshop img { object-position: center 29%; }
.service-card:hover .card-media img { transform: scale(1.035); }
.card-media span { position: absolute; left: 13px; top: 13px; color: #fff; background: #101c2ce8; border-radius: 3px; padding: 6px 8px; font-size: .64rem; font-weight: 650; letter-spacing: .08em; }
.card-body { padding: clamp(16px, 2vw, 28px); display: flex; flex: 1; flex-direction: column; align-items: start; }
.card-body h3 { display: flex; align-items: center; gap: 10px; }
.service-icon { flex: none; display: block; padding: 6px; border-radius: 50%; background: var(--navy); object-fit: contain; }
h3 { font-size: clamp(1.28rem, 2vw, 1.65rem); font-weight: 650; letter-spacing: -.015em; margin-bottom: 10px; }
.card-body p { color: var(--muted); line-height: 1.55; margin-bottom: 20px; }
.text-link { color: var(--red); font-weight: 650; display: inline-flex; align-items: center; gap: 9px; margin-top: auto; font-size: .93rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 17px; height: 17px; }
.parts-grid { margin-top: 20px; }
.parts-grid a { display: flex; gap: 13px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px; }
.parts-grid a:hover { border-color: var(--red); }
.parts-grid a > span { min-width: 0; overflow-wrap: anywhere; }
.tile-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: #fae9e9; border-radius: 4px; color: var(--red); }
.parts-grid strong, .parts-grid small, .contact-method a, .contact-method small { display: block; }
.parts-grid small { color: var(--muted); margin-top: 4px; line-height: 1.35; }
.parts-grid a > .icon { margin-left: auto; width: 17px; height: 17px; }
.about { background: var(--navy); color: #fff; }
.about-layout, .contact-layout { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: clamp(30px, 7vw, 115px); }
.about .eyebrow, .light { color: #ff929a; }
.about p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { margin: 22px 0; line-height: 1.65; max-width: 490px; }
.about p:not(.eyebrow) { color: #d9e0e7; }
.benefits { align-self: center; border-top: 1px solid #ffffff39; padding-top: 24px; }
.benefits ul { margin: 0; padding: 0; list-style: none; }
.benefits li { display: flex; align-items: start; gap: 10px; padding-block: 12px; border-bottom: 1px solid #ffffff30; color: #eef0f4; }
.benefits .icon { color: #ff929a; }
.testimonial { margin: 26px 0 0; border-left: 2px solid #f16e76; padding-left: 14px; max-width: 490px; }
.testimonial blockquote { margin: 0 0 8px; color: #e7edf3; line-height: 1.55; }
.testimonial figcaption { color: #ff929a; font-size: .8rem; font-weight: 700; }
.contact { background: #fff; }
.contact-copy { padding-top: 10px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-method { display: flex; align-items: center; gap: 12px; margin: 18px 0; width: fit-content; }
.contact-method a { font-weight: 650; line-height: 1.6; }
.contact-method a:hover { color: var(--red); text-decoration: underline; }
.contact-method small { font-size: .67rem; font-weight: 800; letter-spacing: .11em; color: var(--muted); margin-bottom: 3px; }
.contact-actions { margin-top: 25px; }
.hours { margin: 22px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); max-width: 420px; }
.hours strong { display: block; margin-bottom: 6px; font-size: .9rem; }
.hours p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.map-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.map-card iframe { display: block; width: 100%; height: clamp(245px, 29vw, 370px); border: 0; background: #e7ebe7; }
.map-address { display: flex; align-items: start; gap: 12px; padding: 20px; }
.map-address h3 { margin-bottom: 6px; }
.map-address address { color: var(--muted); font-style: normal; line-height: 1.55; margin-bottom: 10px; }
.floating-actions { position: fixed; z-index: 4; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 9px; }
.float-button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; box-shadow: 0 3px 14px #111d2c40; }
.float-top { width: 44px; height: 44px; background: var(--navy); }
.float-call { display: none; background: var(--red); }
.float-call:hover { background: var(--red-dark); }
.float-whatsapp { background: #126b4b; }
.float-whatsapp:hover { background: #0b5238; }
.float-whatsapp .icon { width: 28px; height: 28px; }
.request-success { text-align: center; padding: 12px 4px 4px; }
.success-mark { width: 64px; height: 64px; margin: 8px auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e8f6ee; color: #126b4b; font-size: 1.8rem; font-weight: 700; }
.request-success h3 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 10px; }
.request-success p { color: var(--muted); line-height: 1.55; margin: 0 auto 22px; max-width: 420px; }
.success-actions { justify-content: center; }
body:has(.request-dialog[open]) { overflow: hidden; }
.request-dialog { color: var(--ink); width: min(640px, calc(100% - 28px)); max-width: none; max-height: min(88dvh, 820px); padding: clamp(17px, 4vw, 30px); border: 0; border-radius: 10px; overscroll-behavior: contain; box-shadow: 0 18px 70px #0a152763; }
.request-dialog::backdrop { background: #101a27b3; }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.dialog-header .eyebrow { margin-bottom: 8px; }
.dialog-header h2 { font-size: clamp(1.85rem, 5vw, 2.7rem); }
.dialog-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); }
.dialog-close:hover { border-color: var(--red); color: var(--red); }
#request-intro { color: var(--muted); line-height: 1.55; margin: 12px 0 19px; }
.request-form { display: grid; gap: 13px; }
.request-form label, .request-form legend { font-size: .87rem; font-weight: 700; }
.request-form fieldset { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 6px; padding: 11px; background: var(--paper); }
.request-form legend { padding-inline: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.form-grid label { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.request-form :is(input, select, textarea) { display: block; color: var(--ink); border: 1px solid #bcc4cc; background: #fff; border-radius: 4px; padding: 10px 9px; width: 100%; min-width: 0; min-height: 43px; margin-top: 5px; font-size: 1rem; font-weight: 400; }
.request-form textarea { resize: vertical; }
.optional { color: var(--muted); font-weight: 400; }
.form-note { color: var(--muted); font-size: .82rem; margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 82px; padding-right: 58px; font-size: .86rem; }
.footer-row p { margin: 0; color: var(--muted); }
.footer-row a:hover { color: var(--red); }
@media (max-width: 950px) {
  :root { --wrap: min(100% - 52px, 1320px); }
  .section-head { align-items: start; flex-direction: column; }
  .section-head p { max-width: 470px; }
  .parts-grid a { gap: 9px; }
}
@media (max-width: 730px) {
  :root { --wrap: calc(100% - 36px); }
  .nav-row { height: 68px; gap: 12px; }
  .brand img { width: 120px; height: auto; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); font-weight: 700; }
  .nav-cluster { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .nav-cluster nav { display: none; position: absolute; inset: 68px 0 auto; left: 0; right: 0; height: auto; background: #fff; padding: 4px 18px 14px; box-shadow: 0 10px 20px #0d192421; }
  .nav-cluster nav[data-open] { display: grid; gap: 0; }
  .nav-cluster nav a { padding: 12px 4px; min-height: 44px; }
  .header-phone { display: none; }
  .lang-switch { order: 3; }
  .float-call { display: grid; }
  section[id], main[id] { scroll-margin-top: 80px; }
  .hero { min-height: 665px; align-items: start; }
  .hero-content { padding-block: 42px 90px; }
  .hero-image { object-position: 90% bottom; height: 56%; top: auto; }
  .hero::after { background: linear-gradient(180deg, #101a27 0%, #101a27 42%, #101a27ad 53%, transparent 71%, #101a27a8 100%); }
  .hero-copy { margin-bottom: 17px; max-width: 335px; }
  .service-grid, .parts-grid, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-grid { gap: 16px; }
  .card-media { aspect-ratio: 1.8; }
  .card-body { padding: 20px; }
  .footer-row { flex-wrap: wrap; padding-block: 18px; }
}
@media (max-width: 460px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 365px) {
  h1 { font-size: 2.75rem; }
  .button { padding-inline: 12px; }
  .hero { min-height: 680px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.map-links { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.footer-row a { font-weight: 650; }
