
* { box-sizing: border-box; }
:root {
  --bg: #f7f3ec;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --dark: #111827;
  --dark-2: #1f2937;
  --gold: #c69c5d;
  --gold-dark: #a2783f;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 24px 80px rgba(17, 24, 39, 0.14);
  --radius-lg: 30px;
  --radius-md: 22px;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hidden { display: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.16);
}
.brand strong, .brand small { display: block; }
.brand strong { font-weight: 800; letter-spacing: -0.03em; }
.brand small { color: var(--muted); font-size: 12px; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 20px; font-weight: 600; color: #374151; }
.nav-links a:hover { color: var(--gold-dark); }

.lang-switcher {
  display: flex; align-items: center; gap: 8px;
  margin-left: 6px;
}
.lang-btn {
  border: 1px solid rgba(17,24,39,0.14);
  background: white;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.lang-btn.active {
  background: var(--dark);
  color: var(--gold);
  border-color: var(--dark);
}

.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px; background: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: #111827; border: 1px solid var(--gold);
  padding: 14px 22px; border-radius: 999px; font-weight: 800;
  box-shadow: 0 10px 30px rgba(198, 156, 93, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); background: #d6ad6d; }
.btn-small { padding: 10px 16px; }
.btn-outline {
  background: transparent; color: var(--text); border-color: rgba(17, 24, 39, 0.2); box-shadow: none;
}
.btn-outline-light { color: white; border-color: rgba(255,255,255,0.28); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: white; }

.hero {
  padding: 88px 0 80px;
  background:
    radial-gradient(circle at 80% 10%, rgba(198,156,93,0.28), transparent 30%),
    linear-gradient(135deg, #f7f3ec 0%, #eee3d2 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.14fr) 420px; gap: 56px; align-items: center;
}
.eyebrow {
  margin: 0 0 12px; color: var(--gold-dark); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px;
}
h1, h2, h3 { margin: 0; line-height: 1.1; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; }
h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -0.05em; max-width: 820px; }
h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.04em; }
h3 { font-size: 20px; letter-spacing: -0.02em; }
.hero-text { max-width: 700px; color: #4b5563; font-size: 18px; margin: 24px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: var(--shadow); border-radius: var(--radius-lg); padding: 30px;
}
.card-top { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.seal {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--dark); color: var(--gold); font-family: "Playfair Display", serif; font-size: 40px;
}
.card-top p { color: var(--muted); margin: 10px 0 0; }
dl { margin: 18px 0 0; }
dl div {
  display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
dt { font-weight: 800; }
dd { margin: 0; color: #374151; text-align: right; }

.section { padding: 88px 0; background: var(--surface); }
.section + .section { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.split-tight { grid-template-columns: 0.85fr 1.15fr; }
.content p { color: #4b5563; font-size: 17px; margin-top: 0; }

.lawyers-section { background: #f9fafb; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p:last-child { font-size: 17px; color: #6b7280; }
.lawyers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.lawyer-card {
  display: grid; grid-template-columns: 86px 1fr; gap: 22px;
  background: white; border: 1px solid var(--line); border-radius: 28px; padding: 28px;
  box-shadow: 0 18px 50px rgba(17,24,39,0.08);
}
.lawyer-avatar {
  width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center;
  background: var(--dark); color: var(--gold); font-family: "Playfair Display", serif;
  font-weight: 700; font-size: 24px;
}
.role { margin: 7px 0 12px; color: var(--gold-dark); font-weight: 800; }
.credentials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.credentials span {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(198, 156, 93, 0.35);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(198, 156, 93, 0.10);
  color: #6f4e20;
  font-size: 13px;
  font-weight: 800;
}
.text-link { display: inline-block; font-weight: 800; margin-top: 10px; color: #111827; }
.languages { margin: 10px 0 0; font-size: 14px; font-weight: 800; color: var(--gold-dark); }
.lawyer-card p:last-child { margin-bottom: 0; }

.section-dark { background: var(--dark); color: white; }
.section-dark .eyebrow { color: #e9c88f; }
.section-dark p { color: #d1d5db; }
.section-dark .section-heading p:last-child { color: #d1d5db; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.practice-card {
  padding: 26px; border-radius: 24px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); min-height: 190px;
}
.practice-card h3 { color: #fff; }
.practice-card p { margin-bottom: 0; }

.news-section { background: #f9fafb; }
.news-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin: -18px 0 24px;
}
.news-status { margin: 0; color: var(--muted); font-size: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card {
  min-height: 220px; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 14px 36px rgba(17,24,39,0.07);
}
.news-card h3 { font-size: 18px; line-height: 1.25; }
.news-card p { margin: 0; color: #4b5563; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 800; }
.news-meta span {
  border: 1px solid rgba(17,24,39,0.10); border-radius: 999px; padding: 5px 9px; background: #f9fafb;
}
.news-card .text-link { margin-top: auto; }
.news-disclaimer { max-width: 820px; color: var(--muted); font-size: 13px; margin: 20px 0 0; }
.news-card.skeleton {
  background: linear-gradient(90deg, rgba(17,24,39,0.05), rgba(17,24,39,0.10), rgba(17,24,39,0.05));
  background-size: 220% 100%;
  animation: news-loading 1.4s ease-in-out infinite;
}
@keyframes news-loading {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card {
  background: #f9fafb; border: 1px solid var(--line); border-radius: 24px; padding: 24px;
}
.step-card p { margin-bottom: 0; color: #4b5563; }

.cta { padding: 40px 0; background: var(--dark); }
.cta-box {
  background: linear-gradient(135deg, rgba(198,156,93,0.26), rgba(255,255,255,0.06)), var(--dark-2);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg);
  padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: white;
}
.cta-box h2 { font-size: clamp(28px, 3vw, 42px); }
.cta-box p:last-child { color: #d1d5db; margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-section { background: #f9fafb; }
.contact-grid { display: grid; grid-template-columns: 1.05fr 420px; gap: 54px; align-items: start; }
.contact-intro { color: #4b5563; font-size: 17px; max-width: 680px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.contact-card {
  background: white; border: 1px solid var(--line); border-radius: 20px; padding: 20px;
}
.contact-card strong, .contact-card span { display: block; }
.contact-card span { color: #4b5563; margin-top: 6px; }
.address-card { grid-column: span 2; }

.map-wrap {
  margin-top: 18px; background: white; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(17,24,39,0.06);
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-btn { margin: 18px; }

.form-panel h3 { margin-bottom: 16px; }
.contact-form {
  background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px;
}
.contact-form label { display: block; font-weight: 800; margin-bottom: 16px; }
input, textarea, select {
  width: 100%; margin-top: 8px; border: 1px solid rgba(17,24,39,0.18); border-radius: 14px;
  padding: 14px; font: inherit; outline: none; background: white;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,156,93,0.16);
}
textarea { resize: vertical; }
.contact-form .btn { width: 100%; border: 0; cursor: pointer; }
.form-note { color: var(--muted); font-size: 12px; margin-bottom: 0; }

.site-footer { background: #080d16; color: white; padding: 42px 0 28px; }
.footer-grid {
  display: flex; justify-content: space-between; gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 52px; height: 52px; border-radius: 14px; }
.footer-brand p, .legal p { color: #9ca3af; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-links a { color: #d1d5db; }
.legal { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; padding-top: 20px; }

.floating-whatsapp {
  position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: white; font-weight: 900;
  box-shadow: 0 14px 40px rgba(0,0,0,0.28); z-index: 60;
}

.success-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(198,156,93,0.16), transparent 30%), var(--bg);
}
.success-page {
  max-width: 720px; padding: 36px; margin: 24px; text-align: center;
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.success-logo { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 18px; }

@media (max-width: 1020px) {
  .hero-grid, .split, .contact-grid, .steps-grid, .practice-grid, .lawyers-grid, .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch;
    background: rgba(247, 243, 236, 0.98); border-bottom: 1px solid var(--line); padding: 20px;
  }
  .nav-links.open { display: flex; }
  .split, .lawyers-grid { grid-template-columns: 1fr; }
  .cta-box, .footer-grid, .legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding-top: 58px; }
  .practice-grid, .steps-grid, .contact-cards, .news-grid { grid-template-columns: 1fr; }
  .news-toolbar { align-items: flex-start; flex-direction: column; }
  .address-card { grid-column: auto; }
  .lawyer-card, .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .lawyer-card { grid-template-columns: 1fr; }
  dl div { flex-direction: column; gap: 4px; }
  dd { text-align: left; }
}


.wa-icon{
  width:20px;
  height:20px;
  display:inline-block;
  vertical-align:middle;
  flex:0 0 auto;
}
.floating-whatsapp{
  display:grid;
  place-items:center;
}
.wa-floating-icon{
  width:32px;
  height:32px;
  display:block;
}
.hero-actions .btn,
.cta-actions .btn{
  gap:10px;
}


/* final polish */
.brand {display:flex; align-items:center; gap:0;}
.brand-logo {width: 132px; height: auto; border-radius: 10px; box-shadow: 0 8px 20px rgba(17,24,39,0.12);}
.footer-logo {width: 190px; height: auto; border-radius: 12px;}
.footer-brand {display:block;}
.hero-text {max-width: 760px;}
.hero-actions {margin-top: 8px;}
.site-header .nav {gap: 14px;}
@media (max-width: 900px){ .brand-logo {width: 118px;} }
@media (max-width: 640px){ .brand-logo {width: 104px;} .footer-logo {width: 170px;} }


.success-alert {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #064e3b;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.success-alert strong {
  display: block;
  font-weight: 900;
  margin-bottom: 4px;
}
.success-alert p {
  margin: 0;
  color: #065f46;
}


/* compact professional header redesign */
.site-header {background: rgba(247,243,236,0.96);}
.nav {min-height: 58px !important; gap: 14px !important;}
.brand {display:flex; align-items:center; gap:10px !important; min-width: 0;}
.brand-logo {width: 34px !important; height: 34px !important; border-radius: 8px !important; object-fit: cover; box-shadow: 0 6px 14px rgba(17,24,39,0.10) !important;}
.brand-text {display:flex; flex-direction:column; min-width:0;}
.brand-text strong {display:block; font-size: 16px; line-height:1.05; font-weight: 800; letter-spacing:-0.02em; white-space:nowrap;}
.brand-text small {display:block; font-size: 11px; line-height:1.1; color: var(--muted); white-space:nowrap;}
.nav-links {gap: 16px;}
.nav-links a {font-size: 14px;}
.btn-small {padding: 9px 14px; font-size: 14px;}
.lang-btn {padding: 7px 10px; font-size: 13px;}
.footer-brand.compact-footer-brand {display:flex !important; align-items:flex-start; gap:12px;}
.footer-logo {width: 34px !important; height: 34px !important; border-radius: 8px !important; object-fit: cover;}
.success-logo {width: 62px !important; height: 62px !important; border-radius: 12px;}
@media (max-width: 900px){ .nav-links {top: 58px !important;} .brand-text strong {font-size:15px;} .brand-text small {font-size:10px;} }
@media (max-width: 640px){ .nav {min-height: 56px !important;} .brand-logo {width:30px !important; height:30px !important;} .brand-text strong {font-size:14px;} .brand-text small {font-size:10px;} .nav-links {top:56px !important;} }

.error-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.error-alert strong { display: block; font-weight: 900; margin-bottom: 4px; }
.error-alert p { margin: 0; color: #991b1b; }
.contact-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}


.direct-contact-panel {
  min-height: 100%;
}
.direct-contact-actions {
  display: grid;
  gap: 12px;
  margin: 22px 0 16px;
}
.full-width {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.with-icon img {
  width: 20px;
  height: 20px;
  display: block;
}


/* contact alignment fix */
.contact-list,
.hero-card dl {
  display: grid;
  gap: 12px;
}

.contact-row,
.hero-card dl div {
  display: grid;
  grid-template-columns: minmax(145px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 14px;
}

.contact-row span,
.hero-card dt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
}

.contact-row strong,
.hero-card dd {
  margin: 0;
  text-align: right;
  line-height: 1.25;
  word-break: keep-all;
}

.contact-row a,
.hero-card a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 640px) {
  .contact-row,
  .hero-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
  }

  .contact-row strong,
  .hero-card dd {
    text-align: left;
  }
}


.direct-email-line {
  margin: 2px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.direct-email-line strong {
  color: var(--text);
}

/* visible email contact */
.visible-email-box {
  margin-top: 2px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.7);
  text-align: center;
}
.visible-email-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 5px;
}
.visible-email-box strong {
  display: block;
  font-size: 17px;
  word-break: break-word;
  color: var(--text);
}
