* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Porkys';
    src: url('fonts/PORKYS_.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    background: #0a0e27;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1428 100%);
}

#bgCanvas {
    display: block;
    width: 100%;
    height: 100%;
    background: none;
    opacity: 0;
}

/* Section background crossfade container */
.section-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.4;
}
.section-bg .bg-base,
.section-bg .bg-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    will-change: transform, background-position;
}
.section-bg .bg-base {
    background-image: url('bg/fondo.png');
}
.section-bg .bg-overlay {
    display: none;
}

/* Ensure background-container sits behind section-bg */
.background-container { z-index: -3; }

/* Hero stage: lock hero while background moves on first scroll */
.hero-stage {
    position: relative;
    height: 100vh;
}

.hero {
    position: sticky;
    top: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #d4c5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fff, #d4c5f9);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta {
    background: linear-gradient(135deg, #fff 0%, #d4c5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link.cta:hover {
    background: #fff;
    -webkit-text-fill-color: #0a0e27;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    gap: 40px;
    position: relative;
    z-index: 5;
}

.three-container {
    flex: 0 0 380px;
    height: 500px;
    position: relative;
    animation: floatUp 1s ease-out;
    min-width: 380px;
}

.three-container-left {
    flex: 0 0 clamp(420px, 60vw, 900px);
    height: clamp(320px, 60vh, 700px);
    position: relative;
    animation: floatUp 1s ease-out;
    min-width: 420px;
    perspective: 900px;
    cursor: grab;
    touch-action: none;
}

.three-container-left.is-dragging {
    cursor: grabbing;
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    flex: 0 0 clamp(260px, 30vw, 420px);
    z-index: 10;
    margin-left: auto;
    text-align: right;
    max-width: 420px;
}

.hero-three-title {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 6;
    font-family: 'Porkys', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-size: 56px;
    letter-spacing: 1px;
    color: transparent;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(210, 235, 255, 0.5) 40%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(212, 197, 249, 0.8) 45%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow:
        0 6px 24px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(140, 200, 255, 0.25),
        0 0 26px rgba(255, 255, 255, 0.2);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 10px 24px rgba(255, 255, 255, 0.18));
    pointer-events: auto;
    cursor: grab;
    display: inline-block;
    transform-style: preserve-3d;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    transform: rotateX(0deg) rotateY(0deg);
    touch-action: none;
}

.hero-three-title.is-hidden {
    opacity: 0;
}

.subtitle {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #d4c5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInRight 0.8s ease-out 0.2s backwards;
}

.tagline {
    font-size: 20px;
    color: #b0b0b0;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: slideInRight 0.8s ease-out 0.4s backwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: slideInRight 0.8s ease-out 0.6s backwards;
    justify-content: flex-end;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #fff 0%, #d4c5f9 100%);
    color: #0a0e27;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    color: #b0b0b0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(-45deg);
    animation: scrollArrow 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scrollArrow {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(-45deg) translateY(-5px);
    }
    50% {
        opacity: 1;
        transform: rotate(-45deg) translateY(5px);
    }
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 50px rgba(31, 38, 135, 0.5);
    transform: translateY(-5px);
}

