/* Home page styles. */
main {
  background-color: var(--background-color);
}

/* Compact editorial category strip beneath the torn-paper collage. */
.page-sociales-home .home-stories {
  display: grid;
  grid-template-columns: minmax(8.5rem, 1fr) minmax(0, 2.35fr) minmax(8.5rem, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.75rem);
  height: clamp(220px, 28svh, 320px);
  padding: clamp(14px, 2vh, 24px) clamp(22px, 3.5vw, 64px);
  color: #0d0d0d;
  border-bottom: 1px solid rgba(13, 13, 13, 0.16);
  background: #f0ede7;
  box-sizing: border-box;
}

.page-sociales-home .home-stories__word {
  margin: 0;
  color: #0d0d0d;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3.7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 0.9;
  text-transform: uppercase;
}

.page-sociales-home .home-stories__intro {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

.page-sociales-home .home-stories__cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.65vw, 12px);
  height: min(23svh, 250px);
  min-height: 180px;
}

.page-sociales-home .home-stories__card {
  position: relative;
  flex: 0 1 auto;
  height: 100%;
  max-width: 31.5%;
  overflow: hidden;
  color: #fff;
  aspect-ratio: 1;
  background: #171715;
  text-decoration: none;
  isolation: isolate;
}

.page-sociales-home .home-stories__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.38) contrast(1.04) brightness(0.88);
  transform: scale(1.01);
  transition: filter 450ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-sociales-home .home-stories__shade {
  position: absolute;
  inset: 42% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 7, 0.7));
  pointer-events: none;
}

.page-sociales-home .home-stories__label {
  position: absolute;
  right: 0.75rem;
  bottom: 0.65rem;
  left: 0.75rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 0.88vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.page-sociales-home .home-stories__card:hover img,
.page-sociales-home .home-stories__card:focus-visible img {
  filter: saturate(1) contrast(1.06) brightness(1);
  transform: scale(1.045);
}

.page-sociales-home .home-stories__card:focus-visible {
  outline: 2px solid #0d0d0d;
  outline-offset: 3px;
}

.page-sociales-home .home-stories__word--tail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
}

@media (max-width: 820px) {
  .page-sociales-home .home-stories {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.75rem 1rem;
    height: clamp(215px, 29svh, 270px);
    padding: 14px 18px 16px;
  }

  .page-sociales-home .home-stories__intro {
    grid-column: 1;
  }

  .page-sociales-home .home-stories__word {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .page-sociales-home .home-stories__word--tail {
    grid-column: 2;
    grid-row: 1;
    align-self: baseline;
    padding: 0;
  }

  .page-sociales-home .home-stories__cards {
    grid-column: 1 / -1;
    height: min(19svh, 170px);
    min-height: 125px;
  }

  .page-sociales-home .home-stories__label {
    right: 0.35rem;
    bottom: 0.45rem;
    left: 0.35rem;
    font-size: clamp(0.58rem, 2vw, 0.72rem);
  }
}

@media (max-width: 520px) {
  .page-sociales-home .home-stories {
    height: auto;
    min-height: 230px;
  }

  .page-sociales-home .home-stories__intro {
    display: block;
  }

  .page-sociales-home .home-stories__cards {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .page-sociales-home .home-stories__card {
    width: calc((100% - 16px) / 3);
    height: auto;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--color-ink);
  color: var(--color-paper);
}

:root {
}

body[data-footer-variant="casamientos"] {
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 1;
  transition: opacity 420ms ease;
}

.hero.is-ready .hero__video {
  opacity: 1;
}

.hero__loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.075), transparent 62%), #070707;
  transition: opacity 580ms cubic-bezier(0.22, 1, 0.36, 1), visibility 580ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero:not(.is-loading) .hero__loading {
  opacity: 0;
  visibility: hidden;
}

