:root {
  --ink: #211817;
  --muted: #766c68;
  --brown: #4a2b23;
  --brown-deep: #241715;
  --gold: #c99745;
  --gold-light: #e6c17d;
  --cream: #f5efe5;
  --paper: #fffdf9;
  --line: #ded4c8;
  --container: 1180px;
  --radius: 4px;
  --transition: 0.3s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.topbar { color: var(--brown-deep); background: var(--gold-light); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.topbar-inner { display: flex; justify-content: space-between; gap: 24px; padding: 10px 0; }
.topbar a { color: var(--brown-deep); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 20; color: #f8f3ec; background: var(--brown-deep); border-bottom: 1px solid rgba(230, 193, 125, 0.2); transition: var(--transition); }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(36, 23, 21, 0.28); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 32px; }
.brand { display: block; width: 200px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { position: relative; color: #f8f3ec; font-size: 0.82rem; font-weight: 700; }
.nav-links a::after { content: ""; position: absolute; bottom: -10px; left: 0; width: 0; height: 2px; background: var(--gold-light); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--gold-light); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 15px 24px; color: #fff; background: var(--gold); border: 1px solid var(--gold); border-radius: var(--radius); font-weight: 700; transition: var(--transition); }
.button:hover { color: #fff; background: #a87931; border-color: #a87931; transform: translateY(-2px); }
.button-outline { color: #fff; background: transparent; }
.button-small { min-height: 40px; padding: 11px 16px; font-size: 0.8rem; }
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(90deg, rgba(36, 23, 21, 0.94), rgba(36, 23, 21, 0.68)), url('https://images.pexels.com/photos/6077091/pexels-photo-6077091.jpeg?auto=compress&cs=tinysrgb&w=1600') center / cover; }
.hero-content { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; min-height: 640px; gap: 60px; padding: 90px 0; }
.eyebrow { color: var(--gold-light); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.hero h1 { max-width: 700px; margin: 20px 0; font: 400 clamp(2.6rem, 5vw, 5rem) / 1.05 Georgia, serif; }
.hero p { max-width: 610px; color: #eee4d9; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-visual { display: grid; place-items: center; min-height: 390px; }
.hero-mark { width: min(85%, 350px); padding: 24px; border: 1px solid rgba(230, 193, 125, 0.65); background: rgba(36, 23, 21, 0.35); }
.section { padding: 112px 0; }
.section-cream { background: var(--cream); }
.section-dark { color: #fff; background: var(--brown-deep); }
.section-heading { max-width: 740px; margin-bottom: 52px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 14px 0; font: 400 clamp(2rem, 4vw, 3.2rem) / 1.15 Georgia, serif; }
.section-heading p, .intro-copy p { color: var(--muted); font-size: 1.03rem; }
.section-dark .section-heading p { color: #e2d6ca; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); align-items: center; gap: 72px; }
.grid-3, .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.image-panel { min-height: 470px; background-position: top center; background-size: cover; }
.line-list { border-top: 1px solid var(--line); }
.line-list div { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-list strong { font: 400 1.2rem Georgia, serif; }
.line-list span, .text-link { color: var(--gold); }
.card, .article-card { background: #fff; border: 1px solid var(--line); transition: var(--transition); }
.card { padding: 32px; }
.card:hover, .article-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(36, 23, 21, 0.08); }
.card-number, .article-meta { color: var(--gold); font-weight: 700; }
.card h3, .article-card h3 { margin: 14px 0 10px; font: 400 1.5rem / 1.2 Georgia, serif; }
.card p, .article-body p { margin: 0; color: var(--muted); }
.feature-panel { padding: 56px; color: #fff; background: var(--brown); }
.feature-panel h2 { font: 400 2.4rem / 1.15 Georgia, serif; }
.feature-panel p { color: #eee4d9; }
.text-link { display: inline-flex; gap: 10px; margin-top: 20px; font-weight: 700; }
.page-hero { color: #fff; background: linear-gradient(90deg, rgba(36, 23, 21, 0.94), rgba(36, 23, 21, 0.72)), url('https://images.pexels.com/photos/159720/justice-law-case-hearing-159720.jpeg?auto=compress&cs=tinysrgb&w=1600') center / cover; padding: 110px 0; }
.page-hero h1 { margin: 16px 0 0; font: 400 clamp(2.6rem, 5vw, 4.4rem) / 1.05 Georgia, serif; }
.page-hero p { max-width: 680px; color: #eee4d9; font-size: 1.08rem; }
.article-card { overflow: hidden; }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-body { padding: 24px; }
.article-meta { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.article-copy { max-width: 820px; }
.article-copy h2 { margin: 42px 0 12px; font: 400 2rem / 1.2 Georgia, serif; }
.article-copy p { color: var(--muted); font-size: 1.05rem; }
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.contact-details { border-top: 1px solid var(--line); }
.contact-details div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-details strong { display: block; margin-bottom: 7px; color: var(--gold); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-details span { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 153, 69, 0.14); }
.field textarea { min-height: 145px; resize: vertical; }
.form-feedback { display: none; margin-top: 18px; padding: 14px 16px; }
.form-feedback.success, .form-feedback.error { display: block; }
.form-feedback.success { color: #276749; background: #edf7f0; }
.form-feedback.error { color: #a33d3d; background: #fff0f0; }
.faq-list { max-width: 850px; margin: auto; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 24px 45px 24px 0; cursor: pointer; list-style: none; font: 1.22rem Georgia, serif; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 5px; color: var(--gold); font: 1.5rem Arial; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 40px 24px 0; color: var(--muted); }
.site-footer { padding: 72px 0 25px; color: #e9dfd5; background: var(--brown-deep); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 70px; padding-bottom: 62px; }
.footer-brand { width: 210px; }
.site-footer p, .footer-links, .site-footer address { color: #c9bbb0; }
.site-footer p { max-width: 280px; }
.site-footer h2 { margin: 5px 0 20px; color: var(--gold-light); font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.site-footer address { display: grid; gap: 7px; font-style: normal; }
.footer-bottom { display: flex; justify-content: center; gap: 20px; padding-top: 20px; color: #a89588; border-top: 1px solid #614b43; font-size: 0.78rem; }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 15; display: grid; place-items: center; width: 56px; height: 56px; color: #fff; background: #2f8b57; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); transition: var(--transition); }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }\n.whatsapp-float:hover { transform: translateY(-4px); background: #257346; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1000px) { .main-nav { gap: 18px; } .nav-links { gap: 14px; } .contact-layout { gap: 40px; } }
@media (max-width: 760px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .topbar-inner { display: none; }
  .topbar { height: 7px; }
  .header-inner { min-height: 76px; }
  .brand { width: 165px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 16px 24px; background: var(--brown-deep); border-bottom: 1px solid rgba(230, 193, 125, 0.2); }
  .main-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 12px 0; }
  .main-nav .button { width: 100%; margin-top: 10px; }
  .hero-content, .grid-2, .contact-layout { grid-template-columns: 1fr; }
  .hero-content { min-height: 0; padding: 76px 0; }
  .hero-visual { min-height: 280px; }
  .section { padding: 76px 0; }
  .grid-3, .article-grid { grid-template-columns: 1fr; }
  .feature-panel { padding: 32px; }
  .page-hero { padding: 76px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .button { width: 100%; }
}
