/* ============================================================
   David Romero – Abogado | styles.css
   Desarrollado por Clic Argentina – https://clicargentina.ar/
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:        #0d1f3c;
  --navy-mid:    #162d54;
  --navy-light:  #1e3d6e;
  --blue:        #2557a7;
  --blue-light:  #3a72c8;
  --gold:        #b8966a;
  --gold-light:  #d4b483;
  --grey-dark:   #3a3f4a;
  --grey-mid:    #6b7280;
  --grey-light:  #e8eaed;
  --grey-bg:     #f4f5f7;
  --white:       #ffffff;
  --off-white:   #fafbfc;
  --border:      #d1d5db;
  --serif-disp:  'Playfair Display', Georgia, serif;
  --serif-body:  'Libre Baskerville', Georgia, serif;
  --sans:        'Lato', sans-serif;
  --shadow-sm:   0 1px 4px rgba(13,31,60,0.08);
  --shadow-md:   0 4px 20px rgba(13,31,60,0.12);
  --shadow-lg:   0 12px 40px rgba(13,31,60,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--grey-dark);
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ─── UTILITY ─── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 5%; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.9rem;
}
.section-tag::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold);
}
h2 {
  font-family: var(--serif-disp);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
h2 em { font-style: italic; font-weight: 400; color: var(--blue); }
.lead-text {
  font-family: var(--sans);
  font-size: 1rem; font-weight: 300;
  color: var(--grey-mid);
  max-width: 560px; line-height: 1.8;
}

/* ─── TOP BAR ─── */
.topbar {
  background: var(--navy);
  padding: 0.55rem 5%;
  display: flex; justify-content: flex-end; align-items: center;
  gap: 2rem;
}
.topbar-item {
  display: flex; align-items: center; gap: 0.45rem;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 400;
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color 0.2s;
}
.topbar-item:hover { color: var(--gold-light); }
.topbar-item svg { width: 13px; height: 13px; fill: var(--gold); flex-shrink: 0; }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name {
  font-family: var(--serif-disp);
  font-size: 1.3rem; font-weight: 700;
  color: var(--navy); letter-spacing: 0.01em;
}
.nav-logo-name span { color: var(--blue); }
.nav-logo-sub {
  font-family: var(--sans);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey-dark); text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--blue); border-color: var(--blue); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--navy); display: block; transition: 0.3s; }
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 72px; left: 0; width: 100%;
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  box-shadow: var(--shadow-md);
  z-index: 99; padding: 0.5rem 0;
}
.mobile-menu a {
  display: block; padding: 0.85rem 5%;
  font-family: var(--sans); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--grey-light);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover { background: var(--grey-bg); color: var(--blue); }
.mobile-menu.open { display: flex; }

/* ─── HERO ─── */
#hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 6rem 5% 5rem;
  min-height: 88vh;
  display: flex; align-items: center;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.5) 59px, rgba(255,255,255,0.5) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.5) 59px, rgba(255,255,255,0.5) 60px);
}
.hero-accent {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--blue) 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.55;
}
.hero-line-v {
  position: absolute; left: 5%; top: 15%; bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.4;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1px; background: var(--gold);
}
#hero h1 {
  font-family: var(--serif-disp);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 700; line-height: 1.05;
  color: var(--white); margin-bottom: 0.4rem;
}
#hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.hero-sub {
  font-family: var(--serif-disp);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-style: italic; font-weight: 400;
  color: rgba(255,255,255,0.55); margin-bottom: 1.6rem;
}
.hero-desc {
  font-family: var(--sans);
  font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 500px; line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-badges {
  display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 2px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: border-color 0.25s, color 0.25s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  position: absolute; right: 5%; bottom: 3rem; z-index: 2;
  display: flex; flex-direction: column; gap: 1.5rem; text-align: right;
}
.stat-num {
  font-family: var(--serif-disp);
  font-size: 3rem; font-weight: 700; line-height: 1;
  color: var(--white);
}
.stat-num span { color: var(--gold); }
.stat-label {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ─── HIGHLIGHT ─── */
#highlight {
  background: var(--blue);
  padding: 2.2rem 5%;
}
.highlight-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.highlight-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.highlight-icon svg { width: 22px; height: 22px; fill: var(--gold-light); }
.highlight-text {
  font-family: var(--serif-disp);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic; color: var(--white); flex: 1;
}
.highlight-pills { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.h-pill {
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 50px;
}

/* ─── SERVICIOS ─── */
#servicios {
  padding: 6rem 5%;
  background: var(--off-white);
}
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; gap: 2rem; flex-wrap: wrap;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  padding: 2.5rem 2rem;
  transition: border-top-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  border-top-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card.featured { border-top-color: var(--gold); }
.service-card.featured:hover { border-top-color: var(--gold); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--grey-bg);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--blue); }
.service-card.featured .service-icon { background: rgba(184,150,106,0.12); }
.service-card.featured:hover .service-icon { background: var(--gold); }
.service-icon svg { width: 24px; height: 24px; fill: var(--blue); transition: fill 0.3s; }
.service-card:hover .service-icon svg { fill: var(--white); }
.service-card.featured .service-icon svg { fill: var(--gold); }
.service-card.featured:hover .service-icon svg { fill: var(--white); }
.service-label {
  font-family: var(--sans);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.service-card h3 {
  font-family: var(--serif-disp);
  font-size: 1.45rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.8rem; line-height: 1.2;
}
.service-card p {
  font-family: var(--sans);
  font-size: 0.9rem; font-weight: 300;
  color: var(--grey-mid); line-height: 1.7;
}
.service-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.2rem;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
  opacity: 0; transition: opacity 0.3s;
}
.service-more::after { content: '→'; }
.service-card:hover .service-more { opacity: 1; }