.hero__play {
  position: absolute;
  top: calc(50% + 7rem);
  left: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid #ffffff;
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.hero__play[hidden] {
  display: none;
}

.hero__play:hover,
.hero__play:focus-visible {
  border-color: var(--color-paper);
  background: var(--color-paper);
  outline: none;
}

.hero__loading-logo {
  width: 6vw;
  height: auto;
  opacity: 0.78;
  filter: brightness(0) invert(1);
}

@media (max-width: 720px) {
  .hero__loading-logo {
    width: 5rem;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(37, 34, 30, 0.35), var(--color-warm-shadow), rgba(37, 34, 30, 0.45)),
    radial-gradient(circle at top left, rgba(176, 138, 90, 0.14), transparent 42%);
}

.home-reel {
  padding: clamp(2.5rem, 8vw, 2.5rem) 0 0;
  background: var(--background-color);
}

.home-reel__intro,
.home-reel__grid {
  width: 100%;
  margin-inline: auto;
}

.home-reel__intro {
  margin-bottom: clamp(2.5rem, 8vw, 2.5rem);
}

.home-reel__statement {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.home-reel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.2rem, 0.2vw, 0.2rem);
}

.home-reel__card {
  margin: 0;
  overflow: hidden;
  background-color: var(--color-paper-link);
  aspect-ratio: 3 / 2;
}

.home-reel__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Mobile */
@media (max-width: 769px) {
  .home-reel__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tablet */
@media (min-width: 770px) and (max-width: 1023px) {
  .home-reel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .home-reel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 769px) {
  .hero {
    height: 100svh;
  }

  .hero__overlay,
  .hero__play {
    display: none !important;
  }

  .hero__loading {
    inset: 50% auto auto 50%;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  .hero__loading-logo {
    display: none;
  }

  .hero__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .home-reel {
    padding-top: 2.5rem;
  }

  .home-reel__intro {
    margin-bottom: 2.4rem;
  }

  .home-reel__statement {
    font-size: 1.72rem;
    line-height: 1.02;
    padding-inline: 1.25rem;
  }
}

/* Tablet */
@media (min-width: 770px) and (max-width: 1023px) {
  .home-reel {
    padding-top: 3rem;
  }

  .home-reel__intro {
    margin-bottom: 2.75rem;
  }

  .home-reel__statement {
    font-size: 2.35rem;
    line-height: 1;
    padding-inline: 2rem;
  }
}
/* Home contact section. */
.contact {
  --contact-color-bg: #0d0d0d;
  --contact-color-input-bg: #242422;
  --contact-color-border: rgba(255, 255, 255, 0.1);
  --contact-color-border-focus: rgba(240, 237, 232, 0.55);
  --contact-color-text-primary: #f0ede8;
  --contact-color-text-muted: rgba(240, 237, 232, 0.42);
  --contact-color-text-placeholder: rgba(240, 237, 232, 0.28);
  --contact-color-btn-bg: #ffffff;
  --contact-color-btn-hover: var(--color-paper);
  --contact-color-btn-text: var(--color-ink);

  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 64px;
  color: var(--contact-color-text-primary);
  background: var(--contact-color-bg);
}

.contact__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.7rem, 2.5vw, 2.4rem);
  min-width: 0;
}

.contact__heading {
  max-width: 100%;
  margin: 0;
  color: var(--contact-color-text-primary);
  font-family: var(--font-brand);
  font-size: clamp(4.25rem, 7vw, 6.75rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.contact__desc {
  max-width: 31rem;
  margin: 0;
  color: rgba(240, 237, 232, 0.66);
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  font-weight: 300;
  line-height: 1.65;
  text-wrap: balance;
}

.contact__subtitle {
  position: relative;
  max-width: 31rem;
  margin: 0;
  padding-top: 1.25rem;
  color: rgba(240, 237, 232, 0.72);
  font-size: clamp(0.72rem, 0.82vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact__subtitle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.5rem;
  border-top: 1px solid rgba(240, 237, 232, 0.52);
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--contact-color-text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--contact-color-text-primary);
  border: 1px solid var(--contact-color-border);
  border-radius: 5px;
  outline: none;
  background: var(--contact-color-input-bg);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 300;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--contact-color-text-placeholder);
}

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

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 0;
  height: 0;
  border-top: 5px solid var(--contact-color-text-muted);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  pointer-events: none;
  transform: translateY(-50%);
}

.select-wrapper select {
  cursor: pointer;
}

