/* ── CSS VARIABLES ── */
:root {
  --purple: #5B1FA8;
  --purple-light: #7B3FC4;
  --purple-dark: #3A0F70;
  --purple-pale: #F3EEF9;
  --cream: #FAF8F5;
  --warm-white: #FFFFFF;
  --dark: #1A1020;
  --text: #3D2B52;
  --text-light: #7A6890;
  --gold: #C9A84C;
  --gold-light: #E8D08A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 80px;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,31,168,0.08);
  transition: padding 0.3s;
}
nav.scrolled { padding: 14px 60px; box-shadow: 0 2px 30px rgba(91,31,168,0.08); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--purple); text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text); text-decoration: none;
  position: relative; padding-bottom: 10px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--purple); transition: width 0.3s;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--purple); color: #fff !important;
  padding: 10px 24px; border-radius: 2px;
  font-size: 0.78rem !important; letter-spacing: 0.14em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--purple-dark) !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--purple); transition: 0.3s; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--warm-white);
  border: 1px solid rgba(91,31,168,0.12);
  box-shadow: 0 12px 40px rgba(91,31,168,0.12);
  min-width: 280px;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--warm-white);
  border-left: 1px solid rgba(91,31,168,0.12);
  border-top: 1px solid rgba(91,31,168,0.12);
  rotate: 45deg;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 20px;
  font-size: 0.8rem !important; font-weight: 500 !important;
  letter-spacing: 0.06em !important; text-transform: none !important;
  color: var(--text) !important; text-decoration: none;
  border-bottom: 1px solid rgba(91,31,168,0.06);
  transition: background 0.2s;
  line-height: 1.4;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--purple-pale); color: var(--purple) !important; }
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu .dd-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.nav-dropdown-menu .dd-text { display: flex; flex-direction: column; gap: 3px; }
.nav-dropdown-menu .dd-label { color: inherit; }
.nav-dropdown-menu .dd-sub { font-size: 0.72rem; color: var(--text-light); font-weight: 400; letter-spacing: 0.04em; }
.language-dropdown { position: relative; }
.language-menu { position: relative; }
.language-menu summary {
  display: flex; align-items: center; gap: 5px;
  min-width: 48px; padding: 2px 0 10px;
  color: var(--text); cursor: pointer; list-style: none;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary span { font-size: 0.65rem; transition: transform 0.2s; }
.language-menu[open] summary span { transform: rotate(180deg); }
.language-options {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 72px; padding: 6px;
  background: var(--warm-white); border: 1px solid rgba(91,31,168,0.12);
  box-shadow: 0 10px 30px rgba(91,31,168,0.12); z-index: 210;
}
.language-options a {
  display: block; padding: 9px 12px;
  font-size: 0.75rem; letter-spacing: 0.1em; text-align: center;
}
.language-options a::after { display: none; }
.language-options a:hover { background: var(--purple-pale); }
.language-options a[aria-current="page"] { color: var(--purple); font-weight: 600; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding-top: 80px;
}
.hero-left {
  background: var(--purple-dark);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(91,31,168,0.3) 0%, rgba(26,16,32,0.95) 100%);
  z-index: 1;
}
.hero-photo {
  position: absolute; inset: 0;
  background: url('/images/Gemini_Generated_Image_j7sr7gj7sr7gj7sr.jpg') center/cover no-repeat;
  opacity: 0.55;
}
.hero-left-content { position: relative; z-index: 2; padding: 60px 56px; }
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 500; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1;
  color: #fff; letter-spacing: -0.01em;
}
.hero-name strong { font-weight: 600; color: var(--gold-light); display: block; }
.hero-tagline {
  margin-top: 20px;
  font-size: 0.95rem; color: rgba(255,255,255,0.65);
  font-weight: 300; letter-spacing: 0.05em; line-height: 1.7;
}
.hero-right {
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 80px 70px;
  position: relative;
  padding-top: 50px;
}
.hero-right::before {
  content: 'ABM';
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18rem; font-weight: 700; letter-spacing: -0.05em;
  color: rgba(91,31,168,0.04); line-height: 1;
  pointer-events: none;
}
.hero-intro-label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple); font-weight: 500; margin-bottom: 24px;
}
.hero-intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400; line-height: 1.25;
  color: var(--dark); margin-bottom: 20px;
}
.hero-intro-title em { font-style: italic; color: var(--purple); }
.hero-intro-text {
  font-size: 0.95rem; color: var(--text-light);
  line-height: 1.65; max-width: 540px; margin-bottom: 30px;
}
.hero-intro-text p { margin-bottom: 12px; }
.hero-intro-text p:last-child { margin-bottom: 0; }
.hero-intro-text strong { color: var(--text); font-weight: 600; }
.hero-intro-text .hero-closing { color: var(--purple); font-weight: 600; }
.hero-stats {
  display: flex; gap: 40px; margin-bottom: 44px;
  padding-top: 32px; border-top: 1px solid rgba(91,31,168,0.1);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 600; color: var(--purple); line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.06em; margin-top: 4px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--purple); color: #fff;
  padding: 16px 36px; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--purple); color: var(--purple);
  padding: 15px 32px; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--purple); color: #fff; }

