/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

@font-face {
  font-family: 'Photograph';
  src: url('assets/fonts/Photograph Signature.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --blue: #2d58a5;
  --yellow: #ffed00;
  --font-main: 'Montserrat', sans-serif;
  --font-script: 'Photograph', cursive;
}

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

section[id],
div[id] {
  scroll-margin-top: 76px;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  border-radius: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  touch-action: pan-y;
}

button,
.service-btn,
.cta-btn,
.hero-btn,
.package-btn {
  border-radius: 0;
  box-shadow: none;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
  transition-delay: 0.4s;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s ease;
}

.navbar.navbar-solid,
body.has-solid-navbar .navbar {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  padding: 12px 24px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

body.has-solid-navbar {
  padding-top: 0;
}

body.has-solid-navbar .section:first-of-type {
  padding-top: 104px;
}

.navbar-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.navbar-logo img {
  height: 41px;
  width: auto;
}

.navbar-logo span {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.53rem;
  color: var(--white);
  letter-spacing: -0.06em;
}

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

.nav-links a {
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
}

.nav-links a.active::after {
  width: 100%;
}

.mobile-menu a.active {
  color: var(--yellow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.97);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--black);
}

.desliza {
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}

.hero-picture,
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-picture img,
img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 180px;
  animation: slideInLeft 1s ease 0.3s both;
}

.hero-content h1 {
  font-family: var(--font-main);
  font-weight: 350;
  font-size: 3.2rem;
  color: var(--white);
  line-height: 0.92;
}

.hero-content h1 .script {
  font-family: var(--font-script);
  color: var(--yellow);
  font-size: 4.85rem;
  font-weight: 400;
  display: inline-block;
  position: relative;
  top: 0.05em;
  line-height: 0.85;
}

.hero-seo-text {
  font-family: var(--font-main);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 580px;
  margin: 18px 0 20px;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  margin: 24px 0 0;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 34px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: filter 0.2s ease;
  box-shadow: none;
}

.hero-btn:hover {
  filter: brightness(1.1);
  box-shadow: none;
}

.hero-btn:active {
  filter: brightness(0.95);
}

/* ===== PAGE HERO (Portafolio / Paquetes) ===== */
.page-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--black);
}

.page-hero .hero-bg {
  opacity: 0.55;
}

.page-hero .hero-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.15) 100%);
}

.page-hero .hero-content {
  padding: 0 24px 160px;
  /* Raised 100px from 60px */
}

.page-hero .hero-content h1 {
  font-size: 2.8rem;
  /* 50% larger */
  line-height: 1;
}

.page-hero .hero-content h1 .script {
  font-size: 4.34rem;
  /* 50% larger */
}

#servicios .section-title h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

#servicios .section-title h2 br {
  display: none;
}

#servicios .section-title h2 .hacemos,
#servicios .section-title h2 .servicios,
.section-title h2 .hacemos,
.section-title h2 .servicios {
  display: block;
  font-size: clamp(5.5rem, 18vw, 8.16rem);
  padding-left: 0;
  line-height: 0.75;
  margin-top: -0.18em;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 24px;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-light {
  background: var(--white);
  color: var(--black);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: -0.06em;
}

.section-title h2 .script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 3.4rem;
  position: relative;
  top: 0.08em;
}

.title-hablan,
.title-paquete,
.title-faq {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  line-height: 1.05;
}

.title-paquete,
.title-faq {
  margin-top: 25px;
}


.title-hablan .hablan,
.title-paquete .paquete,
.title-faq .frecuentes {
  display: block;
  font-size: clamp(5.4rem, 16vw, 6.8rem) !important;
  line-height: 0.82;
  margin-top: 0px;
  position: static !important;
}

.section-title h2 .title-text {
  position: relative;
  z-index: 2;
}

.section-title h2 .icon-cara-feliz {
  display: inline-block;
  width: 2.15em;
  height: 2.15em;
  align-self: center;
  margin-left: -0.75em;
  position: relative;
  z-index: 1;
  top: -0.28em;
}

