/* ============================================
   Aselex — Landing page
   Tema: profesional, sobrio, moderno (azul/gris)
   ============================================ */

:root {
  --blue-900: #0f172a;
  --blue-800: #1e293b;
  --blue-700: #334155;
  --blue-600: #475569;
  --blue-500: #64748b;
  --blue-400: #94a3b8;
  --blue-300: #cbd5e1;
  --blue-200: #e2e8f0;
  --blue-100: #f1f5f9;
  --blue-50: #f8fafc;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --container: min(1200px, 92vw);
  --section-padding: clamp(3rem, 6vw, 5rem);
  --header-height: 92px;
  --top-bar-height: 36px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--blue-800);
  background: var(--white);
}

/* Animaciones al entrar en vista */
.scroll-reveal .section-label,
.scroll-reveal .section-title--large,
.scroll-reveal .section-content,
.scroll-reveal .how-header,
.scroll-reveal .services-header,
.scroll-reveal .team-header,
.scroll-reveal .value-card,
.scroll-reveal .area-box,
.scroll-reveal .service-card,
.scroll-reveal .team-card,
.scroll-reveal .contact-info,
.scroll-reveal .contact-logo,
.scroll-reveal .how-image,
.scroll-reveal .services-image,
.scroll-reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.in-view .section-label,
.scroll-reveal.in-view .section-title--large,
.scroll-reveal.in-view .section-content,
.scroll-reveal.in-view .how-header,
.scroll-reveal.in-view .services-header,
.scroll-reveal.in-view .team-header,
.scroll-reveal.in-view .value-card,
.scroll-reveal.in-view .area-box,
.scroll-reveal.in-view .service-card,
.scroll-reveal.in-view .team-card,
.scroll-reveal.in-view .contact-info,
.scroll-reveal.in-view .contact-logo,
.scroll-reveal.in-view .how-image,
.scroll-reveal.in-view .services-image,
.scroll-reveal.in-view .scroll-reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal .value-card:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal .value-card:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal .value-card:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal .area-box:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal .area-box:nth-child(2) { transition-delay: 0.15s; }
.scroll-reveal .area-box:nth-child(3) { transition-delay: 0.25s; }
.scroll-reveal .area-box:nth-child(4) { transition-delay: 0.35s; }

/* Top bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: var(--top-bar-height);
  background: var(--blue-100);
  border-bottom: 1px solid var(--blue-200);
}

.top-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-text {
  font-size: 0.75rem;
  color: var(--blue-600);
  letter-spacing: 0.02em;
}

/* Header */
.header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blue-200);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  text-decoration: none;
}

.logo__img {
  display: block;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.logo:hover .logo__img {
  opacity: 0.9;
  transform: scale(1.02);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--blue-700);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover {
  color: var(--accent);
}

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blue-700);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--top-bar-height) + var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0c1322 0%, #151d2e 40%, #1a2438 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(180deg, rgba(12, 19, 34, 0.92) 0%, rgba(21, 29, 46, 0.88) 50%, rgba(26, 36, 56, 0.94) 100%),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 4h2v6h6v2h-6v6h-2v-6H5v-2h6V4z' fill='%23fff'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero-tagline {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hero-tagline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-arrow {
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Secciones */
.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background: var(--blue-50);
  border-top: 1px solid var(--blue-200);
  border-bottom: 1px solid var(--blue-200);
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-inner--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section-inner--about {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
}

.about-text {
  grid-column: 1;
}

.about-visual {
  grid-column: 2 / -1;
  position: relative;
  min-height: 380px;
}

.about-image {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.about-image__img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.about-cards--overlay {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  left: 50%;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 85%;
  overflow-y: auto;
}

.about-cards--overlay .value-card {
  padding: 1rem 1.25rem;
}

.about-cards--overlay .value-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.5rem;
}

.about-cards--overlay .value-card__icon svg {
  width: 24px;
  height: 24px;
}

.about-cards--overlay .value-card__title {
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
}

.about-cards--overlay .value-card__desc {
  font-size: 0.9375rem;
  line-height: 1.4;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  color: var(--blue-900);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.section-title--large {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.section-content {
  max-width: 720px;
}

.section-content .placeholder,
.section-content p {
  color: var(--blue-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.section-content .placeholder {
  font-style: italic;
  color: var(--blue-500);
}

.section-content p:last-child {
  margin-bottom: 0;
}

.about-text .section-content {
  max-width: none;
}

/* Tarjetas de valores */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
  border-color: var(--blue-300);
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.value-card:hover .value-card__icon {
  transform: scale(1.08);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
}

.value-card__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.value-card__desc {
  font-size: 0.9375rem;
  color: var(--blue-600);
  line-height: 1.55;
  margin: 0;
}

/* Cómo lo hacemos */
.how-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.how-header .section-label {
  margin-bottom: 0.5rem;
}

.how-header .section-title--large {
  margin-bottom: 1.5rem;
}

.how-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.how-intro p {
  color: var(--blue-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.how-intro p:last-child {
  margin-bottom: 0;
}

.how-image {
  margin: 2.5rem 0;
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.how-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.area-box {
  padding: 1.75rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--blue-200);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.area-box:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.08);
  transform: translateY(-4px);
  border-color: var(--blue-300);
}

.area-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 10px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.area-box:hover .area-box__icon {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.05);
}

.area-box__icon svg {
  width: 28px;
  height: 28px;
}

.area-box__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.area-box__desc {
  font-size: 0.9375rem;
  color: var(--blue-600);
  line-height: 1.55;
  margin: 0;
}

/* Nuestros servicios */
.services-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.services-header .section-label {
  margin-bottom: 0.5rem;
}

.services-header .section-title--large {
  margin-bottom: 0.75rem;
}

.services-intro {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--blue-600);
  line-height: 1.65;
}

.services-image {
  margin: 2.5rem 0;
  width: 100%;
  max-width: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  aspect-ratio: 3 / 1;
}

.services-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.06);
  transform: translateY(-4px);
  border-color: var(--blue-300);
}

.service-card--featured {
  background: var(--blue-800);
  border-color: var(--blue-700);
}

.service-card--featured:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.4), 0 0 24px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
  border-color: var(--blue-600);
}

