/* ==========================================================================
   VARIABLES / RESET
   ========================================================================== */
:root {
  --color-black: #000000;
  --color-midnight: #08182f;
  --color-navy: #15253f;
  --color-slate: #2c3d5b;
  --color-accent: #455d83;
  --color-light-blue: #687c9f;
  --color-off-white: #efeeec;
  --color-white: #ffffff;
  --color-emerald: #34d399;
  --color-emerald-dark: #059669;
  --color-pink: #f472b6;
  --color-purple: #c084fc;

  --font-sans: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Sin scroll-behavior: smooth: choca con el snap de ScrollTrigger.
     El scroll suave de los enlaces lo hace GSAP (ScrollToPlugin). */
  overflow-x: clip;
}

body {
  background-color: var(--color-midnight);
  color: var(--color-off-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.5;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: var(--font-body);
}

::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Accesibilidad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 9999px;
  background: var(--color-white);
  color: var(--color-midnight);
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--color-light-blue);
  outline-offset: 3px;
}

address {
  font-style: normal;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
  display: inline-flex;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ic-sm {
  width: 18px;
  height: 18px;
}
.ic-md {
  width: 24px;
  height: 24px;
}
.ic-lg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   GLASSMORPHISM / GLOW HELPERS
   ========================================================================== */
.glass-surface {
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(69, 93, 131, 0.3);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
/* Arriba de todo: barra a lo ancho. Al scrollear (.is-scrolled): píldora flotante */
.site-header {
  --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0;
  transition:
    top 0.6s var(--nav-ease),
    padding 0.6s var(--nav-ease);
}

.navbar {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  border-radius: 0;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  background: rgba(8, 24, 47, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid transparent;
  border-bottom-color: rgba(104, 124, 159, 0.18);
  transition:
    max-width 0.6s var(--nav-ease),
    padding 0.6s var(--nav-ease),
    border-radius 0.6s var(--nav-ease),
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.6s ease;
}

.site-header.is-scrolled {
  top: 20px;
  padding: 0 16px;
}

.site-header.is-scrolled .navbar {
  max-width: 1152px;
  padding: 12px 24px;
  border-radius: 40px;
  background: rgba(8, 24, 47, 0.85);
  border-color: rgba(104, 124, 159, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .navbar {
    transition: none;
  }
}

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

.navbar__logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(69, 93, 131, 0.6));
}

.navbar__logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
  display: flex;
  align-items: center;
}

.navbar__logo-accent {
  color: var(--color-accent);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(239, 238, 236, 0.8);
}

.navbar__link:hover {
  color: var(--color-white);
}

.navbar__menu-cta {
  display: none;
}

.navbar__cta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Botón hamburguesa (solo mobile/tablet) */
.navbar__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 9999px;
  color: var(--color-white);
  background: rgba(44, 61, 91, 0.5);
  border: 1px solid rgba(104, 124, 159, 0.3);
  transition: background 0.25s ease;
}

.navbar__toggle:hover {
  background: rgba(69, 93, 131, 0.6);
}

.navbar__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
}

.site-header.is-menu-open .navbar__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-menu-open .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-header.is-menu-open .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú desplegable en pantallas chicas */
@media (max-width: 859px) {
  .navbar {
    position: relative;
  }

  .navbar__toggle {
    display: inline-flex;
  }

  .navbar__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 8px;
    right: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(8, 24, 47, 0.97);
    border: 1px solid rgba(104, 124, 159, 0.25);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s linear 0.25s;
  }

  .site-header.is-menu-open .navbar__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s;
  }

  .navbar__link {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    color: rgba(239, 238, 236, 0.9);
  }

  .navbar__link:hover,
  .navbar__link:focus-visible {
    background: rgba(44, 61, 91, 0.5);
  }

  .navbar__menu-cta {
    display: block;
    margin-top: 8px;
  }

  .navbar__menu-cta .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* En celulares chicos el CTA vive dentro del menú */
