/* ═══════════════════════════════════════════════════════
   MUCHO DEPORTE MOTRIL COMUNICACIÓN — Premium Dark Luxury
   Deep Navy + Warm Gold
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-900: #0a1628;
  --navy-800: #0d1b2a;
  --navy-700: #132238;
  --navy-600: #1a2d45;
  --navy-500: #213a56;
  --gold-400: #d4af5a;
  --gold-500: #c9a84c;
  --gold-600: #b8943f;
  --gold-300: #e0c772;
  --cream: #f5f0e8;
  --cream-light: #faf7f2;
  --text-primary: #f0ebe0;
  --text-secondary: #a8a49e;
  --text-muted: #6b6762;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gold {
  color: var(--gold-500);
}

/* ─── Side Navigation ─── */
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--navy-800);
  border-right: 1px solid rgba(201, 168, 76, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  z-index: 1000;
  transition: transform var(--transition-slow);
}

.side-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.side-nav__name {
  display: flex;
  flex-direction: column;
}

.side-nav__name-main {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.side-nav__name-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  font-weight: 500;
}

.side-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.side-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.side-nav__link:hover,
.side-nav__link.active {
  color: var(--gold-400);
  background: rgba(201, 168, 76, 0.08);
}

.side-nav__link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--gold-500);
  border-radius: 0 4px 4px 0;
}

.side-nav__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.side-nav__footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.side-nav__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.side-nav__phone:hover {
  color: var(--gold-500);
}

/* ─── Mobile Toggle ─── */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1100;
  width: 44px;
  height: 44px;
  background: var(--navy-700);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.mobile-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .mobile-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(4px);
  z-index: 999;
}

/* ─── Main Content ─── */
.main-content {
  margin-left: 260px;
  min-height: 100vh;
}

/* ─── Section Shared ─── */
.section {
  padding: 6rem 0;
}

.section__header {
  margin-bottom: 4rem;
}

.section__header--center {
  text-align: center;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.25rem;
  height: 1px;
  background: var(--gold-500);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(201, 168, 76, 0.4);
}

.btn--outline:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.btn--outline-light {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.95) 0%,
    rgba(10, 22, 40, 0.85) 40%,
    rgba(10, 22, 40, 0.6) 70%,
    rgba(10, 22, 40, 0.4) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 0 3rem;
  margin-left: calc(3rem + 260px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--gold-400);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero__badge-line {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201, 168, 76, 0.2);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(calc(-50% + 130px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(calc(-50% + 130px)) translateY(0); }
  50% { transform: translateX(calc(-50% + 130px)) translateY(6px); }
}

/* ─── Nosotros ─── */
.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.nosotros__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.nosotros__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.nosotros__image-accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 60%;
  height: 60%;
  border: 2px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  z-index: -1;
}

.nosotros__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nosotros__text p {
  color: var(--text-secondary);
  line-height: 1.9;
}

.nosotros__text strong {
  color: var(--text-primary);
}

.nosotros__highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.highlight strong {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.highlight span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Servicios ─── */
.servicios {
  background: var(--navy-800);
}

.servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.servicio-card {
  background: var(--navy-700);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.08);
  transition: all var(--transition-medium);
}

.servicio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 168, 76, 0.06);
}

.servicio-card__image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.servicio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.servicio-card:hover .servicio-card__image img {
  transform: scale(1.05);
}

.servicio-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy-700) 0%, transparent 60%);
}

.servicio-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.servicio-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicio-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.servicio-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.servicio-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.servicio-card__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.servicio-card__list li svg {
  flex-shrink: 0;
}

/* ─── Compromiso ─── */
.compromiso__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.compromiso__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.compromiso__principles {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.principle__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-500);
  opacity: 0.5;
  line-height: 1;
  min-width: 2.5rem;
}

.principle > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.principle strong {
  font-size: 1rem;
  color: var(--text-primary);
}

.principle span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.compromiso__visual {
  position: relative;
}

.compromiso__visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

.compromiso__visual-accent {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 60%;
  height: 60%;
  border: 2px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  z-index: -1;
}

/* ─── CTA ─── */
.cta {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(10, 22, 40, 0.82) 100%
  );
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.cta__text {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Contacto ─── */
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contacto__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--navy-700);
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 76, 0.08);
  transition: all var(--transition-fast);
}

.contacto__card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  background: var(--navy-600);
}

.contacto__card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto__card > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contacto__card strong {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-500);
}

.contacto__card span,
.contacto__card a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contacto__card a:hover {
  color: var(--gold-400);
}

.contacto__form-wrapper {
  background: var(--navy-700);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy-800);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--navy-700);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group--legal {
  margin-top: 0.25rem;
}

.form-group__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-group__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.form-group__checkbox a {
  color: var(--gold-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-success__icon {
  width: 72px;
  height: 72px;
  background: rgba(201, 168, 76, 0.1);
  border: 2px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ─── Footer ─── */
.footer {
  background: var(--navy-800);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 3rem 0 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__name {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.footer__tagline {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--gold-500);
}

.footer__divider {
  height: 1px;
  background: rgba(201, 168, 76, 0.08);
  margin-bottom: 2rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__bottom a {
  color: var(--gold-500);
  transition: color var(--transition-fast);
}

.footer__bottom a:hover {
  color: var(--gold-400);
}

/* ─── Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .servicios__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .servicio-card:last-child {
    grid-column: span 2;
    max-width: 500px;
    justify-self: center;
  }
}

@media (max-width: 1024px) {
  .side-nav {
    transform: translateX(-100%);
  }

  .side-nav.open {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .overlay.active {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .hero__content {
    margin-left: 2rem;
    padding: 0 2rem;
  }

  .hero__scroll {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero__scroll span {
    animation: float 2.5s ease-in-out infinite;
  }

  .nosotros__grid,
  .compromiso__inner,
  .contacto__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nosotros__image-accent,
  .compromiso__visual-accent {
    display: none;
  }

  .servicio-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero__stats {
    gap: 1.25rem;
  }

  .hero__stat-number {
    font-size: 1.375rem;
  }

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

  .servicio-card:last-child {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__nav {
    gap: 1rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .contacto__form-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta__actions .btn {
    justify-content: center;
  }
}
