:root {
  color-scheme: light;
  --navy: #0b1b33;
  --navy-soft: #162a46;
  --muted: #495665;
  --paper: #f8f7f2;
  --white: #fff;
  --line: #deded6;
  --green: #0d6347;
  --green-hover: #0a4c36;
  --serif: "PT Serif", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --wrap: 1184px;
  font-family: var(--sans);
  color: var(--navy);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b46b1d; outline-offset: 5px; }
section[id] { scroll-margin-top: 26px; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 84px; }
.skip-link { position: fixed; inset: 10px auto auto 10px; z-index: 10; padding: 12px 20px; color: var(--navy); background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--navy); color: var(--white); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand img { width: auto; height: 46px; }
.brand-text { display: grid; gap: 4px; white-space: nowrap; }
.brand-name { font: 400 clamp(1.28rem, 2.7vw, 1.85rem)/1.05 var(--serif); }
.brand-title { font: 500 clamp(.58rem, .9vw, .68rem)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.header-nav { display: flex; justify-content: center; align-items: center; gap: 30px; }
.header-nav a, .header-contact { font-size: .79rem; font-weight: 600; white-space: nowrap; }
.header-nav a { color: #e4e9ef; padding-block: 14px; }
.header-nav a:hover, .footer-links a:hover, .footer-address:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-contact { border: 1px solid #718096; border-radius: 7px; min-height: 42px; padding: 0 14px; display: flex; align-items: center; gap: 8px; }
.header-contact:hover { background: #253951; }

.hero { padding-block: 62px 68px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 96px); }
.hero-copy { padding-block: 15px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #455060; font-size: .7rem; line-height: 1.5; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow > span { width: 24px; height: 1px; flex: 0 0 24px; background: #8c7758; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 4.45vw, 4.4rem); line-height: 1.045; }
.hero h1 em { color: #34475a; font-weight: 400; }
.hero-description { max-width: 54ch; margin-top: 25px; color: var(--muted); font-size: clamp(.95rem, 1.25vw, 1.075rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 21px; align-items: center; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 53px; border-radius: 7px; padding: 12px 17px; font-weight: 700; font-size: .875rem; line-height: 1.3; }
.whatsapp { background: var(--green); color: var(--white); transition: background .18s ease; }
.whatsapp:hover { background: var(--green-hover); }
.whatsapp-icon { width: 20px; height: 20px; background-image: var(--joinchat-ico); background-size: contain; background-repeat: no-repeat; flex: 0 0 20px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); font-size: .81rem; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.availability { margin-top: 15px; color: var(--muted); font-size: .76rem; line-height: 1.55; }

.portrait { overflow: hidden; border-radius: 13px; background: #dce7e6; max-width: 440px; width: 100%; justify-self: end; }
.portrait img { width: 100%; aspect-ratio: 1.10; object-fit: cover; object-position: center 31%; }
.portrait figcaption { padding: 14px 19px 16px; background: var(--navy); color: var(--white); }
.portrait strong { display: block; font: 400 1.37rem/1.15 var(--serif); }
.portrait small { display: block; color: #dce5ee; font-size: .68rem; line-height: 1.5; }
.portrait small { margin-top: 4px; }

h2 { font-size: clamp(2.05rem, 3.75vw, 3.45rem); line-height: 1.06; }
.areas { background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(230px, 310px); align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading > p, .about-copy p, .about-subtitle { color: var(--muted); font-size: .96rem; line-height: 1.7; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.case-card { position: relative; display: block; min-height: 174px; padding: 23px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); transition: border-color .18s ease, background .18s ease; }
.case-card:hover { border-color: #8493a3; background: #eff2f3; }
.case-topic { display: block; margin-right: 30px; color: #4b5865; font-size: .65rem; font-weight: 700; line-height: 1.4; letter-spacing: .075em; text-transform: uppercase; }
.case-arrow { position: absolute; right: 19px; top: 16px; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #d4d8db; border-radius: 50%; font-size: 1rem; }
.case-card:hover .case-arrow { background: var(--navy); color: var(--white); border-color: var(--navy); }
.case-card h3 { max-width: 24ch; margin-top: 11px; font-size: clamp(1.27rem, 2.15vw, 1.62rem); line-height: 1.14; }
.case-card p { max-width: 35ch; margin-top: 10px; color: var(--muted); font-size: .79rem; line-height: 1.58; }

.about { border-top: 1px solid var(--line); }
.about-grid, .faq-grid { display: grid; grid-template-columns: 1fr 1.13fr; gap: 40px; }
.about-grid { align-items: center; }
.about .eyebrow { margin-bottom: 13px; }
.about-subtitle { margin-top: 10px; }
.contact { padding-top: 0; padding-bottom: 0; }
.contact-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 38px; padding: 44px 48px; border-radius: 12px; background: var(--navy); color: var(--white); }
.contact-panel h2 { max-width: 20ch; }
.contact-panel p { max-width: 58ch; margin-top: 13px; color: #e4e9ef; font-size: .9rem; line-height: 1.65; }
.contact-action p { text-align: center; font-size: .71rem; }
.faq-grid { align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 0; color: var(--navy); list-style: none; cursor: pointer; font-size: .89rem; font-weight: 700; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: #3e4f63; font-size: 1.27rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 24px 16px 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }

.site-footer { background: var(--navy); color: #eef2f6; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; align-items: start; gap: 24px; padding-block: 39px 29px; }
.footer-grid .brand img { height: 40px; }
.footer-grid .brand-name { font-size: 1.45rem; }
.footer-links { display: grid; gap: 7px; }
.footer-links, .footer-address { font-size: .8rem; line-height: 1.6; overflow-wrap: anywhere; }
.footer-end { padding-block: 15px 24px; border-top: 1px solid #34475e; font-size: .71rem; color: #dce5ee; }
.mobile-contact { display: none; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 64px); }
  .section { padding-block: 64px; }
  .contact { padding-block: 0; }
  .header-nav { gap: 20px; }
  .hero-grid { gap: 34px; }
  .case-card { padding: 18px; }
  .case-arrow { right: 13px; top: 13px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding-block: 48px; }
  .contact { padding-block: 0; }
  .header-inner { min-height: 65px; gap: 9px; }
  .header-nav { display: none; }
  .brand { gap: 9px; }
  .brand img { height: 38px; }
  .header-contact { min-height: 36px; padding-inline: 8px; font-size: .67rem; }
  .hero { padding-block: 34px 35px; }
  .hero-grid { grid-template-columns: 1fr; gap: 23px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.05rem, 8.55vw, 3.48rem); margin-top: 12px; }
  .hero-description { margin-top: 16px; line-height: 1.56; }
  .hero-actions { margin-top: 19px; gap: 3px 14px; }
  .hero-actions .whatsapp { width: 100%; }
  .availability { margin-top: 3px; }
  .portrait { justify-self: start; max-width: 460px; }
  .portrait img { aspect-ratio: 1.45; object-position: center 29%; }
  .portrait figcaption { padding: 11px 13px; }
  .portrait strong { font-size: 1.13rem; }
  .section-heading, .about-grid, .faq-grid, .contact-panel { grid-template-columns: 1fr; gap: 15px; }
  .section-heading { margin-bottom: 21px; }
  .desktop-break { display: none; }
  .case-grid { grid-template-columns: 1fr; gap: 8px; }
  .case-card { min-height: auto; padding: 14px 16px 16px; }
  .case-card h3 { margin-top: 7px; margin-right: 20px; }
  .case-card p { margin-top: 6px; }
  .contact-panel { padding: 23px 20px 20px; gap: 18px; }
  .contact-action .button { width: 100%; }
  .contact-action p { margin-top: 9px; }
  .footer-grid { grid-template-columns: 1fr; gap: 17px; padding-block: 25px 20px; }
  .footer-end { padding-bottom: 83px; }
  .mobile-contact:not([hidden]) { display: block; position: fixed; inset: auto 0 0; z-index: 3; padding: 8px 18px max(8px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-contact .button { width: 100%; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.arrow-up {
  display: inline-block;
  position: relative;
  flex: 0 0 .62rem;
  width: .62rem;
  height: .62rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.arrow-up::after {
  content: "";
  position: absolute;
  width: .73rem;
  top: -.02rem;
  right: -.025rem;
  border-top: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}
.footer-links .arrow-up, .footer-address .arrow-up { margin-inline-start: 4px; }
