/* =============================================
   1. GOOGLE FONTS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&display=swap');

/* =============================================
   2. RESET CSS
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

ul {
  list-style: none;
}

/* =============================================
   3. VARIABLES CSS — PALETA COMPLETA
   ============================================= */
:root {
  /* Fondos */
  --bg:          #0A0A0A;
  --bg-2:        #111111;
  --bg-3:        #1A1A1A;
  --bg-card:     #141414;

  /* Texto */
  --text:        #FFFFFF;
  --text-2:      #A3A3A3;
  --text-3:      #666666;

  /* Acento lima */
  --lime:        #C8FF00;
  --lime-dark:   #9ECC00;
  --lime-rgb:    200, 255, 0;

  /* Bordes */
  --border:      rgba(255, 255, 255, 0.08);
  --border-2:    rgba(255, 255, 255, 0.14);

  /* Especiales */
  --whatsapp:    #25D366;
  --shadow:      0 4px 32px rgba(0, 0, 0, 0.6);

  /* Tipografía */
  --font:        'DM Sans', system-ui, sans-serif;

  /* Espaciado */
  --radius:      12px;
  --radius-lg:   20px;

  /* Transiciones */
  --ease:        0.6s ease;
  --ease-fast:   0.25s ease;
}

/* =============================================
   4. ESTILOS GLOBALES
   ============================================= */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-2);
}

/* Scrollbar personalizado oscuro */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-3);
}

/* =============================================
   5. UTILIDADES
   ============================================= */
.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 80px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

/* =============================================
   6. BOTONES
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--lime);
  border-radius: 100px;
  background: transparent;
  color: var(--lime);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background var(--ease-fast), color var(--ease-fast);
  white-space: nowrap;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--lime);
  color: #000;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: color var(--ease-fast);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--text);
}

/* =============================================
   7. NAV
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: var(--bg);
  transition: border-color var(--ease-fast), backdrop-filter var(--ease-fast);
  border-bottom: 0.5px solid transparent;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.85);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color var(--ease-fast);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a[aria-current="page"] {
  color: var(--text);
}

.nav__cta {
  flex-shrink: 0;
}

/* Dropdown "Servicios" */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text-2);
  cursor: pointer;
  transition: color var(--ease-fast);
}

.nav__dropdown-toggle:hover {
  color: var(--text);
}

.nav__dropdown-toggle svg {
  width: 10px;
  height: 6px;
  transition: transform var(--ease-fast);
}

.nav__dropdown.open .nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__dropdown.open .nav__dropdown-menu {
  display: block;
}

@media (min-width: 1024px) {
  .nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -16px;
    min-width: 240px;
    background: var(--bg-2);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow);
    z-index: 10;
  }

  .nav__dropdown-menu li + li {
    margin-top: 2px;
  }

  .nav__dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-2);
    transition: background var(--ease-fast), color var(--ease-fast);
  }

  .nav__dropdown-menu a:hover {
    background: var(--bg-3);
    color: var(--text);
  }
}

@media (max-width: 1023px) {
  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding-block: 12px;
    font-size: 1rem;
    color: var(--text-2);
    border-bottom: 0.5px solid var(--border);
  }

  .nav__links .nav__dropdown-menu a {
    display: block;
    padding: 10px 0 10px 16px;
    font-size: 0.9rem;
    color: var(--text-2);
    border-bottom: 0.5px solid var(--border);
  }
}

/* Hamburguesa */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease-fast), opacity var(--ease-fast);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* =============================================
   8. FOOTER
   ============================================= */
.footer {
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  padding-block: 48px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--text-3);
  transition: color var(--ease-fast);
}

.footer__links a:hover {
  color: var(--text-2);
}

/* =============================================
   9. WHATSAPP FLOTANTE
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* =============================================
   10. ANIMACIÓN .visible
   ============================================= */
.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--ease), transform var(--ease);
}

/* =============================================
   11. MEDIA QUERIES
   ============================================= */

/* 768px — tablet */
@media (min-width: 768px) {
  .section {
    padding-block: 110px;
  }
}

/* 1024px — desktop */
@media (min-width: 1024px) {
  .section {
    padding-block: 130px;
  }

  .nav__hamburger {
    display: none !important;
  }

  .nav__links {
    display: flex !important;
  }
}