@media (max-width: 479px) {
  .navbar .navbar__cta {
    display: none;
  }

  .site-header.is-scrolled .navbar {
    padding: 10px 12px 10px 16px;
  }

  .navbar__logo-img {
    height: 36px;
    width: 36px;
  }

  .navbar__logo-text {
    font-size: 18px;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 9999px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.btn--cta {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--color-white);
  background: linear-gradient(
    to right,
    var(--color-slate),
    var(--color-accent)
  );
  border: 1px solid rgba(104, 124, 159, 0.3);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.btn--cta:hover {
  background: linear-gradient(
    to right,
    var(--color-accent),
    var(--color-light-blue)
  );
}

@media (min-width: 768px) {
  .btn--cta {
    font-size: 14px;
  }
}

.btn--primary {
  width: 100%;
  padding: 14px 32px;
  font-size: 14px;
  color: var(--color-midnight);
  background: var(--color-white);
  box-shadow: 0 20px 25px -5px rgba(69, 93, 131, 0.2);
}

.btn--primary:hover {
  background: var(--color-off-white);
}

.btn--glass {
  width: 100%;
  padding: 14px 32px;
  font-size: 14px;
  color: var(--color-white);
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(104, 124, 159, 0.3);
}

.btn--glass:hover {
  background: rgba(44, 61, 91, 0.4);
}

@media (min-width: 640px) {
  .btn--primary,
  .btn--glass {
    width: auto;
  }
}

.btn--plan {
  width: 100%;
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
  border-radius: 16px;
  color: var(--color-white);
  background: var(--color-slate);
}

.btn--plan:hover {
  background: var(--color-accent);
}

.btn--plan-featured {
  width: 100%;
  padding: 14px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 16px;
  color: var(--color-midnight);
  background: var(--color-white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.btn--plan-featured:hover {
  background: var(--color-off-white);
}

.btn--submit {
  width: 100%;
  padding: 16px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  color: var(--color-white);
  background: linear-gradient(
    to right,
    var(--color-slate),
    var(--color-accent),
    var(--color-light-blue)
  );
  box-shadow: 0 10px 15px -3px rgba(69, 93, 131, 0.25);
}

.btn--submit:hover {
  opacity: 0.95;
}

.btn--submit.is-sent {
  background: var(--color-emerald-dark);
}

/* ==========================================================================
   SECTION HEADER / COMMON TYPOGRAPHY
   ========================================================================== */
.section-header {
  max-width: 768px;
  margin: 0 auto 64px;
  text-align: center;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-light-blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.eyebrow--left {
  text-align: left;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.section-title--sm {
  font-size: 30px;
}

.section-desc {
  margin-top: 16px;
  color: rgba(239, 238, 236, 0.75);
  font-size: 16px;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 48px;
  }
  .section-title--sm {
    font-size: 36px;
  }
  .section-desc {
    font-size: 18px;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(69, 93, 131, 0.25) 0%,
    rgba(8, 24, 47, 0) 70%
  );
}

.hero__glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.hero__glow--top {
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: rgba(69, 93, 131, 0.2);
  filter: blur(130px);
}

.hero__glow--bottom {
  bottom: 40px;
  right: 40px;
  width: 400px;
  height: 400px;
  background: rgba(21, 37, 63, 0.6);
  filter: blur(100px);
}

.hero__content {
  max-width: 896px;
  margin: 48px auto 0;
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(21, 37, 63, 0.7);
  border: 1px solid rgba(69, 93, 131, 0.4);
  color: var(--color-light-blue);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--color-emerald);
}

.hero__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__line {
  display: block;
}

/* Frases rotativas: todas apiladas en la misma celda de la grilla,
   así el bloque toma el alto de la más larga y nada salta al cambiar */
.hero__headline {
  display: grid;
  margin-bottom: 24px;
}

.hero__headline > .hero__phrase {
  grid-area: 1 / 1;
  margin-bottom: 0;
}

.hero__phrase[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
}

.hero__title-gradient {
  background: linear-gradient(
    to right,
    var(--color-white),
    var(--color-off-white),
    var(--color-light-blue)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.br-desktop {
  display: none;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 60px;
  }
  .br-desktop {
    display: inline;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 72px;
  }
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(239, 238, 236, 0.8);
  max-width: 672px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 20px;
  }
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  color: rgba(104, 124, 159, 0.8);
}

.scroll-indicator:hover {
  color: var(--color-white);
}

.scroll-indicator__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.scroll-indicator__pill {
  width: 24px;
  height: 40px;
  border-radius: 9999px;
  border: 2px solid rgba(104, 124, 159, 0.5);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator__dot {
  width: 6px;
  height: 10px;
  border-radius: 9999px;
  background: var(--color-light-blue);
}

/* ==========================================================================
   PROYECTOS / BENTO GRID
   ========================================================================== */
.projects {
  padding: 112px 16px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  grid-auto-rows: 290px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-item--wide {
    grid-column: span 2;
  }
}

.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(69, 93, 131, 0.3);
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease;
}

.bento-item__bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.bento-item__bg--photo {
  padding: 0;
  opacity: 1;
}

.bento-item__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.bento-item:hover .bento-item__photo {
  transform: scale(1.05);
}

.bento-item__photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 24, 47, 0.85) 0%,
    rgba(8, 24, 47, 0.15) 55%,
    rgba(8, 24, 47, 0.35) 100%
  );
}

.bento-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 47, 0.9);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.bento-item:hover .bento-item__overlay,
.bento-item:focus-within .bento-item__overlay,
.bento-item.is-overlay-active .bento-item__overlay {
  opacity: 1;
  visibility: visible;
}

