@font-face {
  font-family: "Escritorio Serif";
  src: url("/fonts/serif.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Escritorio Serif";
  src: url("/fonts/serif-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Escritorio Sans";
  src: url("/fonts/sans.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Escritorio Sans";
  src: url("/fonts/sans-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf6ee;
  --white: #fffdf8;
  --sand: #f1e5ce;
  --ink: #35261c;
  --muted: #604e3e;
  --brown: #5b3c29;
  --deep: #35251a;
  --bronze: #805821;
  --gold: #78521e;
  --soft-gold: #e7c78b;
  --line: #e4d5bb;
  --serif: "Escritorio Serif", Georgia, serif;
  --sans: "Escritorio Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; }
h1, h2 { line-height: 1.1; letter-spacing: -.055em; }
h2 { font-size: clamp(2.45rem, 5.1vw, 4.65rem); }
h1 em, h2 em { color: var(--bronze); }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
section[id], .benefit-card[id] { scroll-margin-top: 26px; }
.container { width: min(1192px, calc(100% - 100px)); margin-inline: auto; }
.section { padding-block: 108px; }
.skip-link { position: fixed; top: 8px; left: 10px; z-index: 10; padding: 8px 14px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; text-decoration: none; }
.brand img { height: auto; }
.brand-mark { width: 58px; }
.brand-name { width: 198px; }
.header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.header nav a { display: inline-flex; align-items: center; gap: 8px; padding-block: 10px; color: var(--muted); font-size: .9rem; text-decoration: none; }
.header nav a:hover { color: var(--brown); text-decoration: underline; text-underline-offset: 5px; }
.header nav .nav-contact { border: 1px solid #c7a976; border-radius: 4px; padding-inline: 16px; color: var(--brown); font-weight: 700; }

.hero { background: radial-gradient(ellipse at 90% 45%, #eee0c5 0, var(--paper) 57%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(35px, 5vw, 78px); padding-block: 69px 73px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 23px; height: 1px; flex: 0 0 auto; background: currentColor; }
.hero h1 { font-size: clamp(3rem, 5.3vw, 5rem); line-height: 1.02; }
.hero h1 em { display: inline-block; margin-top: 6px; }
.hero-copy { max-width: 45ch; margin-top: 24px; color: var(--muted); font-size: 1.04rem; line-height: 1.72; }
.hero-coverage { display: grid; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.hero-coverage li { display: flex; align-items: center; gap: 9px; color: var(--brown); font-size: .9rem; font-weight: 700; }
.hero-coverage svg { flex: 0 0 auto; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 23px; margin-top: 30px; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-size: .88rem; font-weight: 700; line-height: 1.35; }
.button { min-height: 48px; padding: 12px 17px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; }
.button-primary { background: var(--brown); color: white; }
.button-primary:hover { background: var(--deep); }
.button-outline { border-color: #c7a976; background: transparent; color: var(--brown); }
.button-outline:hover { background: var(--sand); }
.text-link { padding: 5px 0; border: 0; background: transparent; color: var(--brown); text-align: left; text-decoration: underline; text-decoration-color: #b49a71; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link svg, .button svg { flex: 0 0 auto; }
.portrait {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #ab8148;
  border-radius: 6px;
  background: var(--sand);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait::after {
  position: absolute;
  inset: 12px;
  border: 1px solid #f3d9a3bf;
  border-radius: 2px;
  pointer-events: none;
  content: "";
}
.hero-portrait {
  max-width: 520px;
  aspect-ratio: 1.02;
  justify-self: end;
  box-shadow: 0 22px 43px -26px #422b16a6;
}
.hero-portrait img { object-position: center 12%; }

.credentials { background: #f2e7d2; border-block: 1px solid #e6d7bc; }
.credentials-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; }
.credentials-list li { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 17px 12px; color: var(--brown); font-size: .87rem; font-weight: 700; }
.credentials-list li + li { border-left: 1px solid #ddcba7; }
.credentials-list svg { flex: 0 0 auto; color: var(--gold); }

.benefit-questions { border-top: 1px solid var(--line); }
.benefit-questions details { border-bottom: 1px solid var(--line); }
.benefit-questions summary { padding: 15px 4px; color: var(--brown); font-weight: 700; cursor: pointer; }
.benefit-questions details p { padding: 0 4px 15px; color: var(--muted); }
.areas { border-top: 1px solid var(--line); background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.section-heading > p { max-width: 34ch; padding-bottom: 4px; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.benefit-card { padding: clamp(18px, 3.4vw, 34px); border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(145deg, #f4e8cf, var(--white) 61%); }
.benefit-card h3 { margin-top: 13px; font-size: clamp(1.8rem, 3.6vw, 2.85rem); line-height: 1.12; letter-spacing: -.04em; }
.benefit-card > p { max-width: 49ch; margin: 10px 0 19px; color: var(--muted); }
.other-areas-title { margin: clamp(30px, 5vw, 52px) 0 14px; color: var(--deep); font-size: clamp(1.38rem, 2.8vw, 1.92rem); }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.area-card { min-width: 0; min-height: 201px; padding: 23px; border: 1px solid var(--line); border-radius: 4px; background: linear-gradient(132deg, #f8f0df 0, var(--white) 57%); }
.area-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.area-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #dcc69b; border-radius: 50%; background: #f3e7cd; color: var(--brown); }
.area-card h4 { font-size: 1.34rem; line-height: 1.3; letter-spacing: -.035em; }
.area-card p { margin-top: 7px; color: var(--muted); font-size: .91rem; line-height: 1.6; }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(35px, 7vw, 100px); }
.about-portrait { max-width: 460px; aspect-ratio: 1.08; }
.about-portrait img { object-position: center 18%; }
.office-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: clamp(8px, 2vw, 22px); margin-top: clamp(22px, 4vw, 54px); }
.office-gallery .portrait { aspect-ratio: 4 / 5; }
.office-gallery img { object-position: center 24%; }
.office-gallery .portrait::after { inset: clamp(4px, 1vw, 12px); }
.about-content .professional-id { margin-top: 14px; color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.about-content > p:not(.eyebrow):not(.professional-id) { max-width: 53ch; margin-top: 14px; color: var(--muted); }

.contact { background: radial-gradient(ellipse at 100% 0, #5d412e, var(--deep) 73%); color: #fff8ec; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(26px, 6.5vw, 88px); }
.contact .eyebrow { color: var(--soft-gold); }
.contact h2 em { color: var(--soft-gold); }
.contact-grid > div > p:not(.eyebrow) { margin-top: 16px; color: #ebdeca; }
.contact-list { border-top: 1px solid #967652; }
.contact-row { display: flex; align-items: start; gap: 14px; padding: 13px 0; border-bottom: 1px solid #967652; }
.contact-row > svg { margin-top: 3px; flex: 0 0 auto; color: var(--soft-gold); }
.contact-row > div { min-width: 0; }
.contact-row h3 { margin-bottom: 3px; color: var(--soft-gold); font: 700 .68rem/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.contact-row a { color: #fff8ec; font-size: .93rem; overflow-wrap: anywhere; text-decoration: none; }
.contact-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-row a:focus-visible { outline-color: var(--soft-gold); }
.contact-row a svg { vertical-align: -.15em; margin-left: 2px; color: var(--soft-gold); }
.contact-numbers { display: flex; flex-wrap: wrap; gap: 4px 20px; }

.footer { background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; padding-block: 25px; }
.footer p { max-width: 53ch; color: var(--muted); font-size: .78rem; }
.footer .text-link { flex-shrink: 0; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 62px); }
  .section { padding-block: 78px; }
  .hero-grid { padding-block: 58px; }
  .area-card { padding: 19px; }
}
@media (max-width: 780px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 61px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 45px 34px; }
  .hero h1 { font-size: clamp(2.65rem, 9.6vw, 4.8rem); }
  .hero-portrait { justify-self: start; }
  .credentials-list li { padding: 12px 7px; gap: 6px; font-size: .75rem; line-height: 1.35; }
  .credentials-list svg { width: 17px; }
  .section-heading { display: grid; gap: 12px; margin-bottom: 22px; }
  .section-heading > p { max-width: 51ch; }
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .area-card { min-height: auto; padding: 16px; }
  .benefit-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .about-content { grid-row: 1; }
  .footer-inner { flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; }
}
@media (max-width: 640px) {
  .header-inner { display: block; padding-top: 14px; }
  .header nav { justify-content: space-between; gap: 6px; margin-top: 8px; }
  .header nav a { justify-content: center; min-height: 44px; padding: 6px 0; font-size: .79rem; }
  .header nav .nav-contact { border: 0; padding-inline: 0; }
  .header nav .nav-contact svg { width: 12px; }
  .brand-mark { width: 47px; }
  .brand-name { width: 173px; }
}
@media (max-width: 540px) {
  .hero-grid { padding-top: 35px; }
  .hero-copy { margin-top: 18px; font-size: .97rem; }
  .hero-actions { gap: 10px 17px; margin-top: 22px; }
  .hero-actions .text-link { min-height: 44px; }
  .credentials-list { grid-template-columns: 1fr 1fr; }
  .credentials-list li:last-child { grid-column: 1 / -1; border-top: 1px solid #ddcba7; border-left: 0; }
  .area-card h4 { font-size: 1.08rem; }
  .area-card p { font-size: .83rem; }
  .area-top { margin-bottom: 10px; }
  .area-icon { width: 36px; height: 36px; }
  .area-icon svg { width: 18px; }
  .eyebrow { font-size: .65rem; margin-bottom: 14px; }
}
@media (max-width: 355px) {
  .container { width: calc(100% - 32px); }
  .area-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.1rem, 12vw, 2.65rem); }
}
