/* ==========================================================================
   FONTS
   ========================================================================== */
@font-face {
  font-family: 'PP Fragment';
  src: url('../fonts/PPFragment-GlareRegular.woff2') format('woff2'),
       url('../fonts/PPFragment-GlareRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* Colors */
  --color-bg: #E6E1DD;
  --color-bg-dark: #2F2A2A;
  --color-text: #2F2A2A;
  --color-text-light: #E6E1DD;

  /* Fonts */
  --font-primary: 'PP Fragment', Georgia, serif;
  --font-secondary: 'DM Sans', sans-serif;

  /* Layout */
  --container-max: 1520px;
  --padding-x: 40px;

  /* Type scale — desktop */
  --fs-h1: 64px;
  --fs-h2: 26px;
  --fs-h3: 26px;
  --fs-p: 22px;

  /* Type scale — mobile */
  --fs-h1-mobile: 32px;
  --fs-h2-mobile: 22px;
  --fs-h3-mobile: 22px;
  --fs-p-mobile: 18px;

  /* Typography */
  --lh: 1.09;
  --ls-tight: -0.02em;
}

/* ==========================================================================
   BOOTSTRAP OVERRIDES
   ========================================================================== */
body {
  background-color: var(--color-bg) !important;
  font-family: var(--font-secondary) !important;
  font-weight: 300;
  color: var(--color-text) !important;
  line-height: 1.09;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
  max-width: var(--container-max) !important;
  padding-left: var(--padding-x) !important;
  padding-right: var(--padding-x) !important;
}

a {
  color: inherit !important;
  text-decoration: none !important;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.6;
  color: inherit !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
}

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

address {
  font-style: normal;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.setra-navbar {
  /*padding: 25px var(--padding-x);*/ 
  padding-top: 25px;                                                                                                                                       padding-bottom: 25px;                                                                                                                                    padding-left: max(var(--padding-x), calc((100% - var(--container-max)) / 2 + var(--padding-x)));
  padding-right: max(var(--padding-x), calc((100% - var(--container-max)) / 2 + var(--padding-x)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}

.setra-navbar.nav-hidden {
  transform: translateY(-100%);
}

.setra-navbar.scrolled {
  background-color: #A1988F;
}

.setra-navbar .navbar-brand {
  padding: 0;
  line-height: 1;
}

.setra-navbar .navbar-brand svg {
  width: 92px;
  height: 30px;
  fill: var(--color-text-light);
  transition: fill 0.3s;
}

.setra-navbar.scrolled .navbar-brand svg {
  fill: var(--color-text-light);
}

.setra-navbar__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.setra-navbar__nav a,
.setra-navbar__lang-link,
.setra-navbar__lang-sep {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text-light) !important;
}

.setra-navbar.scrolled .setra-navbar__nav a,
.setra-navbar.scrolled .setra-navbar__lang-link,
.setra-navbar.scrolled .setra-navbar__lang-sep {
  color: var(--color-text-light) !important;
}

.setra-navbar__lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.setra-navbar__lang-link {
  opacity: 0.5;
}

.setra-navbar__lang-link.active {
  opacity: 1;
}

.setra-navbar__lang-sep {
  opacity: 0.5;
}

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

.setra-navbar__toggler span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--color-text-light);
  transition: background-color 0.3s;
}

.setra-navbar.scrolled .setra-navbar__toggler span {
  background-color: var(--color-text-light);
}

/* ==========================================================================
   MOBILE MENU — Fullscreen overlay
   ========================================================================== */
.setra-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.setra-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.setra-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.setra-mobile-menu__link {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--color-text) !important;
}

.setra-mobile-menu__lang {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--color-text);
}

.setra-mobile-menu__lang-link {
  color: var(--color-text) !important;
  opacity: 0.5;
}

.setra-mobile-menu__lang-link.active {
  opacity: 1;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.setra-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Overlay oscuro para legibilidad del texto */
.setra-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Imagen estática (the9.php hero) */
.setra-hero__image {
  position: absolute;
  inset: 0;
}

.setra-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Carousel ocupa todo el hero */
.setra-hero .carousel,
.setra-hero .carousel-inner,
.setra-hero .carousel-item {
  height: 100%;
}

.setra-hero .carousel-item img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

.setra-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  /*padding: 40px var(--padding-x);*/
  padding-top: 40px; 
  padding-bottom: 40px;
  padding-left: max(var(--padding-x), calc((100% - var(--container-max)) / 2 + var(--padding-x)));  
  z-index: 2;
}