/* Content Sections */
.content-section {
    padding: 150px 50px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header h2 {
    font-size: 56px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #d4c5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 18px;
    color: #b0b0b0;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.content-card,
.design-card {
    border-radius: 20px;
    overflow: hidden;
    animation: cardAppear 0.6s ease-out;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, #2a2f4f 0%, #1a1f3a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    opacity: 0.5;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.icon-play {
    width: 60px;
    height: 60px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 2;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.content-card:hover .icon-play {
    stroke: #fff;
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.card-content p {
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-link {
    color: #d4c5f9;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #fff;
    gap: 12px;
}

/* Gallery Grid */
/* =========================
   ROW horizontal premium
========================= */
.scroll-row{
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 26px 28px 34px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  /* 3D stage */
  perspective: 1200px;
  align-items: center;

  /* momentum en iOS */
  -webkit-overflow-scrolling: touch;

  /* ocultar scrollbar */
  scrollbar-width: none;          /* Firefox */
}
.scroll-row::-webkit-scrollbar{   /* Chrome/Safari/Edge */
  width: 0;
  height: 0;
}

/* =========================
   Card base (polaroid)
========================= */
.polaroid{
  flex: 0 0 260px;                /* ancho de tarjeta (ajusta a gusto) */
  scroll-snap-align: center;      /* centra en snap */
  transform-style: preserve-3d;

  background: #f7f6ff;
  color: #1f1d2b;
  border-radius: 18px;
  padding: 16px 16px 28px;
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
  display: grid;
  gap: 12px;
  font-weight: 600;
  min-height: 280px;
  width: auto;

  /* estado “no activo” (JS lo ajusta dinámicamente) */
  transform: translateZ(0) scale(.92);
  filter: saturate(.9) contrast(.98);
  opacity: .9;

  /* micro-motion premium */
  transition: transform 260ms ease, filter 260ms ease, opacity 260ms ease;
  will-change: transform, filter;
}

/* foto dentro */
.polaroid-photo{
  background: linear-gradient(135deg, #d0f7ff, #ffd0f6);
  height: 190px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #3b2c4a;
  font-weight: 700;

  transform: translateZ(22px); /* “sale” hacia el usuario */
}

/* =========================
   Floating vibe (suave)
========================= */
.polaroid{
  animation: floaty 5.2s ease-in-out infinite;
}
.polaroid:nth-child(2n){ animation-duration: 6.1s; }
.polaroid:nth-child(3n){ animation-duration: 5.6s; }

@keyframes floaty{
  0%,100% { transform: translateY(0) translateZ(0) scale(.92); }
  50%     { transform: translateY(-8px) translateZ(0) scale(.92); }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .scroll-row{ scroll-behavior: auto; }
  .polaroid{ animation: none; }
}

/* =========================
   (Opcional) glow sutil para activo
========================= */
.polaroid.is-active{
  opacity: 1;
  filter: saturate(1.05) contrast(1.02);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.polaroid {
  background: #f7f6ff;
  color: #1f1d2b;
  border-radius: 18px;
  padding: 16px 16px 28px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 12px;
  font-weight: 600;
  min-height: 280px;
  width: 100%;
}

.polaroid-photo {
  background: linear-gradient(135deg, #d0f7ff, #ffd0f6);
  height: 190px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #3b2c4a;
  font-weight: 700;
}

/* Polaroid sizing override: bigger image, thinner border, larger bottom margin */
.scroll-row .polaroid {
  padding: 10px 10px 26px;
  min-height: 260px;
}

.scroll-row .polaroid-photo {
  height: 210px;
  border-radius: 10px;
}

.scroll-row .polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-row .polaroid-photo img {
  cursor: zoom-in;
}

.scroll-row {
  cursor: grab;
}

.scroll-row.is-dragging {
  cursor: grabbing;
}

/* Polaroid lightbox */
.polaroid-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 39, 0.7);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 3000;
}

.polaroid-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.polaroid-viewer-shell {
  width: min(92vw, 760px);
  height: min(88vh, 860px);
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
  gap: 14px;
}

.polaroid-viewer-canvas-wrap {
  position: relative;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, rgba(182, 202, 255, 0.2), rgba(8, 11, 26, 0.94) 70%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

#polaroid3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

#polaroid3dCanvas.is-dragging {
  cursor: grabbing;
}

.polaroid-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #101321;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  z-index: 4;
}

.polaroid-viewer-meta {
  color: #fff;
  text-align: center;
}

.polaroid-viewer-caption {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.polaroid-viewer-hint {
  margin: 8px 0 0;
  font-size: 13px;
  opacity: 0.78;
}

@media (max-width: 768px) {
  .polaroid-viewer-shell {
    height: min(90vh, 760px);
    grid-template-rows: minmax(360px, 1fr) auto;
  }

  .polaroid-lightbox-close {
    top: 10px;
    right: 10px;
    padding: 7px 12px;
    font-size: 11px;
  }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.gallery-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-info {
    opacity: 1;
}

.gallery-info h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
}

.gallery-info p {
    color: #d4c5f9;
    font-size: 13px;
}

/* Design Cards */
.design-preview {
    height: 200px;
    background: linear-gradient(135deg, #2a2f4f 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.design-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(212, 197, 249, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.design-content {
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
}

.design-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
}

.design-content p {
    color: #b0b0b0;
    font-size: 13px;
    margin-bottom: 15px;
}

.design-tag {
    display: inline-block;
    background: rgba(212, 197, 249, 0.2);
    color: #d4c5f9;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-section {
    padding: 150px 50px;
    text-align: center;
    background: linear-gradient(135deg, rgba(42, 47, 79, 0.2) 0%, rgba(26, 31, 58, 0.2) 100%);
    position: relative;
    z-index: 5;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #d4c5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-section p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.social-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    padding: 30px 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #808080;
    font-size: 14px;
    position: relative;
    z-index: 5;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-links a:hover {
    color: #ffffff;
    opacity: 1;
}

/* Scroll Animations */
.content-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.videos-section {
    animation-delay: 0s;
}

.fotos-section {
    animation-delay: 0.2s;
}

.diseños-section {
    animation-delay: 0.4s;
/* Scroll Animations and Smooth Transitions */
html {
    scroll-behavior: smooth;
}

.content-section {
    position: relative;
    z-index: 5;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section.animated {
    opacity: 1;
    transform: translateY(0);
}

.videos-section {
    background: linear-gradient(180deg, transparent 0%, rgba(42, 47, 79, 0.1) 100%);
}

.fotos-section {
    background: linear-gradient(180deg, rgba(42, 47, 79, 0.1) 0%, rgba(26, 31, 58, 0.1) 100%);
}

.diseños-section {
    background: linear-gradient(180deg, rgba(26, 31, 58, 0.1) 0%, transparent 100%);
}
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .three-container {
        height: 400px;
    }

    .subtitle {
        font-size: 42px;
    }


    .content-section {
        padding: 100px 30px;
    }

    .section-header h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 80px 20px 40px;
    }

    .subtitle {
        font-size: 32px;
    }

    .tagline {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 80px 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 150px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 80px 15px 30px;
    }

    .subtitle {
        font-size: 24px;
    }

    .tagline {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .content-section {
        padding: 60px 15px;
    }
    /* =========================================================
   FIX FINAL (PEGAR AL FINAL DEL styles.css)
   Objetivo: activar scroll horizontal en .scroll-row
   sin cambiar tu estética general.
========================================================= */

/* 1) Asegura que la fila sea horizontal y scrolleable */
.scroll-row{
  display: flex;
  flex-wrap: nowrap;     /* evita que bajen a otra línea */
  overflow-x: auto;      /* scroll horizontal */
  overflow-y: visible;
  width: 100%;
  max-width: 100%;

  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;   /* mejora en móvil */
}

/* 2) Mata el conflicto que te rompe el scroll:
      tu .polaroid duplicada con width:100% */
.scroll-row > .polaroid{
  flex: 0 0 260px;         /* ancho fijo (usa tu mismo 260px) */
  min-width: 260px;        /* por seguridad */
  width: auto !important;  /* pisa width:100% sin tocar tu look */
}

/* 3) Si algún padre estuviera recortando, lo evitamos solo aquí */
.fotos-section{
  overflow: visible;
}

}