/* Mobile — menú hamburguesa */
@media (max-width: 1023px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 0.5px solid var(--border);
    padding: 16px 24px 24px;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    padding-block: 12px;
    font-size: 1rem;
    width: 100%;
    border-bottom: 0.5px solid var(--border);
  }

  .nav__links a:last-child {
    border-bottom: none;
  }
}

/* =============================================
   12. PÁGINA: INICIO (index.html)
   ============================================= */

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px)  { .hero { padding-top: 150px; padding-bottom: 100px; } }
@media (min-width: 1024px) { .hero { padding-top: 180px; padding-bottom: 120px; } }

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

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

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  max-width: 760px;
}

.hero__h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__divider {
  margin-top: 80px;
  height: 0.5px;
  background: var(--border);
}

@media (min-width: 1024px) { .hero__divider { margin-top: 120px; } }

/* ---- Encabezados de sección ---- */
.section-h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text);
  margin-bottom: 16px;
}

/* ---- Servicios destacados ---- */
.services-header { margin-bottom: 56px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--ease-fast), box-shadow var(--ease-fast);
}

.service-card:hover {
  background: rgba(var(--lime-rgb), 0.03);
  box-shadow: inset 0 0 0 1.5px var(--lime);
}

.service-card__num {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.1em;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

.service-card__link {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color var(--ease-fast);
}

.service-card:hover .service-card__link { color: var(--lime); }

/* ---- Nuestro trabajo (portfolio) ---- */
.portfolio-header { margin-bottom: 48px; }

.portfolio-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-top: 12px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}

.portfolio-card {
  background: var(--bg-card);
  border: 0.5px solid #2A2A2A;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease-fast);
}

.portfolio-card:hover { border-color: var(--lime); }

.portfolio-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.portfolio-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.portfolio-card__tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.portfolio-card__title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.portfolio-card__desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.portfolio-card__btn {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-3);
  transition: color var(--ease-fast);
}

.portfolio-card:hover .portfolio-card__btn { color: var(--lime); }

/* ---- Por qué Clarent ---- */
.why { background: #0F0F0F; }

.why__header { max-width: 640px; margin-bottom: 56px; }

.why__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text);
  margin-bottom: 16px;
}

.why__header p { font-size: 1rem; color: var(--text-2); line-height: 1.75; }

.why__points {
  display: flex;
  flex-direction: column;
  background: var(--border);
  gap: 1px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 768px) { .why__points { flex-direction: row; } }

.why__point { flex: 1; padding: 32px; background: var(--bg-card); }

.why__point-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.why__point-body {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

/* ---- Métricas ---- */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(3, 1fr); } }

.metric { background: var(--bg-card); padding: 52px 40px; text-align: center; }

.metric__number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 500;
  color: var(--lime);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.metric__label { font-size: 0.875rem; color: var(--text-3); margin: 0; }

/* ---- CTA final (inicio) ---- */
.cta-final { text-align: center; }

.cta-final__inner { max-width: 600px; margin-inline: auto; }

.cta-final h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text);
  margin-bottom: 16px;
}

.cta-final__sub {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 36px;
  line-height: 1.75;
}

.cta-final__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Respuesta destacada ("qué hace una agencia") ---- */
.answer-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  max-width: 800px;
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ---- Por qué elegirnos: layout de dos columnas + timeline ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 52px; }
}

.why-list { display: flex; flex-direction: column; gap: 28px; }

.why-item h3 { font-size: 1.15rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.why-item p { font-size: 0.95rem; color: var(--text-2); line-height: 1.7; }

.timeline-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.timeline { list-style: none; position: relative; padding-left: 44px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 0.5px;
  background: var(--border-2);
}

.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }

.timeline .dot {
  position: absolute;
  left: -44px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--lime);
}

.timeline h4 { font-size: 0.95rem; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.timeline p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

.timeline-note { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; margin-top: 24px; }

/* ---- FAQ (acordeón) ---- */
.faq-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 40px 0 16px;
}

.faq-kicker:first-child { margin-top: 0; }

.faq-item {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--lime);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "\2013"; }