.form-field select option {
  color: var(--contact-color-text-primary);
  background: var(--contact-color-input-bg);
}

.form-field select:invalid {
  color: var(--contact-color-text-placeholder);
}

.form-field textarea {
  height: 110px;
  resize: none;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 28px;
  margin-top: 4px;
}

.btn-primary {
  padding: 13px 28px;
  color: var(--contact-color-btn-text);
  border: 1px solid var(--contact-color-btn-bg);
  border-radius: 10px;
  background: var(--contact-color-btn-bg);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--contact-color-btn-text);
  border-color: var(--contact-color-btn-hover);
  background: var(--contact-color-btn-hover);
  outline: none;
}

.btn-ghost {
  padding: 0;
  color: var(--contact-color-text-muted);
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease;
}

.btn-ghost:hover {
  color: var(--contact-color-text-primary);
}

@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 60px 32px;
  }

  .contact__heading {
    font-size: clamp(3rem, 12vw, 5rem);
    white-space: normal;
  }

  .contact__desc {
    max-width: 36rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 48px 20px;
  }

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

  .form-field--full {
    grid-column: 1;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.home-showcase,
.home-essence,
.home-services {
  width: 100%;
  margin: 0 auto;
  padding-inline: 64px;
  box-sizing: border-box;
}

.home-showcase {
  padding-top: 28px;
  padding-bottom: 18px;
}

.home-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-showcase__card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0d0d0c;
  color: #f2f2f2;
  text-decoration: none;
  isolation: isolate;
}

.home-showcase__card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.01);
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.home-showcase__card:hover img {
  filter: saturate(0.98) contrast(1.12);
  transform: scale(1.045);
}

.home-showcase__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 9, 0.04) 30%, rgba(9, 8, 7, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 45%);
  z-index: 1;
}