.overlay__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-light-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  cursor: default;
}

.overlay__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  cursor: default;
}

.overlay__title--sm {
  font-size: 20px;
  cursor: default;
}

.overlay__desc {
  font-size: 14px;
  color: rgba(239, 238, 236, 0.8);
  max-width: 448px;
  margin-bottom: 20px;
  cursor: default;
}

.overlay__desc--xs {
  font-size: 12px;
  margin-bottom: 16px;
  cursor: default;
}

.overlay__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-light-blue);
  position: relative;
  transition: color 0.2s ease-in-out;
}

.overlay__link::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  transition: width 0.2s ease-in-out;
}

.overlay__link:hover {
  color: var(--color-white);
}

.overlay__link:hover::before {
  width: 100%;
}

.overlay__link--xs {
  font-size: 12px;
}

/* Flecha decorativa (fuera del texto del enlace) */
.overlay__link::after {
  content: "↗";
  font-size: 1.1em;
  line-height: 1;
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services {
  padding: 96px 16px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(69, 93, 131, 0.3);
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: rgba(104, 124, 159, 0.6);
}

.service-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(44, 61, 91, 0.4);
  border: 1px solid rgba(69, 93, 131, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-light-blue);
  margin-bottom: 24px;
  flex-shrink: 0;
}

.service-card__icon {
  font-size: 28px;
  color: var(--color-light-blue);
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 14px;
  color: rgba(239, 238, 236, 0.75);
  line-height: 1.6;
}

.service-card__footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(69, 93, 131, 0.2);
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-light-blue);
}

.service-card__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .service-card__row {
    flex-direction: row;
  }
}

/* ==========================================================================
   PLANES / PRICING
   ========================================================================== */
