/* WebNueva - Flores & Asociados Abogados — Diseño Moderno */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --gold:       #c9a84c;
  --gold-light: #e8d08a;
  --gold-dark:  #a07b2a;
  --navy:       #0f2044;
  --navy-mid:   #1a3366;
  --navy-light: #2a4a8a;
  --white:      #ffffff;
  --cream:      #fafaf7;
  --gray-50:    #f8f9fa;
  --gray-100:   #f1f3f5;
  --gray-200:   #e9ecef;
  --gray-400:   #adb5bd;
  --gray-600:   #6c757d;
  --gray-800:   #343a40;
  --text:       #2d3748;
  --text-light: #718096;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITY ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.white { color: var(--white); }
.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.section-subtitle.white { color: rgba(255,255,255,0.8); }
.section-subtitle.center { margin-left: auto; margin-right: auto; text-align: center; }
.gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 24px;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.4); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy);
  padding: 9px 0;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 24px; }
.topbar-item {
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  text-decoration: none;
  transition: color var(--transition);
}
.topbar-item:hover { color: var(--gold); }
.topbar-item svg { opacity: 0.7; flex-shrink: 0; }

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}
.navbar-logo img { height: 72px; width: auto; }

.navbar-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.navbar-links li a {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-800);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
  transition: all var(--transition);
  position: relative;
}
.navbar-links li a:hover { color: var(--navy); background: var(--gray-100); }
.navbar-links li a.active { color: var(--navy); font-weight: 600; }
.navbar-links li a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.navbar-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1e3a5f 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.hero-pattern {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=900&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 40%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 40%, black 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero h1 .highlight {
  color: var(--gold);
  display: block;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  padding: 32px 0 80px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

/* ===== ABOUT SECTION ===== */
.about-section { padding: 100px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 500px;
}
.about-img-main {
  position: absolute;
  right: 0;
  top: 0;
  width: 80%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-badge {
  position: absolute;
  bottom: 60px;
  right: -10px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-gold);
  z-index: 2;
}
.about-badge-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.about-badge-text { font-size: 12px; font-weight: 600; letter-spacing: 1px; opacity: 0.9; }
.about-text { }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.value-icon {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== MVV ===== */
.mvv-section { padding: 80px 0; background: var(--navy); }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 24px;
}
.mvv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.mvv-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.mvv-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
}
.mvv-card p { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ===== SERVICES SECTION ===== */
.services-section { padding: 100px 0; background: var(--cream); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.3);
}
.service-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,32,68,0.7) 0%, transparent 60%);
}
.service-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; flex: 1; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 10px; }

/* ===== TEAM SECTION ===== */
.team-section { padding: 100px 0; background: var(--white); }
.team-header { text-align: center; margin-bottom: 60px; }
.team-office-gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.team-office-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-office-gallery img:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--gold);
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-card-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.team-avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.team-card-meta h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-role {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.team-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== CLIENTS SECTION ===== */
.clients-section { padding: 80px 0; background: var(--gray-50); }
.clients-header { text-align: center; margin-bottom: 50px; }
.clients-category { margin-bottom: 48px; }
.clients-category h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 28px;
}
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.clients-logos img {
  height: 64px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(40%) opacity(0.8);
  transition: all var(--transition);
}
.clients-logos img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }

/* ===== CONTACT SECTION ===== */
.contact-section { padding: 100px 0; background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info > p { color: var(--text-light); margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(15,32,68,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.contact-item-body h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item-body p, .contact-item-body a {
  font-size: 15px;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-item-body a:hover { color: var(--gold); }
.schedule-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.schedule-box-icon { font-size: 28px; }
.schedule-box-text h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.schedule-box-text p { font-size: 20px; font-weight: 600; color: var(--white); }
.schedule-box-text span { font-size: 13px; color: rgba(255,255,255,0.6); }

.contact-form-wrapper {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-top: 16px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.12) 0%, transparent 60%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb span { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  color: var(--white);
  font-weight: 700;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 500;
  font-size: 18px;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Page-load: topbar + navbar deslizan desde arriba ── */
.topbar {
  animation: slideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.navbar {
  animation: slideDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

/* ── Hero: cada elemento aparece escalonado ── */
.hero-content .hero-badge  { animation: fadeInUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both; }
.hero-content h1           { animation: fadeInUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both; }
.hero-content > p          { animation: fadeInUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.60s both; }
.hero-content .hero-actions{ animation: fadeInUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.74s both; }
.hero-stats                { animation: fadeInUp 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.90s both; }

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 40px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transition: right var(--transition);
    gap: 4px;
  }
  .navbar-links.open { right: 0; }
  .navbar-links li a { padding: 14px 16px; font-size: 16px; border-radius: var(--radius-sm); }
  .navbar-cta { margin-left: 0; margin-top: 16px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-images { height: 340px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .mvv-grid { grid-template-columns: 1fr; }
  .team-office-gallery { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 28px; }
  .topbar .container { justify-content: center; }
  .topbar-left { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
}