.home-showcase__content {
  position: absolute;
  left: 30px;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.home-showcase__title {
  font-family: var(--font-heading, "Bebas Neue", sans-serif);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 0.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-showcase__text {
  max-width: 18rem;
  color: rgba(245, 245, 245, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.home-essence {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  min-height: 330px;
  margin-top: 18px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #10100f;
}

.home-essence::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28%;
  z-index: 2;
  width: 32%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #10100f 0%,
    rgba(16, 16, 15, 1) 34%,
    rgba(16, 16, 15, 0.78) 64%,
    rgba(16, 16, 15, 0) 100%
  );
}

.home-essence__copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: clamp(38px, 6vw, 70px);
}

.home-essence__eyebrow,
.home-services__title {
  margin: 0 0 18px;
  color: rgba(245, 245, 245, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-essence__title {
  max-width: 11ch;
  margin: 0;
  color: #f2f2f2;
  font-family: var(--font-heading, "Bebas Neue", sans-serif);
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.92;
}

.home-essence__text {
  max-width: 34rem;
  margin: 24px 0 0;
  color: rgba(245, 245, 245, 0.72);
  font-size: 0.98rem;
  line-height: 1.75;
}

.home-essence__media {
  position: absolute;
  inset: 0 0 0 34%;
  min-height: 330px;
}

.home-essence__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 100%;
  filter: saturate(0.86) contrast(1.04) brightness(0.86);
}

.home-services {
  padding-top: 34px;
  padding-bottom: 58px;
}

.home-services__title {
  text-align: center;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.home-services__item {
  min-height: 140px;
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.home-services__item:last-child {
  border-right: 0;
}

.home-services__icon {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0 auto 16px;
  object-fit: contain;
  opacity: 0.78;
  filter: invert(1) brightness(1.35);
}

.home-services__item h3 {
  max-width: 13rem;
  margin: 0 auto;
  color: #f2f2f2;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .home-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-showcase,
  .home-services {
    padding-inline: 32px;
  }

  .home-essence {
    min-height: 75svh;
    margin-top: 0;
    padding: 0;
    border-top-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    grid-template-columns: 1fr;
    align-items: end;
    isolation: isolate;
  }

  .home-essence__copy {
    width: 100%;
    padding: clamp(70px, 12svh, 112px) 30px clamp(38px, 7svh, 58px);
  }

  .home-essence__media {
    inset: 0;
    z-index: 1;
    height: auto;
    min-height: 100%;
  }

  .home-essence::after {
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: auto;
    background:
      linear-gradient(180deg, rgba(16, 16, 15, 0.2) 0%, rgba(16, 16, 15, 0.34) 36%, #10100f 100%),
      linear-gradient(90deg, rgba(16, 16, 15, 0.92) 0%, rgba(16, 16, 15, 0.74) 48%, rgba(16, 16, 15, 0.18) 100%);
  }

  .home-essence__media img {
    object-position: 58% center;
    filter: saturate(0.82) contrast(1.08) brightness(0.72);
  }

  .home-essence__title {
    max-width: 12ch;
  }

  .home-essence__text {
    max-width: 21rem;
  }
}

@media (max-width: 620px) {
  .home-showcase__grid,
  .home-services__grid {
    grid-template-columns: 1fr;
  }

  .home-showcase__card {
    min-height: 640px;
  }

  .home-essence__copy {
    padding: clamp(70px, 11svh, 106px) 30px clamp(38px, 7svh, 58px);
  }

  .home-showcase__content {
    left: 22px;
    bottom: 24px;
  }

  .home-services__item,
  .home-services__item:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .home-services__item:last-child {
    border-bottom: 0;
  }
}

/* Social home typography system: Oswald for display/CTAs, Manrope for body/UI. */
.page-sociales-home {
  --font-body: "Manrope", "Inter", system-ui, sans-serif;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-heading: var(--font-display);
  --font-brand: var(--font-display);
  font-family: var(--font-body);
}

.page-sociales-home .social-hub {
  --font-body: "Manrope", "Inter", system-ui, sans-serif;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-heading: var(--font-display);
  --font-brand: var(--font-display);
  font-family: var(--font-body);
}

.page-sociales-home .home-showcase__title,
.page-sociales-home .home-essence__title,
.page-sociales-home .home-services__title,
.page-sociales-home .home-services__item h3,
.page-sociales-home .contact__heading,
.page-sociales-home .btn-primary {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
}

.page-sociales-home .home-showcase__title {
  font-size: 2vw;
  letter-spacing: 0.045em;
  line-height: 0.94;
}

.page-sociales-home .home-showcase__text {
  font-family: var(--font-body);
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 400;
  line-height: 1.65;
}

.page-sociales-home .home-showcase__text--wide {
  width: 100%;
  max-width: 26rem;
}

.page-sociales-home .home-essence__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.page-sociales-home .home-essence__title {
  max-width: 12ch;
  font-size: 4vw;
  letter-spacing: 0.025em;
  line-height: 0.92;
}

.page-sociales-home .home-essence__text {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.075rem);
  font-weight: 400;
  line-height: 1.75;
}

.page-sociales-home .home-services__title {
  margin-bottom: 2rem;
  font-size: 2vw;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.page-sociales-home .home-services__item h3 {
  max-width: 15rem;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  letter-spacing: 0.05em;
  line-height: 1.15;
}

.page-sociales-home .contact__heading {
  font-size: clamp(4.25rem, 5.9vw, 6.75rem);
  letter-spacing: -0.015em;
  line-height: 0.86;
}

@media (max-width: 860px) {
  .page-sociales-home .contact__heading {
    font-size: clamp(3.5rem, 10vw, 5.25rem);
    letter-spacing: 0;
    line-height: 0.88;
    white-space: normal;
  }
}

.page-sociales-home .contact__desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
}

.page-sociales-home .form-field label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.page-sociales-home .form-field input,
.page-sociales-home .form-field select,
.page-sociales-home .form-field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
}

.page-sociales-home .btn-primary {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

@media (min-width: 821px) {
  .page-sociales-home .home-essence__copy {
    padding-left: 0;
  }

  .page-sociales-home .home-services {
    padding-inline: 0;
  }

  .page-sociales-home .home-services__item h3 {
    max-width: none;
    font-size: 1vw;
    white-space: nowrap;
  }
}

/* Editorial contrast sequence: black collage, light services, black contact. */
.page-sociales-home .home-essence {
  position: relative;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: clamp(290px, 29vw, 455px);
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0d0d0d;
  isolation: isolate;
}

.page-sociales-home .contact {
  background: #0d0d0d;
}

.page-sociales-home .home-essence::after {
  display: none;
}

.page-sociales-home .home-essence__copy {
  z-index: 4;
  width: min(40%, 40rem);
  padding: clamp(36px, 4vw, 64px) 64px;
}

.page-sociales-home .home-essence__title {
  max-width: none;
  color: #f3f0eb;
  font-size: 4vw;
  letter-spacing: 0.025em;
  line-height: 1.02;
}

.page-sociales-home .home-essence__title span {
  display: inline-block;
  padding-top: 0.06em;
  white-space: nowrap;
}

.page-sociales-home .home-essence__tagline {
  position: relative;
  max-width: 23rem;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  color: rgba(243, 240, 235, 0.82);
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 0.9vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.65;
  text-transform: uppercase;
}

.page-sociales-home .home-essence__tagline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.5rem;
  border-top: 1px solid rgba(243, 240, 235, 0.72);
}

.page-sociales-home .home-essence__media {
  inset: 0 0 0 20%;
  z-index: 1;
  min-height: 100%;
  background: transparent;
  overflow: visible;
}

.page-sociales-home .home-essence__media::before {
  content: "";
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: calc(-30% - 4px);
  z-index: 3;
  width: 73%;
  height: 130%;
  background: #0d0d0d;
  -webkit-mask: url("/features/sociales/assets/textures/torn-paper-black-v1.png") center / 100% 100% no-repeat;
  mask: url("/features/sociales/assets/textures/torn-paper-black-v1.png") center / 100% 100% no-repeat;
  transform: rotate(180deg);
  pointer-events: none;
}

.page-sociales-home .home-essence__media::after {
  content: none;
}

.page-sociales-home .home-essence__left-sheet {
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: -30%;
  z-index: 2;
  width: 73%;
  height: 130%;
  object-fit: fill;
  filter: drop-shadow(5px 0 3px rgba(0, 0, 0, 0.38));
  transform: rotate(180deg);
}

.page-sociales-home .home-essence__photo {
  position: relative;
  z-index: 1;
  object-position: 54% 62%;
  clip-path: none;
  filter: grayscale(1) contrast(1.18) brightness(0.76);
  transform: scale(1.015);
}

.page-sociales-home .home-essence__black-sheet {
  position: absolute;
  top: -5%;
  right: -8%;
  bottom: -5%;
  z-index: 3;
  display: block;
  width: 34%;
  filter: drop-shadow(-5px 0 3px rgba(0, 0, 0, 0.42));
}

.page-sociales-home .home-essence__black-sheet::before {
  content: "";
  position: absolute;
  inset: 0 -4px 0 4px;
  z-index: 1;
  background: #0d0d0d;
  -webkit-mask: url("/features/sociales/assets/textures/torn-paper-black-v1.png") center / 100% 100% no-repeat;
  mask: url("/features/sociales/assets/textures/torn-paper-black-v1.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

.page-sociales-home .home-essence__black-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}

.page-sociales-home .home-essence__brand-mark {
  position: absolute;
  right: 32%;
  bottom: 13%;
  width: clamp(4.5rem, 7vw, 7.5rem);
  height: auto;
  z-index: 2;
}

.page-sociales-home .home-services {
  padding: 4vh 0;
  color: #10100f;
  background: #f0ede7;
}

.page-sociales-home .home-services__title {
  color: #10100f;
}

.page-sociales-home .home-services__grid {
  border-color: rgba(16, 16, 15, 0.22);
}

.page-sociales-home .home-services__item {
  border-color: rgba(16, 16, 15, 0.22);
}

.page-sociales-home .home-services__icon {
  opacity: 0.84;
  filter: brightness(0.2);
}

.page-sociales-home .home-services__item h3 {
  color: #10100f;
}

@media (max-width: 820px) {
  .page-sociales-home .home-essence {
    min-height: max(430px, 52svh);
    margin-top: 0;
    align-items: end;
  }

  .page-sociales-home .home-essence::after {
    display: block;
    width: 100%;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.12) 10%, rgba(8, 8, 8, 0.5) 55%, #080808 100%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.3) 74%, transparent 100%);
  }

  .page-sociales-home .home-essence__copy {
    width: 100%;
    padding: 72px 30px 48px;
  }

  .page-sociales-home .home-essence__title {
    font-size: clamp(3.2rem, 13vw, 5.6rem);
  }

  .page-sociales-home .home-essence__media {
    inset: 0;
  }

  .page-sociales-home .home-essence__media::before {
    display: none;
  }

  .page-sociales-home .home-essence__left-sheet {
    display: none;
  }

  .page-sociales-home .home-essence__black-sheet {
    width: 36%;
    height: 54%;
    opacity: 0.82;
  }

  .page-sociales-home .home-essence__photo {
    object-position: 52% center;
    clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
  }

  .page-sociales-home .home-services {
    padding-inline: 0;
  }
}

@media (max-width: 620px) {
  .page-sociales-home .home-services__item,
  .page-sociales-home .home-services__item:nth-child(2n) {
    border-color: rgba(16, 16, 15, 0.22);
  }

  .page-sociales-home .home-services__item h3 {
    font-size: clamp(1rem, 4.6vw, 1.25rem);
    white-space: normal;
  }
}

/* Mobile composition: clear photographic center and swipeable category cards. */
@media (max-width: 820px) {
  .page-sociales-home .home-essence {
    position: relative;
    display: block;
    min-height: 70svh;
  }

  .page-sociales-home .home-essence::after {
    display: block;
    background: linear-gradient(
      180deg,
      rgba(13, 13, 13, 0.94) 0%,
      rgba(13, 13, 13, 0.62) 19%,
      transparent 40%,
      transparent 62%,
      rgba(13, 13, 13, 0.64) 82%,
      rgba(13, 13, 13, 0.96) 100%
    );
  }

  .page-sociales-home .home-essence__copy {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    pointer-events: none;
  }

  .page-sociales-home .home-essence__title {
    position: absolute;
    top: clamp(28px, 5svh, 46px);
    right: 24px;
    left: 24px;
    max-width: 9ch;
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .page-sociales-home .home-essence__tagline {
    position: absolute;
    right: 24px;
    bottom: clamp(26px, 4.5svh, 42px);
    left: 24px;
    max-width: 22rem;
    margin: 0;
    padding: 0;
    font-size: clamp(0.7rem, 3vw, 0.84rem);
  }

  .page-sociales-home .home-essence__tagline::before {
    display: none;
  }

  .page-sociales-home .home-essence__media {
    position: absolute;
    inset: 0;
  }

  .page-sociales-home .home-essence__photo {
    width: 100%;
    height: 100%;
    object-position: 54% center;
    clip-path: none;
    filter: grayscale(1) contrast(1.12) brightness(0.8);
    transform: none;
  }

  .page-sociales-home .home-essence__left-sheet,
  .page-sociales-home .home-essence__black-sheet {
    display: none;
  }

  .page-sociales-home .home-stories {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    min-height: 0;
    padding: 28px 0 32px;
  }

  .page-sociales-home .home-stories__intro,
  .page-sociales-home .home-stories__word--tail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding-inline: 20px;
    text-align: center;
  }

  .page-sociales-home .home-stories__word {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .page-sociales-home .home-stories__cards {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 0;
    padding-inline: 12vw;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 12vw;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .page-sociales-home .home-stories__cards::-webkit-scrollbar {
    display: none;
  }

  .page-sociales-home .home-stories__card {
    flex: 0 0 min(76vw, 330px);
    width: min(76vw, 330px);
    max-width: none;
    height: auto;
    aspect-ratio: 1;
    scroll-snap-align: center;
  }

  .page-sociales-home .home-stories__card img {
    filter: saturate(0.9) contrast(1.03) brightness(0.94);
  }

  .page-sociales-home .home-stories__label {
    right: 0.75rem;
    bottom: 0.8rem;
    left: 0.75rem;
    font-size: clamp(0.85rem, 4vw, 1.05rem);
  }
}
