:root {
  color-scheme: light;
  --bg: #f5f8fa;
  --surface: #fff;
  --surface-soft: #edf3f6;
  --navy: #102a43;
  --navy-deep: #071b2c;
  --text: #132d46;
  --muted: #40566b;
  --line: #c8d5de;
  --cyan: #00749c;
  --cyan-bright: #75e4ff;
  --green: #087a39;
  --font-body: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.65; }
a { color: var(--cyan); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #005675; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #075b79; font-size: .75rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 2px; background: var(--cyan); content: ''; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line); background: rgba(245, 248, 250, .97); }
.nav-shell { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; color: var(--navy); text-decoration: none; }
.brand-mark { width: 52px; height: 52px; flex: 0 0 auto; object-fit: contain; }
.brand-picture { display: block; flex: 0 0 auto; }
.brand-name { display: grid; font-size: .94rem; font-weight: 800; line-height: 1.2; }
.brand-name span { margin-top: 4px; color: #40566b; font-size: .72rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { position: relative; padding: 10px 0; color: var(--navy); font-size: .88rem; font-weight: 700; text-decoration: none; }
.nav-link:hover, .nav-link[aria-current="page"] { color: #006588; }
.nav-link[aria-current="page"]::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; background: var(--cyan); content: ''; }
.header-phone { color: var(--navy); font-size: .9rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--navy); padding: 9px 12px; }
.theme-toggle { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--navy); padding: 7px 11px; cursor: pointer; font-size: .83rem; font-weight: 700; white-space: nowrap; }
.theme-toggle:hover { border-color: var(--cyan); background: var(--surface-soft); }
.language-toggle { display: inline-flex; min-width: 44px; min-height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--navy); padding: 7px 11px; cursor: pointer; font-size: .83rem; font-weight: 800; }
.language-toggle:hover { border-color: var(--cyan); background: var(--surface-soft); }
.settings-menu { position: relative; z-index: 12; flex: 0 0 auto; }
.settings-toggle { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--navy); cursor: pointer; }
.settings-toggle:hover, .settings-toggle[aria-expanded="true"] { border-color: var(--cyan); background: var(--surface-soft); }
.settings-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.settings-panel { position: absolute; top: calc(100% + 10px); right: 0; display: grid; min-width: 190px; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 30px rgba(7, 27, 44, .18); padding: 12px; }
.settings-panel[hidden] { display: none; }
.settings-panel .theme-toggle, .settings-panel .language-toggle { width: 100%; justify-content: flex-start; }
.settings-panel .language-toggle { gap: 10px; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--navy); border-radius: 6px; background: var(--navy); color: #fff; padding: 0 18px; font-size: .9rem; font-weight: 700; text-align: center; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); border-color: #061a2a; background: #061a2a; color: #fff; }
.button-whatsapp { border-color: #087a39; background: #087a39; color: #fff; }
.button-whatsapp::before, .floating-whatsapp::before, .social-whatsapp::before { display: inline-block; width: 21px; height: 21px; flex: 0 0 21px; background: currentColor; content: ''; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11.5a8 8 0 0 1-11.8 7L4 20l1.4-4.2A8 8 0 1 1 20 11.5Z' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9.1 7.2c-.5.1-.9.7-1 1.2-.2.8.4 2.2 1.5 3.6 1.2 1.5 2.8 2.6 4.2 2.9.7.2 1.5-.1 1.9-.7l.4-.7-1.9-.9-.6.7c-.2.2-.4.2-.7.1-.9-.4-1.8-1.1-2.4-1.9-.2-.3-.2-.5 0-.7l.6-.6-.9-1.9-.8.2Z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11.5a8 8 0 0 1-11.8 7L4 20l1.4-4.2A8 8 0 1 1 20 11.5Z' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9.1 7.2c-.5.1-.9.7-1 1.2-.2.8.4 2.2 1.5 3.6 1.2 1.5 2.8 2.6 4.2 2.9.7.2 1.5-.1 1.9-.7l.4-.7-1.9-.9-.6.7c-.2.2-.4.2-.7.1-.9-.4-1.8-1.1-2.4-1.9-.2-.3-.2-.5 0-.7l.6-.6-.9-1.9-.8.2Z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat; }
.social-whatsapp .social-icon { display: none; }
.button-whatsapp:hover { border-color: #065e2c; background: #065e2c; }
.button-secondary { border-color: #31536c; background: transparent; color: var(--navy); }
.button-secondary:hover { background: #e6eef2; color: var(--navy); }

.hero { position: relative; overflow: hidden; padding: 100px 0 92px; background: var(--navy-deep); }
.hero-video::before { position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(4, 17, 30, .88), rgba(4, 17, 30, .66) 55%, rgba(4, 17, 30, .4)), linear-gradient(0deg, rgba(4, 17, 30, .48), transparent 45%); content: ''; }
.hero-background-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 820px); align-items: center; }
.hero-copy-wrap { max-width: 820px; }
.hero .eyebrow { color: #c7f5ff; }
.hero h1 { max-width: 760px; margin: 18px 0; color: var(--navy); font-size: clamp(2.25rem, 4.7vw, 4.15rem); letter-spacing: -.055em; line-height: 1.1; }
.hero-video h1 { color: #fff; }
.hero-copy { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.hero-video .hero-copy { color: #f2f8fb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-video .button-secondary { border-color: #fff; background: #fff; color: #102a43; }
.hero-video .button-secondary:hover { border-color: #e6eef2; background: #e6eef2; color: #102a43; }
.placeholder-photo { display: grid; min-height: 330px; place-items: center; border: 2px dashed #638298; border-radius: 12px; background: linear-gradient(135deg, #e2ebf0, #f8fbfc); color: #27445b; padding: 22px; text-align: center; }
.placeholder-photo span { max-width: 300px; font-weight: 700; }
.trust-bar { background: var(--navy); color: #fff; }
.trust-items { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-items p { margin: 0; padding: 18px 20px; color: #fff; text-align: center; }
.trust-items p + p { border-left: 1px solid rgba(255,255,255,.28); }
.trust-items strong { color: #fff; }

.section { padding: 72px 0; }
.section-tint { background: #eaf1f5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .page-intro h1, .about-photo-grid h2 { margin: 10px 0 0; color: var(--navy); font-size: clamp(1.85rem, 3.5vw, 2.9rem); letter-spacing: -.045em; line-height: 1.15; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .info-panel, .service-category, .contact-form, .contact-details { border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 24px; }
.service-card { display: flex; min-height: 265px; flex-direction: column; align-items: flex-start; }
.service-card h3 { margin: 17px 0 8px; color: var(--navy); font-size: 1.18rem; line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); }
.service-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 7px; background: #dcecf2; color: #075b79; font-size: .85rem; font-weight: 800; }
.service-arrow { display: inline-block; margin-top: auto; padding-top: 17px; font-weight: 700; }
.page-intro { padding: 62px 0 40px; border-bottom: 1px solid var(--line); background: #fff; }
.page-intro h1 { max-width: 850px; }
.page-intro p { max-width: 750px; margin: 16px 0 0; color: var(--muted); font-size: 1.02rem; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metric { border-left: 3px solid var(--cyan); background: #fff; padding: 19px 20px; }
.metric strong { display: block; color: var(--navy); font-size: 1.12rem; }
.metric span { color: var(--muted); font-size: .91rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.process-card { min-width: 0; border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: 8px; background: #fff; padding: 22px; }
.process-number { display: block; margin-bottom: 20px; color: #075b79; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.process-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.04rem; }
.process-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.process-timeline { position: relative; gap: 24px; }
.process-timeline::before { position: absolute; top: 29px; right: 16.66%; left: 16.66%; height: 2px; background: #9db8c7; content: ''; }
.process-step { position: relative; z-index: 1; border: 0; background: transparent; padding: 0; }
.process-step .process-number { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 19px; border: 3px solid var(--cyan); border-radius: 50%; background: var(--bg); color: var(--navy); font-size: 1rem; }
.process-step h3, .process-step p { max-width: 300px; margin-inline: auto; text-align: center; }
.process-step h3 { margin-bottom: 8px; font-size: 1.12rem; }
.brand-compatibility { border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 27px; }
.brand-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-compatibility h2 { margin: 9px 0 7px; color: var(--navy); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.brand-carousel { overflow-x: auto; overflow-y: hidden; margin-top: 20px; overscroll-behavior-inline: contain; scrollbar-width: none; touch-action: pan-x; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.brand-carousel::-webkit-scrollbar { display: none; }
.brand-track { display: flex; width: max-content; animation: brand-marquee 40s linear infinite; }
@media (hover: hover) and (pointer: fine) {
  .brand-carousel:hover .brand-track { animation-play-state: paused; }
}
.brand-grid { display: flex; flex: 0 0 auto; gap: 14px; padding-right: 14px; }
.brand-logo { display: flex; width: 160px; height: 96px; flex: 0 0 160px; align-items: center; justify-content: center; border: 1px solid #d5dfe5; border-radius: 8px; background: #fff; padding: 17px; }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand-logo picture { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.brand-logo:hover { box-shadow: 0 8px 20px rgba(16, 42, 67, .14); }
@keyframes brand-marquee { to { transform: translateX(-50%); } }
.brand-legal { margin: 15px 0 0; color: var(--muted); font-size: .82rem; }

.media-section { overflow: hidden; background: var(--navy-deep); }
.media-slot { position: relative; display: grid; width: 100%; height: clamp(280px, 42vw, 560px); place-items: center; overflow: hidden; margin: 0; background: var(--navy-deep); }
.media-slot::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,44,.72), rgba(7,27,44,.12)); content: ''; }
.media-slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-slot-caption { position: relative; z-index: 1; width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.media-slot-caption h2 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.1; }

.service-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.service-category { display: flex; flex-direction: column; scroll-margin-top: 100px; }
.service-category-number { color: #075b79; font-size: .78rem; font-weight: 800; letter-spacing: .09em; }
.service-category h3 { margin: 10px 0; color: var(--navy); font-size: 1.35rem; line-height: 1.3; }
.service-category > p { color: var(--muted); }
.service-category h4 { margin: 12px 0 0; color: var(--navy); font-size: 1rem; }
.service-category ul { margin: 9px 0 16px; padding-left: 21px; color: var(--muted); }
.service-category li { margin-bottom: 7px; }
.scope-note { border-left: 3px solid #b17a00; padding-left: 10px; }
.service-visual { margin: 15px 0; }
.service-visual img { width: 100%; height: auto; border-radius: 5px; }
.service-visual figcaption { margin-top: 5px; color: var(--muted); font-size: .78rem; }
.service-cta { align-self: flex-start; margin-top: auto; }
.service-process-note { margin: 24px 0 0; border-left: 3px solid var(--cyan); background: #fff; padding: 17px 20px; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-panel h2, .info-panel h3 { margin: 0 0 9px; color: var(--navy); }
.info-panel p { margin: 0; color: var(--muted); }
.about-photo-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 36px; }
.about-photo-grid p { color: var(--muted); }
.about-photo { min-height: 290px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: start; gap: 22px; }
.contact-layout-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.contact-form h2, .contact-details h2 { margin: 0 0 20px; color: var(--navy); font-size: 1.45rem; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { color: var(--navy); font-size: .92rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; border: 1px solid #879aaa; border-radius: 5px; background: #fff; color: var(--text); padding: 10px 12px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #596b7a; opacity: 1; }
.consent-field { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; }
.consent-field input { width: 18px; height: 18px; min-height: 0; margin: 4px 0 0; }
.consent-field label { color: var(--muted); font-weight: 400; }
.form-status { color: #075b35; font-weight: 700; }
.fallback-link, .form-legal { color: var(--muted); font-size: .87rem; }
.contact-details p { color: var(--muted); }
.contact-details strong { color: var(--navy); }
.contact-details a { font-weight: 700; }
.map-frame { width: 100%; height: 260px; border: 0; border-radius: 6px; margin: 15px 0; }
.legal-content { max-width: 850px; }
.legal-content h2 { margin: 32px 0 8px; color: var(--navy); font-size: 1.25rem; }
.legal-content p { color: var(--muted); }
.legal-warning { border-left: 3px solid #9a6700; background: #fff8e8; padding: 12px 16px; color: #45340e; }
.warranty-english { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 22px; }
.warranty-english h3 { color: var(--navy); }

.site-footer { background: var(--navy-deep); color: #fff; padding: 42px 0 18px; }
.footer-main { display: grid; grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(150px, 1fr)); gap: 30px; padding-bottom: 30px; }
.footer-group { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-group h2 { margin: 0 0 5px; color: #fff; font-size: 1rem; }
.footer-group p, .footer-group a { margin: 0; color: #f1f6f8; font-size: .88rem; }
.footer-group a:hover { color: #9be8ff; }
.footer-group .footer-contact-link { display: flex; align-items: flex-start; gap: 10px; color: #f1f6f8; text-decoration: none; }
.footer-group .footer-contact-link span { min-width: 0; }
.footer-contact-link .footer-icon { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.social-link { display: inline-flex; min-height: 34px; align-items: center; gap: 9px; border-radius: 5px; color: #f1f6f8; padding: 4px 7px; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.social-icon { display: block; width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: color .18s ease; }
.social-facebook .social-icon path { fill: currentColor; stroke: none; }
.social-facebook:hover, .social-facebook:focus-visible { background: #1877f2; color: #fff !important; }
.social-instagram:hover, .social-instagram:focus-visible { background: linear-gradient(45deg, #feda75, #fa7e1e 35%, #d62976 65%, #962fbf 85%, #4f5bd5); color: #fff !important; }
.social-whatsapp:hover, .social-whatsapp:focus-visible { background: #25d366; color: #092312 !important; }
.social-icon-dot { fill: currentColor; stroke: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.28); padding-top: 15px; color: #f1f6f8; font-size: .84rem; }
.floating-whatsapp { display: none; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #071b2c;
  --surface: #0d2940;
  --surface-soft: #123851;
  --navy: #e4f7ff;
  --navy-deep: #04111e;
  --text: #f4fbff;
  --muted: #c3dce9;
  --line: #31536a;
  --cyan: #75e4ff;
  --cyan-bright: #a6efff;
}
:root[data-theme="dark"] body { background: var(--bg); color: var(--text); }
:root[data-theme="dark"] a { color: #8de8ff; }
:root[data-theme="dark"] a:hover { color: #c2f5ff; }
:root[data-theme="dark"] .site-header { border-color: var(--line); background: rgba(4, 17, 30, .97); }
:root[data-theme="dark"] .brand-name span,
:root[data-theme="dark"] .nav-link,
:root[data-theme="dark"] .header-phone { color: #d7effa; }
:root[data-theme="dark"] .nav-link:hover,
:root[data-theme="dark"] .nav-link[aria-current="page"] { color: #75e4ff; }
:root[data-theme="dark"] .eyebrow { color: #a6efff; }
:root[data-theme="dark"] .hero,
:root[data-theme="dark"] .page-intro,
:root[data-theme="dark"] .section-tint { background: #0a2236; }
:root[data-theme="dark"] .hero-video { background: #04111e; }
:root[data-theme="dark"] .trust-bar { background: #0b3b5a; }
:root[data-theme="dark"] .trust-items p,
:root[data-theme="dark"] .trust-items strong { color: #fff; }
:root[data-theme="dark"] .service-card,
:root[data-theme="dark"] .info-panel,
:root[data-theme="dark"] .service-category,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .contact-details,
:root[data-theme="dark"] .metric,
:root[data-theme="dark"] .process-card,
:root[data-theme="dark"] .brand-compatibility,
:root[data-theme="dark"] .review-placeholder,
:root[data-theme="dark"] .service-process-note { border-color: var(--line); background: var(--surface); color: var(--text); }
:root[data-theme="dark"] .brand-logo { border-color: #31536a; background: #fff; }
:root[data-theme="dark"] .brand-logo img { border-radius: 3px; }
:root[data-theme="dark"] .service-card h3,
:root[data-theme="dark"] .info-panel h2,
:root[data-theme="dark"] .info-panel h3,
:root[data-theme="dark"] .service-category h3,
:root[data-theme="dark"] .service-category h4,
:root[data-theme="dark"] .contact-form h2,
:root[data-theme="dark"] .contact-details h2,
:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .page-intro h1,
:root[data-theme="dark"] .about-photo-grid h2,
:root[data-theme="dark"] .faq-container summary,
:root[data-theme="dark"] .legal-content h2,
:root[data-theme="dark"] .warranty-english h3 { color: #e4f7ff; }
:root[data-theme="dark"] .service-card p,
:root[data-theme="dark"] .info-panel p,
:root[data-theme="dark"] .service-category > p,
:root[data-theme="dark"] .service-category ul,
:root[data-theme="dark"] .section-heading p,
:root[data-theme="dark"] .page-intro p,
:root[data-theme="dark"] .process-card p,
:root[data-theme="dark"] .brand-legal,
:root[data-theme="dark"] .legal-content p,
:root[data-theme="dark"] .contact-details p,
:root[data-theme="dark"] .contact-details strong { color: #c3dce9; }
:root[data-theme="dark"] .service-icon { background: #123851; color: #a6efff; }
:root[data-theme="dark"] .metric { border-color: #75e4ff; }
:root[data-theme="dark"] .metric strong,
:root[data-theme="dark"] .metric span { color: #e4f7ff; }
:root[data-theme="dark"] .process-step .process-number { border-color: #75e4ff; background: #071b2c; color: #e4f7ff; }
:root[data-theme="dark"] .process-timeline::before { background: #427b98; }
:root[data-theme="dark"] .field label { color: #e4f7ff; }
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .field select { border-color: #638298; background: #071b2c; color: #f4fbff; }
:root[data-theme="dark"] .field input::placeholder,
:root[data-theme="dark"] .field textarea::placeholder { color: #c3dce9; }
:root[data-theme="dark"] .button { border-color: #08749c; background: #08749c; color: #fff; }
:root[data-theme="dark"] .button:hover { border-color: #075b79; background: #075b79; }
:root[data-theme="dark"] .button-secondary { border-color: #75e4ff; background: transparent; color: #e4f7ff; }
:root[data-theme="dark"] .button-secondary:hover { background: #123851; color: #fff; }
:root[data-theme="dark"] .placeholder-photo { border-color: #75a9c0; background: linear-gradient(135deg, #123851, #0d2940); color: #e4f7ff; }
:root[data-theme="dark"] .hero-video .button-secondary { border-color: #fff; background: #fff; color: #102a43; }
:root[data-theme="dark"] .legal-warning { border-color: #75e4ff; background: #0d2940; color: #e4f7ff; }
:root[data-theme="dark"] .footer-group a,
:root[data-theme="dark"] .footer-group p { color: #f1f6f8; }
:root[data-theme="dark"] .theme-toggle { border-color: #427b98; background: #0d2940; color: #e4f7ff; }
:root[data-theme="dark"] .theme-toggle:hover { background: #123851; }
:root[data-theme="dark"] .language-toggle { border-color: #427b98; background: #0d2940; color: #e4f7ff; }
:root[data-theme="dark"] .language-toggle:hover { background: #123851; }
:root[data-theme="dark"] .settings-toggle { border-color: #427b98; background: #0d2940; color: #e4f7ff; }
:root[data-theme="dark"] .settings-toggle:hover,
:root[data-theme="dark"] .settings-toggle[aria-expanded="true"] { background: #123851; }
:root[data-theme="dark"] .settings-panel { border-color: #31536a; background: #0d2940; }
:root[data-theme="dark"] :focus-visible { outline-color: #75e4ff; }

:focus-visible { outline: 3px solid #006f98; outline-offset: 3px; }
.site-footer :focus-visible, .button-whatsapp:focus-visible { outline-color: #9be8ff; }
@media (prefers-reduced-motion: no-preference) {
  .button, .service-card { transition: background .18s ease, transform .18s ease; }
  .reveal { animation: reveal-in .45s ease both; }
  @keyframes reveal-in { from { opacity: .72; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .brand-logo { animation: brand-appear .55s ease both; transition: box-shadow .2s ease, transform .2s ease; }
  .brand-logo:hover { transform: translateY(-4px); }
  @keyframes brand-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  .process-step { animation: timeline-step-in .5s ease both; }
  .process-step:nth-child(2) { animation-delay: .12s; }
  .process-step:nth-child(3) { animation-delay: .24s; }
  @keyframes timeline-step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 1040px) {
  .nav-shell { flex-wrap: wrap; gap: 10px 16px; padding-block: 10px; }
  .brand { margin-right: auto; }
  .menu-toggle { display: block; }
  .settings-menu { margin-left: auto; }
  .nav-links { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: 11px 4px; }
  .nav-link[aria-current="page"]::after { display: none; }
  .service-category-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
  .service-category { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .service-category-number, .service-category h3, .service-category > p, .service-category h4, .service-category ul, .scope-note { grid-column: 1; }
  .service-visual, .service-cta { grid-column: 2; }
  .service-visual { grid-row: 2 / span 6; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 82px 0 76px; }
  .service-grid, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-shell { gap: 10px 14px; }
  .nav-links { gap: 16px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 34px, 600px); }
  .brand { min-width: 0; }
  .brand-name { min-width: 0; }
  .settings-toggle { width: 40px; height: 40px; }
  .settings-panel .theme-toggle { min-height: 40px; padding: 7px 11px; font-size: .83rem; }
  .settings-panel .theme-toggle span { display: inline; }
  .settings-panel .language-toggle { min-width: 0; min-height: 40px; padding: 7px 11px; font-size: .83rem; }
  .hero { padding: 62px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3.1rem); }
  .trust-items { grid-template-columns: 1fr; }
  .trust-items p { padding: 12px 5px; }
  .trust-items p + p { border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
  .section { padding: 52px 0; }
  .section-heading { display: block; }
  .service-grid, .metric-grid, .process-grid, .about-grid, .about-photo-grid, .contact-layout { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-card { min-height: 0; }
  .process-timeline { gap: 20px; }
  .brand-grid { gap: 10px; }
  .brand-logo { width: 140px; height: 88px; flex-basis: 140px; padding: 13px; }
  .brand-heading-row { align-items: flex-start; flex-direction: column; }
  .page-intro { padding: 43px 0 30px; }
  .service-category { display: flex; }
  .service-visual { order: 0; }
  .service-cta { align-self: stretch; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .floating-whatsapp { position: fixed; z-index: 11; right: 16px; bottom: 16px; display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 8px; border: 2px solid #fff; border-radius: 999px; background: #087a39; box-shadow: 0 4px 18px rgba(0,0,0,.2); color: #fff; padding: 0 19px; font-weight: 800; text-decoration: none; }
  .floating-whatsapp:hover { background: #065e2c; color: #fff; }
}
@media (max-width: 420px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { max-width: 150px; font-size: .8rem; white-space: normal; }
  .brand-name span { font-size: .68rem; }
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .process-timeline { gap: 0; padding-left: 0; }
  .process-timeline::before { top: 28px; bottom: 28px; left: 28px; width: 2px; height: auto; }
  .process-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 8px 0 22px; }
  .process-step .process-number { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .process-step h3, .process-step p { max-width: none; margin-inline: 0; text-align: left; }
  .process-step h3 { align-self: end; }
  .process-step p { align-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; transform: none; }
}