.service-card__title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.75rem;
}

.service-card--featured .service-card__title {
  color: var(--white);
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--blue-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card--featured .service-card__desc {
  color: var(--blue-200);
}

.service-card__list-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-700);
  margin: 0 0 0.75rem;
}

.service-card--featured .service-card__list-title {
  color: var(--blue-200);
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--blue-700);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.service-card__list li strong {
  font-weight: 600;
}

.service-card__list li:last-child {
  margin-bottom: 0;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.service-card--featured .service-card__list li {
  color: var(--blue-100);
}

.service-card--featured .service-card__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.service-card__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s ease;
}

.service-card__link span {
  transition: transform 0.25s ease;
}

.service-card__link:hover {
  color: var(--accent-hover);
}

.service-card__link:hover span {
  transform: translateX(4px);
}

.service-card--featured .service-card__link {
  color: var(--white);
}

.service-card--featured .service-card__link:hover {
  color: var(--blue-200);
}

/* Nuestro equipo */
.team-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.team-header .section-label {
  margin-bottom: 0.5rem;
}

.team-header .section-title--large {
  margin-bottom: 0.75rem;
}

.team-intro {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--blue-600);
  line-height: 1.65;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

.team-card__name {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.9375rem;
  color: var(--blue-600);
  margin-bottom: 1rem;
}

.team-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.team-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.team-link:hover {
  color: var(--accent-hover);
  transform: translateY(-1px);
}

.team-link svg {
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Modal Ver CV — centrado, minimalista (azul/gris) ========== */
.team-cv-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: 90vw;
  width: 540px;
  max-height: 85vh;
  padding: 0;
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  color: var(--blue-800);
}

.team-cv-modal::backdrop {
  background: rgba(15, 23, 42, 0.35);
}

.team-cv-modal__inner {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.team-cv-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--blue-50);
  border-bottom: 1px solid var(--blue-200);
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}

.team-cv-modal__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--blue-900);
  margin: 0;
  letter-spacing: 0.01em;
}

.team-cv-modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--blue-600);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.team-cv-modal__close:hover {
  color: var(--blue-900);
  background: var(--blue-200);
}

.team-cv-modal__content {
  padding: 1.5rem 1.5rem 2rem;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--blue-700);
}

.team-cv-modal__content p {
  margin-bottom: 0.875rem;
}

.team-cv-modal__content p:last-child {
  margin-bottom: 0;
}

/* Contacto */
.contact-info {
  max-width: 480px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: var(--blue-700);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item__icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.15em;
}

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-item a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

.section-inner--contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.contact-content {
  min-width: 0;
}

.contact-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-logo__img {
  max-width: 360px;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .section-inner--contact {
    grid-template-columns: 1fr;
  }
  .contact-logo {
    justify-content: center;
  }
  .contact-logo__img {
    max-height: 100px;
  }
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--blue-800) 0%, var(--blue-900) 100%);
  color: var(--blue-300);
  padding: 2rem 0;
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--blue-400);
}

/* Responsive */
@media (max-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--blue-200);
    gap: 1rem;
  }
  .hero {
    min-height: 75vh;
  }
  .section-inner--cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section-inner--about {
    grid-template-columns: 1fr;
  }
  .about-text {
    grid-column: auto;
  }
  .about-visual {
    grid-column: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-image {
    position: relative;
    min-height: 260px;
  }
  .about-image__img {
    min-height: 260px;
  }
  .about-cards--overlay {
    position: relative;
    left: 0;
    top: auto;
    transform: none;
    max-height: none;
    padding: 1rem 1.25rem;
  }
  .about-cards--overlay .value-card {
    min-width: 0;
  }
  .how-image,
  .services-image {
    width: 100%;
  }
  .how-image {
    aspect-ratio: 3 / 1;
  }
  .services-image {
    aspect-ratio: 3 / 1;
  }
  .areas-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .team-cv-modal {
    width: calc(100vw - 2rem);
    max-height: 90vh;
  }
}
