/* =========================================================
   PEÑA LA CARABA
   Amarillo · Negro · Extremadura
   ========================================================= */

:root {
  --yellow: #ffd400;
  --yellow-dark: #e5bd00;

  --black: #111111;
  --black-soft: #1d1d1d;

  --white: #ffffff;

  --background: #f6f4ee;
  --background-dark: #e9e7df;

  --text: #171717;
  --muted: #66635d;

  --border: rgba(17, 17, 17, 0.12);

  --max-width: 1120px;
  --radius: 18px;
}


/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  background: var(--background);
  color: var(--text);

  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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


/* ---------------------------------------------------------
   CONTENEDOR
   --------------------------------------------------------- */

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(246, 244, 238, 0.94);

  backdrop-filter: blur(12px);

  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;

  font-weight: 900;
  font-size: 1.12rem;
}

.logo-mark {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  background: var(--yellow);
  color: var(--black);

  border: 3px solid var(--black);
  border-radius: 50%;

  font-size: 0.76rem;
  font-weight: 950;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;

  font-size: 0.92rem;
  font-weight: 650;
}

.nav a {
  color: var(--muted);

  transition: color 0.2s ease;
}

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

.private-link {
  color: var(--black) !important;

  font-weight: 800 !important;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
  min-height: 720px;

  display: flex;
  align-items: center;

  background:

    radial-gradient(
      circle at 85% 20%,
      rgba(255, 212, 0, 0.25),
      transparent 30%
    ),

    linear-gradient(
      135deg,
      var(--background) 0%,
      #ffffff 55%,
      #f0eee5 100%
    );

  border-bottom: 1px solid var(--border);
}

.hero-content {
  padding-block: 100px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 13px;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: 0.82rem;
  font-weight: 750;
}


/* Bandera extremeña */