/* ── SECTION COMMONS ── */
section { padding: 100px 60px; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple); font-weight: 500; margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400; line-height: 1.15; color: var(--dark);
}
.section-title em { font-style: italic; color: var(--purple); }
.section-intro { max-width: 760px; margin: -22px 0 34px; color: var(--text-light); line-height: 1.75; }

/* ── SOBRE MÍ ── */
#sobre {
  background: var(--warm-white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0px;
  align-items: start; padding: 80px 70px;
}
.sobre-img-wrap { position: relative; }
.sobre-img-wrap::before {
  content: ''; display: inline-block; vertical-align: top;
  position: relative; top: -20px; left: -20px; right: 20px; bottom: 20px;
  border: 1.5px solid rgba(91,31,168,0.2); z-index: 0;
}
.sobre-img-wrap::after {
  content: ''; width: auto; display: inline-block; vertical-align: top;
  position: relative; top: 20px; bottom: -20px; left: 20px; right: -20px;
  background: var(--purple-pale); z-index: 0;
}
.sobre-img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 3/4; object-fit: contain;
  background: linear-gradient(145deg, #c4a8e0 0%, #7B3FC4 100%);
  display: flex; align-items: center; justify-content: center;
}
.sobre-img-placeholder {
  width: auto; aspect-ratio: 3/4;
  background: linear-gradient(145deg, #e8d8f5 0%, #c4a8e0 50%, #7B3FC4 100%);
  position: relative; z-index: 1;
  display: inline-block; height: auto;
  flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 30px;
}
.sobre-badge {
  position: absolute; bottom: -18px; right: 54px; z-index: 2;
  background: var(--purple); color: #fff; padding: 20px 26px; text-align: center;
}
.sobre-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 600; line-height: 1;
}
.sobre-badge-text { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.sobre-bio-block { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.sobre-bio-block p { font-size: 0.95rem; line-height: 1.85; color: var(--text-light); }
.sobre-bio-block p strong { color: var(--text); font-weight: 500; }
.sobre-highlights { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.highlight-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px; background: var(--purple-pale);
  border-left: 3px solid var(--purple);
  font-size: 0.88rem; line-height: 1.6;
}
.highlight-item svg { flex-shrink: 0; margin-top: 1px; }

/* ── ONLINE ── */
#online {
  background: var(--purple-dark);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
#online::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.online-content { position: relative; z-index: 1; }
.online-content .section-label { color: var(--gold-light); }
.online-content .section-label::before { background: var(--gold); }
.online-content .section-title { color: #fff; }
.online-content p { margin-top: 22px; font-size: 0.95rem; color: rgba(255,255,255,0.68); line-height: 1.85; }
.online-highlight {
  margin-top: 28px; padding: 22px 26px;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.08);
}
.online-highlight p { margin-top: 0; color: var(--gold-light) !important; font-size: 0.9rem !important; font-weight: 500; }
.online-features { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.online-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 30px;
  transition: background 0.2s, border-color 0.2s;
}
.online-feature:hover { background: rgba(255,255,255,0.09); border-color: rgba(201,168,76,0.3); }
.online-feature-icon { font-size: 1.6rem; margin-bottom: 12px; }
.online-feature h4 { color: #fff; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.online-feature p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-top: 0; }

/* ── SERVICES ── */
#servicios { background: var(--cream); }
.servicios-tabs {
  display: flex; gap: 0; margin: 48px 0 44px;
  border-bottom: 1.5px solid rgba(91,31,168,0.15);
}
.tab-btn {
  padding: 14px 32px; background: none; border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light); position: relative;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.tab-btn.active { color: var(--purple); }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: -1.5px; left: 0; right: 0; height: 2.5px;
  background: var(--purple);
}
.tab-btn:hover { color: var(--purple); }
.tab-flag { font-size: 1.1rem; }
.services-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.services-grid.active { display: grid; }
.service-card {
  background: var(--warm-white);
  border: 1px solid rgba(91,31,168,0.08);
  padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(91,31,168,0.1); border-color: rgba(91,31,168,0.2); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 18px; }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; color: var(--dark); margin-bottom: 16px;
}
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  font-size: 0.85rem; color: var(--text-light); line-height: 1.5;
  padding-left: 14px; position: relative;
}
.service-list li::before { content: '–'; position: absolute; left: 0; color: var(--gold); }