.section-title h2 .icon-cara-feliz img {
  width: 100%;
  height: 100%;
  display: block;
}

.section-title p {
  font-size: 0.95rem;
  margin-top: 12px;
  opacity: 0.7;
}

/* ===== CREATIVE PEOPLE (Team) ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 740px;
  margin: 0 auto;
}

.team-member {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.team-member-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 0;
}

.team-member-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: none;
  border-radius: 0;
  display: block;
}

.team-member-info {
  display: flex;
  flex-direction: column;
}

.team-member-role {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.2px;
  color: #6897e8;
  margin-bottom: 4px;
}

.team-member h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--white);
}

.team-member p,
.team-member-email {
  font-size: 0.85rem;
  opacity: 0.75;
  color: var(--white);
  line-height: 1.4;
}

.team-member-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--white);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
  width: fit-content;
}

.team-member-social:hover {
  opacity: 1;
  color: #6897e8;
}

.team-member-social svg {
  flex-shrink: 0;
}

/* ===== SERVICES / WHAT WE DO ===== */

/* --- Mobile sticky scroll container --- */
.services-scroll-container {
  display: none;
  /* hidden on desktop by default */
}

.services-desktop-only {
  display: grid;
  /* visible on desktop by default */
}

@media (max-width: 768px) {
  #servicios {
    padding-top: 80px;
    padding-bottom: 10px;
  }

  #servicios .section-title {
    margin-bottom: 12px;
  }

  #servicios .divider {
    margin: 10px auto 14px;
  }

  #servicios .specialization {
    margin: 0 auto 16px;
  }

  .services-scroll-container {
    display: block;
    position: relative;
    /* 360vh (duplicado de 180vh) para que cada elemento sticky tarde el doble de tiempo al hacer scroll en móvil */
    height: 360vh;
    margin-top: 0;
    margin-bottom: 0;
  }

  .services-desktop-only {
    display: none !important;
  }

  .services-progress-track {
    position: absolute;
    left: 12px;
    width: 3px;
    background: #e0e6f2;
    border-radius: 0;
    z-index: 10;
  }

  .services-progress-fill {
    width: 100%;
    height: 0%;
    background: var(--blue);
    border-radius: 0;
    transition: height 0.05s linear;
  }

  /* --- Progress markers (squares → diamonds) --- */
  .progress-marker {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #e0e6f2;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    transition: background 0.35s ease, transform 0.35s ease;
    z-index: 3;
  }

  .progress-marker:nth-child(2) {
    top: 0;
  }

  .progress-marker:nth-child(3) {
    top: calc(33.33% - 5px);
  }

  .progress-marker:nth-child(4) {
    top: calc(66.66% - 5px);
  }

  .progress-marker:nth-child(5) {
    bottom: 0;
    top: auto;
  }

  .progress-marker.reached {
    background: var(--blue);
    transform: translateX(-50%) rotate(45deg);
  }

  /* --- Sticky viewport: anchored below fixed navbar, compact bottom --- */
  .services-sticky-viewport {
    position: sticky;
    top: 76px;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    max-height: 600px;
    padding-left: 36px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .service-scroll-item {
    position: absolute;
    top: 50%;
    left: 36px;
    right: 16px;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 290px;
    height: 480px;
    margin: 0 auto;
    will-change: opacity;
  }

  .service-scroll-item.active {
    opacity: 1;
    pointer-events: auto;
  }

  .service-scroll-item .service-img-wrapper {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 3 / 4;
    margin-bottom: 14px;
    border-radius: 0;
    flex-shrink: 0;
  }

  .service-scroll-item h3 {
    width: 100%;
    max-width: 280px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  .service-scroll-item .service-divider {
    flex-shrink: 0;
    margin: 0 auto 12px;
  }

  .service-scroll-item p {
    width: 100%;
    max-width: 280px;
    font-size: 0.88rem;
    line-height: 1.55;
    opacity: 0.8;
    height: 92px;
    min-height: 92px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
  }

  .service-scroll-item .service-btn {
    margin-top: 16px;
    flex-shrink: 0;
  }
}

/* --- Desktop grid (unchanged) --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-img-wrapper {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 24px;
  background: #f4f4f4;
  border-radius: 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--blue);
}

.service-icon svg {
  stroke: var(--blue);
}

.service-item h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-divider {
  width: 44px;
  height: 2px;
  background: var(--blue);
  margin: 0 auto 14px;
}

.service-item p {
  font-size: 0.88rem;
  line-height: 1.65;
  opacity: 0.8;
  max-width: 320px;
}

.service-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 24px;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-top: 16px;
  border-radius: 0;
  cursor: pointer;
  transition: filter 0.2s ease;
  box-shadow: none;
}

.service-btn:hover {
  filter: brightness(1.1);
  box-shadow: none;
}

.service-btn:active {
  filter: brightness(0.95);
}

/* ===== PORTFOLIO GALLERY (COLLAGE / MURO DE BLOQUES) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background-color: #121212;
}

/* Moduladores de bloques rectangulares */
.gallery-item.block-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item.block-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item.block-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.block-normal {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ===== PACKAGES ===== */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.package-card {
  background: var(--white);
  color: var(--black);
  padding: 32px 24px;
  border: 1px solid #e0e0e0;
  position: relative;
}

.package-card.featured {
  border: 2px solid var(--black);
}

.package-badge {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.65rem;
  padding: 4px 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.package-label {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 4px;
}

.package-name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 2.4rem;
  /* 50% más grande */
  color: var(--blue);
  margin-bottom: 20px;
  line-height: 1.1;
}

.package-name.blue {
  color: var(--blue);
}

.package-card h4 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  margin-top: 16px;
}

.package-card ul {
  list-style: none;
  padding: 0;
}

.package-card ul li {
  font-size: 0.85rem;
  line-height: 1.7;
  padding-left: 12px;
  position: relative;
  opacity: 0.85;
}

.package-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  font-weight: 700;
}

