@charset "UTF-8";

@font-face {
  font-family: "Tw Cen MT";
  src: url("../fonts/TwCenMT.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Tw Cen MT";
  src: url("../fonts/TwCenMTBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}


:root {
  --navy: #151462;
  --sky: #a9e9ff;
  --pale-ice: #d5e6f0;

  --text: #111344;
  --muted: #333f58;
  --line: #9ab8cb;
  --page-bg: #edf4f8;
  --surface: #ffffff;
  --surface-alt: #e3eff6;
  --surface-blue: #dcebf3;
  --surface-ice: #d6ecf8;
  --header-bg: #d2e8f4;
  --field-bg: #ffffff;

  --selected-bg: #d6ebf7;
  --selected-border: #151462;
  --hover-border: #3d6d89;
  --focus-ring: rgba(21, 20, 98, 0.22);
  --button-primary-bg: var(--navy);
  --button-primary-hover: #25237a;
  --button-primary-text: #ffffff;
  --button-outline-border: var(--navy);
  --nav-active-line: var(--navy);
  --nav-hover-bg: rgba(21, 20, 98, 0.06);
  --nav-active-bg: rgba(21, 20, 98, 0.11);

  --route-connector: #3b718f;
  --scrollbar-track: var(--pale-ice);
  --scrollbar-thumb: var(--navy);
  --scrollbar-thumb-hover: #29277e;
  --step-marker-bg: var(--navy);
  --step-marker-text: #ffffff;
  --step-current-text: var(--navy);
  --step-done-text: var(--muted);
  --progress-track: #8db1c7;
  --progress-active: var(--navy);
  --progress-number-border: #5c8aa4;
  --progress-done-border: var(--navy);
  --hours-card-bg: var(--navy);
  --hours-card-text: #ffffff;
  --hours-card-accent: var(--sky);
  --hero-bg: var(--navy);
  --hero-text: #ffffff;
  --hero-copy: #f0f6ff;
  --footer-bg: #151462;
  --footer-text: #ffffff;
  --footer-muted: #dbe6ff;
  --footer-divider: rgba(219, 230, 255, 0.22);
  --placeholder: #5a697f;
  --error-text: #9e1c1c;
  --pattern-ice: url("../img/ice-pattern.svg");
  --pattern-frost: url("../img/frost-pattern.svg");

  --fab-shadow: 0 2px 8px rgba(17, 19, 68, 0.12);
  --fab-shadow-hover: 0 4px 12px rgba(17, 19, 68, 0.18);

  --md-shape-sm: 8px;
  --md-shape-lg: 12px;
  --md-shape-full: 999px;

  --md-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --md-easing-emphasized: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
  --container: 1100px;
  --header-height: 86px;
  --button-font-size: clamp(1.12rem, 1.35vw, 1.24rem);
  --font: "Tw Cen MT", "Century Gothic", "Trebuchet MS", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

body {
  margin: 0;
  font: 400 18px/1.48 var(--font);
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border: 3px solid var(--scrollbar-track);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.023em;
  font-weight: 700;
}

h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
}

h3 {
  font-size: 1.75rem;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.form-step h3:focus,
#contenido:focus,
.quote-confirmation:focus {
  outline: none;
}

.form-step h3:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.container {
  width: min(calc(100% - clamp(48px, 8.5vw, 132px)), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 100;
  background: var(--surface);
  padding: 12px 18px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

:root[data-color-scheme="dark"] {
  --text: #e8edf4;
  --muted: #b8c5d3;
  --line: #435668;
  --page-bg: #111923;
  --surface: #1b2632;
  --surface-alt: #222f3c;
  --surface-blue: #16232f;
  --surface-ice: #263945;
  --header-bg: #202b3a;
  --sky: #a9cbd8;
  --field-bg: #16202b;
  --selected-bg: #233744;
  --selected-border: #7cb0c4;
  --hover-border: #5c8a9c;
  --focus-ring: rgba(169, 203, 216, 0.28);
  --button-primary-bg: #a9cbd8;
  --button-primary-hover: #c6e0e9;
  --button-primary-text: #111923;
  --button-outline-border: #a9cbd8;
  --nav-active-line: var(--sky);
  --nav-hover-bg: rgba(232, 237, 244, 0.07);
  --nav-active-bg: rgba(169, 203, 216, 0.14);
  --route-connector: var(--text);
  --pale-ice: #1b2632;
  --scrollbar-track: var(--page-bg);
  --scrollbar-thumb: #46596a;
  --scrollbar-thumb-hover: #5a7184;
  --step-marker-bg: #3a4652;
  --step-marker-text: #f2f5f8;
  --step-current-text: var(--text);
  --step-done-text: var(--muted);
  --progress-track: #34414e;
  --progress-active: #788796;
  --progress-number-border: #4a5967;
  --progress-done-border: #4a5967;
  --hours-card-bg: #2b3743;
  --hours-card-text: var(--text);
  --hours-card-accent: var(--text);
  --hero-bg: #1b2632;
  --hero-text: var(--text);
  --hero-copy: var(--muted);
  --footer-bg: #202b3a;
  --footer-text: var(--text);
  --footer-muted: var(--muted);
  --footer-divider: var(--line);
  --placeholder: #9eacba;
  --error-text: #ffaaaa;
  --pattern-ice: url("../img/ice-pattern-dark.svg");
  --pattern-frost: url("../img/frost-pattern-dark.svg");
  --fab-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  --fab-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