.pricing {
  padding: 96px 16px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.pricing .section-header {
  margin-bottom: 56px;
}

.currency-toggle {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  background: rgba(8, 24, 47, 0.9);
  padding: 6px;
  border-radius: 9999px;
  border: 1px solid rgba(69, 93, 131, 0.4);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.currency-toggle__btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  color: rgba(239, 238, 236, 0.7);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.currency-toggle__btn--active {
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.currency-toggle__btn:hover {
  color: var(--color-white);
}

@media (min-width: 640px) {
  .currency-toggle__btn {
    font-size: 14px;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  /* Cada tarjeta con su alto propio (según su contenido) */
  align-items: start;
  padding-top: 24px;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .pricing-grid .price-card {
    padding: 28px 22px;
  }
}

.price-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(69, 93, 131, 0.3);
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 0.3s ease;
}
.price-card:hover {
  border-color: rgba(104, 124, 159, 0.6);
}
.price-card--featured {
  border: 1px solid var(--color-light-blue);
  box-shadow:
    0 0 0 1px var(--color-light-blue),
    0 25px 50px -12px rgba(69, 93, 131, 0.35);
  background: linear-gradient(
    to bottom,
    rgba(21, 37, 63, 0.95),
    rgba(8, 24, 47, 0.9)
  );
}

/* Cinta diagonal "Más elegido" */
.price-card__corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  overflow: hidden;
  pointer-events: none;
}
.price-card__corner span {
  position: absolute;
  top: 26px;
  right: -38px;
  width: 160px;
  padding: 6px 0;
  transform: rotate(45deg);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: linear-gradient(
    to right,
    var(--color-accent),
    var(--color-light-blue)
  );
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Cabecera centrada: plan, nombre, precio */
.price-card__top {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(69, 93, 131, 0.3);
}
.price-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-card__eyebrow--green {
  color: var(--color-emerald);
}
.price-card__eyebrow--blue {
  color: var(--color-light-blue);
}
.price-card__eyebrow--purple {
  color: var(--color-purple);
}
.price-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
}
.price-card__dot--green {
  background: var(--color-emerald);
}
.price-card__dot--blue {
  background: var(--color-light-blue);
}
.price-card__dot--purple {
  background: var(--color-purple);
}
.price-card__eyebrow--pink {
  color: var(--color-pink);
}
.price-card__dot--pink {
  background: var(--color-pink);
}
.price-card__from {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: rgba(239, 238, 236, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-card__name {
  margin: 8px 0 4px;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.01em;
}
.price-card__price {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}
.price-card__price-note {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-light-blue);
}
.price-card__desc {
  margin-bottom: 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(239, 238, 236, 0.7);
}

/* Lista de características con separadores punteados */
.feature-list {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: rgba(239, 238, 236, 0.85);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(69, 93, 131, 0.35);
}
.feature-list li:last-child {
  border-bottom: 0;
}
.feature-list__icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 18px;
}
.feature-list__icon--green {
  color: var(--color-emerald);
}
.feature-list__icon--blue {
  color: var(--color-light-blue);
}
.feature-list__icon--purple {
  color: var(--color-purple);
}
.feature-list__icon--pink {
  color: var(--color-pink);
}
.feature-list__note {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(239, 238, 236, 0.5);
}
.feature-list__strong {
  font-weight: 600;
  color: var(--color-white);
}
@media (min-width: 640px) {
  .feature-list {
    font-size: 14px;
  }
}

.pricing-note {
  margin-top: 56px;
  max-width: 896px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  border-radius: 16px;
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(69, 93, 131, 0.2);
  text-align: center;
}

.pricing-note__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-light-blue);
  margin-bottom: 4px;
}

.pricing-note__icon {
  font-size: 16px;
}

.pricing-note__text {
  font-size: 13px;
  color: rgba(239, 238, 236, 0.8);
  font-style: italic;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .pricing-note__text {
    font-size: 14px;
  }
}

/* Tabla comparativa de planes */
.compare {
  margin-top: 72px;
}
.compare__title {
  margin-bottom: 24px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-white);
}
.compare__scroll {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(69, 93, 131, 0.3);
  background: rgba(21, 37, 63, 0.65);
}
.compare__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare__table th,
.compare__table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(69, 93, 131, 0.2);
  color: rgba(239, 238, 236, 0.85);
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td {
  border-bottom: 0;
}
.compare__table thead th {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-white);
  background: rgba(8, 24, 47, 0.6);
}
.compare__table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--color-off-white);
}
.compare__table .is-featured {
  background: rgba(69, 93, 131, 0.18);
}
.compare__table thead .is-featured {
  background: rgba(69, 93, 131, 0.4);
}
.compare__yes {
  color: var(--color-emerald);
  font-size: 20px;
}
.compare__no {
  color: rgba(239, 238, 236, 0.3);
  font-size: 20px;
}

