/* Alianza Legal — Costa & Paradiso | estilos estáticos */

:root {
  --navy: #0C1B2A;
  --navy-2: #0A1622;
  --cream: #F5F2EC;
  --gold: #C9A961;
  --gold-light: #E4D3AC;
  --ink: #131F2B;
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: Archivo, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; text-wrap: pretty; }

a { color: var(--gold); text-decoration: none; }

img { max-width: 100%; display: block; }

.serif { font-family: Newsreader, Georgia, serif; }

/* Skip link (accesibilidad) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 100;
  font-size: 13px;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }

/* Header */
.al-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12,27,42,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,169,97,0.22);
}
.al-header-inner {
  max-width: 1320px; margin: 0 auto; padding: 18px clamp(20px, 4vw, 60px);
  display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 80px);
}
.al-brand { display: flex; align-items: center; gap: 14px; color: var(--cream); }
.al-brand img { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.al-brand-name { font-family: Newsreader, Georgia, serif; font-size: 19px; letter-spacing: 0.01em; line-height: 1; }
.al-brand-sub { font-size: 9px; text-transform: uppercase; letter-spacing: 0.24em; color: rgba(245,242,236,0.6); line-height: 1; }

.al-nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.al-nav-links a:not(.al-cta) {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(245,242,236,0.78); transition: color .15s ease;
}
.al-nav-links a:not(.al-cta):hover,
.al-nav-links a:not(.al-cta):focus-visible { color: var(--gold); }

.al-cta {
  border: 1px solid rgba(201,169,97,0.55); color: var(--gold);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 11px 20px; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.al-cta:hover, .al-cta:focus-visible { background: var(--gold); color: var(--navy); }

.al-menu-btn {
  display: none;
  background: transparent; border: 1px solid rgba(201,169,97,0.4);
  color: var(--cream); width: 40px; height: 40px; border-radius: 4px;
  align-items: center; justify-content: center; cursor: pointer;
}
.al-menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .al-header-inner { justify-content: space-between; }
  .al-nav-links { position: fixed; inset: 66px 0 auto 0; flex-direction: column;
    align-items: stretch; gap: 0; background: rgba(10,22,34,0.98);
    border-bottom: 1px solid rgba(201,169,97,0.22);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .18s ease, opacity .18s ease; }
  .al-nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .al-nav-links a:not(.al-cta) { padding: 16px clamp(20px,4vw,60px); border-bottom: 1px solid rgba(245,242,236,0.08); }
  .al-nav-links .al-cta { margin: 16px clamp(20px,4vw,60px); text-align: center; }
  .al-menu-btn { display: inline-flex; }
}

/* Hero */
.al-hero { padding: clamp(72px, 11vw, 170px) clamp(20px, 4vw, 60px) clamp(56px, 7vw, 96px); }
.al-eyebrow { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.al-eyebrow-line { width: 46px; height: 1px; background: var(--gold); }
.al-eyebrow-text { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.28em; color: rgba(245,242,236,0.62); }

.al-h1 {
  font-family: Newsreader, Georgia, serif; font-weight: 300;
  font-size: clamp(2.35rem, 5.4vw, 5rem); line-height: 1.04; letter-spacing: -0.022em;
  max-width: 20ch; color: #FBF9F5;
}
.al-h1 em { font-style: italic; color: var(--gold-light); }

.al-hero-grid {
  margin-top: clamp(44px, 6vw, 80px); padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(201,169,97,0.28);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 64px); align-items: start;
}
.al-lead { font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.7; color: rgba(245,242,236,0.78); max-width: 52ch; }

.al-btn-gold {
  background: var(--gold); color: var(--navy); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.18em; font-weight: 500; padding: 19px 38px; display: inline-block;
  transition: background .15s ease;
}
.al-btn-gold:hover, .al-btn-gold:focus-visible { background: var(--gold-light); }

.al-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.al-phones-inline { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,242,236,0.55); }
.al-phones-inline a { color: rgba(245,242,236,0.72); transition: color .15s ease; }
.al-phones-inline a:hover, .al-phones-inline a:focus-visible { color: var(--gold-light); }

/* Stats */
.al-stats { border-top: 1px solid rgba(245,242,236,0.1); background: var(--navy-2); }
.al-stats-grid {
  max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.al-stat { padding: clamp(32px, 4vw, 48px) clamp(20px, 2.4vw, 34px); border-right: 1px solid rgba(245,242,236,0.09); }
.al-stat:first-child { padding-left: 0; }
.al-stat:last-child { border-right: none; padding-right: 0; }
.al-stat-num { font-family: Newsreader, Georgia, serif; font-size: clamp(1.7rem, 2.4vw, 2.35rem); font-weight: 400; color: var(--gold-light); line-height: 1; }
.al-stat-label { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: rgba(245,242,236,0.68); }
.al-stat-tag { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold); }

/* Areas */
.al-section-dark { background: var(--navy); padding: clamp(72px, 10vw, 150px) clamp(20px, 4vw, 60px); }

