:root {
  color-scheme: light;
  --navy: #112734;
  --teal: #146b69;
  --pale: #eaf6f5;
  --paper: #fcfefd;
  --muted: #425862;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #21938d; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; padding: 12px; background: white; z-index: 2; }
.skip:focus { top: 8px; }
.site-header { position: sticky; top: 0; z-index: 1; background: #fff; }
main, main section[id] { scroll-margin-top: var(--header-height, 76px); }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header { min-height: 76px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { height: auto; }
nav { display: flex; gap: clamp(20px, 3vw, 42px); }
nav a { font-size: .93rem; text-decoration: none; font-weight: 650; }
nav a:hover, footer button:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border-radius: 8px; padding: 10px 20px; background: var(--teal); color: white; font-weight: 700; text-decoration: none; text-align: center; }
.button:hover { background: #0a5352; }
.button.small { border-radius: 40px; min-height: 40px; font-size: .9rem; }
.button.light { background: #fff; color: var(--navy); }
.button.light:hover { background: #d9f0ee; }
.button.whatsapp-button { gap: 7px; }
.whatsapp-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.button.light .whatsapp-icon { color: #087d4b; }
.hero { color: white; background: #29231d url("assets/hero.webp") center 52% / cover no-repeat; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,16,13,.9), rgba(20,16,13,.66) 37%, rgba(20,16,13,.15) 70%, transparent); }
.hero-inner { display: flex; align-items: center; min-height: 468px; padding-block: 52px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: #e0eae8; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 15px; font-size: clamp(3.1rem, 5.4vw, 5rem); font-weight: 820; line-height: .99; letter-spacing: -.06em; }
h2 { font-size: clamp(1.8rem, 3.35vw, 2.55rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; margin-bottom: 20px; }
p { line-height: 1.55; }
.lead { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.intro { max-width: 395px; color: #f2eee9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.section { padding-block: 42px; }
#examples > h2, .services h2 { text-align: center; margin-bottom: 26px; }
#examples > h2::after, .services h2::after { content: ""; display: block; width: 54px; height: 3px; margin: 15px auto 0; background: #5ba9a3; border-radius: 100%; }
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.example { overflow: hidden; border-radius: 14px; background: #283639; position: relative; isolation: isolate; color: white; }
.example img { width: 100%; height: auto; aspect-ratio: 1.74; object-fit: cover; }
.example:first-child img { object-position: center 47%; }
.example-copy { position: absolute; inset: auto 0 0; display: flex; gap: 13px; align-items: center; width: 100%; padding: 45px 22px 20px; color: white; background: linear-gradient(transparent, rgba(13,18,20,.88) 72%); }
.example-copy h3, .example-copy strong { display: block; margin: 0 0 4px; font-size: 1.23rem; line-height: 1.15; font-weight: 750; }
.example-copy p, .example-copy strong + span { margin: 0; line-height: 1.35; }
.media-icon { flex: 0 0 38px; height: 38px; border: 1px solid #fff; border-radius: 50%; display: grid; place-items: center; }
.video-trigger { border: 0; text-align: left; }
.video-trigger:hover .media-icon { background: white; color: var(--navy); }
.video-trigger:focus-visible { outline-offset: -5px; }
.samples-note { margin: 10px 0 0; text-align: right; color: var(--muted); font-size: .875rem; }
.services { background: var(--pale); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid article { padding: 0 22px; }
.service-grid article + article { border-left: 1px solid #c5e0de; }
.service-icon { display: inline-grid; place-items: center; width: 42px; height: 40px; border-radius: 11px; background: #cce9e6; color: #125854; font-size: 1.6rem; margin-bottom: 12px; line-height: 1; }
.service-grid h3 { font-size: 1.18rem; line-height: 1.13; margin-bottom: 8px; }
.service-grid p, .about p { color: var(--muted); margin-bottom: 0; }
.about { display: grid; grid-template-columns: minmax(190px, 260px) 1fr minmax(145px, 185px); align-items: center; gap: 32px; }
.portrait { width: 100%; aspect-ratio: 1.08; object-fit: cover; object-position: center top; border-radius: 14px; }
.about h2 { margin-bottom: 10px; }
.about p + p { margin-top: 10px; }
.about strong { color: var(--teal); }
.aside { padding: 21px; border-radius: 5px 15px 8px 14px; background: var(--pale); color: #124b4a; font-family: Georgia, serif; font-style: italic; font-size: 1.24rem; line-height: 1.32; transform: rotate(-3deg); }
.contact { background: linear-gradient(110deg,#144f56,#122d3b); color: white; text-align: center; }
.contact-actions { justify-content: center; align-items: center; }
.email-link { display: inline-flex; align-items: center; min-height: 46px; }
.contact h2 { margin-bottom: 9px; }
.footer { min-height: 76px; font-size: .88rem; }
.footer p { margin: 0; color: var(--muted); }
.footer button { padding: 10px; border: 0; background: none; color: var(--navy); }
dialog { width: min(620px, calc(100% - 32px)); max-height: 90vh; border: 0; border-radius: 16px; padding: 24px; color: var(--navy); box-shadow: 0 18px 60px #0006; }
dialog::backdrop { background: #07161ac9; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.dialog-head h2 { font-size: 1.65rem; }
.dialog-head button { border: 0; background: var(--pale); border-radius: 50%; width: 40px; height: 40px; font-size: 1.45rem; }
dialog video { display: block; width: 100%; max-height: 68vh; background: #122734; border-radius: 9px; }
@media (max-width: 850px) {
  .about { grid-template-columns: 200px 1fr; gap: 24px; }
  .aside { grid-column: 2; transform: none; }
  .service-grid article { padding-inline: 14px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .header { flex-wrap: wrap; gap: 0 8px; padding-top: 12px; }
  .header .brand img { width: 150px; }
  nav { order: 3; width: 100%; justify-content: center; gap: 24px; }
  nav a { padding-block: 12px; }
  .hero { background-position: 67% top; }
  .hero::before { background: linear-gradient(90deg,rgba(20,16,13,.91),rgba(20,16,13,.66)); }
  .hero-inner { min-height: 0; padding-block: 54px; }
  h1 { font-size: clamp(2.65rem, 10vw, 3.75rem); }
  .eyebrow { font-size: .79rem; }
  .section { padding-block: 34px; }
  .examples { grid-template-columns: 1fr; gap: 14px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 22px 15px; }
  .service-grid article { padding: 0; }
  .service-grid article + article { border: 0; }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .portrait { width: min(100%, 330px); }
  .aside { grid-column: auto; }
  .footer { flex-wrap: wrap; justify-content: space-between; gap: 5px 16px; padding-block: 15px; }
  .footer p { order: 3; flex-basis: 100%; }
}
@media (max-width: 359px) {
  .header .whatsapp-button { padding-inline: 15px; }
  .hero-inner { padding-block: 36px; }
  .hero h1 { font-size: clamp(1.75rem, 10.5vw, 2.3rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero .actions { gap: 8px; margin-top: 18px; }
  .hero .actions .button { padding-inline: 12px; }
}

.image-gallery { width: min(1020px, calc(100% - 32px)); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; height: auto; border-radius: 9px; }
.gallery-grid figcaption { margin-top: 8px; font-weight: 650; }
@media (max-width: 740px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