/* Bloque "¿Necesitás algo personalizado?" */
.pricing-custom {
  margin: 32px auto 0;
  max-width: 896px;
  padding: 32px 20px;
  text-align: center;
  border-radius: 16px;
  border: 1px dashed rgba(104, 124, 159, 0.5);
}
.pricing-custom__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}
.pricing-custom__text {
  font-size: 14px;
  color: rgba(239, 238, 236, 0.75);
  margin-bottom: 20px;
}
.pricing-custom .btn--plan {
  width: auto;
  display: inline-block;
  padding: 14px 32px;
}

/* Mantenimiento mensual */
.maint {
  margin-top: 72px;
}
.maint__header {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}
.maint__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.01em;
}
.maint__desc {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(239, 238, 236, 0.75);
}
.maint__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  max-width: 896px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .maint__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.price-card--compact .price-card__top {
  padding-bottom: 16px;
  margin-bottom: 8px;
}
.price-card--compact .price-card__name {
  font-size: 20px;
  margin-top: 0;
}
.price-card--compact .price-card__price {
  font-size: 32px;
}

/* ==========================================================================
   FRANJA DE CONFIANZA
   ========================================================================== */
.trust {
  padding: 0 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(21, 37, 63, 0.65);
  border: 1px solid rgba(69, 93, 131, 0.3);
}
.trust__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 24px;
  color: var(--color-emerald);
  background: rgba(16, 185, 129, 0.12);
}
.trust__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
}
.trust__text {
  display: block;
  font-size: 13px;
  color: rgba(239, 238, 236, 0.65);
}

/* ==========================================================================
   CARRUSEL DE MARCAS (trabajos anteriores)
   ========================================================================== */
.brands {
  margin: 64px auto 0;
}

.brands__title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(239, 238, 236, 0.5);
  margin-bottom: 20px;
}

.brands__viewport {
  overflow: hidden;
  /* Desvanece los bordes para que los logos entren y salgan suave */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}

.brands__track {
  display: flex;
  width: max-content;
  animation: brands-scroll 40s linear infinite;
}

.brands__viewport:hover .brands__track {
  animation-play-state: paused;
}

.brands__list {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 16px 4px 0;
}

/* Cada cliente es una tarjeta independiente (con logo o con nombre) */
.brands__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 180px;
  padding: 0 28px;
  border-radius: 16px;
  background: rgba(21, 37, 63, 0.65);
  border: 1px solid rgba(69, 93, 131, 0.3);
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.brands__item:hover {
  border-color: rgba(104, 124, 159, 0.6);
  background: rgba(44, 61, 91, 0.5);
}

.brands__item img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}

.brands__item:hover img {
  opacity: 1;
  filter: grayscale(0);
}

.brands__item--text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(239, 238, 236, 0.75);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.brands__item--text:hover {
  color: var(--color-white);
}

@keyframes brands-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands__track {
    animation: none;
  }
  .brands__viewport {
    overflow-x: auto;
  }
}

/* CTA debajo del portfolio */
.projects__cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  font-size: 16px;
  color: rgba(239, 238, 236, 0.8);
}

/* Botones con ícono */
.btn--with-icon {
  gap: 10px;
}

/* ==========================================================================
   PROCESO (scroll horizontal fijado con ScrollTrigger)
   ========================================================================== */
.process {
  position: relative;
}

.process__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 64px;
  overflow: hidden;
}

/* Escritorio: la sección ocupa toda la pantalla mientras está fijada */
.process.is-pinned .process__pin {
  min-height: 100vh;
  min-height: 100svh;
  padding: 104px 0 40px;
}