.setra-hero__title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 64px;
  line-height: 109%;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* Indicadores: esquina inferior derecha */
.setra-hero .carousel-indicators {
  position: absolute;
  /*right: var(--padding-x);*/
  right: max(var(--padding-x), calc((100% - var(--container-max)) / 2 + var(--padding-x)));
  bottom: 40px;
  left: auto;
  top: auto;
  width: auto;
  margin: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}

.setra-hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background-color: transparent;
  margin: 5px 0;
  flex-shrink: 0;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.setra-hero .carousel-indicators .active {
  background-color: #fff;
  border-color: #fff;
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.setra-intro {
  padding: 160px 0;
}

.setra-intro__title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 26px;
  line-height: 109%;
  text-transform: uppercase;
  color: var(--color-text);
}

.setra-intro__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.setra-intro__right p {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 22px;
  line-height: 109%;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0;
}

/* Columnas fijas Figma — desktop */
@media (min-width: 1200px) {
  .setra-intro__row {
    display: flex;
    align-items: flex-start;
  }

  .setra-col-intro-left {
    width: 653px;
    flex-shrink: 0;
  }

  .setra-col-intro-right {
    flex: 1;
  }
}

/* Mobile — apilado */
@media (max-width: 1199px) {
  .setra-col-intro-right {
    margin-top: 40px;
  }
}

.setra-intro__subtitle {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .setra-intro__subtitle {
    font-size: 22px;
  }
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.setra-gallery {
  padding: 40px 0 0;
}

.setra-gallery__container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--padding-x);
  padding-right: var(--padding-x);
}

.setra-gallery__row {
  margin-bottom: 120px;
}

/* Fila 1: medidas reales de imagen (287px izq — 336px texto — 440px der) */
@media (min-width: 1200px) {
  .setra-col-fixed-img {
    /*width: 287px;*/
	width: 400px;
    flex-shrink: 0;
  }

  .setra-col-fixed-text {
    width: 336px;
    flex-shrink: 0;
    margin-top: 200px;
  }

  .setra-col-fixed-img--offset {
    width: 440px;
    flex-shrink: 0;
    margin-top: 113px;
  }
}

/* Laptop pequeña: proporciones relativas */
@media (min-width: 992px) and (max-width: 1199px) {
  .setra-col-fixed-img {
    /*width: 28%;*/
	width: 37%;
    flex-shrink: 0;
  }

  .setra-col-fixed-text {
    width: 23%;
    flex-shrink: 0;
    margin-top: 180px;
  }

  .setra-col-fixed-img--offset {
    margin-top: 120px;
  }
}

/* Fila 2: imagen cuadrada real (593px) — gap 327px — texto 346px */
@media (min-width: 1200px) {
  .setra-col-fixed-img-2 {
    width: 593px;
    flex-shrink: 0;
  }

  .setra-col-fixed-text-2 {
    flex-grow: 1;
    margin-left: 327px;
  }

  .setra-col-fixed-text-2 .setra-gallery__caption {
    max-width: 100%;
  }
}

.setra-gallery__image--square {
  aspect-ratio: 1 / 1;
}

/* Laptop pequeña */
@media (min-width: 992px) and (max-width: 1199px) {
  .setra-col-fixed-img-2 {
    width: 35%;
    flex-shrink: 0;
  }

  .setra-col-fixed-text-2 {
    width: 30%;
    flex-shrink: 0;
    margin-left: 15%;
  }
}

/* Fila 3: imagen real (593x457px) — texto 343px — gap 110px */
@media (min-width: 1200px) {
  .setra-col-fixed-text-3 {
    width: 343px;
    flex-shrink: 0;
    text-align: left;
  }

  .setra-col-fixed-img-3 {
    width: 593px;
    flex-shrink: 0;
  }
}

.setra-gallery__image--rect {
  aspect-ratio: 593 / 457;
}