.package-gift {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.package-gift-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gift-tag {
  display: inline-block;
  background: #e63946;
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  padding: 3px 8px;
  border-radius: 0;
}

.package-gift p {
  font-size: 0.82rem;
  margin-top: 6px;
  opacity: 0.8;
}

.package-price {
  margin-top: 24px;
  text-align: center;
}

.package-price .amount {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 3.3rem;
  /* 50% más grande */
  color: var(--blue);
  line-height: 1;
}

.package-card.featured .package-price .amount {
  color: var(--blue);
}

.package-price-blue .amount {
  color: var(--blue) !important;
}

.package-price .note {
  display: block;
  font-size: 0.7rem;
  opacity: 0.5;
  margin-top: 4px;
}

.package-btn {
  display: block;
  text-align: center;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 20px;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-top: 20px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease;
  box-shadow: none;
}

.package-btn:hover {
  filter: brightness(1.1);
  box-shadow: none;
}

.package-btn:active {
  filter: brightness(0.95);
}

/* ===== DISCLAIMER / NOTE (DISCRETA) ===== */
.disclaimer-section {
  max-width: 760px;
  margin: 36px auto 0;
  padding: 0 16px;
  text-align: center;
  background: transparent;
  border: none;
}

.disclaimer-section p {
  font-size: 0.74rem;
  line-height: 1.6;
  color: #666666;
}

.disclaimer-section p strong {
  color: #2b2b2b;
  font-weight: 600;
}

.disclaimer-section .example {
  font-size: 0.69rem;
  color: #888888;
  font-style: italic;
  margin-top: 5px;
  opacity: 0.9;
}

/* ===== FAQ / PREGUNTAS FRECUENTES ===== */
.faq-section {
  padding: 80px 24px;
  background: var(--white);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.faq-item.active {
  border-color: var(--black);
  box-shadow: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-item.active .faq-question {
  color: var(--black);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--black);
}

.faq-item.active .faq-icon {
  background: transparent;
  color: var(--black);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: #4a4a4a;
  font-size: 0.92rem;
  line-height: 1.65;
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
}

.faq-answer-inner strong {
  color: var(--black);
  font-weight: 700;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 16px 70px;
  }

  .faq-question {
    padding: 18px 16px;
    font-size: 0.94rem;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-answer-inner {
    padding: 0 16px 18px;
    font-size: 0.88rem;
  }
}


/* ===== CTA & REVIEWS SECTION ===== */
.cta-section {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-image {
  display: none;
}

.cta-reviews {
  order: 1;
  /* Arriba en celular */
  position: relative;
  width: 100%;
  min-height: 400px;
  background-image: url('assets/img/resenas.jpg?v=4.2');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
}

.cta-reviews-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.cta-reviews-container {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.reviews-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0.3px;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 20px;
}

.reviews-slider {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: start;
  position: relative;
  min-height: 180px;
}

.review-slide {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
  pointer-events: none;
}

.review-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 16px;
}

.review-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--yellow);
}

