/* ============================================
   Estudio LGL — hoja de estilos
   ============================================ */

:root {
  --gold-1: #d4922f;
  --gold-2: #f0b94a;
  --gold-3: #b9791f;
  --navy: #1c2430;
  --navy-2: #262f3d;
  --charcoal: #2b3241;
  --ink: #232a35;
  --paper: #ffffff;
  --cream: #faf7f1;
  --line: #e6e1d6;
  --muted: #6b7280;

  --gradient-gold: linear-gradient(100deg, var(--gold-1) 0%, var(--gold-2) 45%, var(--gold-1) 100%);

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(28, 36, 48, 0.06);
  --shadow-md: 0 12px 32px rgba(28, 36, 48, 0.12);
  --shadow-lg: 0 24px 60px rgba(28, 36, 48, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gradient-gold);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.03rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-gold);
  color: #201404;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: rgba(28, 36, 48, 0.18);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--gold-1); color: var(--gold-3); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); }

.btn-block { width: 100%; }
.btn svg { flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(28, 36, 48, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: right 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 168px 0 100px;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(212, 146, 47, 0.16), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #ffffff 78%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero-copy h1 .accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 34px;
}
.hero-stats .stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
}
.hero-stats .stat-num span { color: var(--gold-3); }
.hero-stats .stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.hero-visual { position: relative; }
.hero-visual .card-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
}
.hero-visual .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual .badge-float {
  position: absolute;
  left: -28px;
  bottom: 28px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
}
.hero-visual .badge-float .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-visual .badge-float strong { display: block; font-size: 0.95rem; color: var(--navy); }
.hero-visual .badge-float span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Marquee de confianza ---------- */
.trust-strip {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}
.trust-strip .trust-item svg { flex-shrink: 0; color: var(--gold-3); }

/* ---------- Nosotros ---------- */
.about {
  padding: 108px 0;
  background: var(--paper);
}
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/3.4;
}
.about-visual .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center;}
.about-visual .years-badge {
  position: absolute;
  bottom: -26px;
  right: -18px;
  background: var(--gradient-gold);
  color: #201404;
  border-radius: 16px;
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
  line-height: 1;
}
.about-visual .years-badge .num { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; }
.about-visual .years-badge .txt { display: block; font-size: 0.72rem; margin-top: 6px; font-weight: 600; letter-spacing: 0.03em; }

.about-copy h3.name { font-size: 1.15rem; color: var(--gold-3); font-weight: 700; margin-bottom: 6px; }
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 20px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--navy);
  font-weight: 500;
}
.about-points li svg { flex-shrink: 0; margin-top: 2px; color: var(--gold-1); }

.about-copy .signature {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 6px;
}
.about-copy .signature small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}

/* ---------- Servicios ---------- */
.services {
  padding: 108px 0;
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 146, 47, 0.35);
}
.service-card .icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,146,47,0.14), rgba(240,185,74,0.22));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-3);
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card ul li {
  font-size: 0.85rem;
  color: var(--navy);
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-1);
}

.services-cta {
  margin-top: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.services-cta p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.services-cta h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }

/* ---------- Por qué elegirnos ---------- */
.why {
  padding: 108px 0;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 90% 10%, rgba(212,146,47,0.16), transparent 60%);
  pointer-events: none;
}
.why .section-head p { color: rgba(255,255,255,0.65); }
.why .section-head h2 { color: #fff; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.why-card .icon-wrap {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #201404;
}
.why-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }

/* ---------- Testimonios ---------- */
.testimonials { padding: 108px 0; background: var(--paper); }

.testi-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.testi-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}
.testi-track {
  display: flex;
  transition: transform 0.5s ease;
}
.testi-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 10px;
  box-sizing: border-box;
}
@media (min-width: 641px) {
  .testi-carousel { padding: 0 54px; }
  .testi-slide { flex-basis: 50%; }
}
@media (min-width: 1000px) {
  .testi-slide { flex-basis: 33.3333%; }
}
.testi-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  text-align: center;
  height: 100%;
}
.testi-card .stars { color: var(--gold-1); display: flex; justify-content: center; gap: 3px; margin-bottom: 18px; font-size: 1.1rem; }
.testi-card p.quote { color: var(--navy); font-size: 1.05rem; margin-bottom: 24px; line-height: 1.65; }
.testi-card .who { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.testi-card .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: #201404; font-size: 0.95rem;
}
.testi-card .who strong { display: block; font-size: 0.92rem; color: var(--navy); }
.testi-card .who span { font-size: 0.8rem; color: var(--muted); }

.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.testi-arrow:hover { background: var(--gradient-gold); color: #201404; border-color: transparent; }
.testi-arrow.prev { left: -21px; }
.testi-arrow.next { right: -21px; }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}
.testi-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testi-dots button.active { background: var(--gradient-gold); transform: scale(1.25); }

/* ---------- Contacto ---------- */
.contact { padding: 108px 0; background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 42px 36px;
  color: #fff;
}
.contact-info h3 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.contact-info > p { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-bottom: 30px; }

.contact-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold-2);
}
.contact-list strong { display: block; font-size: 0.88rem; color: #fff; margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.contact-list a:hover { color: var(--gold-2); }

.contact-form-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 42px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.contact-form-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }

.quick-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.quick-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.quick-contact-card:hover {
  border-color: rgba(212, 146, 47, 0.4);
  background: var(--cream);
  transform: translateY(-2px);
}
.quick-contact-card .icon-wrap {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(212,146,47,0.14), rgba(240,185,74,0.22));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-3);
  flex-shrink: 0;
}
.quick-contact-card strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 3px; }
.quick-contact-card span { font-size: 0.78rem; color: var(--muted); }
.quick-contact-card .mail { display: block; font-size: 0.78rem; color: var(--gold-3); margin-top: 4px; word-break: break-all; }

.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 22px; text-align: center; }

/* ---------- CTA final ---------- */
.cta-final {
  padding: 70px 0;
  background: var(--gradient-gold);
}
.cta-final .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-final h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #201404; max-width: 560px; }
.cta-final p { color: rgba(32,20,4,0.75); margin-top: 8px; }
.cta-final .btn-primary { background: #201404; color: #fff; }
.cta-final .btn-primary:hover { background: #362309; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 64px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--gradient-gold); color: #201404; }

.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 0.88rem; }
.footer-col a:hover { color: var(--gold-2); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav, .header-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  .header-actions { gap: 10px; }

  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto 20px; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .about-copy { text-align: left; }
  .hero-stats { justify-content: space-between; }

  .why-grid { grid-template-columns: 1fr 1fr; }

  .site-header.mobile-open .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    padding: 10px 24px 26px;
    border-top: 1px solid var(--line);
  }
  .site-header.mobile-open .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-header.mobile-open .main-nav a { display: block; padding: 12px 0; width: 100%; }
  .site-header.mobile-open .header-actions .btn-outline {
    display: inline-flex;
    margin: 14px 24px 0;
  }
}

@media (max-width: 640px) {
  .hero { padding: 140px 0 70px; }
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .services-cta, .cta-final .container { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-final .container { text-align: center; align-items: center; }
  .about-points { grid-template-columns: 1fr; }
  .hero-visual .badge-float { left: 0; right: 0; margin: 0 auto; bottom: 16px; max-width: calc(100% - 32px); }
  .about-visual .years-badge { right: 0; }
  .contact-info, .contact-form-card { padding: 30px 24px; }
  .quick-contact-grid { grid-template-columns: 1fr; }
  .testi-arrow { display: none; }
}