.faq-item__answer {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---- Enlace de texto dentro de un párrafo ---- */
.text-link {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity var(--ease-fast);
}

.text-link:hover {
  opacity: 0.75;
}

/* =============================================
   13. HERO INTERNO — COMPARTIDO ENTRE PÁGINAS
   (servicios.html, nosotros.html, contacto.html)
   ============================================= */
.page-hero {
  padding-top: 120px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px)  { .page-hero { padding-top: 150px; } }
@media (min-width: 1024px) { .page-hero { padding-top: 180px; padding-bottom: 96px; } }

#page-servicios .page-hero { padding-bottom: 0; }

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

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  display: block;
}

.page-hero__deco {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 18vw, 14rem);
  font-weight: 500;
  color: var(--bg-3);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.page-hero__content { position: relative; z-index: 1; max-width: 680px; }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

#page-nosotros .page-hero h1 { margin-bottom: 0; }

#page-contacto .page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: -0.03em;
}

.page-hero__sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
}

#page-servicios .page-hero__sub { max-width: 520px; }

.page-hero__divider {
  margin-top: 64px;
  height: 0.5px;
  background: var(--border);
}
@media (min-width: 1024px) { .page-hero__divider { margin-top: 96px; } }

#page-servicios .page-hero__divider { margin-top: 32px; }
@media (min-width: 1024px) { #page-servicios .page-hero__divider { margin-top: 32px; } }

/* =============================================
   14. PÁGINA: SERVICIOS (servicios.html)
   ============================================= */

/* Reducir padding de la primera sección */
#diseno-web { padding-top: 60px; }

.service-block { border-bottom: 0.5px solid var(--border); }
.service-block:last-of-type { border-bottom: none; }
.service-block--alt { background: #0C0C0C; }

.service-block__header { max-width: 640px; margin-bottom: 48px; }

.service-block__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 14px;
}

.service-block__desc { font-size: 0.975rem; color: var(--text-2); line-height: 1.75; }

.service-block__cta { margin-top: 40px; }

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
}

.plan-card:hover { border-color: var(--border-2); }
.plan-card--featured { border-color: var(--lime); }
.plan-card--featured:hover { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }

.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: #000;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-card__name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.plan-card__price { display: flex; align-items: baseline; gap: 4px; }

.plan-card__amount {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.plan-card--featured .plan-card__amount { color: var(--lime); }

.plan-card__currency {
  font-size: 1rem;
  color: var(--text-3);
  align-self: flex-start;
  padding-top: 4px;
}

.plan-card__period { font-size: 0.8rem; color: var(--text-3); }

.plan-card__divider { height: 0.5px; background: var(--border); }

.feature-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
}

.feature-list li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 500;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-list li.feat--no::before { content: "–"; color: var(--text-3); }
.feature-list li.feat--no { color: var(--text-3); }

.single-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .single-card { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.single-card__left { display: flex; flex-direction: column; gap: 20px; }

.single-card__price { display: flex; align-items: baseline; gap: 4px; }

.single-card__amount {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--lime);
  letter-spacing: -0.03em;
  line-height: 1;
}

.single-card__currency {
  font-size: 1.1rem;
  color: var(--text-3);
  align-self: flex-start;
  padding-top: 6px;
}

.single-card__label { font-size: 0.85rem; color: var(--text-2); }

.single-card__right { display: flex; flex-direction: column; gap: 16px; }

.single-card__right .feature-list li { font-size: 0.9rem; }

#page-servicios .cta-strip {
  background: #0C0C0C;
  border-top: 0.5px solid var(--border);
  padding-block: 64px;
  text-align: center;
}

#page-servicios .cta-strip__inner { max-width: 600px; margin-inline: auto; }

#page-servicios .cta-strip p { font-size: 1rem; color: var(--text-2); margin-bottom: 24px; }

#page-servicios .cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

/* =============================================
   15. PÁGINA: NOSOTROS (nosotros.html)
   ============================================= */
.historia { border-bottom: 0.5px solid var(--border); }

.historia__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 768px) {
  .historia__inner { grid-template-columns: 1fr 0.8fr; gap: 80px; }
}

.historia__text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 24px;
}

