/* =============================================
   PAOLA BARBER STUDIO — Design System & Styles
   Minimalist modern barbershop aesthetic
   ============================================= */

/* ---------- Reset & Base ---------- */
/* Google Fonts loaded via HTML preload for performance */

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

:root {
  /* Palette — premium monochrome */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1e1e1e;
  --accent: #ffffff;
  --accent-light: #e0e0e0;
  --accent-dark: #b0b0b0;
  --text-primary: #f2f2f2;
  --text-secondary: #8a8a8a;
  --text-muted: #555555;
  --border: rgba(255, 255, 255, 0.10);
  --border-light: rgba(255, 255, 255, 0.05);
  --gradient-gold: linear-gradient(135deg, #ffffff, #d0d0d0);
  --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .6);
  --shadow-gold: 0 4px 24px rgba(255, 255, 255, .06);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .35);
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.btn-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 36px rgba(37, 211, 102, .45);
}

.btn-whatsapp svg {
  width: 30px;
  height: 30px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, .94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--text-primary);
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-cta {
  padding: 10px 22px !important;
  font-size: .82rem !important;
  border: 1.5px solid rgba(255,255,255,0.85) !important;
  background: transparent !important;
  color: var(--text-primary) !important;
  border-radius: 50px !important;
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
  transform: translateY(-1px) !important;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
  filter: saturate(.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .6) 0%, rgba(10, 10, 10, .95) 90%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Floating stats */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--accent);
}

.hero-stat p {
  font-size: .82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ---------- About ---------- */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid--no-image {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: saturate(.85);
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
  filter: saturate(1);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-image-badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-image-badge span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-image-badge small {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
}

.about-text .section-subtitle {
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.about-feature:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.about-feature-icon {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature span {
  font-size: .85rem;
  font-weight: 500;
}

/* ---------- Gallery ---------- */
.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header .section-subtitle {
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s cubic-bezier(.4, 0, .2, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, .85) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.gallery-item {
  min-height: 360px;
}

.gallery-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------- Services ---------- */
.services {
  background: var(--bg-secondary);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* Cada tarjeta ocupa 2 de las 6 columnas → 3 por fila */
.service-card {
  grid-column: span 2;
}

/* Últimas 2 tarjetas centradas: dejan 1 col vacía a cada lado */
.service-card:nth-child(4) {
  grid-column: 2 / 4;
}

.service-card:nth-child(5) {
  grid-column: 4 / 6;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(200, 169, 110, .06);
  border: 1px solid rgba(200, 169, 110, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.service-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
}

.service-price small {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-body);
}

/* ---------- Studio / Nuestro Espacio ---------- */
.studio {
  padding: var(--space-xl) 0 0;
  background: var(--bg-primary);
}

.studio-header {
  text-align: center;
  margin-bottom: 48px;
}

.studio-header .section-subtitle {
  margin: 0 auto;
}

.studio-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px 320px;
  grid-template-areas:
    "main s1 s2"
    "main s3 s4";
  gap: 6px;
  overflow: hidden;
}

.studio-item {
  overflow: hidden;
}

.studio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
  display: block;
}

.studio-item:hover img {
  transform: scale(1.06);
}

.studio-item--main { grid-area: main; }
.studio-item--s1 { grid-area: s1; }
.studio-item--s1 img { object-position: center 20%; }
.studio-item--s2 { grid-area: s2; }
.studio-item--s3 { grid-area: s3; }
.studio-item--s4 { grid-area: s4; }

/* Responsive studio */
@media (max-width: 768px) {
  .studio-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px 180px;
    grid-template-areas:
      "main main"
      "s1 s2"
      "s3 s4";
  }
}

@media (max-width: 480px) {
  .studio-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px 160px;
    grid-template-areas:
      "main main"
      "s1 s2"
      "s3 s4";
  }
}

/* ---------- Blog ---------- */
.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header .section-subtitle {
  margin: 0 auto;
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.blog-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .6s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card-link:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-read-more {
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.blog-card:hover .blog-read-more {
  gap: 8px;
}

.blog-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.blog-card:hover .blog-card-body h3 {
  color: var(--accent);
}

.blog-card-body p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  color: var(--text-muted);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--bg-secondary);
  overflow: hidden;
  padding-bottom: 100px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 56px;
}

.reviews-header .section-subtitle {
  margin: 0 auto;
}

.reviews-track-wrapper {
  overflow: hidden;
  position: relative;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-track-wrapper:hover .reviews-track {
  animation-play-state: paused;
}

.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviewsScroll 60s linear infinite;
}

@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 28px 24px;
  width: 320px;
  flex-shrink: 0;
  transition: border-color var(--transition);
}

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

.review-stars {
  color: #f5c518;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

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

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.review-source {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-source i {
  color: #4285F4;
}

/* ---------- Map ---------- */
.map {
  background: var(--bg-secondary);
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.map-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info .section-subtitle {
  margin-bottom: 36px;
}

.map-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.map-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(200, 169, 110, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--accent);
}

.map-detail h4 {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.map-detail p {
  font-size: .85rem;
  color: var(--text-secondary);
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--border);
  position: relative;
  background: var(--bg-alt);
  cursor: pointer;
}

/* Enlace invisible por encima de todo el mapa */
.map-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: transparent;
}

/* Contenedor del iframe que le hace un pequeño zoom para sacar fuera la caja blanca de Google UI (el cuadro de info) */
.map-iframe-container {
  width: 100%;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  pointer-events: none; /* Que el iframe no intercepte el clic, lo recibe el overlay */
  position: relative;
}

.map-embed iframe {
  position: absolute;
  top: -120px;
  left: -50px;
  width: calc(100% + 100px);
  height: calc(100% + 240px);
  border: none;
  /* Color normal de Google Maps */
  pointer-events: none;
  transition: var(--transition);
}

.map-embed:hover iframe {
  filter: grayscale(.3) contrast(1) brightness(.85);
}

/* ---------- Social ---------- */
.social {
  overflow: hidden;
}

.social-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.social-text {
  max-width: 480px;
}

.social-text .section-subtitle {
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

/* Phone mockup */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: #111;
  border-radius: 42px;
  border: 3px solid #333;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #222;
  overflow: hidden;
  padding: 12px;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #111;
  border-radius: 0 0 18px 18px;
  z-index: 10;
  border: 2px solid #222;
  border-top: none;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.phone-reel {
  width: 100%;
  height: 100%;
  position: relative;
}

.phone-reel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.phone-reel-slide.active {
  opacity: 1;
}

.phone-reel-slide img,
.phone-reel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  pointer-events: none; /* Delegamos interacción al overlay */
}

.phone-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  background: transparent;
}

.phone-reel-overlay {
  display: none; /* Hidden because TikTok iframe already provides UI */
}

.phone-reel-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.phone-reel-avatar,
.phone-reel-username,
.phone-reel-caption,
.phone-reel-actions,
.phone-reel-action {
  display: none !important;
}

/* Floating glow */
.phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ---------- Article / Blog Post ---------- */
.article-hero {
  padding: 140px 0 56px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .85rem;
  text-decoration: none;
  margin-bottom: 28px;
  transition: var(--transition);
}

.article-back:hover { color: var(--accent); }

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 16px 0 20px;
  max-width: 820px;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: .85rem;
  align-items: center;
}