.review-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--white);
  opacity: 0.88;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 300;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.review-author span {
  font-size: 0.72rem;
  color: var(--white);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.review-arrow {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
}

.review-arrow svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.reviews-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.reviews-dots .dot.active {
  background: var(--yellow);
  transform: scale(1.3);
}

.cta-inner {
  order: 2;
  /* Abajo de las reseñas en celular */
  position: relative;
  z-index: 2;
  background: var(--black);
  padding: 80px 24px;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: none;
}

.cta-section h2 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.cta-section h2 .script {
  font-family: var(--font-script);
  color: var(--yellow);
  font-weight: 400;
  font-size: 4.8rem;
  display: inline-block;
  position: relative;
  line-height: 1;
  margin-top: 4px;
}

.cta-divider {
  width: 36px;
  height: 2px;
  background: var(--yellow);
  margin: 20px auto;
}

.cta-section p {
  font-size: 0.95rem;
  opacity: 0.65;
  margin-bottom: 32px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.3px;
  width: auto;
  max-width: fit-content;
  transition: filter 0.2s ease;
  box-shadow: none;
}

.cta-btn:hover {
  filter: brightness(1.1);
  box-shadow: none;
}

.cta-btn:active {
  filter: brightness(0.95);
}

.cta-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cta-contact-info {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  opacity: 0.6;
  font-family: var(--font-main);
  color: var(--white);
  text-decoration: none;
}

.cta-contact-item svg {
  stroke: var(--white);
  flex-shrink: 0;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: filter 0.2s ease;
}

.whatsapp-float:hover {
  filter: brightness(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-brand .footer-logo img {
  height: 32px;
}

.footer-brand .footer-logo span {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.06em;
}

.footer-brand .footer-sub {
  font-size: 0.75rem;
  opacity: 0.5;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-contact p {
  font-size: 0.82rem;
  opacity: 0.7;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.55rem;
  }

  .hero-content h1 .script {
    font-size: 3.82rem;
  }

  .hero-seo-text {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 14px 0 18px;
    max-width: 100%;
  }

  #equipo {
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
  }

  .team-member {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .team-member-img-wrap {
    width: clamp(105px, 28vw, 130px);
    min-width: clamp(105px, 28vw, 130px);
    max-width: 130px;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
    flex-shrink: 0;
    border-radius: 0;
  }

  .team-member-img {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .team-member-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .team-member-role {
    font-family: var(--font-main);
    font-size: clamp(0.78rem, 2.3vw, 0.86rem);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
    color: #6897e8;
    margin-bottom: 3px;
  }

  .team-member h3 {
    font-size: clamp(1.15rem, 3.6vw, 1.3rem);
    margin-bottom: 4px;
    line-height: 1.25;
  }

  .team-member p,
  .team-member-email {
    font-size: clamp(0.82rem, 2.5vw, 0.9rem);
    opacity: 0.75;
    line-height: 1.35;
  }

  .team-member-social {
    font-size: clamp(0.82rem, 2.5vw, 0.9rem);
    margin-top: 6px;
    gap: 6px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: auto;
  }

  .gallery-item.block-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item.block-tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-item.block-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item.block-normal {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item.desktop-wide-mobile-normal {
    grid-column: span 1;
    grid-row: span 1;
  }

}

@media (max-width: 480px) {
  .gallery-grid {
    grid-auto-rows: 135px;
    gap: 8px;
  }
}

@media (min-width: 769px) {
  .navbar {
    padding: 20px 48px;
  }

  .navbar.scrolled {
    padding: 14px 48px;
  }

  body.has-solid-navbar {
    padding-top: 0;
  }

  body.has-solid-navbar .section:first-of-type {
    padding-top: 124px;
  }

  .navbar-logo img {
    height: 41px;
  }

  .hero-content {
    padding: 0 60px 200px;
  }

  .hero-content h1 {
    font-size: 4.45rem;
  }

  .hero-content h1 .script {
    font-size: 6.35rem;
  }

  .page-hero .hero-content {
    padding: 0 60px 180px;
    /* Raised 100px from 80px */
  }

  .page-hero .hero-content h1 {
    font-size: 3.82rem;
    /* 50% larger */
  }

  .page-hero .hero-content h1 .script {
    font-size: 5.73rem;
    /* 50% larger */
  }

  .section {
    padding: 100px 60px;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .section-title h2 .script {
    font-size: 4.4rem;
  }

  .title-hablan .hablan,
  .title-paquete .paquete,
  .title-faq .frecuentes {
    font-size: clamp(7.2rem, 10vw, 8.8rem) !important;
    margin-top: 10px;
  }

  #servicios .section-title h2 .hacemos,
  #servicios .section-title h2 .servicios {
    font-size: 10.56rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .service-img-wrapper {
    max-width: none;
  }

  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .package-card.featured {
    transform: scale(1.03);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .cta-section h2 .script {
    font-size: 5.6rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 5.1rem;
  }

  .hero-content h1 .script {
    font-size: 7.65rem;
  }

  .page-hero .hero-content h1 {
    font-size: 4.45rem;
    /* 50% larger */
  }

  .page-hero .hero-content h1 .script {
    font-size: 7.0rem;
    /* 50% larger */
  }

  .section-title h2 .script {
    font-size: 4.6rem;
  }

  #servicios .section-title h2 .hacemos,
  #servicios .section-title h2 .servicios {
    font-size: 11.04rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
  }

  .cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    text-align: left;
    align-items: stretch;
  }

  .cta-inner {
    order: 1;
    padding: 100px 10%;
    margin: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .cta-reviews {
    order: 2;
    border: none;
    min-height: 520px;
    height: 100%;
    padding: 80px 10%;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .cta-reviews-overlay {
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
  }

  .cta-reviews-container {
    padding: 0;
    max-width: 440px;
    text-align: left;
    margin: 0;
  }

  .review-stars {
    justify-content: flex-start;
  }

  .reviews-controls {
    justify-content: flex-start;
  }

  .cta-section h2 {
    font-size: 2.4rem;
  }

  .cta-section h2 .script {
    font-size: 6.8rem;
    line-height: 0.9;
    margin-top: 6px;
  }

  .cta-divider {
    margin: 20px 0;
  }

  .cta-section p {
    margin-left: 0;
    margin-right: 0;
    max-width: 380px;
  }

  .cta-contact-info {
    align-items: flex-start;
  }

  .cta-image {
    display: block;
    order: 2;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-image: url('assets/img/resenas.jpg?v=4.2');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
  }
}

/* ===== SPECIALIZATION BANNER ===== */
.specialization {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.specialization p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

.specialization .highlight {
  font-weight: 700;
}

/* ===== DIVIDER ===== */
.divider {
  width: 44px;
  height: 2px;
  background: var(--yellow);
  margin: 0 auto 36px;
}

.divider.divider-blue,
#servicios .divider {
  background: var(--blue);
}