*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: light dark;
  --teal:    #007BFF;
  --teal-dk: #0056cc;
  --navy:    #0a1628;
  --navy-lt: #112240;
  --slate:   #1a3460;
  --white:   #f4f9ff;
  --gray:    #8899aa;
  --accent:  #f0c040;

  /* Modo oscuro por defecto */
  --bg:        #0a1628;
  --bg-lt:     #112240;
  --text:      #f4f9ff;
  --text-muted:#8899aa;
  --card-bg:   #112240;
  --border:    rgba(0,123,255,.15);
  --input-bg:  #112240;
  --footer-bg: rgba(0,0,0,.4);
  --hero-overlay: linear-gradient(120deg, rgba(10,22,40,.92) 50%, rgba(0,123,255,.18) 100%);
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

body.light-mode,
html.light-mode-pending body {
  --bg:          #f5f7fa;
  --bg-elevated: #ffffff;
  --bg-card:     #ffffff;
  --bg-section:  #eeffff;
  --bg-lt:       #ffffff;
  --text:        #1a1a2e;
  --text-muted:  #5a5a72;
  --card-bg:     #ffffff;
  --border:      rgba(0, 123, 255, 0.15);
  --border-light:rgba(0, 0, 0, 0.06);
  --input-bg:    #ffffff;
  --footer-bg:   #e8ecf1;
  --accent:      #007BFF;
  --gray:        #5a5a72;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background .3s, color .3s;
  -webkit-tap-highlight-color: transparent;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 5%;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}

