:root {
  --bg-page: #e9ddc5;
  --bg-panel: #a8866e;
  --text-main: #e9ddc5;
  --text-soft: #e9ddc5;
  --btn-bg: #e9ddc5;
  --btn-hover-bg: #d7c3a4;
  --btn-hover-border: #8f6d56;
  --btn-text: #000000;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  background: var(--bg-page);
}

/* Marco principal con respiración visual similar a la referencia */
.landing-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: clamp(10px, 1.8vw, 22px);
  display: flex;
}

.split-layout {
  width: 100%;
  min-height: calc(100vh - (clamp(10px, 1.8vw, 22px) * 2));
}

.panel {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.panel-image {
  background: #d6cfbd;
  min-height: 100%;
}

.main-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.panel-content {
  background: var(--bg-panel);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.content-inner {
  width: min(95%, 640px);
  padding: clamp(20px, 2.2vh, 30px) clamp(12px, 1.7vw, 18px);
}

.title {
  margin: 0 0 clamp(10px, 1.5vh, 16px);
  font-size: clamp(2.8rem, 5.8vw, 5.7rem);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.description {
  margin: 0 0 clamp(6px, 0.8vh, 10px);
  max-width: 44ch;
  color: var(--text-soft);
  font-size: clamp(1.06rem, 1.65vw, 1.85rem);
  line-height: 1.16;
  font-weight: 400;
}

.action-row {
  margin-top: clamp(12px, 1.6vh, 18px);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 16px);
}

.action-btn {
  width: clamp(148px, 11vw, 188px);
  min-height: clamp(42px, 4.8vh, 52px);
  border-radius: 16px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(7px, 0.8vh, 10px) clamp(14px, 1.4vw, 18px);
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.action-btn:hover,
.action-btn:focus-visible {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  box-shadow: 0 0 0 3px rgba(233, 221, 197, 0.28);
}

.logos-grid {
  margin-top: clamp(12px, 1.8vh, 20px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(3px, 0.45vw, 7px) clamp(12px, 1.4vw, 22px);
  align-items: center;
}

.logo-bottom {
  margin-top: clamp(26px, 5vh, 54px);
  display: flex;
  justify-content: flex-start;
}

.logo-item {
  width: 100%;
  max-height: clamp(72px, 13.5vh, 136px);
  object-fit: contain;
  justify-self: center;
}

.logo-1 {
  width: 108%;
}

.logo-2 {
  width: 148%;
  transform: scale(1.2);
  transform-origin: center;
}

.logo-3 {
  width: 106%;
}

.logo-4 {
  width: 112%;
}

.logo-5 {
  width: 116%;
}

.logo-6 {
  width: 98%;
}

.logo-7 {
  width: 198%;
  transform: scale(1.9);
  transform-origin: center;
}

.logo-8 {
  width: 114%;
}

.logo-9 {
  width: 114%;
}

.logo-10 {
  width: 114%;
}

.logo-11 {
  width: 100%;
}

.contact-info {
  margin: clamp(12px, 2vh, 20px) 0 0;
  text-align: center;
  color: var(--text-soft);
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  line-height: 1.35;
}

.contact-info a {
  color: var(--text-main);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.contact-info a:hover,
.contact-info a:focus-visible {
  color: #ffffff;
}

/* Tablet: mantenemos equilibrio tipográfico y márgenes */
@media (max-width: 991.98px) {
  .landing-wrapper {
    height: auto;
    min-height: 100vh;
    display: block;
  }

  .split-layout {
    height: auto;
    min-height: auto;
  }

  .panel-image,
  .panel-content {
    min-height: 46vh;
  }

  .content-inner {
    padding: 20px 8px;
  }

  .description {
    font-size: clamp(1rem, 2.35vw, 1.34rem);
    line-height: 1.2;
  }

  .logos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 14px;
  }

  .logo-bottom {
    margin-top: 32px;
  }

  .logo-item {
    max-height: 94px;
  }
}

/* Móvil: botones a todo el ancho para facilitar toque */
@media (max-width: 575.98px) {
  .landing-wrapper {
    padding: 10px;
  }

  .panel-image,
  .panel-content {
    min-height: auto;
  }

  .main-photo {
    aspect-ratio: 4 / 3;
  }

  .action-btn {
    width: 100%;
    min-height: 56px;
    text-align: center;
  }

  .action-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 16px;
  }

  .logo-bottom {
    margin-top: 22px;
    justify-content: center;
  }

  .logo-item {
    max-height: 74px;
  }

  .logo-4,
  .logo-5,
  .logo-11 {
    width: 100%;
  }

  .contact-info {
    font-size: 0.92rem;
    margin-top: 14px;
  }
}
