:root {
  --paper: #efebe0;
  --paper-soft: #efebe0;
  --ink: #26313d;
  --muted: #737373;
  --blue: #162c40;
  --blue-soft: #434b57;
  --clay: #935233;
  --rose: #b68d79;
  --peach: #f1c9b9;
  --white: #ffffff;
  --shadow: 0 16px 30px rgba(34, 33, 31, 0.16);
  --script-font: Allura, "Brush Script MT", "Segoe Script", cursive;
  --body-font: Mosk, Avenir, "Trebuchet MS", Arial, sans-serif;
}

@font-face {
  font-family: Allura;
  src: url("fontes/allura-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Mosk;
  src: url("fontes/mosk-normal-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(22px, 8vw, 130px);
  background: rgba(241, 238, 229, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(210px, 23vw, 390px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px auto;
  background: #121212;
}

.section {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 62px 0;
  scroll-margin-top: 118px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 110px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-soft);
  font-size: clamp(15px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  text-align: center;
}

h1,
h2 {
  margin: 0;
  color: var(--clay);
  font-family: var(--script-font);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.15;
}

h3 {
  margin: 0;
}

.lead {
  max-width: 650px;
  margin: 30px 0 24px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 25px);
}

.support {
  max-width: 620px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 17px;
  text-align: center;
}

.photo-card {
  overflow: hidden;
  min-height: 280px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.main-photo {
  width: 100%;
  height: 490px;
  min-height: 490px;
  object-position: 45% 70%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.button-row.stacked {
  align-items: flex-start;
  flex-direction: column;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 220px;
  padding: 12px 28px;
  border-radius: 999px;
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.button.primary {
  background: var(--blue);
}

.button.secondary {
  background: #84909d;
}

.button.dark {
  background: #31373c;
}

.button.small {
  min-width: 160px;
  min-height: 46px;
  font-size: 16px;
}

.centered {
  text-align: center;
}

.section-intro {
  margin: 28px auto 58px;
  color: var(--muted);
  font-size: 20px;
}

.section-intro.left {
  margin: 28px 0 56px;
  max-width: 980px;
}

.dark-card-grid,
.soft-card-grid {
  display: grid;
  gap: 30px;
}

.dark-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dark-card {
  min-height: 235px;
  padding: 34px 38px;
  border-radius: 26px;
  background: var(--blue-soft);
  box-shadow: var(--shadow);
  color: rgba(255, 255, 255, 0.66);
}

.dark-card h3 {
  margin-bottom: 22px;
  color: var(--peach);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.55;
  text-transform: uppercase;
}

.dark-card p {
  margin: 0;
  font-size: 18px;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.about-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.portrait {
  width: 100%;
  height: 650px;
  min-height: 650px;
}

.portrait-left {
  object-position: 48% 35%;
}

.portrait-right {
  object-position: 48% 46%;
}

.about-copy {
  text-align: center;
}

.about-copy p {
  margin: 20px auto;
  max-width: 660px;
  font-size: 16px;
}

.about-copy .button-row {
  justify-content: center;
  margin-top: 34px;
}

.services-band {
  padding: 62px 22px 70px;
  background: var(--clay);
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  scroll-margin-top: 118px;
}

.services-band h2 {
  color: #fff0e9;
}

.service-grid {
  display: grid;
  width: min(900px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  margin: 58px auto 46px;
}

.service-grid h3 {
  color: #fff0e9;
  font-family: var(--script-font);
  font-size: 36px;
  font-weight: 400;
}

.service-grid p {
  font-size: 16px;
  font-weight: 700;
}

.line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 58px;
  color: rgba(255, 255, 255, 0.66);
}

.line-icon svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.centered-row {
  justify-content: center;
}

.soft-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.soft-card {
  grid-column: span 2;
  min-height: 215px;
  padding: 30px 34px;
  border-radius: 24px;
  background: var(--rose);
  box-shadow: var(--shadow);
  color: #332d2a;
}

.soft-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.soft-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.soft-card h3 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.soft-card p {
  margin: 0;
  font-size: 16px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.map-card {
  position: relative;
}

.map {
  width: 100%;
  min-height: 410px;
  border: 0;
  background: #d9e3e6;
}

.map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 48px 0 0;
  list-style: none;
  font-size: 17px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--clay);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 44px));
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  padding: 38px 0 46px;
  border-top: 1px solid rgba(38, 49, 61, 0.12);
  color: var(--muted);
}

.footer-bio {
  max-width: 980px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 4px;
}

.site-footer a {
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.copyright {
  margin: 0;
  color: #8a8984;
  white-space: normal;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    padding: 18px 22px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 20px;
    display: none;
    width: min(290px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: var(--paper-soft);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .main-photo {
    min-height: 360px;
  }

  .dark-card-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 420px;
  }

  .soft-card-grid {
    grid-template-columns: 1fr;
  }

  .soft-card,
  .soft-card:nth-child(4),
  .soft-card:nth-child(5) {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: min(230px, 64vw);
  }

  .section {
    width: min(100% - 32px, 1240px);
    padding: 54px 0;
  }

  h1,
  h2 {
    font-size: 42px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .lead {
    font-size: 20px;
  }

  .support,
  .section-intro {
    font-size: 18px;
    text-align: left;
  }

  .button {
    width: 100%;
    min-width: 0;
    font-size: 17px;
  }

  .about-photos {
    grid-template-columns: 1fr;
  }

  .dark-card {
    min-height: auto;
    padding: 32px 24px;
  }

  .dark-card h3 {
    font-size: 18px;
  }

  .dark-card p {
    font-size: 18px;
  }

  .services-band {
    padding: 56px 16px;
  }

  .soft-card {
    padding: 28px 24px;
  }

  .map {
    min-height: 320px;
  }

  .map-link {
    position: static;
    width: 100%;
    margin-top: 14px;
  }
}