/* ── CONTACT ── */
#contacto {
  background: var(--dark);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  position: relative; overflow: hidden;
}
#contacto::before {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,31,168,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.contact-left { position: relative; z-index: 1; }
.contact-left .section-label { color: var(--gold-light); }
.contact-left .section-label::before { background: var(--gold); }
.contact-left .section-title { color: #fff; }
.contact-left > p { margin-top: 22px; font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.8; }
.contact-details { margin-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(91,31,168,0.25); border: 1px solid rgba(91,31,168,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold-light);
}
.contact-item-text { padding-top: 3px; }
.contact-item-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.contact-item-value { font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.contact-item-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-item-value a:hover { color: var(--gold-light); }
.contact-hours {
  margin-top: 40px; padding: 24px 28px;
  border: 1px solid rgba(91,31,168,0.3);
  background: rgba(91,31,168,0.1);
}
.contact-hours h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.contact-hours p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.contact-right { position: relative; z-index: 1; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 6px; display: block; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85); padding: 14px 18px;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  outline: none; transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--purple-light); background: rgba(91,31,168,0.1); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form select option { background: var(--dark); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  background: var(--purple); color: #fff; border: none; cursor: pointer;
  padding: 16px 36px; font-family: 'Outfit', sans-serif;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.25s; margin-top: 6px;
  display: flex; align-items: center; gap: 10px;
  width: auto; align-self: flex-start;
}
.form-submit:hover { background: var(--purple-light); }

/* field validation */
.field-wrap { display: flex; flex-direction: column; }
.required { color: var(--gold); font-size: 0.7rem; }
.field-error { font-size: 0.75rem; color: #e07070; margin-top: 5px; min-height: 16px; display: block; }
.contact-form input.invalid,
.contact-form textarea.invalid,
.contact-form select.invalid { border-color: #e07070 !important; }
.contact-form input.valid,
.contact-form textarea.valid,
.contact-form select.valid { border-color: rgba(91,31,168,0.6) !important; }
.char-count { font-size: 0.72rem; color: rgba(255,255,255,0.25); text-align: right; margin-top: 5px; flex-shrink: 0; }
.char-count.warning { color: var(--gold); }
#submitBtn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── FORM OVERLAY ── */
.form-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26, 16, 32, 0.88);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
  transition: opacity 0.25s, visibility 0.25s;
}
.form-overlay.active { visibility: visible; opacity: 1; }
.form-overlay-box {
  background: var(--dark);
  border: 1px solid rgba(91,31,168,0.4);
  padding: 52px 48px;
  max-width: 480px; width: 90%;
  text-align: center;
  animation: overlayIn 0.35s ease;
}
@keyframes overlayIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.overlay-icon { font-size: 2.5rem; margin-bottom: 20px; }
.overlay-progress h3, .overlay-success h3, .overlay-error h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 400; color: #fff; margin-bottom: 10px;
}
.overlay-progress p, .overlay-success p, .overlay-error p {
  font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 28px;
}
.progress-track { width: 100%; height: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transition: width 0.4s ease;
}
.overlay-success { display: none; }
.overlay-success .success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(91,31,168,0.2); border: 1.5px solid var(--purple-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 1.6rem;
}
.overlay-error { display: none; }
.overlay-close, .overlay-retry {
  border: none; cursor: pointer; padding: 13px 32px;
  font-family: 'Outfit', sans-serif; font-size: 0.82rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s;
}
.overlay-close { background: var(--purple); color: #fff; }
.overlay-close:hover { background: var(--purple-light); }
.overlay-retry { background: none; border: 1.5px solid var(--purple-light); color: var(--purple-light); }
.overlay-retry:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ── FOOTER ── */
footer {
  background: #0F0A16;
  padding: 32px 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--purple-light); color: var(--gold-light); }
.footer-legal a { width: auto; height: auto; border: 0; font-size: 0.78rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 18px 30px; }
  nav.scrolled { padding: 12px 30px; }
  .nav-links { gap: 24px; }
  section { padding: 80px 30px; }
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { min-height: 60vh; }
  .hero-right { padding: 60px 30px; }
  .hero-right::before { display: none; }
  #sobre, #online, #contacto { grid-template-columns: 1fr; gap: 50px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 28px 30px; }
}
@media (max-width: 1180px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px 30px; gap: 16px; border-bottom: 1px solid rgba(91,31,168,0.1); max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .language-options { left: 0; right: auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px 30px; gap: 16px; border-bottom: 1px solid rgba(91,31,168,0.1); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .servicios-tabs { overflow-x: auto; }
  footer { flex-direction: column; align-items: flex-start; }
}