/* Laptop pequeña */
@media (min-width: 992px) and (max-width: 1199px) {
  .setra-col-fixed-text-3 {
    width: 25%;
    flex-shrink: 0;
    text-align: right;
  }

  .setra-col-fixed-img-3 {
    width: 70%;
    flex-shrink: 0;
    margin-left: 5%;
  }
}

/* Mobile: apilado vertical con zigzag */
@media (max-width: 991px) {
  .setra-gallery__container .d-flex {
    flex-direction: column !important;
    gap: 80px !important;
    margin-bottom: 100px !important;
  }

  .setra-gallery__container .d-flex:last-child {
    margin-bottom: 0 !important;
  }

  .setra-gallery__container .setra-col-fixed-img:not(.setra-col-fixed-img--offset) {
    width: 80% !important;
    align-self: flex-start !important;
    margin-bottom: 0;
  }

  .setra-gallery__container .setra-col-fixed-text {
    width: 90% !important;
    align-self: center !important;
    margin-top: 0 !important;
    padding: 20px 0;
  }

  .setra-gallery__container .setra-col-fixed-text .setra-gallery__caption {
    text-align: left !important;
  }

  .setra-gallery__container .setra-col-fixed-img--offset {
    width: 85% !important;
    align-self: flex-end !important;
    margin-top: 0 !important;
  }

  .setra-col-fixed-text-3 {
    order: 2 !important;
    margin-top: 0 !important;
    width: 90% !important;
    align-self: center !important;
    text-align: center !important;
  }

  .setra-col-fixed-text-3 .setra-gallery__caption {
    text-align: left !important;
  }

  .setra-col-fixed-img-3 {
    order: 1 !important;
    width: 100% !important;
  }
}


.setra-gallery__image {
  overflow: hidden;
}

.setra-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.setra-gallery__image:hover img {
  transform: scale(1.03);
}

.setra-gallery__image--portrait {
  aspect-ratio: 873/1120;
}

.setra-gallery__image--tall {
  aspect-ratio: 630/870;
}

.setra-gallery__image--wide {
  aspect-ratio: 1058/660;
}

.setra-gallery__caption {
  font-family: var(--font-primary), serif;
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.09;
  letter-spacing: -0.02em;
  color: #2F2A2A;
  max-width: 440px;
  margin: 0;
}

/* ==========================================================================
   PROJECT SECTION — Dark background
   ========================================================================== */
.setra-project {
  background-color: var(--color-bg-dark);
  padding: 80px var(--padding-x);
  margin-top: 60px;
}

.setra-project__image {
  aspect-ratio: 593 / 639;
  overflow: hidden;
}

.setra-project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.setra-project__label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 26px;
  line-height: 109%;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: var(--color-text-light);
}

.setra-project__logo {
  width: 120px;
  height: 37px;
  display: block;
  margin-left: 0;
  margin-right: auto;
}

.setra-project__text {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 22px;
  line-height: 109%;
  letter-spacing: -0.02em;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

.setra-project__btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--color-text-light);
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-light) !important;
  background-color: transparent;
  transition: background-color 0.3s, color 0.3s;
}

.setra-project__btn:hover {
  background-color: var(--color-text-light);
  color: var(--color-bg-dark) !important;
  opacity: 1;
}

/* Project: columnas fijas Figma (593px — 239px gap — 593px) */
@media (min-width: 1200px) {
  .setra-col-fixed-project-img {
    width: 593px;
    flex-shrink: 0;
  }

  .setra-col-fixed-project-text {
    width: 593px;
    flex-shrink: 0;
    height: 639px;
  }

  /* Contenedor relativo para el posicionamiento absoluto */
  .setra-project__text-container {
    position: relative;
  }

  /* Coordenadas Y exactas de Figma */
  .setra-pos-1 { position: absolute; top: 0;     left: 0; width: 100%; }
  .setra-pos-2 { position: absolute; top: 197px; left: 0; }
  .setra-pos-3 { position: absolute; top: 402px; left: 0; width: 100%; margin: 0; }
  .setra-pos-4 { position: absolute; top: 598px; left: 0; }
}

