/* ============================================================
   Fernando Cortez – Abogado Penalista | styles.css
   Desarrollado por Clic Argentina – https://clicargentina.ar/
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --black: #0a0a0c;
  --dark: #111116;
  --card: #16161c;
  --border: #1e1e28;
  --blue: #2a4fff;
  --blue-dim: #1a3acc;
  --blue-glow: rgba(42,79,255,0.18);
  --white: #f0f0f5;
  --muted: #7a7a90;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(10,10,12,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 1.5px; background: var(--white); display: block; transition: 0.3s; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 5% 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(42,79,255,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(42,79,255,0.05) 0%, transparent 70%);
}
.hero-line {
  position: absolute; top: 0; right: 22%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.hero-content { position: relative; max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--blue);
}
h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 0.2rem;
}
h1 em { font-style: italic; color: var(--blue); }
.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 1.6rem;
  font-style: italic;
}
.hero-desc {
  font-size: 0.95rem;
  color: #a0a0b8;
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  padding: 0.85rem 2rem;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-dim); transform: translateY(-1px); }
.btn-ghost {
  padding: 0.85rem 2rem;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.25s, color 0.25s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--muted); color: var(--white); }
.hero-stats {
  position: absolute; bottom: 3rem; right: 5%;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.stat { text-align: right; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--blue); }
.stat-label {
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}

/* ─── SECTIONS GENERAL ─── */
section { padding: 6rem 5%; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.section-tag::before { content:''; width: 24px; height:1px; background: var(--blue); display:block; }
h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--blue); }
.section-lead {
  font-size: 0.95rem; color: var(--muted);
  max-width: 560px; line-height: 1.8;
}

/* ─── HIGHLIGHT BAND ─── */
#highlight {
  padding: 3rem 5%;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.highlight-inner {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.highlight-badge {
  background: var(--blue);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  white-space: nowrap;
}
.highlight-text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  flex: 1;
}
.highlight-cases {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.case-pill {
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* ─── SERVICIOS ─── */
#servicios { background: var(--dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  margin-top: 3.5rem;
  border: 1px solid var(--border);
}
.service-card {
  background: var(--card);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--blue);
  transition: height 0.4s ease;
}
.service-card:hover { background: #1a1a22; }
.service-card:hover::before { height: 100%; }
.service-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: var(--blue-glow); }
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.service-featured { border-top: 2px solid var(--blue) !important; }
.service-featured .service-num { color: rgba(42,79,255,0.25); }

/* ─── BIO ─── */
#bio { background: var(--black); }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 3rem;
}
.bio-quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  border-left: 2px solid var(--blue);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.bio-text { font-size: 0.9rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.5rem; }
.bio-credentials {
  display: flex; flex-direction: column; gap: 0.6rem; margin-top: 2rem;
}
.credential {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.85rem; color: #8888a8;
}
.credential::before {
  content: '—';
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.05em;
}
.bio-right {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.bio-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.8rem;
  border-radius: 2px;
}
.bio-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.bio-card-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}
.bio-card-sub { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }
.team-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.8rem;
  background: var(--card);
  border: 1px solid var(--border);
}
.team-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1rem; color: var(--blue);
  flex-shrink: 0;
}
.team-name { font-size: 0.9rem; font-weight: 500; }
.team-role { font-size: 0.75rem; color: var(--muted); }

/* ─── PROCESO ─── */
#proceso { background: var(--dark); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  counter-reset: steps;
}
.step {
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: 1rem;
}
.step h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ─── CONTACTO ─── */
#contacto { background: var(--black); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  margin-top: 3rem;
  align-items: start;
}
.contact-item {
  display: flex; gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:first-child { padding-top: 0; }
.contact-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.1rem;
}
.contact-icon svg { width: 16px; height: 16px; fill: var(--blue); }
.contact-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.25rem; }
.contact-val { font-size: 0.9rem; color: var(--white); }
.contact-val a { color: var(--white); text-decoration: none; }
.contact-val a:hover { color: var(--blue); }
.social-links { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.social-link {
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: border-color 0.25s, color 0.25s;
}
.social-link:hover { border-color: var(--blue); color: var(--blue); }
.contact-form { background: var(--card); border: 1px solid var(--border); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
input, textarea, select {
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  border-radius: 1px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); }
textarea { resize: vertical; min-height: 120px; }
select option { background: var(--dark); }
.form-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--blue);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s;
}
.form-submit:hover { background: var(--blue-dim); }
#form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--muted);
}
.footer-logo span { color: var(--blue); }
.footer-center {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}
.footer-center a { color: var(--blue); text-decoration: none; }
.footer-center a:hover { text-decoration: underline; }
.footer-right {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  background: #25d366;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  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.45); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

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

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  position: fixed; top: 60px; left: 0; width: 100%;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 1rem 0;
}
.mobile-menu a {
  display: block; padding: 0.9rem 5%;
  font-size: 0.9rem; color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { position: static; margin-top: 3rem; flex-direction: row; gap: 2rem; }
  .stat { text-align: left; }
  .bio-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 600px) {
  section { padding: 4rem 5%; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  footer { flex-direction: column; text-align: center; }
}
