@font-face {
  font-family: Editorial;
  src: url('assets/editorial-regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Editorial;
  src: url('assets/editorial-italic.otf') format('opentype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Interface;
  src: url('assets/sans-regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --navy: #152d43;
  --text: #465665;
  --line: #dcd9d1;
  --paper: #f6f3ed;
  --white: #fff;
  --gold: #82602d;
  --serif: Editorial, Georgia, serif;
  --sans: Interface, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; color: var(--navy); background: var(--white); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #547d9d; outline-offset: 5px; }
.container { width: min(1120px, calc(100% - 5rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .8rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid #eae7e0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: .9rem; }
.logo-crop { position: relative; display: block; flex: none; width: 3.25rem; aspect-ratio: 1.48; overflow: hidden; }
.logo-crop img {
  position: absolute;
  width: 128%;
  max-width: none;
  height: auto;
  left: -15%;
  top: -52%;
  filter: brightness(0) saturate(100%) invert(13%) sepia(24%) saturate(1275%) hue-rotate(165deg) brightness(97%) contrast(93%);
}
.brand-name { font-size: .79rem; letter-spacing: .09em; line-height: 1.4; }
.brand-name > span { display: block; margin-top: .25rem; font-size: .66rem; letter-spacing: .27em; }
nav { display: flex; align-items: center; gap: 1.9rem; }
nav a { font-size: .92rem; }
nav a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.nav-contact { padding: .55rem 1rem; border: 1px solid #c5cfd7; border-radius: 4px; }
.menu-toggle { display: none; }

.hero { background: var(--paper); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(2rem, 7.5vw, 7rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.eyebrow { color: var(--gold); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-location { display: flex; align-items: center; gap: .65rem; }
.hero-location::before { content: ''; width: 1.5rem; height: 1px; background: currentColor; }
h1 { margin-top: 1.15rem; font-size: clamp(3.75rem, 6.6vw, 6rem); line-height: .99; letter-spacing: -.05em; }
h1 em { color: #3d5b72; font-weight: 400; }
.hero-description { max-width: 30rem; margin: 1.55rem 0 1.9rem; color: var(--text); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.4rem;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-size: .96rem;
  line-height: 1.4;
  transition: background-color .2s, transform .2s;
}
.button:hover { background: #2d4d66; transform: translateY(-2px); }
.button span { font-size: 1.15em; }

.lawyer-card { overflow: hidden; border: 1px solid #e2ddd3; border-radius: 7px; background: var(--white); }
.portrait-frame { aspect-ratio: 4 / 3; background: var(--white); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 11%; }
.lawyer-card figcaption { padding: 1.2rem 1.45rem 1.35rem; border-top: 1px solid #eeebe4; }
.lawyer-card h2 { font-size: clamp(1.35rem, 2.25vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
.lawyer-card p { margin-top: .3rem; color: var(--text); font-size: .85rem; }
.google-rating { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .58rem; margin-top: .55rem; color: var(--text); font-size: .85rem; }
.rating-stars { color: var(--gold); font: .96rem/1.1 Arial, sans-serif; letter-spacing: .08em; }
.google-rating strong { color: var(--navy); }

.services-section, .consultation-section { padding-block: clamp(3rem, 6.5vw, 5.75rem); }
.section-heading { margin-bottom: 1.65rem; }
.section-heading h2, .consultation-intro h2, .contact-inner h2 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  letter-spacing: -.045em;
  line-height: 1.08;
}
.section-heading h2 { margin-top: .4rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card {
  padding: clamp(1.25rem, 2.65vw, 2rem);
  border: 1px solid #e4dfd5;
  border-radius: 5px;
  background: #fcfaf6;
  transition: background-color .25s, border-color .25s;
}
.service-card:hover { background: var(--paper); border-color: #c9b898; }
.service-card h3 { font-size: clamp(1.5rem, 2.45vw, 2.1rem); line-height: 1.16; letter-spacing: -.02em; }
.service-card p { margin-top: .55rem; max-width: 29rem; color: var(--text); }
.disclosures { margin-top: 1.35rem; }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: .25rem;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .22s;
}
details[open] summary::after { transform: translateY(2px) rotate(225deg); }
details p { max-width: 45rem; padding-bottom: .9rem; color: var(--text); }

.consultation-section { border-top: 1px solid #eae7e0; background: #fcfaf6; }
.consultation-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: clamp(2rem, 7vw, 6.5rem); }
.consultation-intro p { margin-top: .95rem; color: var(--text); max-width: 28rem; }
.faq { margin: 0; border-top: 1px solid var(--line); }
.contact-section { background: var(--navy); color: var(--white); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3.5rem; }
.contact-inner p { max-width: 30rem; margin-top: .65rem; color: #e0e7eb; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: #eaeff2; }
.phone-number { color: #e0e7eb; font-size: .92rem; }
.phone-number:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.site-footer { color: var(--text); font-size: .86rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1.25rem; padding-block: 1.4rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-main, .lawyer-card { animation: arrive .6s ease-out both; }
  .lawyer-card { animation-delay: .1s; }
  .is-entering { animation: arrive .55s ease-out; }
  @keyframes arrive {
    from { opacity: .65; transform: translateY(13px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 840px) {
  .container { width: calc(100% - 3rem); }
  .hero-grid { column-gap: 1.65rem; }
  h1 { font-size: clamp(3.1rem, 7.7vw, 4rem); }
  nav { gap: 1.2rem; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 5.2rem; }
  .container { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 68px; gap: .75rem; flex-wrap: wrap; }
  .brand { gap: .65rem; }
  .logo-crop { width: 2.65rem; }
  .brand-name { font-size: .69rem; letter-spacing: .055em; }
  .brand-name > span { font-size: .6rem; }
  nav { gap: 1rem; width: 100%; padding-bottom: .7rem; flex-wrap: wrap; }
  .menu-ready .menu-toggle {
    display: block;
    min-height: 44px;
    padding: .5rem .7rem;
    border: 1px solid #c5cfd7;
    border-radius: 4px;
    background: var(--white);
    color: var(--navy);
    font: .87rem var(--sans);
  }
  .menu-ready nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .35rem 1.25rem .55rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .menu-ready nav.is-open { display: flex; }
  .menu-ready nav a { padding: .7rem 0; border: 0; }
  .hero-grid { grid-template-columns: 1fr; row-gap: 1.65rem; padding-block: 2.65rem 2.5rem; }
  h1 { font-size: clamp(2.65rem, 10vw, 3.7rem); line-height: 1.02; }
  .hero-break { display: none; }
  .hero-description { margin: 1rem 0 1.35rem; }
  .lawyer-card { display: grid; grid-template-columns: minmax(90px, 34%) 1fr; max-width: 28rem; }
  .portrait-frame { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .portrait-frame img { object-position: center 14%; }
  .lawyer-card figcaption { align-self: center; padding: .8rem .9rem; border-top: 0; }
  .lawyer-card h2 { font-size: 1.35rem; }
  .service-grid, .consultation-grid { grid-template-columns: 1fr; }
  .service-grid { gap: .7rem; }
  .consultation-grid { gap: 1.25rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; padding-block: 2.65rem; gap: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service-card, summary::after { transition: none; }
  .button:hover { transform: none; }
}

.whatsapp-float {
  position: fixed;
  z-index: 2;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  min-height: 48px;
  gap: .65rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: #176344;
  box-shadow: 0 4px 18px rgb(21 45 67 / 22%);
}

.whatsapp-float:hover {
  background: #115238;
}

.site-footer {
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
}