/* Reset setra-pos-* a flujo normal en cualquier resolución menor que desktop */
@media (max-width: 1199px) {
  .setra-pos-1,
  .setra-pos-2,
  .setra-pos-3,
  .setra-pos-4 {
    position: static;
    margin-bottom: 20px;
  }

  .setra-project__text-container {
    height: auto;
  }
}

/* Laptop pequeña */
@media (min-width: 992px) and (max-width: 1199px) {
  .setra-col-fixed-project-img {
    width: 45%;
    flex-shrink: 0;
  }

  .setra-col-fixed-project-text {
    width: 45%;
    flex-shrink: 0;
    margin-top: 80px;
  }
}

/* Mobile */
@media (max-width: 991px) {
  .setra-project__row {
    flex-direction: column;
  }

  .setra-col-fixed-project-img,
  .setra-col-fixed-project-text {
    width: 100%;
    margin-left: 0;
  }

  .setra-col-fixed-project-text {
    margin-top: 40px;
    height: auto;
  }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.setra-contact {
  padding: 80px var(--padding-x);
}

.setra-contact__left {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.setra-contact__intro {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 22px;
  line-height: 109%;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 450px;
  margin: 0;
}

.setra-contact__details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setra-contact__label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 26px;
  line-height: 109%;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--color-text);
}

.setra-contact__link {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 22px;
  line-height: 109%;
  letter-spacing: -0.02em;
  display: block;
}

.setra-contact__address {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 22px;
  line-height: 130%;
  letter-spacing: -0.02em;
  margin-top: 15px;
}

/* ==========================================================================
   FORM (shared)
   ========================================================================== */
.setra-form {
  display: flex;
  flex-direction: column;
}

.setra-form .form-control {
  padding: 20px 0;
  border: none;
  border-bottom: 1px solid var(--color-text);
  border-radius: 0;
  background-color: transparent;
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 22px;
  line-height: 109%;
  letter-spacing: -0.02em;
  color: var(--color-text);
  box-shadow: none !important;
}

.setra-form .form-control::placeholder {
  color: var(--color-text);
  opacity: 0.5;
}

.setra-form .form-control:focus {
  background-color: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

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

.setra-form__footer {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.setra-btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--color-text);
  border-radius: 0;
  background-color: transparent;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text) !important;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.setra-btn:hover {
  background-color: var(--color-text);
  color: var(--color-bg) !important;
  opacity: 1;
}

/* Variante outline sobre fondo oscuro */
.setra-btn--outline {
  border-color: var(--color-text-light);
  color: var(--color-text-light) !important;
}

.setra-btn--outline:hover {
  background-color: var(--color-text-light);
  color: var(--color-bg-dark) !important;
}

.setra-form__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text);
  cursor: pointer;
  margin: 0;
}

.setra-form__checkbox input[type="checkbox"] {
  cursor: pointer;
  accent-color: var(--color-text);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER — Fondo taupe, tagline + formulario + logo grande Setra
   ========================================================================== */
.the9-footer {
  background-color: #A1988F;
  padding-top: 100px;
}

/* Área superior: tagline/contacto + formulario */
.the9-footer__content {
  padding-bottom: 100px;
}

.the9-footer__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 400px;
}

.the9-footer__tagline {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  color: var(--color-text-light);
  max-width: 460px;
  margin: 0;
}

.the9-footer__contact-label {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 10px;
}

.the9-footer__contact-link {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-light) !important;
  display: block;
  text-decoration: none;
}

.the9-footer__address {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-light);
  font-style: normal;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Formulario con inputs de línea inferior */
.the9-footer__form {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin-left: auto;
}

.the9-footer__field {
  border-bottom: 1px solid rgba(230, 225, 221, 0.4);
}

.the9-footer__field input,
.the9-footer__field textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--color-text-light);
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 22px;
  padding: 26px 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.the9-footer__field input::placeholder,
.the9-footer__field textarea::placeholder {
  color: rgba(230, 225, 221, 0.75);
}

.the9-footer__field textarea {
  resize: none;
  min-height: 150px;
  display: block;
}

.the9-footer__form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
}

.the9-footer__submit {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  background: transparent;
  border: 1px solid rgba(230, 225, 221, 0.7);
  border-radius: 100px;
  padding: 10px 28px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.the9-footer__submit:hover {
  background: rgba(230, 225, 221, 0.1);
}

.the9-footer__checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}