.extremadura-flag {
  width: 25px;
  height: 17px;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border-radius: 2px;

  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.extremadura-flag span {
  flex: 1;
}

.extremadura-flag span:nth-child(1) {
  background: #009b48;
}

.extremadura-flag span:nth-child(2) {
  background: #ffffff;
}

.extremadura-flag span:nth-child(3) {
  background: #111111;
}


.eyebrow {
  margin-top: 30px;

  color: var(--black);

  font-size: 0.8rem;
  font-weight: 950;

  letter-spacing: 0.18em;
}

.hero h1 {
  margin-top: 12px;

  font-size: clamp(4rem, 11vw, 8.5rem);

  line-height: 0.88;

  letter-spacing: -0.065em;

  font-weight: 950;
}

.hero h1::first-line {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.08em;
}

.hero-text {
  max-width: 650px;

  margin-top: 32px;

  color: var(--muted);

  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 38px;
}


/* ---------------------------------------------------------
   COLORES DE LA PEÑA
   --------------------------------------------------------- */

.colors {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-top: 40px;

  color: var(--muted);

  font-size: 0.85rem;
  font-weight: 650;
}

.colors span {
  display: inline-block;
}

.color-yellow,
.color-black {
  width: 20px;
  height: 20px;

  border-radius: 50%;

  border: 2px solid var(--black);
}

.color-yellow {
  background: var(--yellow);
}

.color-black {
  background: var(--black);
}


/* ---------------------------------------------------------
   BOTONES
   --------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;

  padding: 0 23px;

  border-radius: 999px;

  font-weight: 850;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--yellow);
  color: var(--black);

  border: 2px solid var(--black);

  box-shadow: 4px 4px 0 var(--black);
}

.button-primary:hover {
  background: var(--yellow-dark);

  box-shadow: 6px 6px 0 var(--black);
}

.button-secondary {
  background: var(--black);
  color: var(--white);

  border: 2px solid var(--black);
}

.button-secondary:hover {
  background: var(--black-soft);
}

.button-light {
  background: var(--yellow);
  color: var(--black);

  border: 2px solid var(--black);
}


/* ---------------------------------------------------------
   SECCIONES
   --------------------------------------------------------- */

.section {
  padding-block: 120px;
}

.section-alt {
  background: var(--background-dark);
}

.section-label {
  color: var(--black);

  font-size: 0.78rem;
  font-weight: 950;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section h2,
.private-section h2 {
  margin-top: 14px;

  font-size: clamp(2.3rem, 5vw, 4rem);

  line-height: 1.03;

  letter-spacing: -0.045em;
}

.section p:not(.section-label) {
  margin-top: 24px;

  color: var(--muted);

  font-size: 1.08rem;
}


/* ---------------------------------------------------------
   TARJETAS
   --------------------------------------------------------- */

.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  margin-top: 55px;
}

.card {
  padding: 32px;

  background: var(--white);

  border: 2px solid var(--black);

  border-radius: var(--radius);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover {
  transform: translate(-3px, -5px);

  box-shadow:
    7px 7px 0 var(--black);
}

.card-icon {
  font-size: 2.3rem;
}

.card h3 {
  margin-top: 20px;

  font-size: 1.4rem;

  font-weight: 900;
}

.card p {
  margin-top: 10px !important;

  font-size: 0.98rem !important;
}


/* ---------------------------------------------------------
   ZONA PRIVADA
   --------------------------------------------------------- */

.private-section {
  padding-block: 100px;

  background: var(--black);

  color: var(--white);

  border-top: 8px solid var(--yellow);
}

.private-box {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 50px;
}

.private-section .section-label {
  color: var(--yellow);
}

.private-section p:not(.section-label) {
  max-width: 650px;

  margin-top: 20px;

  color: rgba(255, 255, 255, 0.68);
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.footer {
  padding-block: 55px;

  background: #000000;

  color: var(--white);
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  gap: 40px;
}

.footer p {
  margin-top: 6px;

  color: rgba(255, 255, 255, 0.55);
}


/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */

@media (max-width: 760px) {

  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .header-inner {
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-block: 80px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 20vw, 7rem);
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .colors {
    flex-wrap: wrap;
  }

  .section {
    padding-block: 80px;
  }

  .cards {
    grid-template-columns: 1fr;

    margin-top: 35px;
  }

  .private-box {
    flex-direction: column;

    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }
}
.button-secondary,
.button-secondary:visited {
  color: #ffffff;
}

.button-secondary {
  background: #111111 !important;
  color: #ffffff !important;
  border: 2px solid #111111 !important;
}

.button-secondary:visited {
  color: #ffffff !important;
}

.button-secondary:hover {
  background: #ffd400 !important;
  color: #111111 !important;
}
/* =========================================================
   AJUSTES DE LA WEB PUBLICA - PEÑA LA CARABA
   ========================================================= */

/* Cabecera */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 238, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

/* Enlaces de navegación */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 750;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.main-nav a:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--black);
  transform: translateY(-1px);
}

.main-nav a.nav-private {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.main-nav a.nav-private:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Título principal */
.hero {
  min-height: 680px;
}

.hero-content {
  padding-block: 95px;
}

.hero h1 {
  max-width: 1100px;
  margin-top: 34px;
  font-size: clamp(2.8rem, 7.8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 950;
  overflow-wrap: break-word;
}

.hero-subtitle {
  margin-top: 16px;
  color: var(--text);
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  line-height: 1.3;
  font-weight: 750;
}

.hero-text {
  max-width: 610px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

/* Separación y tamaño de los botones */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
}

.hero-actions .button {
  min-height: 56px;
  padding: 0 30px;
  font-size: 1rem;
  margin: 3px;
}

.hero-signature {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.signature-dot {
  width: 15px;
  height: 15px;
  display: inline-block;
  border: 2px solid var(--black);
  border-radius: 50%;
}

.signature-dot-yellow {
  background: var(--yellow);
}

.signature-dot-black {
  background: var(--black);
}

/* Pie de página y contacto */
.site-footer {
  padding-block: 42px;
  background: #000;
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.site-footer p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-message {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--yellow);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Adaptación a móviles */
@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-block: 15px;
  }

  .brand {
    align-self: flex-start;
  }

  .brand-text strong {
    font-size: 1.2rem;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .main-nav a {
    min-width: 0;
    padding: 9px 7px;
    font-size: 0.88rem;
    white-space: normal;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 70px;
  }

  .hero h1 {
    margin-top: 28px;
    font-size: clamp(2.65rem, 10vw, 4.3rem);
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-actions {
    gap: 16px;
    margin-top: 30px;
  }

  .hero-actions .button {
    padding-inline: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}
/* Historia de La Caraba */
.history-section {
  padding: clamp(4rem, 8vw, 7rem) 24px;
}

.history-inner {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.history-title {
  margin: 14px 0 28px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.history-copy {
  max-width: 780px;
}

.history-copy p,
.history-recolguines p {
  margin: 0 0 18px;
  font-size: 1.08rem;
  line-height: 1.8;
}

.history-recolguines {
  max-width: 850px;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 3px solid var(--yellow);
}

.history-recolguines h3 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.history-recolguines .history-joke {
  margin-block: 24px;
  padding-left: 18px;
  border-left: 4px solid var(--yellow);
  font-size: 1.15rem;
  font-weight: 800;
}

@media (max-width: 600px) {
  .history-section {
    padding-inline: 20px;
  }

  .history-copy p,
  .history-recolguines p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .history-recolguines {
    margin-top: 36px;
    padding-top: 24px;
  }
}
/* CORRECCIÓN DE ALINEACIÓN GENERAL */

body {
  margin: 0;
}

.container,
.history-inner,
.name-inner {
  width: min(calc(100% - 48px), 1180px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.header-inner,
.hero-content,
.private-content,
.footer-inner {
  width: min(calc(100% - 48px), 1180px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.history-inner,
.name-inner {
  max-width: 1000px;
}

@media (max-width: 600px) {
  .container,
  .history-inner,
  .name-inner,
  .header-inner,
  .hero-content,
  .private-content,
  .footer-inner {
    width: calc(100% - 32px);
  }
}
/* Espacio después de la frase final de La Caraba */
.name-copy .name-closing {
  margin-bottom: 3rem;
}