.process__header {
  margin-bottom: 40px;
  padding: 0 16px;
}

/* Celular (y sin JS): carrusel deslizable, manejado con los botones */
.process__viewport {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.process__viewport::-webkit-scrollbar {
  display: none;
}

/* Con el efecto activo, el JS mueve la pista */
.process.is-pinned .process__viewport {
  overflow: visible;
}

.process__track {
  --card-w: min(640px, 84vw);
  list-style: none;
  display: flex;
  gap: 24px;
  width: max-content;
  /* Padding lateral para que la primera y la última tarjeta queden centradas */
  padding: 12px calc((100% - var(--card-w)) / 2);
}

.process__step {
  position: relative;
  flex: 0 0 var(--card-w);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  padding: 36px;
  border-radius: 28px;
  overflow: hidden;
  scroll-snap-align: center;
  background: linear-gradient(
    145deg,
    rgba(44, 61, 91, 0.55),
    rgba(8, 24, 47, 0.92) 70%
  );
  border: 1px solid rgba(104, 124, 159, 0.35);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .process__step {
    min-height: 360px;
    padding: 48px;
  }
}

.process__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  margin-bottom: 32px;
}

.process__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(44, 61, 91, 0.6);
  border: 1px solid rgba(104, 124, 159, 0.4);
}

.process__icon .material-symbols-outlined {
  font-size: 28px;
  color: var(--color-light-blue);
}

.process__tag {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-emerald);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.process__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-light-blue);
  margin-bottom: 8px;
}

.process__title {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 14px;
}

.process__desc {
  position: relative;
  z-index: 1;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(239, 238, 236, 0.8);
}

@media (min-width: 768px) {
  .process__desc {
    font-size: 17px;
  }
}

/* Número gigante de fondo, solo contorno */
.process__num {
  position: absolute;
  right: 20px;
  bottom: -28px;
  font-size: clamp(130px, 20vw, 220px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  font-family: var(--font-sans);
  /* Relleno degradado en vez de contorno: la fuente es variable y con
     text-stroke se ven las líneas internas de los trazos superpuestos */
  background: linear-gradient(
    to bottom,
    rgba(104, 124, 159, 0.3),
    rgba(104, 124, 159, 0.04) 85%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}

/* Barra de progreso con los 4 pasos */
.process__progress {
  position: relative;
  width: min(640px, calc(100% - 32px));
  margin: 36px auto 0;
}

.process:not(.is-pinned):not(.is-carousel) .process__progress {
  display: none;
}

/* Carrusel (celular): la tarjeta centrada se destaca */
.process.is-carousel .process__step {
  opacity: 0.45;
  transform: scale(0.92);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.process.is-carousel .process__step.is-current {
  opacity: 1;
  transform: none;
}

.process__bar {
  position: absolute;
  top: 7px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  border-radius: 2px;
  background: rgba(104, 124, 159, 0.25);
}

.process__bar-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--color-emerald),
    var(--color-light-blue)
  );
  transform: scaleX(0);
  transform-origin: left center;
}

.process__dots {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process__dot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(239, 238, 236, 0.5);
  transition: color 0.3s ease;
}

.process__dot::before {
  content: "";
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: var(--color-midnight);
  border: 2px solid rgba(104, 124, 159, 0.5);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.process__dot:hover {
  color: var(--color-off-white);
}

.process__dot.is-done::before {
  border-color: var(--color-emerald);
}

.process__dot.is-active {
  color: var(--color-white);
}

.process__dot.is-active::before {
  background: var(--color-emerald);
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.18);
}

@media (min-width: 640px) {
  .process__dot {
    font-size: 13px;
  }
}

/* Todo tiene que entrar en una pantalla (100vh): compacto en pantallas bajas */
.process .section-title {
  font-size: clamp(30px, 4.2vw, 44px);
}