nav.scrolled {
  background: rgba(10,22,40,0.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(14px);
}

body.light-mode nav.scrolled {
  background: rgba(10,22,40,0.95);
  border-bottom-color: rgba(0,123,255,.25);
}

.nav-logo img {
  height: 5rem;
  width: auto;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(244,249,255,.9); text-decoration: none;
  font-size: .9rem; font-weight: 500; letter-spacing: .04em;
  transition: color .25s;
  touch-action: manipulation;
}
.nav-links a:hover { color: var(--teal); }

body.light-mode .nav-links a { color: rgba(244,249,255,.7); }
body.light-mode .nav-links a:hover { color: var(--teal); }
body.light-mode .burger span { background: #f4f9ff; }

/* Separator + CTA */
.nav-cta-item {
  display: flex; align-items: center;
  padding-left: 2rem;
  border-left: 1px solid rgba(255,255,255,.15);
  margin-left: .5rem;
}

.nav-cta {
  background: var(--teal); color: #0a1628 !important;
  padding: .5rem 1.2rem; border-radius: 4px; font-weight: 700 !important;
  font-size: .9rem; text-decoration: none;
  transition: background .25s, transform .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-dk) !important; color: #f4f9ff !important; transform: translateY(-1px); }

.burger { display: none; }
.burger span { width: 26px; height: 2px; background: #f4f9ff; transition: .3s; }

@media (max-width: 768px) {
  .burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
}

/* ── THEME SLIDER ─────────────────────────────────────────── */
.theme-slider {
  display: flex; align-items: center; cursor: pointer;
  flex-shrink: 0;
}
.theme-slider input { display: none; }

.slider-track {
  position: relative;
  width: 52px; height: 28px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 14px;
  display: flex; align-items: center;
  padding: 2px;
  transition: background .35s, border-color .35s;
  overflow: hidden;
}
.theme-slider input:checked + .slider-track {
  background: rgba(0,123,255,.25);
  border-color: rgba(0,123,255,.5);
}

.slider-thumb {
  position: absolute;
  left: 2px;
  width: 22px; height: 22px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .35s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  overflow: hidden;
}
.theme-slider input:checked + .slider-track .slider-thumb {
  transform: translateX(24px);
  background: #0a1628;
}

.slider-icon {
  position: absolute;
  font-size: .75rem; line-height: 1;
  transition: opacity .25s, transform .25s;
}
.slider-icon--light { opacity: 1; transform: scale(1); }
.slider-icon--dark  { opacity: 0; transform: scale(.6); }

body.light-mode .slider-track {
  background: rgba(0,123,255,.2);
  border-color: rgba(0,123,255,.5);
}

.theme-slider input:checked + .slider-track .slider-icon--light { opacity: 0; transform: scale(.6); }
.theme-slider input:checked + .slider-track .slider-icon--dark  { opacity: 1; transform: scale(1); }

/* ── HERO ────────────────────────────────────────────────── */
#inicio {
  min-height: 100vh;
  width: 100%;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/845451/pexels-photo-845451.jpeg') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--hero-overlay);
}
.hero-content {
  position: relative; z-index: 0;
  width: 100%;
  padding: 7rem 5% 3rem;
  max-width: 780px;
  animation: fadeUp .9s ease both;
  box-sizing: border-box;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(0,180,166,.15);
  border: 1px solid var(--teal);
  color: var(--teal);
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 2px; margin-bottom: 1.5rem;
  max-width: 100%; white-space: normal; word-break: break-word;
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 8vw, 5rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
  overflow-wrap: normal;
  word-break: normal;
}
.hero-title em { color: var(--primary); font-style: normal; }
.hero-title em::after {
  background: linear-gradient(90deg, var(--primary), transparent);
}
.hero-desc {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

/* Light mode hero */
body.light-mode #inicio .hero-bg {
  background: linear-gradient(135deg, rgba(245, 247, 250, 0.95) 0%, rgba(240, 245, 255, 0.9) 50%, rgba(0, 123, 255, 0.08) 100%),
              url('https://images.pexels.com/photos/845451/pexels-photo-845451.jpeg') center/cover no-repeat;
}

body.light-mode .hero-title {
  color: #ffffff;
}

body.light-mode .hero-desc {
  color: rgba(255,255,255,0.9);
  opacity: 1;
}

.btn-primary {
  display: inline-block;
  background: var(--teal); color: var(--navy);
  padding: .85rem 2.2rem; border-radius: 4px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; transition: background .25s, transform .2s;
}
.btn-primary:hover { background: var(--teal-dk); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(244,249,255,.5); color: #f4f9ff;
  padding: .85rem 2.2rem; border-radius: 4px;
  font-weight: 500; font-size: .95rem;
  text-decoration: none; margin-left: 1rem;
  transition: border-color .25s, background .25s, color .25s;
}
.btn-outline:hover { border-color: #f4f9ff; background: rgba(244,249,255,.12); }

/* ── SECTION SHELL ───────────────────────────────────────── */
section { padding: 7rem 5%; scroll-margin-top: 80px; }
.section-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: -.025em;
  margin-bottom: 1.2rem;
}
.section-sub {
  color: var(--text-muted); font-size: 1rem; line-height: 1.7;
  max-width: 520px;
}

/* ── ABOUT ────────────────────────────────────────────────── */
#nosotros { background: var(--bg-lt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

body.light-mode .about-img-wrap {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.about-img-wrap {
  position: relative; border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.about-img-wrap::before {
  content: '';
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--teal), transparent 60%);
  border-radius: 10px; z-index: -1;
}
.about-img-wrap img {
  width: 100%; height: 420px; object-fit: cover;
  display: block; border-radius: 8px;
}
.stat-row { display: flex; gap: 2rem; margin-top: 2.5rem; }
.stat { text-align: center; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: var(--teal);
}
.stat-lbl { font-size: .8rem; color: var(--gray); letter-spacing: .06em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════ */
#servicios {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

#servicios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.services-header .section-sub {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Card */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 123, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px var(--primary-glow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

/* Card glow effect */
.service-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover .service-card-glow {
  opacity: 0.15;
}

/* Service icon */
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 123, 255, 0.05));
  border: 1px solid rgba(0, 123, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: all 0.4s;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.25), rgba(0, 123, 255, 0.1));
  border-color: var(--primary);
}

.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

/* Service number */
.service-num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.4;
  letter-spacing: 0.05em;
}

/* Service title */
.service-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: var(--primary);
}

/* Service description */
.service-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

/* Light mode adjustments */
body.light-mode .service-card {
  background: #fff;
}

body.light-mode .service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 60px rgba(0, 123, 255, 0.15);
}

body.light-mode .service-desc {
  color: #5a5a72;
}

/* Stagger reveal delays */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.08s; }
.service-card:nth-child(3) { transition-delay: 0.16s; }
.service-card:nth-child(4) { transition-delay: 0.08s; }
.service-card:nth-child(5) { transition-delay: 0.16s; }
.service-card:nth-child(6) { transition-delay: 0.24s; }

