@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #0b48d8;
  --blue-dark: #071640;
  --blue-soft: #eaf4ff;
  --cyan: #168de8;
  --orange: #ff5a16;
  --yellow: #ffb800;
  --green: #17b84e;
  --pink: #f12287;
  --purple: #6339df;
  --brown: #7e320e;
  --ink: #06153d;
  --muted: #4b5c80;
  --surface: #ffffff;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  background: #eef3fa;
  color: var(--ink);
  font-family: 'Raleway', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
.sr-only, .rating-field legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.digital-card {
  position: relative;
  width: min(100%, 430px);
  height: 100svh;
  min-height: 640px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background: #f5f9ff;
}
.digital-card::before,
.digital-card::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
}
.digital-card::before {
  z-index: -2;
  background: url('uniformes-vertical-4k.jpg') center / cover no-repeat;
  transform: scale(1.015);
}
.digital-card::after {
  z-index: -1;
  background: rgba(247, 251, 255, .76);
}
.layered-bg {
  display: none;
}
.layered-bg svg { width: 100%; height: 100%; display: block; }
.wave { transform-origin: 50% 100%; }
.wave-back { fill: #dceeff; }
.wave-mid { fill: #acd4ff; opacity: .78; }
.wave-front { fill: #75adfa; opacity: .72; }

.screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(18px, env(safe-area-inset-top)) 20px max(22px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(24px, 0, 0);
  will-change: transform, opacity;
  transition: opacity .24s ease, transform .38s var(--ease-out), visibility 0s linear 0s;
}
.screen.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}
.screen.is-exiting { transform: translate3d(-18px, 0, 0); }

.screen-home { justify-content: flex-start; padding-bottom: 144px; text-align: center; }
.home-content { display: grid; justify-items: center; }
.hero-brand {
  width: clamp(146px, 45vw, 190px);
  height: clamp(146px, 45vw, 190px);
  margin: 4px auto 10px;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px rgba(14, 64, 150, .12));
}
.home-message { position: relative; z-index: 2; }
.home-message h1 {
  max-width: 330px;
  margin: 0 auto 15px;
  font-size: clamp(28px, 8.5vw, 39px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
}
.home-message h1 strong { display: block; color: var(--blue); font-size: 1.22em; font-weight: 800; }
.brand-rule { display: flex; width: 148px; height: 5px; margin: 0 auto 18px; overflow: hidden; border-radius: 999px; }
.brand-rule i { flex: 1; }
.brand-rule i:nth-child(1) { background: var(--blue); }
.brand-rule i:nth-child(2) { background: var(--cyan); }
.brand-rule i:nth-child(3) { background: var(--orange); }
.brand-rule i:nth-child(4) { background: var(--yellow); }
.home-message p {
  max-width: 290px;
  margin: 0 auto;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
.trust-row, .review-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: clamp(30px, 7vh, 68px);
}
.trust-row div, .review-values div { display: grid; justify-items: center; align-content: start; gap: 8px; font-size: 11px; line-height: 1.25; font-weight: 600; }
.trust-row svg, .review-values svg { width: 30px; height: 30px; color: var(--blue-dark); stroke-width: 1.8; }
.home-cta {
  position: absolute;
  right: 20px;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 20px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.primary-button {
  min-height: 58px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 15px 24px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 7px 8px rgba(11, 72, 216, .18);
  cursor: pointer;
  will-change: transform;
  transition: transform .2s var(--ease-out), background-color .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translate3d(0, -2px, 0); background: #073ebc; box-shadow: 0 8px 8px rgba(11, 72, 216, .22); }
.primary-button:active { transform: scale(.985); }
.primary-button svg { width: 22px; height: 22px; transition: transform .2s var(--ease-out); }
.primary-button:hover svg { transform: translate3d(4px, 0, 0); }
.round-button, .nav-icon {
  border: 1px solid rgba(5, 48, 128, .12);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .2s ease;
}
.round-button { width: 46px; height: 46px; border-radius: 50%; }
.round-button:hover, .nav-icon:hover { transform: translate3d(0, -2px, 0); background: #fff; }
.round-button svg, .nav-icon svg { width: 22px; height: 22px; }

.screen-topbar {
  flex: 0 0 auto;
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.screen-topbar > strong { text-align: center; font-size: 16px; }
.nav-icon { width: 42px; height: 42px; border-radius: 50%; }
.screen-menu .screen-topbar { grid-template-columns: 44px 1fr 44px; }
.screen-menu .screen-topbar .nav-icon:last-child { grid-column: 3; }
.topbar-spacer { width: 42px; }

.internal-heading {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  margin: 0 auto 17px;
}
.internal-heading img {
  width: 136px;
  height: 136px;
  object-fit: contain;
  margin: -8px 0 -3px;
  filter: drop-shadow(0 4px 4px rgba(14, 64, 150, .08));
}
.internal-heading h2 {
  max-width: 320px;
  margin: 0;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.internal-heading p { margin: 5px 0 0; font-size: 13px; }
.internal-heading.compact { margin-bottom: 8px; }
.internal-heading.compact img { width: 112px; height: 112px; margin-top: -18px; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.quick-action {
  min-height: 118px;
  border: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 13px 9px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(30, 78, 150, .09);
  cursor: pointer;
  will-change: transform;
  transition: transform .22s var(--ease-out), box-shadow .22s ease;
}
.quick-action:hover { transform: translate3d(0, -4px, 0); box-shadow: 0 8px 8px rgba(30, 78, 150, .13); }
.quick-action:active { transform: scale(.98); }
.quick-action strong { font-size: 13px; line-height: 1.15; text-wrap: balance; }
.quick-action small { max-width: 125px; color: var(--muted); font-size: 10px; line-height: 1.25; }
.quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
}
.quick-icon svg { width: 24px; height: 24px; stroke-width: 2.2; }
.quick-icon.blue { background: var(--blue); }
.quick-icon.pink { background: var(--pink); }
.quick-icon.orange { background: var(--orange); }
.quick-icon.green { background: var(--green); }
.quick-icon.purple { background: var(--purple); }
.quick-icon.brown { background: var(--brown); }
.quick-icon.yellow { background: var(--yellow); color: var(--ink); }
.screen-menu .quick-action:nth-child(1) { order: 1; }
.screen-menu .quick-action:nth-child(8) { order: 2; }
.screen-menu .quick-action:nth-child(5) { order: 3; }
.screen-menu .quick-action:nth-child(6) { order: 4; }
.screen-menu .quick-action:nth-child(3) { order: 5; }
.screen-menu .quick-action:nth-child(4) { order: 6; }
.screen-menu .quick-action:nth-child(7) { order: 7; }
.screen-menu .quick-action:nth-child(2) { order: 8; }
.screen-menu .quick-action:nth-child(1) .quick-icon,
.screen-menu .quick-action:nth-child(8) .quick-icon { background: var(--blue); }
.screen-menu .quick-action:nth-child(5) .quick-icon,
.screen-menu .quick-action:nth-child(6) .quick-icon { background: var(--orange); }
.screen-menu .quick-action:nth-child(3) .quick-icon,
.screen-menu .quick-action:nth-child(4) .quick-icon { background: var(--yellow); color: var(--ink); }
.screen-menu .quick-action:nth-child(2) .quick-icon,
.screen-menu .quick-action:nth-child(7) .quick-icon { background: var(--brown); }
.menu-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 2px 4px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  text-align: center;
}
.menu-trust svg { width: 21px; height: 21px; color: var(--blue); }

.review-panel, .email-panel {
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 5px 8px rgba(30, 78, 150, .1);
}
.review-panel { padding: 24px 16px 17px; text-align: center; }
.review-panel h2 { max-width: 330px; margin: 0 auto 12px; font-size: 22px; line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.review-panel > p { max-width: 290px; margin: 0 auto 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.rating-field {
  border: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
}
.rating-field button {
  width: 43px;
  height: 43px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--yellow);
  cursor: pointer;
  will-change: transform;
  transition: transform .18s var(--ease-out);
}
.rating-field button:hover { transform: scale(1.12); }
.rating-field button svg { width: 35px; height: 35px; stroke-width: 1.9; transition: fill .18s ease; }
.rating-field button.is-selected svg { fill: var(--yellow); }
.review-copy {
  position: relative;
  display: block;
  text-align: left;
}
.review-copy > span { display: block; margin: 0 10px 7px; color: var(--muted); font-size: 11px; }
.review-copy textarea {
  width: 100%;
  min-height: 126px;
  resize: vertical;
  border: 1px solid #cfd9e8;
  border-radius: 13px;
  padding: 13px 13px 30px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.review-copy textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,72,216,.12); }
.review-copy output { position: absolute; right: 12px; bottom: 9px; color: var(--muted); font-size: 10px; }
.review-submit { min-height: 54px; margin-top: 14px; border-radius: 13px; }
.review-values {
  position: absolute;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
  z-index: 2;
  margin-top: 0;
}
.screen-review { padding-bottom: 112px; }
.review-values svg { width: 27px; height: 27px; }
.review-values div { font-size: 10px; }

.email-panel { padding: 15px 11px 12px; }
.email-intro {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 11px;
  padding: 0 3px 13px;
}
.email-intro h2 { margin: 0 0 3px; font-size: 17px; line-height: 1.15; }
.email-intro p { margin: 0; color: var(--muted); font-size: 11px; }
.email-list { display: grid; gap: 8px; }
.email-list > a {
  min-height: 64px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 3px 7px rgba(30,78,150,.08);
  will-change: transform;
  transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
.email-list > a:hover { transform: translate3d(3px, 0, 0); box-shadow: 0 5px 8px rgba(30,78,150,.12); }
.email-list .quick-icon { width: 43px; height: 43px; border-radius: 50%; }
.email-list a > span:nth-child(2) { min-width: 0; }
.email-list strong, .email-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.email-list strong { margin-bottom: 3px; font-size: 12px; }
.email-list small { color: var(--blue); font-size: 10px; font-weight: 600; }
.email-list a > svg { width: 19px; height: 19px; color: var(--blue); }
.contact-panel {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) 44px;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  border-radius: 16px;
  padding: 12px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 8px rgba(23,184,78,.18);
}
.contact-panel > svg { width: 42px; height: 42px; padding: 8px; border: 2px solid #fff; border-radius: 50%; }
.contact-panel div { min-width: 0; }
.contact-panel small, .contact-panel strong, .contact-panel span { display: block; }
.contact-panel small { font-size: 10px; font-weight: 700; }
.contact-panel strong { margin: 1px 0 2px; font-size: 16px; white-space: nowrap; }
.contact-panel span { font-size: 9px; }
.contact-panel > a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green); transition: transform .2s var(--ease-out); }
.contact-panel > a:hover { transform: scale(1.08); }
.contact-panel > a svg { width: 21px; height: 21px; }

button:focus-visible, a:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(11,72,216,.3);
  outline-offset: 3px;
}

@keyframes brand-enter {
  from { opacity: 0; transform: translate3d(0,-16px,0) scale(.96); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes content-enter {
  from { opacity: 0; transform: translate3d(0,16px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}

@media (min-width: 600px) {
  body { display: grid; place-items: center; padding: 24px; }
  .digital-card {
    height: min(900px, calc(100vh - 48px));
    min-height: 700px;
    border-radius: 24px;
    box-shadow: 0 14px 32px rgba(14, 40, 88, .15);
  }
}
@media (max-height: 760px) {
  .hero-brand { width: 132px; height: 132px; margin-bottom: 3px; }
  .home-message h1 { font-size: 27px; }
  .trust-row { margin-top: 20px; }
  .home-cta { margin-top: 14px; gap: 10px; }
  .round-button { width: 40px; height: 40px; }
  .internal-heading img { width: 112px; height: 112px; }
  .quick-action { min-height: 103px; }
}
@media (max-width: 360px) {
  .screen { padding-inline: 15px; }
  .quick-grid { gap: 8px; }
  .quick-action { min-height: 110px; padding-inline: 7px; }
  .rating-field { gap: 4px; }
  .rating-field button { width: 39px; }
  .contact-panel strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