.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body {
  max-width: 780px;
  margin: 64px auto;
  padding: 0 20px;
}

.article-body p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.article-body h2 {
  font-size: 1.65rem;
  margin: 56px 0 20px;
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 36px 0 12px;
  color: var(--accent);
  font-weight: 700;
}

.article-pullquote {
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  margin: 40px 0;
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-pullquote p {
  font-size: 1.1rem !important;
  font-style: italic;
  margin: 0 !important;
  color: var(--text-primary) !important;
}

.article-pullquote cite {
  display: block;
  margin-top: 10px;
  font-size: .78rem;
  color: var(--text-muted);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.article-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 36px 0;
}

.celebrity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 32px 0;
}

.celebrity-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.celebrity-card .celeb-name {
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 6px;
  font-size: .95rem;
}

.celebrity-card .celeb-style {
  font-size: .78rem;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.celebrity-card .celeb-ref {
  font-size: .72rem;
  color: var(--text-muted);
}

.magazine-refs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 32px;
}

.magazine-ref {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .78rem;
  color: var(--text-muted);
}

.tip-box {
  background: linear-gradient(135deg, rgba(212,176,130,0.08), rgba(212,176,130,0.03));
  border: 1px solid rgba(212,176,130,0.25);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
}

.tip-box h4 {
  color: var(--accent);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.tip-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tip-box ul li {
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: .95rem;
  padding-left: 18px;
  position: relative;
}

.tip-box ul li:last-child { border-bottom: none; }

.tip-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.article-cta {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  margin: 64px 0;
}

.article-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-primary) !important;
}

.article-cta p {
  color: var(--text-muted) !important;
  margin-bottom: 28px;
}

.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--bg-primary);
  border-radius: 50%;
  font-weight: 800;
  font-size: .9rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.fade-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}

.fade-item-content { flex: 1; }

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg-primary);
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: .85rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

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

.faq-answer.open {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-answer p strong {
  color: var(--text-primary);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--bg-secondary);
  text-align: center;
  padding: 80px 0;
}

.cta-banner-inner {
  background: linear-gradient(135deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .01) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: .88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 280px;
  line-height: 1.8;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: .88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.4, 0, .2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* Stagger children */
.stagger-children>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.stagger-children.visible>*:nth-child(1) {
  transition-delay: 0s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(2) {
  transition-delay: .1s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(3) {
  transition-delay: .2s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(4) {
  transition-delay: .3s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(5) {
  transition-delay: .4s;
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible>*:nth-child(6) {
  transition-delay: .5s;
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile Nav Overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(10, 10, 10, .97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--text-secondary);
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  /* Services: keep 6-col trick so 3-per-row still works on tablets */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item { min-height: 260px; }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }

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

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .hero-stat { min-width: 90px; text-align: center; }

  .about-grid,
  .map-grid,
  .social-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image img { height: 320px; }

  .about-features { grid-template-columns: 1fr 1fr; }

  /* Gallery: 2-col compact */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item { min-height: 180px; }

  /* Services: reset 6-col trick → simple 1-col list */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Reset explicit column placement */
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  /* Compact horizontal card: icon + name | price */
  .service-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
  }

  .service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .service-icon svg {
    width: 18px;
    height: 18px;
  }

  .service-card h3 {
    font-size: .95rem;
    margin: 0;
    flex: 1;
  }

  /* Hide description on mobile */
  .service-card p { display: none; }

  .service-price {
    margin-top: 0;
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Studio: show only main + 2 images, hide the other 2 */
  .studio-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 140px;
    grid-template-areas:
      "main main"
      "s1 s2";
    gap: 4px;
  }

  .studio-item--s3,
  .studio-item--s4 { display: none; }

  .studio-header { margin-bottom: 28px; }

  /* Blog: single column */
  .blog-grid { grid-template-columns: 1fr; }

  .phone-mockup-wrapper { margin-top: 20px; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  section { padding: 50px 0; }

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

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { min-height: 150px; }

  .about-features { grid-template-columns: 1fr; }

  .studio-mosaic {
    grid-template-rows: 190px 120px;
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}