/* Portada DELUNA */
/* Portada y película */
.home .hero {
  display: block;
  min-height: 0;
}

.home .hero-wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(52px, 10vw, 152px);
  padding-top: clamp(66px, 10vw, 148px);
  padding-bottom: clamp(32px, 5.8vw, 80px);
}

.home .hero-copy {
  max-width: none;
  text-align: center;
}

.home h1 {
  margin: 0 auto 28px;
  max-width: 15em;
  font-size: clamp(40px, 5.25vw, 80px);
}

.home h2 { font-size: clamp(32px, 3.75vw, 58px); }

.home h1 span,
.home .video-inner h2 span,
.home #servicios h2 span { display: block; }

.home .hero .lead { max-width: 68ch; }
.home .hero .actions { margin-top: 28px; }

.home .hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-align: left;
  white-space: normal;
}

.home .hero-meta > :last-child { text-align: right; }

.home .video-band,
.home .feature-band {
  margin-inline: var(--panel-inset);
  padding-block: clamp(44px, 6.3vw, 94px);
  border-radius: var(--panel-radius);
}

.home .video-band,
.home .feature-band {
  color: var(--ink);
  background: var(--yellow);
}

.home .video-band::before { content: none; }

.home .video-inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  gap: 24px;
  text-align: center;
}

.home .video-inner h2 {
  max-width: 10em;
  margin: 0 auto clamp(20px, 4.8vw, 70px);
}

.home .video-meta {
  padding-bottom: 14px;
  border-color: var(--hairline);
  color: inherit;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: left;
}

.home .video-meta strong { color: inherit; }
.home .video-meta > :last-child { text-align: right; }

.home .video-wrap {
  aspect-ratio: 16 / 9;
  border-radius: var(--image-radius);
}

.home .video-inner .actions { margin-top: clamp(8px, 2vw, 32px); }

/* Servicios */
.home #servicios h2 { max-width: 13em; margin-inline: auto; }

.home .services-index {
  gap: 12px;
  max-width: 1080px;
  margin-inline: auto;
  border: 0;
}

.home .service-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 44px);
  padding: clamp(8px, 1vw, 14px);
  border: 1px solid var(--ink);
  border-radius: var(--image-radius);
  background: var(--white);
}

.home .service-row .service-text {
  align-self: stretch;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  gap: 12px;
  padding: clamp(16px, 2.8vw, 40px);
}

.home .service-row .service-num {
  padding: 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.09em;
}

.home .service-row .service-text h3 {
  max-width: 16ch;
  font-size: clamp(34px, 3.5vw, 53px);
  line-height: 1;
}

.home .service-row .service-text p {
  color: var(--ink);
  font-size: 16px;
}

.home .service-row .service-cta {
  justify-self: start;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--yellow);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}

.home .service-row .service-cta::after { content: none; }
.home .service-row:hover .service-cta,
.home .service-row:focus-visible .service-cta { background: var(--yellow-hover); }

.home .service-img {
  align-self: stretch;
  min-height: 100%;
  aspect-ratio: 5 / 4;
  border-radius: calc(var(--image-radius) - 5px);
}

.home .service-img picture { position: absolute; inset: 0; }
.home .service-row:nth-child(-n + 2) .service-img img { object-position: center 13%; }

.home .service-enquiry {
  margin-top: clamp(40px, 6vw, 86px);
  text-align: center;
}

.home .service-enquiry p {
  max-width: 30ch;
  margin: 0 auto 16px;
}

/* Proceso y estudio */
.home #proceso { padding-top: clamp(22px, 4vw, 62px); }
.home #proceso .lead { max-width: 56ch; }

.home .steps,
.home .testimonials {
  gap: clamp(16px, 2.6vw, 38px);
  border: 0;
}

.home .step,
.home .testimonial {
  min-height: 0;
  padding: 0 0 0 clamp(12px, 1.35vw, 22px);
  border: 0;
  border-left: 1px solid var(--hairline);
}

.home .step::before {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-family: var(--sans);
  letter-spacing: 0.08em;
}

.home .step h3 { margin-bottom: clamp(12px, 2vw, 24px); }
.home .step p { color: var(--ink); font-size: 16px; }
.home #proceso .actions { margin-top: clamp(38px, 6vw, 88px); }

.home .feature-band {
  position: relative;
  z-index: 2;
  border-radius: var(--panel-radius) var(--panel-radius) 0 0;
}

.home .split-feature {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 48px);
}

.home .split-feature h2 { max-width: 11em; }

.home .feature-image {
  aspect-ratio: 1.05;
  border-radius: var(--image-radius);
  object-position: center 63%;
  filter: none;
}

.home .copy-column p + p { margin-top: 0; }

/* Testimonios */
.home .testimonials {
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home .testimonial { grid-template-rows: auto 1fr auto; gap: 12px; }
.home .testimonial::before,
.home .testimonial blockquote::before,
.home .testimonial blockquote::after { content: none; }

.home .quote-mark {
  font: 64px / 0.76 var(--serif);
  height: 32px;
}

.home .testimonial blockquote {
  font-size: clamp(23px, 2.15vw, 32px);
  font-style: normal;
  line-height: 1.14;
}

.home .testimonial-author {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}

.home .testimonial-author span { display: block; }

/* Instagram */
.home .ig-section { padding-block: clamp(48px, 7.5vw, 108px); }
.home .ig-section h2 { margin-bottom: 22px; }

.home .ig-section .handle {
  margin-bottom: clamp(32px, 5.5vw, 80px);
  padding: 0 18px;
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: normal;
  text-transform: none;
}

.home .ig-section .handle:hover { color: var(--yellow); }
.home .ig-section .handle::after { content: none; }

.home .ig-gallery {
  position: relative;
  display: flex;
  gap: clamp(8px, 1vw, 14px);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.home .ig-gallery.is-looping {
  scrollbar-width: none;
  scroll-snap-type: none;
}

.home .ig-gallery.is-looping::-webkit-scrollbar { display: none; }
.home .ig-gallery:focus-visible { outline-offset: -2px; }

.home .ig-gallery img {
  flex: 0 0 auto;
  width: clamp(146px, 19.5vw, 312px);
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  scroll-snap-align: start;
}

.home .ig-gallery .ig-portrait { object-position: center 44%; }

.home .ig-toggle {
  min-height: 44px;
  margin: 8px auto 0;
  padding-inline: 14px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home .ig-toggle:hover { color: var(--ink); }

@media (min-width: 601px) {
  .home .service-row:nth-child(even) .service-text { grid-area: 1 / 2; }
  .home .service-row:nth-child(even) .service-img { grid-area: 1 / 1; }
}

@media (max-width: 700px) {
  .home .split-feature { grid-template-columns: minmax(0, 1fr); }
  .home .feature-image { max-height: 430px; }
  .home .testimonials { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 600px) {
  .home h1 { font-size: clamp(34px, 8.6vw, 54px); }
  .home h1 span { display: inline; }
  .home .hero-meta { display: grid; grid-template-columns: 1.15fr 1fr; }
  .home .service-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home .service-row .service-text { padding: 16px 12px 20px; }
  .home .service-img { aspect-ratio: 5 / 3.8; }
  .home .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .home .service-row,
  .home .service-img img { transition: none; }

  .home .service-row:hover .service-img img { transform: none; }
}