@media (max-height: 860px) {
  .process__pin {
    padding: 92px 0 28px;
  }
  .process__header {
    margin-bottom: 24px;
  }
  .process .section-desc {
    margin-top: 10px;
    font-size: 15px;
  }
  .process__step {
    min-height: 0;
  }
  .process__top {
    margin-bottom: 20px;
  }
  .process__progress {
    margin-top: 24px;
  }
}

@media (max-height: 720px) {
  .process .section-desc {
    display: none;
  }
  .process .section-title {
    font-size: clamp(26px, 3.4vw, 34px);
  }
  .process__step {
    padding: 28px 32px;
  }
  .process__icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-height: 660px) {
  .process__pin {
    padding: 80px 0 16px;
  }
  .process__header {
    margin-bottom: 16px;
  }
  .process .section-title {
    font-size: 24px;
  }
  .process__step {
    padding: 22px 24px;
  }
  .process__top {
    margin-bottom: 14px;
  }
  .process__title {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .process__desc {
    font-size: 15px;
    line-height: 1.55;
  }
  .process__progress {
    margin-top: 16px;
  }
}

/* ==========================================================================
   QUIÉN ESTÁ DETRÁS
   ========================================================================== */
.about {
  padding: 72px 16px 64px;
  max-width: 1024px;
  margin: 0 auto;
}
.about__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(
    to bottom right,
    rgba(21, 37, 63, 0.9),
    rgba(8, 24, 47, 0.9)
  );
  border: 1px solid rgba(104, 124, 159, 0.35);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .about__card {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 100px 48px 48px;
  }
}

/* Etiqueta inclinada que sobresale de la esquina de la tarjeta */
.about__card {
  position: relative;
}

@media (max-width: 767px) {
  .about__card {
    padding-top: 88px;
  }
}

.about__sticker {
  position: absolute;
  top: -30px;
  left: -8px;
  z-index: 2;
  max-width: calc(100% + 8px);
  padding: 16px 24px;
  border-radius: 22px;
  font-size: clamp(17px, 5.4vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-off-white);
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-slate) 60%,
    var(--color-navy)
  );
  border: 1px solid rgba(104, 124, 159, 0.45);
  box-shadow:
    0 24px 48px -16px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(-6deg);
}

@media (min-width: 768px) {
  .about__sticker {
    top: -30px;
    left: -8px;
    max-width: none;
    padding: 26px 42px;
    border-radius: 28px;
    font-size: 32px;
  }
}

@media (min-width: 1100px) {
  .about__sticker {
    left: -60px;
  }
}
.about__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .about__title {
    font-size: 30px;
  }
}
.about__text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(239, 238, 236, 0.8);
  margin-bottom: 12px;
}
.about__text strong {
  color: var(--color-white);
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.about__stat {
  padding: 16px 12px;
  border-radius: 16px;
  text-align: center;
  background: rgba(44, 61, 91, 0.3);
  border: 1px solid rgba(69, 93, 131, 0.3);
}

.about__stat-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(
    to bottom right,
    var(--color-white),
    var(--color-light-blue)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(239, 238, 236, 0.7);
}

@media (max-width: 480px) {
  .about__stats {
    grid-template-columns: 1fr;
  }
}

.about__links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 96px 16px;
  max-width: 896px;
  margin: 0 auto;
  position: relative;
}

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

.faq-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(69, 93, 131, 0.2);
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq-item__heading {
  font: inherit;
}

.faq-item__question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-weight: 600;
  color: var(--color-white);
  font-size: 16px;
}

.faq-item__question:hover {
  color: var(--color-light-blue);
}

@media (min-width: 640px) {
  .faq-item__question {
    font-size: 18px;
  }
}

/* Chevron dibujado con CSS (sin texto dentro del título) */
.faq-item__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin: 0 6px 4px 16px;
  border-right: 2px solid var(--color-light-blue);
  border-bottom: 2px solid var(--color-light-blue);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__chevron {
  transform: translateY(4px) rotate(-135deg);
}

