@font-face {
  font-family: "Open Sans";
  src: url("/assets/open-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Raleway;
  src: url("/assets/raleway.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #333333;
  --accent: #010499;
  --paper: #ffffff;
  --white: #fff;
  --button-ink: var(--white);
  --muted: color-mix(in srgb, var(--ink) 78%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 13%, var(--paper));
  --section-bg: color-mix(in srgb, var(--ink) 4%, var(--paper));
  --footer-bg: #20242c;
  --heading: Raleway, Arial, sans-serif;
  font-family: "Open Sans", Arial, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef1f6;
  --accent: #a9baff;
  --paper: #151a23;
  --button-ink: #141b37;
  --footer-bg: #10141c;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: var(--accent); overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; top: 0; left: 1rem; z-index: 3; transform: translateY(-120%); background: var(--paper); padding: .5rem 1rem; }
.skip:focus { transform: translateY(0); }
.wrap { width: min(100% - 3rem, 69.375rem); margin-inline: auto; }

.header { background: var(--paper); }
.header-inner { min-height: 4.6875rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { flex: 0 1 16rem; min-width: 0; }
.brand img { width: 100%; height: auto; }
[data-theme="dark"] .brand img { border-radius: .25rem; }
.desktop-nav { display: flex; align-items: center; gap: clamp(.75rem, 1.7vw, 1.6rem); margin-left: auto; }
.header nav a, .mobile-menu summary {
  color: var(--ink);
  font: 700 .875rem/1.4 var(--heading);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.header nav a:is(:hover, [aria-current="page"]) { color: var(--accent); }
.header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.mobile-menu { display: none; }
.theme-toggle:not([hidden]) { display: grid; }
.theme-toggle { place-items: center; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--section-bg); color: var(--ink); cursor: pointer; }
.theme-toggle:hover { color: var(--accent); border-color: currentColor; }
.theme-moon { width: .95rem; height: .95rem; border-radius: 50%; box-shadow: -.32rem .27rem 0 0 currentColor; transform: translate(.12rem, -.12rem); }
.theme-sun { display: none; font: 1.5rem/1 "Segoe UI Symbol", sans-serif; }
.theme-toggle[aria-pressed="true"] .theme-moon { display: none; }
.theme-toggle[aria-pressed="true"] .theme-sun { display: block; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: .55rem .85rem; border: 0; border-radius: .125rem; font-family: inherit; font-size: .875rem; font-weight: 700; text-decoration: none; }
.button-dark { background: var(--accent); color: var(--button-ink); }
.button-whatsapp { gap: .4rem; background: #14624a; color: var(--white); white-space: nowrap; }
.button-whatsapp img { width: 1.25rem; height: 1.25rem; flex: none; }

.cover { position: relative; isolation: isolate; display: grid; place-items: center; background: #253342; color: var(--white); text-align: center; }
.cover-image, .cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-image { object-fit: cover; z-index: -2; }
.cover::after { content: ""; background: rgb(0 0 0 / 50%); z-index: -1; }
.hero { padding-block: clamp(4.5rem, 9.5vw, 9rem); }
.hero h1 { max-width: 54ch; margin-inline: auto; font: 400 clamp(1.15rem, 1.8vw, 1.4rem)/1.65 "Open Sans", Arial, sans-serif; }
.page-banner { padding-block: clamp(3.75rem, 7.5vw, 7rem); }
.page-banner h1 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; }
.page-banner p { max-width: 65ch; margin: .7rem auto 0; font-size: clamp(1rem, 1.8vw, 1.25rem); }
h1, h2, h3 { margin: 0; font-family: var(--heading); line-height: 1.25; overflow-wrap: anywhere; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
.section { padding-block: 2.5rem; }
.section-title { margin-bottom: 1.75rem; text-align: center; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.services { padding-bottom: .625rem; background: var(--section-bg); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.875rem; }
.card { display: block; padding: clamp(1.25rem, 3vw, 1.875rem); background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 10%); text-decoration: none; }
.card:is(:hover, :focus-visible) { box-shadow: 0 3px 12px rgb(0 0 0 / 15%); text-decoration: none; }
.card:is(:hover, :focus-visible) h3 { color: var(--accent); }
.card p { margin: .6rem 0; color: var(--muted); }
.card ul, .prose ul, .overview ul { padding-inline-start: 1.3rem; }
.service-image { width: 100%; height: auto; margin-bottom: 1.4rem; }
.overview > p { margin-block: 0 1rem; }
.overview ul.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-block: 1.25rem 1.5rem; padding: 0; }
.roles li { display: block; padding: .65rem .9rem; border: 1px solid var(--line); border-inline-start: 3px solid var(--accent); border-radius: .2rem; background: var(--section-bg); font-weight: 600; overflow-wrap: anywhere; }
.roles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.overview-conclusion { max-width: 78ch; }
.home-contact { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.page-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(13rem, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.prose { padding-inline-end: clamp(1.5rem, 3vw, 2.5rem); border-inline-end: 1px solid var(--line); overflow-wrap: anywhere; }
.prose h2 { font-size: 1.25rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose li + li { margin-top: .35rem; }
.prose .button { margin-top: .75rem; }
.contact-panel { display: grid; gap: .9rem; min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--section-bg); }
.contact-panel h2 { font-size: 1.25rem; }
.contact-panel .email { font-size: .875rem; text-align: center; text-underline-offset: .18em; }
.contact-panel .button-whatsapp { min-height: 2.75rem; padding: .65rem .75rem; border-radius: .4rem; white-space: normal; }
.contact-panel .button-whatsapp:hover { background: #104e3b; }
.contact-panel .button-whatsapp + .email { padding-top: .85rem; border-top: 1px solid var(--line); }
.home-contact .contact-panel {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border-inline-start: .25rem solid var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--paper));
}
.home-contact h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.home-contact .email { justify-self: start; padding-block: .55rem; text-align: start; }
.home-contact .button-whatsapp + .email { padding-top: .55rem; border-top: 0; }
.contact-email-label { display: none; }
@media (max-width: 43rem) {
  .home-contact { margin-top: 1.25rem; }
  .home-contact .contact-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: .75rem; }
  .home-contact h2 { grid-column: 1 / -1; font-size: 1.25rem; }
  .home-contact .email {
    display: grid;
    place-items: center;
    justify-self: stretch;
    min-height: 2.75rem;
    padding: .4rem;
    border: 1px solid var(--line);
    border-radius: .4rem;
    background: var(--paper);
    font-weight: 700;
    text-decoration: none;
  }
  .home-contact .button-whatsapp + .email { padding-top: .4rem; border-top: 1px solid var(--line); }
  .home-contact .email:hover { text-decoration: underline; }
  .home-contact .button-whatsapp { padding: .4rem; }
  .home-contact .contact-address { display: none; }
  .home-contact .contact-email-label { display: inline; }
}
.footer { background: var(--footer-bg); color: #d1d6e1; padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid #404956; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 4rem); font-size: .9375rem; }
.footer h2 { margin-bottom: .85rem; color: var(--white); font-size: 1.0625rem; }
.footer nav { display: grid; justify-items: start; gap: .25rem; }
.footer a { color: inherit; text-underline-offset: .2em; }
.footer a:hover { color: var(--white); }
.footer nav a { padding-block: .1rem; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer address { font-style: normal; }
.footer address a { display: inline-block; margin-bottom: .45rem; color: var(--white); }
.footer p { margin: 0 0 .45rem; }
@media (max-width: 61rem) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu { margin-inline-start: auto; }
  .mobile-menu summary { cursor: pointer; }
  .header { position: relative; z-index: 1; }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; padding: .65rem 1.5rem; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 4px 8px rgb(0 0 0 / 12%); }
  .mobile-menu nav a { padding: .6rem 0; }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .cards, .page-layout, .footer-inner { grid-template-columns: 1fr; }
  .prose { padding-inline-end: 0; border-inline-end: 0; }
  .overview ul.roles { grid-template-columns: 1fr; }
  .page-layout .contact-panel { width: min(100%, 23rem); }
}
@media (max-width: 27rem) {
  .header-inner { gap: .6rem; }
}
