:root {
  --bg: #050505;
  --bg2: #0b0b0b;
  --panel: #101010;
  --text: #f6f2e9;
  --muted: #bbb3a7;
  --gold: #d6ad55;
  --gold2: #f1d183;
  --gold3: #8b6425;
  --line: rgba(214, 173, 85, .30);
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, .96);
  border-bottom: 1px solid rgba(214,173,85,.18);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 56px; height: 56px; object-fit: cover; border: 1px solid rgba(241,209,131,.35); }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 1.2rem; color: var(--gold2); font-weight: 500; }
.brand-text small { margin-top: 5px; color: #ddd6ca; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: #ded8ce; font-size: .88rem; transition: color .2s ease; }
.menu a:hover, .menu a:focus-visible { color: var(--gold2); }
.menu-button { display: none; width: 46px; height: 42px; padding: 9px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.menu-button span { display: block; height: 1px; background: currentColor; margin: 5px 0; }

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(214,173,85,.12), transparent 30rem),
    linear-gradient(180deg, #080808 0%, #050505 100%);
  border-bottom: 1px solid rgba(214,173,85,.22);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .25;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-grid { padding: 72px 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.kicker { margin: 0 0 17px; display: flex; align-items: center; gap: 10px; color: var(--gold2); text-transform: uppercase; letter-spacing: .20em; font-size: .72rem; }
.kicker span { width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold3), var(--gold2)); }
.kicker.centered { justify-content: center; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .88; letter-spacing: -.045em; font-weight: 400; }
.hero h1 em { display: block; margin-top: 18px; color: var(--gold2); font-style: normal; font-size: .48em; letter-spacing: 0; line-height: 1.05; }
.hero-subtitle { margin: 28px 0 0; color: #d4cdc2; font-size: clamp(1rem, 1.6vw, 1.22rem); }
.hero-subtitle b, .contact-copy b { color: var(--gold); font-weight: 400; margin: 0 .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; padding: 13px 22px; border-radius: 999px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid; font-size: .88rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #090806; border-color: var(--gold2); background: linear-gradient(120deg, #a97629, #f1d183 48%, #aa7d31); box-shadow: 0 10px 34px rgba(214,173,85,.16); }
.button.secondary { color: var(--text); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.02); }

.logo-stage { position: relative; padding: 16px; background: #000; border: 1px solid rgba(241,209,131,.42); box-shadow: 0 34px 90px rgba(0,0,0,.50); }
.logo-stage img { width: 100%; aspect-ratio: 540 / 534; object-fit: cover; background: #000; }
.gold-corner { position: absolute; width: 70px; height: 70px; pointer-events: none; }
.gold-corner-a { left: 8px; top: 8px; border-left: 1px solid var(--gold2); border-top: 1px solid var(--gold2); }
.gold-corner-b { right: 8px; bottom: 8px; border-right: 1px solid var(--gold2); border-bottom: 1px solid var(--gold2); }

.section-head { margin-bottom: 42px; }
.section-head.centered { text-align: center; }
.section-head h2, .wide-card h2, .contact-copy h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); }

.intro { background: #080808; }
.info-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 16px; }
.info-card { min-height: 175px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(145deg, rgba(214,173,85,.08), transparent 55%), var(--panel); }
.label { color: var(--gold2); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; }
.info-card strong { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; }

.materias { border-block: 1px solid rgba(255,255,255,.05); background: #060606; }
.matter-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.matter-card { min-height: 370px; position: relative; overflow: hidden; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(214,173,85,.28); background: radial-gradient(circle at 75% 15%, rgba(214,173,85,.10), transparent 35%), linear-gradient(145deg, #121212, #090909); transition: transform .22s ease, border-color .22s ease; }
.matter-card:hover { transform: translateY(-5px); border-color: rgba(241,209,131,.72); }
.number { position: absolute; top: 28px; right: 30px; color: rgba(241,209,131,.36); font-family: var(--serif); letter-spacing: .14em; }
.matter-icon { width: 76px; height: 76px; color: var(--gold2); margin-bottom: 66px; }
.matter-icon svg { width: 100%; height: 100%; stroke-width: 1.15; }
.matter-card h3 { margin: 0; max-width: 88%; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.45rem); font-weight: 400; line-height: 1.02; }
.short-line { width: 88px; height: 1px; margin-top: 22px; background: linear-gradient(90deg, var(--gold2), transparent); }

.wide-card { position: relative; overflow: hidden; min-height: 250px; padding: clamp(32px, 5vw, 64px); border: 1px solid rgba(255,255,255,.08); background: linear-gradient(112deg, rgba(214,173,85,.10), transparent 43%), #0d0d0d; }
.location-card { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.round-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; color: var(--gold2); border: 1px solid var(--line); }
.round-icon svg { width: 31px; height: 31px; }
.wide-card h2 { font-size: clamp(2.5rem, 6vw, 5.1rem); }
.watermark { position: absolute; right: 20px; bottom: -52px; font-family: var(--serif); font-size: clamp(8rem, 18vw, 14rem); color: rgba(255,255,255,.025); letter-spacing: -.08em; }
.social-section { padding-top: 0; }
.social-card { min-height: 220px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-color: var(--line); }
.at { width: 88px; height: 88px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(241,209,131,.35); color: var(--gold2); font-family: var(--serif); font-size: 2.6rem; }

.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.contact-copy, .phone-card { min-height: 360px; padding: clamp(32px, 5vw, 54px); border: 1px solid rgba(255,255,255,.08); }
.contact-copy { display: flex; flex-direction: column; justify-content: center; background: #0b0b0b; }
.contact-copy h2 { font-size: clamp(2.6rem, 5vw, 5rem); margin-bottom: 26px; }
.contact-copy p:not(.kicker) { margin: 4px 0; color: var(--muted); }
.phone-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(145deg, #c99b47, #f0cf7f 45%, #a9782b); color: #0a0907; transition: transform .2s ease; }
.phone-card:hover { transform: translateY(-4px); }
.phone-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.28); border-radius: 50%; margin-bottom: 44px; }
.phone-icon svg { width: 27px; height: 27px; fill: currentColor; stroke: none; }
.phone-card small { text-transform: uppercase; letter-spacing: .17em; font-size: .68rem; }
.phone-card strong { margin: 8px 0 24px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; }
.phone-card span:last-child { font-size: .85rem; }

.footer { padding: 30px 0 90px; border-top: 1px solid rgba(214,173,85,.28); background: #030303; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; color: #c9c1b5; font-size: .86rem; }
.footer-grid div { display: grid; }
.footer-grid strong { color: var(--gold2); font-family: var(--serif); font-size: 1rem; font-weight: 500; }
.footer-grid small { margin-top: 4px; }
.footer-grid a:hover { color: var(--gold2); }
.mobile-call { display: none; }

@media (max-width: 860px) {
  .wrap { width: min(100% - 30px, var(--max)); }
  .section { padding: 70px 0; }
  .menu-button { display: block; }
  .menu {
    display: none;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #0b0b0b;
    border: 1px solid rgba(214,173,85,.25);
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
  }
  .menu.open { display: flex; }
  .menu a { padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .menu a:last-child { border-bottom: 0; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 62px 0 72px; gap: 52px; }
  .hero-copy { text-align: center; }
  .hero-copy .kicker { justify-content: center; }
  .hero-actions { justify-content: center; }
  .logo-stage { width: min(100%, 560px); margin-inline: auto; }
  .info-grid, .matter-grid, .contact-grid { grid-template-columns: 1fr; }
  .location-card { grid-template-columns: 1fr; }
  .round-icon { margin-bottom: 4px; }
  .social-card { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
  .mobile-call {
    display: flex;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(120deg, #aa7c2f, #f1d183 50%, #ad7e31);
    color: #080706;
    font-weight: 700;
    box-shadow: 0 14px 36px rgba(0,0,0,.48);
  }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 48px; height: 48px; }
  .brand-text small { font-size: .62rem; }
  .hero-grid { padding-top: 48px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero h1 em { font-size: .42em; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .matter-card { min-height: 320px; padding: 28px; }
  .matter-icon { margin-bottom: 48px; }
  .social-card { display: grid; }
  .at { width: 70px; height: 70px; font-size: 2.2rem; }
  .phone-card { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