.the9-footer__checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  border: 1px solid rgba(230, 225, 221, 0.6);
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.the9-footer__checkbox-label input[type="checkbox"]:checked {
  background: rgba(230, 225, 221, 0.6);
}

.the9-footer__checkbox-label span {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 13px;
  line-height: 130%;
  color: var(--color-text-light);
  opacity: 0.75;
}

/* Base: logo grande izquierda + links legales derecha */
.the9-footer__base {
  padding-top: 80px;
  padding-bottom: 40px;
}

.the9-footer__logo-wrap {
  width: 100%;
  max-width: 550px;
}

.the9-footer__logo-wrap svg {
  width: 100%;
  height: auto;
  fill: var(--color-text-light);
  display: block;
}

.the9-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-bottom: 10px;
}

.the9-footer__legal a {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--color-text-light) !important;
  opacity: 0.7;
  text-decoration: none;
}

.the9-footer__legal a:hover {
  opacity: 1;
}

/* ==========================================================================
   FORM RESPONSE — Mensajes de éxito/error AJAX
   ========================================================================== */
.form-response {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  min-height: 1em;
}

.form-response--success {
  color: #3a6b3a;
}

.form-response--error {
  color: #c0392b;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.setra-legal {
  padding: 180px var(--padding-x) 80px;
  min-height: 60vh;
}

.setra-legal__title {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 400;
  color: var(--color-text);
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
}

.setra-legal__content {
  font-family: var(--font-secondary);
  font-weight: 300;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.5;
  max-width: 800px;
}

.setra-legal__content > *:first-child {
  margin-top: 0 !important;
}

.setra-legal__content h2,
.setra-legal__content h3 {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-text);
  margin-top: 32px;
  margin-bottom: 16px;
}

.setra-legal__content p {
  margin-bottom: 16px;
}

.setra-legal__content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.setra-legal__content ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.setra-legal__content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  :root {
    --padding-x: 30px;
  }

  .setra-hero__title {
    font-size: 52px;
  }
}

@media (max-width: 992px) {
  .setra-navbar__toggler {
    display: none !important;
  }

  .setra-navbar__nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
  }
}

@media (max-width: 375px) {
  .setra-navbar__nav {
    gap: 10px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --padding-x: 20px;
  }

  .setra-hero {
    /*height: 70vh;*/
	height: 100dvh;
  }

  .setra-hero .carousel-item img {
    /*height: 70vh;*/
	height: 100dvh;
  }

  .setra-hero__title {
    font-size: 36px;
  }

  .setra-intro {
    padding: 50px 0;
  }

  .setra-intro__title {
    font-size: 22px;
  }

  .setra-intro__right p {
    font-size: 18px;
  }

  .setra-gallery__row {
    margin-bottom: 60px;
  }

.setra-gallery__caption {
    font-size: 20px;
    max-width: 100%;
  }

  .setra-project {
    padding: 50px var(--padding-x);
  }

  .setra-project__label {
    font-size: 22px;
  }

  .setra-project__text {
    font-size: 18px;
  }

  .setra-contact__intro,
  .setra-contact__link,
  .setra-contact__address,
  .setra-form .form-control {
    font-size: 18px;
  }

  .setra-form__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .the9-footer {
    padding-top: 60px;
  }

  .the9-footer__content {
    padding-bottom: 60px;
  }

  .the9-footer__left {
    min-height: auto;
    margin-bottom: 48px;
  }

  .the9-footer__tagline {
    font-size: 22px;
    margin-bottom: 40px;
  }

  .the9-footer__base .row {
    flex-direction: column;
	align-items: flex-start !important;
  }
  .the9-footer__base .row > :first-child {
    order: 2;
  }
  .the9-footer__base .row > :last-child {
    order: 1;
  }
  .the9-footer__legal {
    align-items: flex-start;
  }

	
  .the9-footer__base {
    padding-bottom: 30px;
  }

  .the9-footer__logo-wrap {
    width: 100%;
    max-width: 280px;
  }

  .setra-legal {
    padding: 140px var(--padding-x) 60px;
  }

  .setra-legal__title {
    font-size: 30px;
    margin-bottom: 40px;
  }
}