/* ── CTA ──────────────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, #0056cc 0%, #003d99 100%);
  text-align: center;
}
#cta .section-title { color: var(--white); }
#cta .section-sub { color: rgba(255,255,255,.75); margin: 0 auto 2.5rem; }
.btn-white {
  background: var(--white); color: var(--navy);
  display: inline-block; padding: .9rem 2.5rem; border-radius: 4px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background .25s, transform .2s;
}
.btn-white:hover { background: var(--accent); transform: translateY(-2px); }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
#testimonios { background: var(--bg-lt); }

.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 3rem auto 0;
}
.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 2rem;
  transition: border-color .3s, transform .3s;
}
.testi-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.testi-quote {
  font-size: 2rem; color: var(--teal); line-height: 1; margin-bottom: .8rem;
}
.testi-text { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 1.2rem; }
.testi-author { font-weight: 600; font-size: .88rem; color: var(--text); }
.testi-company { font-size: .8rem; color: var(--teal); }

/* ── CONTACT ─────────────────────────────────────────────── */
#contacto { background: var(--bg); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem;
  max-width: 1000px; margin: 3rem auto 0; align-items: start;
}
.contact-info h3 {
  font-family: 'Syne', sans-serif; font-size: 1.2rem;
  font-weight: 700; margin-bottom: .5rem;
}
.contact-info p { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 1.8rem; }
.ci-item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.2rem; }
.ci-icon { color: var(--teal); font-size: 1.1rem; margin-top: .1rem; }

.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { display: block; font-size: .8rem; font-weight: 500; color: var(--text-muted); margin-bottom: .4rem; letter-spacing: .04em; }
input, textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 4px; padding: .75rem 1rem;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: .92rem;
  transition: border-color .25s, background .25s;
}
input:focus, textarea:focus {
  border-color: var(--teal); background: rgba(0,123,255,.05);
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%; background: var(--teal); color: var(--navy);
  border: none; border-radius: 4px; padding: .9rem;
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background .25s, transform .2s;
}
.btn-submit:hover { background: var(--teal-dk); transform: translateY(-2px); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left {
  display: flex; flex-direction: column; gap: .4rem;
  align-items: center;
  flex: 1;
}

.footer-logo { height: 7.5rem; width: auto; }
.footer-copy { color: var(--text-muted); font-size: .82rem; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  justify-content: center;
}

.footer-theme-label {
  font-size: .75rem; color: var(--text-muted);
  letter-spacing: .06em; text-transform: uppercase;
}

body.light-mode .slider-track {
  background: rgba(0,123,255,.2);
  border-color: rgba(0,123,255,.5);
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }
  footer { order: 0; }
  .social-links { order: 1; width: 100%; justify-content: center; }
  .footer-right { order: 2; width: 100%; justify-content: center; }
  .footer-left { order: 3; width: 100%; justify-content: center;}
}

.social-links {
  display: flex; gap: 1rem;
  flex: 1;
  justify-content: center;
}

.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .85rem; text-decoration: none;
  transition: border-color .25s, color .25s, background .25s;
}
.social-links a:hover { border-color: var(--teal); color: var(--teal); background: rgba(0,123,255,.08); }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SKIP LINK (WCAG 2.4.1) ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  padding: .75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top .3s;
}
.skip-link:focus {
  top: 10px;
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── FOCUS STATES (WCAG 2.4.7) ───────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.burger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ── REDUCED MOTION (WCAG 2.3.3) ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── COLOR CONTRAST FIXES (WCAG 1.4.3) ─────────────────── */
.nav-links a { color: rgba(244,249,255,.9); }
.hero-desc { color: rgba(244,249,255,.9); }
.btn-outline { border-color: rgba(244,249,255,.7); color: rgba(244,249,255,.9); }
.stat-lbl { color: var(--text-muted); }

/* ── TOUCH TARGET SIZE (WCAG 2.5.5) ────────────────────── */
.theme-slider { min-width: 52px; min-height: 44px; display: flex; align-items: center; }
.social-links a { min-width: 44px; min-height: 44px; }

@media (max-width: 768px) {
  .burger { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
}

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,22,40,.97);
    padding: 1.5rem 5%; gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  /* Show Contáctanos inside burger menu on mobile */
  .nav-cta-item {
    padding-left: 0; border-left: none; margin-left: 0;
    padding-top: .6rem; border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-cta-item .nav-cta { display: inline-block; }
  .nav-tools-item { display: none; }

  /* Hero */
  #inicio { align-items: flex-start; }
  .hero-content {
    padding-top: 6rem; padding-bottom: 3rem;
    text-align: center;
  }
  .hero-desc { font-size: .92rem; margin: 0 auto 2rem; }
  .btn-primary, .btn-outline {
    display: block; width: 100%; text-align: center;
    margin-left: 0; box-sizing: border-box;
  }
  .btn-primary { margin-bottom: .6rem; }
  .btn-outline { margin-top: 0; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .social-links { justify-content: center; }
  .footer-right { align-items: center; }
}