.al-section-light { background: var(--cream); color: var(--ink); padding: clamp(72px, 10vw, 150px) clamp(20px, 4vw, 60px); }
.al-section-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 80px); align-items: end; padding-bottom: clamp(40px, 5vw, 72px);
}
.al-kicker { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.al-kicker-num { font-size: 10.5px; letter-spacing: 0.24em; color: #A8874A; }
.al-kicker-text { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.24em; color: rgba(19,31,43,0.55); }
.al-kicker-text-dark { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.24em; color: rgba(245,242,236,0.55); }

.al-h2 {
  font-family: Newsreader, Georgia, serif; font-weight: 300;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 22ch;
}
.al-h2-dark { color: #FBF9F5; }
.al-section-desc { font-size: clamp(15.5px, 1.05vw, 17px); line-height: 1.75; color: rgba(19,31,43,0.72); max-width: 52ch; }
.al-section-desc-dark { color: rgba(245,242,236,0.72); }

.al-area {
  border-top: 1px solid rgba(19,31,43,0.16); padding: clamp(30px, 3.6vw, 52px) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 3vw, 72px); align-items: start;
}
.al-area:last-child { border-bottom: 1px solid rgba(19,31,43,0.16); }
.al-area-title { display: flex; gap: clamp(18px, 2vw, 30px); align-items: baseline; }
.al-area-roman { font-size: 11px; letter-spacing: 0.18em; color: #A8874A; padding-top: 6px; }
.al-area-h3 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.12; letter-spacing: -0.015em; }
.al-area-desc { font-size: clamp(15px, 1vw, 16.5px); line-height: 1.75; color: rgba(19,31,43,0.74); max-width: 54ch; }

/* Equipo */
.al-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 64px); }
.al-team-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; background: #E6E1D7; overflow: hidden; }
.al-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.al-team-info {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(245,242,236,0.18);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.al-team-name { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.8rem); letter-spacing: -0.01em; color: #FBF9F5; }
.al-team-name a { color: rgba(245,242,236,0.55); font-size: 0.5em; letter-spacing: 0.06em; }
.al-team-name a:hover, .al-team-name a:focus-visible { color: var(--gold-light); }
.al-team-role { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: #A8874A; white-space: nowrap; }

/* Proceso */
.al-process { background: var(--navy); padding: clamp(72px, 10vw, 150px) clamp(20px, 4vw, 60px); }
.al-process-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px;
  background: rgba(245,242,236,0.12);
}
.al-step { background: var(--navy); padding: clamp(28px, 3vw, 44px) clamp(20px, 2.2vw, 34px) clamp(40px, 5vw, 64px); border-top: 2px solid rgba(201,169,97,0.4); }
.al-step.is-first { border-top-color: var(--gold); }
.al-step-num { font-family: Newsreader, Georgia, serif; font-size: clamp(2.4rem, 3.6vw, 3.4rem); font-weight: 300; color: rgba(228,211,172,0.9); line-height: 1; }
.al-step-title { margin-top: 26px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 500; color: #FBF9F5; }
.al-step-desc { margin-top: 14px; font-size: 14.5px; line-height: 1.7; color: rgba(245,242,236,0.66); }

/* Contacto */
.al-contact { background: var(--navy); padding: clamp(72px, 10vw, 150px) clamp(20px, 4vw, 60px) clamp(60px, 7vw, 110px); }
.al-contact-grid {
  margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(32px, 4vw, 72px); align-items: start;
}
.al-contact-col { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); }
.al-contact-item { padding-top: 20px; border-top: 1px solid rgba(245,242,236,0.14); }
.al-contact-item.is-first { border-top-color: rgba(201,169,97,0.35); }
.al-contact-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold); }
.al-contact-value { margin-top: 14px; font-family: Newsreader, Georgia, serif; font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 400; line-height: 1.4; color: #FBF9F5; }
.al-contact-phones { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.al-contact-phones a { font-family: Newsreader, Georgia, serif; font-size: clamp(1.15rem, 1.6vw, 1.5rem); color: #FBF9F5; transition: color .15s ease; }
.al-contact-phones a:hover, .al-contact-phones a:focus-visible { color: var(--gold-light); }

.al-map-frame { border: 1px solid rgba(201,169,97,0.35); padding: 8px; background: var(--navy-2); }
.al-map-frame iframe { width: 100%; height: clamp(320px, 42vw, 470px); border: 0; display: block; filter: grayscale(0.9) contrast(1.05); }

/* Footer */
.al-footer { background: var(--navy-2); border-top: 1px solid rgba(245,242,236,0.1); padding: clamp(36px, 4vw, 56px) clamp(20px, 4vw, 60px) clamp(100px, 10vw, 64px); }
.al-footer-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: center; }
.al-footer-brand { display: flex; align-items: center; gap: 14px; }
.al-footer-brand img { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.al-footer-brand span { font-family: Newsreader, Georgia, serif; font-size: 17px; color: #FBF9F5; }
.al-footer-brand small { color: rgba(245,242,236,0.4); }
.al-footer-tags { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,242,236,0.72); line-height: 1.8; }
.al-footer-loc { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,242,236,0.72); text-align: right; }
@media (max-width: 640px) { .al-footer-loc { text-align: left; } }

/* WhatsApp flotante */
.al-wa-float {
  position: fixed; z-index: 50; right: clamp(16px, 3vw, 34px); bottom: clamp(16px, 3vw, 34px);
  background: var(--gold); color: var(--navy); font-size: 11.5px; text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 500; padding: 16px 24px;
  box-shadow: 0 14px 34px rgba(6,14,22,0.45); display: flex; align-items: center; gap: 10px;
  transition: background .15s ease;
}
.al-wa-float:hover, .al-wa-float:focus-visible { background: var(--gold-light); }
.al-wa-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