.historia__text p {
  font-size: 0.975rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.historia__text p:last-child { margin-bottom: 0; }

.historia__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.historia__card {
  background: var(--bg-card);
  border-left: 2px solid var(--lime);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.historia__card-num {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.historia__card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.historia__card-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

.filosofia { background: #0C0C0C; border-bottom: 0.5px solid var(--border); }

.filosofia__header { max-width: 560px; margin-bottom: 56px; }

.filosofia__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0;
}

.filosofia__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 768px) { .filosofia__grid { grid-template-columns: repeat(3, 1fr); } }

.filo-card {
  background: var(--bg-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filo-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(var(--lime-rgb), 0.08);
  border: 0.5px solid rgba(var(--lime-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.filo-card__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filo-card h3 { font-size: 1rem; font-weight: 500; color: var(--text); line-height: 1.3; }
.filo-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }

.proceso { border-bottom: 0.5px solid var(--border); }

.proceso__header { max-width: 560px; margin-bottom: 64px; }

.proceso__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0;
}

.proceso__steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .proceso__steps { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 768px) {
  .proceso__steps::before {
    content: "";
    position: absolute;
    top: 19px;
    left: calc(10% + 20px);
    right: calc(10% + 20px);
    height: 0.5px;
    background: var(--border);
    z-index: 0;
  }
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 0.5px solid var(--border);
}

.step:last-child { border-bottom: none; }

@media (min-width: 768px) {
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    border-bottom: none;
  }
}

.step__num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 0.5px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.05em;
}

.step__body { display: flex; flex-direction: column; gap: 6px; }

@media (min-width: 768px) {
  .step__body { margin-top: 20px; align-items: center; }
}

.step h3 { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.step p { font-size: 0.825rem; color: var(--text-2); line-height: 1.6; margin: 0; }

.equipo { background: #0C0C0C; border-bottom: 0.5px solid var(--border); }

.equipo__header { margin-bottom: 48px; }

.equipo__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--text);
}

.equipo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 640px;
}

@media (min-width: 640px) { .equipo__grid { grid-template-columns: 1fr 1fr; } }

.team-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--ease-fast);
}

.team-card:hover { border-color: var(--border-2); }

.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--lime-rgb), 0.08);
  border: 0.5px solid rgba(var(--lime-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.team-card__info { display: flex; flex-direction: column; gap: 4px; }
.team-card__name { font-size: 1.05rem; font-weight: 500; color: var(--text); }
.team-card__role { font-size: 0.825rem; color: var(--text-3); }

#page-nosotros .cta-strip { text-align: center; padding-block: 80px; }

#page-nosotros .cta-strip__inner { max-width: 520px; margin-inline: auto; }

#page-nosotros .cta-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 28px;
}

/* =============================================
   16. PÁGINA: CONTACTO (contacto.html)
   ============================================= */
.contact-section { border-bottom: 0.5px solid var(--border); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
  }
}

.contact-form-col { order: 1; }
.contact-info-col { order: 2; }

@media (min-width: 1024px) {
  .contact-info-col { order: 1; }
  .contact-form-col { order: 2; }
}

.contact-info-col h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 32px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  text-decoration: none;
  color: var(--text);
  transition: color var(--ease-fast);
}

.contact-method:hover { color: var(--lime); }
.contact-method:hover .contact-method__icon { border-color: var(--lime); background: rgba(var(--lime-rgb), 0.06); }

.contact-method__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  border: 0.5px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--ease-fast), background var(--ease-fast);
}

.contact-method__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method__icon svg.icon-wa {
  stroke: none;
  fill: currentColor;
  width: 20px;
  height: 20px;
}

.contact-method__body { display: flex; flex-direction: column; gap: 2px; }

.contact-method__label {
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-method__value {
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-info__pitch {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-left: 2px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 0.5px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: color var(--ease-fast), border-color var(--ease-fast);
}

.social-link:hover {
  color: var(--text);
  border-color: var(--border-2);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contact-info__separator {
  height: 0.5px;
  background: var(--border);
  margin-bottom: 20px;
}

.contact-info__footnote {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.6;
}

.contact-form-col h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 32px;
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

.field label .required {
  color: var(--lime);
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(var(--lime-rgb), 0.08);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.field select option {
  background: var(--bg-3);
  color: var(--text);
}

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

.form-submit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border: 1px solid var(--lime);
  border-radius: 100px;
  background: transparent;
  color: var(--lime);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--ease-fast), color var(--ease-fast);
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--lime);
  color: #000;
}

.form-footnote {
  font-size: 0.8rem;
  color: var(--text-3);
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 0.5px solid var(--lime);
  border-radius: var(--radius-lg);
}

.form-success__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--lime-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.form-success__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

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