:root {
  --contact-navy: #071327;
  --contact-navy-soft: #142d50;
  --contact-paper: #f7faff;
  --contact-white: #ffffff;
  --contact-ink: #202833;
  --contact-muted: #68717b;
  --contact-accent: #1668ed;
  --contact-accent-light: #b9d4ff;
  --brand-red: #e51d3d;
  --contact-line: #d7e0ee;
  --contact-shell: 1180px;
  --contact-serif: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --contact-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--contact-ink); background: var(--contact-paper); font-family: var(--contact-sans); line-height: 1.48; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--contact-accent); outline-offset: 3px; }
.contact-shell { width: min(calc(100% - 48px), var(--contact-shell)); margin-inline: auto; }
.skip-link { position: fixed; inset: 12px auto auto 12px; z-index: 20; padding: 9px 12px; color: var(--contact-navy); background: var(--contact-paper); border: 1px solid var(--contact-accent); text-decoration: none; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.contact-header { color: var(--contact-paper); background: var(--contact-navy); border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, var(--contact-accent) 0%, var(--contact-paper) 50%, var(--brand-red) 100%) 1; }
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-family: var(--contact-serif); font-size: 1.36rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.brand img { display: block; border-radius: 50%; flex: 0 0 auto; object-fit: contain; }
.brand span { font-family: var(--contact-sans); font-size: .78em; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.header-nav { display: flex; gap: 22px; margin-inline-start: 16px; }
.header-nav a, .language-nav a { color: rgb(247 250 255 / 72%); font-size: .76rem; font-weight: 750; letter-spacing: .035em; text-decoration: none; }
.header-nav a:hover, .header-nav .is-current, .language-nav a:hover, .language-nav .is-current { color: var(--contact-accent-light); }
.language-nav { display: flex; gap: 11px; margin-inline-start: auto; direction: ltr; }

.contact-intro { overflow: hidden; color: var(--contact-paper); background: var(--contact-navy); }
.intro-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(290px, .67fr); gap: clamp(40px, 10vw, 150px); padding: clamp(72px, 12vw, 158px) 0 clamp(70px, 10vw, 126px); }
.intro-grid::after { width: min(31vw, 420px); height: min(31vw, 420px); position: absolute; inset: -100px -100px auto auto; z-index: 0; display: block; content: ""; background: radial-gradient(circle, rgb(22 104 237 / 22%) 0%, rgb(22 104 237 / 0%) 68%); pointer-events: none; }
.intro-copy, .contact-routes { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 13px; color: var(--contact-accent-light); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.form-context .eyebrow { color: #155bd1; }
h1, h2 { margin: 0; font-family: var(--contact-serif); font-weight: 800; letter-spacing: -.055em; line-height: 1.02; }
h1 { max-width: 695px; font-size: clamp(3rem, 6.8vw, 6.1rem); }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.25rem); }
.intro-copy > p:not(.eyebrow) { max-width: 550px; margin: 27px 0 0; color: rgb(247 250 255 / 73%); font-size: 1.04rem; }
.contact-promises { display: grid; gap: 11px; margin: 35px 0 0; padding: 0; color: rgb(247 250 255 / 77%); font-size: .82rem; list-style: none; }
.contact-promises li { display: flex; align-items: center; gap: 10px; }
.contact-promises li::before { width: 5px; height: 5px; display: block; content: ""; background: var(--brand-red); border-radius: 50%; }

