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

:root {
  --ink: #111010;
  --skin: #f5efe8;
  --cream: #faf7f3;
  --muted: #9b9088;
  --accent: #c8a98a;
  --line: rgba(17,16,16,0.12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  cursor: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10005;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor.expanded {
  width: 32px; height: 32px;
  background: transparent;
  border: 1px solid var(--ink);
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: rgba(250,247,243,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--line);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo img {
  max-height: 50px; /* Ajusta este valor para hacer el logo más grande */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 0.5px solid var(--ink);
  padding: 0.55rem 1.4rem;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--cream);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 6rem;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 0.5px;
  background: var(--muted);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

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

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 26rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background: var(--ink);
  padding: 1rem 2.2rem;
  transition: background 0.2s;
}

.btn-primary:hover { background: #2a2826; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--ink); }

.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(3px); }

.hero-image {
  background: var(--skin);
  position: relative;
  overflow: hidden;
}

.hero-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

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

.hero-image-caption {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Placeholder art in hero */
.hero-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MARQUEE */
.marquee-strip {
  overflow: hidden;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  padding: 1rem 0;
  background: var(--skin);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-item {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted);
  flex-shrink: 0;
}

.marquee-dot {
  color: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.about-image {
  background: var(--ink);
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

 .about-slider {
   width: 100%;
   height: 100%;
   position: absolute;
   inset: 0;
   display: flex;
   align-items: center;
   justify-content: flex-start; /* Alinea las fotos al principio para que el movimiento sea exacto */
   transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .slider-img {
   flex: 0 0 100%;
   width: 100%; /* Asegura que cada imagen ocupe el ancho total del contenedor */
   height: 100%;
   object-fit: cover;
   object-position: center;
 }

.about-content {
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.section-title em { font-style: italic; }

.section-body {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 30rem;
}

.section-body p + p { margin-top: 1.2rem; }

.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 0.5px solid var(--line);
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* PORTFOLIO */
.portfolio {
  padding: 7rem 4rem;
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-item {
  background: var(--skin);
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  cursor: none;
}

.portfolio-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio-item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-item-inner {
  transform: scale(1.03);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,16,16,0);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background 0.3s;
}

.portfolio-item:hover .portfolio-item-overlay {
  background: rgba(17,16,16,0.4);
}

.portfolio-item-label {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: white;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.portfolio-item:hover .portfolio-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* Image placeholders with SVG art */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--skin);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-direction: column;
  gap: 1rem;
}

.img-placeholder svg {
  opacity: 0.3;
}

/* SERVICES */
.services {
  background: var(--ink);
  color: var(--cream);
  padding: 7rem 4rem;
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-header .section-label {
  color: var(--accent);
}

.services-header .section-title {
  color: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid rgba(255,255,255,0.12);
}

.service-card {
  padding: 3rem 2.5rem;
  border: 0.5px solid rgba(255,255,255,0.12);
  transition: background 0.3s;
}

.service-card:hover {
  background: rgba(255,255,255,0.04);
}

.service-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.service-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--cream);
}

.service-desc {
  font-size: 0.875rem;
  color: rgba(250,247,243,0.5);
  line-height: 1.8;
}

/* PROCESS */
.process {
  padding: 7rem 4rem;
}

.process-header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 0.5px;
  background: var(--line);
}

.process-step {
  padding: 0 2rem;
  text-align: center;
}

.step-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 0.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  background: var(--cream);
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* INSTAGRAM */
.instagram {
  padding: 7rem 4rem;
  background: var(--skin);
}

.instagram-header {
  text-align: center;
  margin-bottom: 3rem;
}

.instagram-widget-container {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  min-height: 320px;
}

.instagram-cta {
  text-align: center;
}

/* CONTACT */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.contact-info {
  background: var(--ink);
  color: var(--cream);
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info .section-title {
  color: var(--cream);
}

.contact-details {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,247,243,0.4);
  margin-bottom: 0.4rem;
}

.contact-detail-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--cream);
}

.contact-detail-value a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail-value a:hover { color: var(--accent); }

.contact-socials {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 2rem;
}

.social-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,247,243,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.social-link:hover { color: var(--cream); }

.contact-form {
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--line);
  padding: 0.6rem 0;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--ink);
}

.form-textarea {
  resize: none;
  height: 100px;
}

.form-select {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-submit {
  margin-top: 2rem;
  width: 100%;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  border: none;
  padding: 1.1rem 2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: #2a2826; }

/* FOOTER */
footer {
  background: var(--ink);
  color: rgba(250,247,243,0.4);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--cream);
  text-decoration: none;
}

.footer-copy {
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.78rem;
  color: rgba(250,247,243,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links, .nav-cta { display: none; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    border-bottom: 0.5px solid var(--line);
  }

  .nav-cta.active {
    display: block;
  }

  .nav-toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text { padding: 5rem 2rem 3rem; }
  .hero-image { min-height: 50vw; }

  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 500px; }
  .about-content { padding: 4rem 2rem; }

  .portfolio { padding: 5rem 2rem; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:first-child { grid-row: auto; }

  .services { padding: 5rem 2rem; }
  .services-grid { grid-template-columns: 1fr; }

  .process { padding: 5rem 2rem; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process-steps::before { display: none; }

  .instagram { padding: 5rem 2rem; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }

  .contact { grid-template-columns: 1fr; }
  .contact-info { padding: 4rem 2rem; }
  .contact-form { padding: 4rem 2rem; }

  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem;
  }

  .footer-links {
    justify-content: center;
    gap: 1rem 1.5rem;
  }

  .stats-row { gap: 2rem; }

  body { cursor: auto; }
  .cursor { display: none; }
}

/* Scroll reveal delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Banner de Cookies Centrado */
.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--cream);
  border: 0.5px solid var(--line);
  padding: 3rem 2.5rem;
  z-index: 10001;
  max-width: 420px;
  width: 85%;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-content p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.cookie-overlay.show { opacity: 1; visibility: visible; }
