@font-face {
  font-family: Inter;
  src: url('./fonts/inter-latin-variable.woff2') format('woff2');
  font-weight: 400 750;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102f4c;
  --navy: #063969;
  --teal: #006d75;
  --aqua: #ade9e4;
  --wash: #edf9f8;
  --muted: #445d6c;
  --line: #cde0e5;
  --white: #fff;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.09; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.052em; }
h3 { font-size: 1.18rem; letter-spacing: -.024em; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
section[id], #contactos { scroll-margin-top: 1.25rem; }

.container { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: absolute;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  background: var(--white);
}

.site-header { background: var(--white); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-inner { min-height: 5.15rem; }
.brand { display: block; flex: 0 1 auto; }
.brand img { width: 11rem; height: auto; }
nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.35rem); }
nav a, .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9rem;
  font-weight: 680;
  text-decoration: none;
}
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-quote { border: 1px solid #93c6ca; border-radius: 999px; padding-inline: 1rem; color: var(--teal); }
.nav-quote:hover { background: var(--wash); }

.hero { background: linear-gradient(125deg, #effbf9, #e6f4f8); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4.25rem);
}
h1 {
  font-size: clamp(2.65rem, 4.7vw, 4.05rem);
  font-weight: 750;
  letter-spacing: -.065em;
  line-height: 1.025;
  text-wrap: balance;
}
h1 span { display: block; color: var(--teal); }
.intro { max-width: 26rem; margin-top: 1rem; font-size: clamp(1rem, 1.5vw, 1.125rem); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: fit-content;
  min-height: 3.15rem;
  padding: .68rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  font-weight: 710;
  font-size: .925rem;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: var(--navy); color: var(--white); }
.primary:hover { background: #094a83; }
.secondary { background: var(--white); border-color: #8cb8c1; color: var(--navy); }
.secondary:hover { background: #f5fdfc; border-color: var(--teal); }
.chat-icon {
  position: relative;
  width: 1rem;
  height: .83rem;
  border: 1.6px solid currentColor;
  border-radius: .33rem;
}
.chat-icon::after {
  content: '';
  position: absolute;
  left: .13rem;
  bottom: -.26rem;
  width: .31rem;
  height: .31rem;
  border-left: 1.6px solid currentColor;
  background: inherit;
  transform: skewY(-35deg);
}
.contact-status { margin-top: .75rem; font-size: .875rem; }
.hero-photo {
  position: relative;
  isolation: isolate;
  background: #b1dcd9;
  border-radius: 1.3rem;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.19;
  object-fit: cover;
  object-position: 52% 50%;
}
.hero-photo figcaption {
  position: absolute;
  inset: auto auto .85rem .85rem;
  padding: .4rem .7rem;
  border-radius: .45rem;
  background: var(--white);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 650;
}

.section { padding-block: clamp(2rem, 4.25vw, 3.5rem); }
.section-heading { margin-bottom: 1.25rem; }
.section-heading p, .coverage p { margin-top: .65rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: clamp(.8rem, 1.75vw, 1.3rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fbfdfd;
  color: var(--navy);
  text-decoration: none;
}
.service-card:hover { border-color: #93c6ca; background: var(--wash); }
.service-name { font-weight: 700; line-height: 1.3; text-decoration: underline; text-underline-offset: .2em; }
.service-description { margin-top: .35rem; font-size: .9375rem; line-height: 1.45; }
.service-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: .7rem;
  background: #dff4f2;
  color: var(--teal);
  font-family: system-ui, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal);
  font-size: .9375rem;
  font-weight: 720;
  text-underline-offset: .2em;
}
.contact-link:hover { text-decoration-thickness: 2px; }

.coverage { background: var(--wash); border-block: 1px solid #dceeed; }
.coverage-inner { padding-block: clamp(1.75rem, 4vw, 3rem); }
.area-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.area-list li { padding: .35rem .75rem; border: 1px solid #9fcdd1; border-radius: 999px; }
.evidence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.5rem; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.photo-grid:not(:empty), #review-list:not(:empty) { margin-top: 1rem; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .65rem; }
.photo-grid figcaption, .review figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.review + .review { margin-top: .75rem; }
.review { padding-left: .9rem; border-left: 2px solid #63bcb9; overflow-wrap: anywhere; }

.quote-section { background: #092d4f; color: var(--white); }
.quote-inner {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 6.5rem);
  padding-block: clamp(2.75rem, 6.5vw, 5.5rem);
}
.contact-box { margin-top: 1.75rem; padding-top: 1.35rem; border-top: 1px solid #517088; }
.contact-box p { margin-top: .65rem; color: #d5e6ef; }
.contact-box a { color: var(--aqua); }
.contact-box a:focus-visible { outline-color: var(--aqua); }
.quote-form { background: var(--white); color: var(--ink); border-radius: 1rem; padding: clamp(1.15rem, 3.5vw, 2.1rem); }
.quote-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .35rem; font-size: .9375rem; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 450; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: .6rem .8rem;
  background-color: #f8fbfd;
  border: 1px solid #91aebd;
  border-radius: .55rem;
  color: var(--ink);
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #a02525; }
.field-error { margin-top: .3rem; color: #a02525; font-size: .875rem; }
.message-preview { margin-top: 1.1rem; padding: 1rem; background: var(--wash); border-radius: .65rem; }
.message-preview p { margin-top: .45rem; }
#message-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.site-footer { background: #f4f9fb; }
.footer-inner { min-height: 5.5rem; }
.footer-inner .brand img { width: 8.75rem; }

@media (max-width: 960px) {
  .actions .button { padding-inline: .85rem; }
}
@media (max-width: 740px) {
  .container { width: min(100% - 2rem, 34rem); }
  .header-inner { min-height: 4.4rem; gap: .55rem; }
  .brand img { width: 8rem; }
  nav { gap: .75rem; }
  nav a { font-size: .875rem; }
  .nav-quote { padding-inline: .55rem; }
  .hero-inner, .quote-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 1.4rem; padding-block: 2rem 1.65rem; }
  h1 { font-size: clamp(2.42rem, 7.5vw, 3.6rem); }
  .hero-photo img { aspect-ratio: 1.56; }
  .actions { margin-top: 1.25rem; }
  .service-grid { grid-template-columns: 1fr; gap: .75rem; }
  .quote-form button { width: 100%; }
}
@media (max-width: 350px) {
  nav { gap: .5rem; }
  .header-inner .brand img { width: 5.8rem; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
}