/* ─── ABOUT ─── */
#about {
  padding: 6rem 5%;
  background: var(--white);
}
.about-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.about-left { }
.about-quote {
  font-family: var(--serif-disp);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: italic; font-weight: 400;
  color: var(--navy); line-height: 1.5;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 2rem;
}
.about-text {
  font-family: var(--sans);
  font-size: 0.95rem; font-weight: 300;
  color: var(--grey-mid); line-height: 1.85;
  margin-bottom: 1.2rem;
}
.cred-list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cred-item {
  display: flex; align-items: flex-start; gap: 0.9rem;
  font-family: var(--sans); font-size: 0.88rem; color: var(--grey-dark);
}
.cred-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 0.45em;
}
.about-right { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card {
  background: var(--grey-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  padding: 1.6rem 1.8rem;
}
.info-card.gold-border { border-left-color: var(--gold); }
.info-label {
  font-family: var(--sans);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.35rem;
}
.info-value {
  font-family: var(--serif-disp);
  font-size: 1.2rem; font-weight: 700; color: var(--navy);
}
.info-sub {
  font-family: var(--sans);
  font-size: 0.8rem; color: var(--grey-mid); margin-top: 0.2rem;
}
.audience-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.aud-tag {
  background: var(--white); border: 1px solid var(--border);
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); padding: 0.3rem 0.75rem; border-radius: 2px;
}

/* ─── PROCESO ─── */
#proceso {
  padding: 6rem 5%;
  background: var(--navy);
}
#proceso .section-tag { color: var(--gold-light); }
#proceso .section-tag::before { background: var(--gold-light); }
#proceso h2 { color: var(--white); }
#proceso h2 em { color: var(--gold-light); }
#proceso .lead-text { color: rgba(255,255,255,0.55); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 3.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.step {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--serif-disp);
  font-size: 3.5rem; font-weight: 700; line-height: 1;
  color: rgba(255,255,255,0.06); margin-bottom: 1.2rem;
  position: absolute; top: 1.5rem; right: 1.5rem;
}
.step-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.step-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.step h4 {
  font-family: var(--serif-disp);
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.6rem;
}
.step p {
  font-family: var(--sans);
  font-size: 0.85rem; font-weight: 300;
  color: rgba(255,255,255,0.5); line-height: 1.7;
}

/* ─── CONTACTO ─── */
#contacto {
  padding: 6rem 5%;
  background: var(--grey-bg);
}
.contact-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 5rem; align-items: start;
}
.contact-info-block { }
.contact-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:first-child { padding-top: 0; border-top: none; }
.c-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px; margin-top: 0.1rem;
}
.c-icon svg { width: 16px; height: 16px; fill: var(--gold); }
.c-label {
  font-family: var(--sans); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.25rem;
}
.c-val {
  font-family: var(--serif-body); font-size: 0.92rem; color: var(--navy);
}
.c-val a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
.c-val a:hover { color: var(--blue); }
.social-row { display: flex; gap: 0.75rem; margin-top: 2rem; flex-wrap: wrap; }
.social-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey-dark); text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  border-radius: 2px;
}
.social-btn svg { width: 14px; height: 14px; fill: currentColor; }
.social-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--white); }

/* FORM */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
}
.form-title {
  font-family: var(--serif-disp);
  font-size: 1.5rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-sub {
  font-family: var(--sans); font-size: 0.85rem; color: var(--grey-mid);
  margin-bottom: 1.8rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.1rem; }
label {
  font-family: var(--sans); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-mid);
}
input, textarea, select {
  background: var(--grey-bg);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 0.8rem 1rem;
  font-family: var(--serif-body); font-size: 0.9rem;
  border-radius: 2px; outline: none; width: 100%;
  transition: border-color 0.25s, background 0.25s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue); background: var(--white);
}
textarea { resize: vertical; min-height: 130px; }
select option { background: var(--white); }
.form-submit {
  width: 100%; padding: 1rem;
  background: var(--navy);
  color: var(--white);
  border: none; border-radius: 2px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; transition: background 0.25s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--blue); }
#form-success {
  display: none; text-align: center; padding: 2rem;
  font-family: var(--serif-disp); font-size: 1.2rem; font-style: italic;
  color: var(--blue);
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy-mid);
  border-top: 3px solid var(--gold);
  padding: 2.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: var(--serif-disp); font-size: 1.05rem; font-weight: 700;
  color: rgba(255,255,255,0.6);
}
.footer-logo span { color: var(--gold); }
.footer-center {
  font-family: var(--sans); font-size: 0.72rem;
  color: rgba(255,255,255,0.4); text-align: center;
}
.footer-center a { color: var(--gold-light); text-decoration: none; }
.footer-center a:hover { text-decoration: underline; }
.footer-right {
  font-family: var(--sans); font-size: 0.7rem;
  color: rgba(255,255,255,0.35); letter-spacing: 0.08em;
}

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  background: #25d366; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .topbar { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .hero-accent { display: none; }
  .hero-stats { position: static; margin-top: 3rem; flex-direction: row; gap: 2rem; }
  .stat-num { font-size: 2.2rem; }
  .stat { text-align: left; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 600px) {
  #hero { padding: 5rem 5% 4rem; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.8rem; }
  footer { flex-direction: column; text-align: center; }
  .services-header { flex-direction: column; align-items: flex-start; }
}