.faq-item__answer {
  height: 0;
  overflow: hidden;
  padding: 0 24px;
}

.faq-item__answer-inner {
  padding-bottom: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(69, 93, 131, 0.15);
  font-size: 14px;
  color: rgba(239, 238, 236, 0.8);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact {
  padding: 96px 16px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

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

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

.contact-info {
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border: 1px solid rgba(69, 93, 131, 0.3);
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .contact-info {
    padding: 40px;
  }
}

.contact-info__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-white);
  margin-top: 8px;
}

.contact-info__desc {
  font-size: 14px;
  color: rgba(239, 238, 236, 0.75);
  margin-top: 12px;
  line-height: 1.6;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(44, 61, 91, 0.3);
  border: 1px solid rgba(69, 93, 131, 0.2);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.contact-card:hover {
  background: rgba(44, 61, 91, 0.5);
}

.contact-card--whatsapp:hover {
  border-color: rgba(16, 185, 129, 0.5);
}

.contact-card--instagram:hover {
  border-color: rgba(104, 124, 159, 0.6);
}

.contact-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon-wrap--green {
  background: rgba(16, 185, 129, 0.2);
  color: var(--color-emerald);
}

.contact-card__icon-wrap--pink {
  background: rgba(236, 72, 153, 0.2);
  color: var(--color-pink);
}

.contact-card__icon-wrap--accent {
  background: rgba(69, 93, 131, 0.2);
  color: var(--color-light-blue);
}

.contact-card__icon {
  font-size: 24px;
}

.contact-card__label {
  display: block;
  font-size: 12px;
  color: var(--color-light-blue);
  text-transform: uppercase;
  font-weight: 600;
}

.contact-card__value {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 2px;
}

.contact-card--whatsapp:hover .contact-card__value--whatsapp {
  color: var(--color-emerald);
}

.contact-card--instagram:hover .contact-card__value--instagram {
  color: var(--color-light-blue);
}

.contact-info__footer {
  padding-top: 16px;
  border-top: 1px solid rgba(69, 93, 131, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info__footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.contact-info__footer-text {
  font-size: 12px;
  color: rgba(239, 238, 236, 0.6);
}

.contact-form-wrap {
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(69, 93, 131, 0.3);
  background: rgba(21, 37, 63, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .contact-form-wrap {
    padding: 40px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

.form-field__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(239, 238, 236, 0.9);
  margin-bottom: 8px;
}

.form-field__label--accent {
  color: var(--color-light-blue);
}

.form-field__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(8, 24, 47, 0.8);
  border: 1px solid rgba(69, 93, 131, 0.3);
  color: var(--color-white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s ease;
}

.form-field__input::placeholder {
  color: rgba(239, 238, 236, 0.4);
}

.form-field__input:focus {
  border-color: var(--color-light-blue);
}

.form-field__input--accent {
  border-color: rgba(104, 124, 159, 0.6);
}

.form-field__select {
  background-color: rgba(8, 24, 47, 0.9);
}

.form-field__textarea {
  resize: none;
}

.form-field--custom {
  display: none;
}

.form-field--custom.is-visible {
  display: block;
}

.form-feedback {
  font-size: 12px;
  text-align: center;
  color: var(--color-emerald);
  font-weight: 600;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(69, 93, 131, 0.2);
  background: rgba(0, 0, 0, 0.418);
  padding: 32px 16px;
  position: relative;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    text-align: left;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .site-footer__brand {
    align-items: flex-start;
  }
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.site-footer__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.site-footer__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.site-footer__copy {
  font-size: 12px;
  color: rgba(239, 238, 236, 0.5);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 32px;
  font-size: 12px;
  color: rgba(239, 238, 236, 0.6);
}

.site-footer__links a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--color-emerald-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.4);
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.whatsapp-float:hover {
  background: var(--color-emerald);
}

.whatsapp-float__icon {
  font-size: 30px;
}

/* ==========================================================================
   SCROLL-REVEAL (usado por GSAP)
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}