.contact-routes { align-self: end; display: grid; gap: 10px; }
.route-label { margin: 0 0 4px; color: rgb(247 250 255 / 55%); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.route-card { min-height: 88px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px; color: var(--contact-paper); background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 16%); text-decoration: none; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.route-card:hover { background: rgb(255 255 255 / 12%); border-color: rgb(22 104 237 / 78%); transform: translateY(-2px); }
.route-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--contact-accent); border-radius: 50%; font-size: .68rem; font-weight: 900; letter-spacing: .03em; }
.route-card strong, .route-card small { display: block; }
.route-card strong { color: var(--contact-paper); font-size: .85rem; }
.route-card small { margin-top: 2px; overflow: hidden; color: rgb(247 250 255 / 62%); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.route-arrow { color: var(--contact-accent-light); font-size: 1.2rem; }

.contact-form-section { background: var(--contact-paper); }
.form-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(350px, .77fr); gap: clamp(45px, 11vw, 160px); padding-block: clamp(80px, 12vw, 158px); }
.form-context > p:not(.eyebrow) { max-width: 490px; margin: 25px 0 0; color: #58616d; font-size: 1rem; }
.back-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 34px; padding-bottom: 4px; color: var(--contact-navy); border-bottom: 1px solid var(--contact-accent); font-size: .8rem; font-weight: 800; text-decoration: none; }
.back-link:hover { color: #1254ba; }
.contact-form { display: grid; gap: 18px; padding: clamp(25px, 4.2vw, 45px); background: var(--contact-white); border: 1px solid var(--contact-line); box-shadow: 12px 14px 0 #dde8f7; }
.field { display: grid; gap: 8px; }
.field label { color: #303945; font-size: .77rem; font-weight: 800; letter-spacing: .035em; }
.form-control { width: 100%; min-height: 47px; padding: 11px 12px; color: var(--contact-ink); background: #ffffff; border: 1px solid #adbbcf; border-radius: 0; box-shadow: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
textarea.form-control { min-height: 117px; resize: vertical; }
.form-control:focus { outline: 0; border-color: var(--contact-navy); box-shadow: 0 0 0 3px rgb(22 104 237 / 29%); }
input[type="tel"] { direction: ltr; text-align: left; }
.form-errors, .field-error { margin: 0; color: #a32721; font-size: .78rem; }
.form-errors ul { margin: 0; padding-inline-start: 18px; }
.submit-button, .primary-action { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; color: var(--contact-paper); background: var(--contact-navy); border: 1px solid var(--contact-navy); border-radius: 0; font-size: .79rem; font-weight: 850; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background 160ms ease; }
.submit-button:hover, .submit-button:focus-visible, .primary-action:hover, .primary-action:focus-visible { background: #26374d; }
.submit-button:disabled { cursor: wait; opacity: .78; }
.contact-button-loader { display: none; width: 15px; height: 15px; border: 2px solid rgb(247 250 255 / 38%); border-block-start-color: var(--contact-paper); border-radius: 50%; animation: contact-spin 700ms linear infinite; }
.submit-button.is-loading .contact-button-loader { display: inline-block; }
.contact-network-status { margin: -2px 0 0; padding: 10px 12px; border-inline-start: 3px solid var(--contact-accent); color: #303945; background: #eaf2ff; font-size: .78rem; line-height: 1.45; }
.contact-network-status[data-state="warning"] { border-color: #a32721; color: #76231d; background: #f8e7e4; }
.contact-network-status[data-state="success"] { border-color: #1d6c50; color: #17513d; background: #e4f0ea; }
.form-note { margin: -4px 0 0; color: var(--contact-muted); font-size: .72rem; text-align: center; }

.contact-footer { color: rgb(247 250 255 / 73%); background: #030b18; border-top: 2px solid var(--brand-red); }
.footer-inner { min-height: 106px; display: flex; align-items: center; gap: 24px; }
.footer-inner .brand { color: var(--contact-paper); }
.footer-inner p { margin: 0; font-size: .77rem; }
.footer-inner > a:last-child { margin-inline-start: auto; color: var(--contact-accent-light); font-size: .77rem; font-weight: 800; text-decoration: none; }
.whatsapp-float { width: 54px; height: 54px; position: fixed; inset-inline-end: 20px; inset-block-end: 20px; z-index: 12; display: grid; place-items: center; color: #fff; background: #1d6c50; border: 1px solid rgb(255 255 255 / 64%); border-radius: 50%; box-shadow: 0 9px 24px rgb(0 0 0 / 26%); font-size: .68rem; font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { background: #278063; }

@keyframes contact-spin { to { transform: rotate(360deg); } }

.success-main { min-height: 100vh; display: grid; place-items: center; padding: 32px; color: var(--contact-paper); background: var(--contact-navy); }
.success-card { width: min(100%, 650px); padding: clamp(30px, 7vw, 68px); background: #101d2e; border: 1px solid rgb(22 104 237 / 63%); text-align: center; }
.success-card .brand { justify-content: center; }
.success-symbol { width: 55px; height: 55px; display: grid; place-items: center; margin: 42px auto 22px; color: #fff; background: var(--contact-accent); border-radius: 50%; font-size: 1.45rem; }
.success-card h1 { max-width: 520px; margin-inline: auto; font-size: clamp(2.65rem, 6vw, 4.5rem); }
.success-card > p:not(.eyebrow) { max-width: 480px; margin: 23px auto 0; color: rgb(247 250 255 / 70%); }
.success-actions, .error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 35px; }
.secondary-action { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; color: inherit; border: 1px solid currentColor; font-size: .79rem; font-weight: 800; text-decoration: none; }
.secondary-action:hover, .secondary-action:focus-visible { color: var(--contact-accent); }

@media (max-width: 800px) {
  .contact-shell { width: min(calc(100% - 32px), var(--contact-shell)); }
  .header-inner { min-height: 61px; gap: 12px; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 34px; height: 34px; }
  .header-nav { display: none; }
  .language-nav { gap: 8px; }
  .language-nav a { font-size: .68rem; }
  .intro-grid, .form-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 48px; padding-block: 71px; }
  h1 { font-size: clamp(3rem, 14vw, 4.9rem); }
  .intro-copy > p:not(.eyebrow) { margin-top: 20px; font-size: .96rem; }
  .contact-promises { margin-top: 29px; }
  .form-grid { gap: 47px; padding-block: 80px; }
  h2 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .contact-form { padding: 23px 18px; box-shadow: 7px 8px 0 #dde8f7; }
  .footer-inner { min-height: 130px; flex-wrap: wrap; gap: 14px 20px; padding-block: 22px; }
  .footer-inner p { flex-basis: 100%; order: 3; }
  .footer-inner > a:last-child { margin-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
