@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: "Open Sans";
  src: url("/assets/open-sans-light-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  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: #273244;
  --accent: #215b67;
  --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));
  --contact-start: #f6f9fe;
  --contact-end: #eaf1fb;
  --contact-ink: #213859;
  --whatsapp-background: #116149;
  --whatsapp-ink: #fff;
  --footer-bg: #202936;
  --footer-ink: #d7dfeb;
  --heading: Raleway, Arial, sans-serif;
  font-family: "Open Sans", Arial, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef2f8;
  --accent: #9dcfd5;
  --paper: #151a23;
  --button-ink: #142c33;
  --contact-start: #1e2730;
  --contact-end: #25343a;
  --contact-ink: #f5f8ff;
  --whatsapp-background: #236450;
  --whatsapp-ink: #f3fff9;
  --footer-bg: #10141c;
  --footer-ink: #cbd5e5;
}
*, *::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%; height: auto; }
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%; }
[data-theme="dark"] .brand img {
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
}
.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: 0; border-radius: .5rem; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--section-bg); color: var(--accent); }
.theme-toggle svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.theme-sun { display: none; }
.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); }
.site-about {
  width: min(34rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 60px rgb(0 0 0 / 30%);
}
.site-about::backdrop { background: rgb(8 15 24 / 65%); }
.site-about h2 { font-size: clamp(1.45rem, 4vw, 1.8rem); }
.site-about p { margin-block: .9rem; }
.site-about form { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
.site-about button { min-height: 2.75rem; padding-inline: 1rem; border-radius: .4rem; cursor: pointer; }
.button-whatsapp { gap: .4rem; background: var(--whatsapp-background); color: var(--whatsapp-ink); white-space: nowrap; }
.button-whatsapp img { width: 1.25rem; flex: none; }

.cover {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  /* Wide layouts follow the proportions of the 1500 × 403 banner photos. */
  min-block-size: clamp(20rem, 26.87vw, 36rem);
  padding-block: 1.25rem;
  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; object-position: var(--banner-image-position, center); z-index: -2; }
.cover::after { content: ""; background: rgb(0 0 0 / 50%); z-index: -1; }
.cover-text { width: min(100% - 3rem, 90rem); }
.cover-text > :is(h1, p) {
  letter-spacing: .4px;
  text-shadow: 0 2px 8px rgb(0 0 0 / 15%);
}
.page-banner h1:not(.banner-intro) {
  text-transform: uppercase;
  font-family: var(--header-font-family, "Open Sans"), Helvetica, Arial, sans-serif;
  font-style: var(--header-font-style, normal);
  font-weight: var(--header-font-weight, 700);
  font-size: var(--header-font-size, clamp(1.375rem, 2.5vw, 2rem));
  line-height: 1.3;
}
.cover-text > .banner-intro {
  font-family: var(--banner-intro-font-family, "Open Sans"), Helvetica, Arial, sans-serif;
  font-style: var(--banner-intro-font-style, italic);
  font-weight: var(--banner-intro-font-weight, 300);
  font-size: var(--banner-intro-font-size, clamp(1.125rem, 1.9vw, 1.375rem));
  line-height: 1.65;
}
.privacy-banner { --banner-image-position: 38% 43%; }
.privacy-banner::after { background: rgb(0 0 0 / 58%); }
.page-banner p { margin: .7rem auto 0; }
.privacy-banner .banner-intro { max-width: 78ch; text-wrap: balance; }
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(--paper); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.875rem; }
.card { display: block; padding: clamp(1.25rem, 3vw, 1.875rem); border: 1px solid var(--line); 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%; 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; }
.page-layout .contact-panel { align-self: center; }
.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 .service-commitments {
  margin-block: .8rem 1.25rem;
  padding: .3rem clamp(.9rem, 2vw, 1.4rem) .3rem clamp(1.75rem, 3vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--section-bg);
}
.service-commitments li { padding-block: .65rem; color: var(--muted); }
.service-commitments li::marker { color: var(--accent); }
.service-commitments strong { color: var(--ink); }
.prose .service-commitments li + li { margin-top: 0; border-top: 1px solid var(--line); }
.prose .button { margin-top: .75rem; }
.contact-panel {
  display: grid;
  gap: .9rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid color-mix(in srgb, var(--contact-end) 78%, var(--contact-ink));
  border-radius: .85rem;
  background: linear-gradient(115deg, var(--contact-start), var(--contact-end));
  color: var(--contact-ink);
}
.contact-panel h2 { font-size: 1.25rem; }
.contact-panel .button { min-height: 2.75rem; padding: .55rem .75rem; border-radius: .4rem; white-space: normal; }
.contact-panel .button-whatsapp:hover { background: color-mix(in srgb, var(--whatsapp-background) 90%, var(--whatsapp-ink)); }
.contact-panel .button-email { border: 1px solid color-mix(in srgb, var(--contact-ink) 65%, var(--contact-end)); background: transparent; color: var(--contact-ink); }
.contact-panel .button-email:hover { border-color: var(--contact-ink); background: color-mix(in srgb, var(--contact-ink) 10%, transparent); }
.home-contact .contact-panel {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 3vw, 1.75rem);
}
.home-contact h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.home-contact .button { min-width: 6rem; }
@media (max-width: 43rem) {
  .home-contact { margin-top: 1.25rem; }
  .contact-panel, .home-contact .contact-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: .75rem; }
  .contact-panel h2 { grid-column: 1 / -1; font-size: 1.25rem; }
  .contact-panel .button { min-width: 0; padding: .4rem; }
}
.footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: clamp(1rem, 2.25vw, 1.75rem); border-top: 1px solid color-mix(in srgb, var(--footer-bg) 80%, var(--footer-ink)); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.4fr); gap: 1rem clamp(1.5rem, 5vw, 4rem); font-size: .9375rem; line-height: 1.5; }
.footer h2 { margin-bottom: .4rem; color: var(--white); font-size: 1.0625rem; }
.footer nav { display: grid; justify-items: start; }
.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: .2rem; color: var(--white); }
.footer p { margin: 0; }
.footer p + p { margin-top: .2rem; }
@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; }
}
