﻿html {
  scroll-behavior: smooth;
}

:root {
  --bg: #f5f1e8;
  --surface: #ffffff;
  --surface-alt: #f8f5ef;
  --ink: #16212f;
  --muted: #5c6470;
  --line: rgba(22, 33, 47, 0.1);
  --brand: #b88a44;
  --brand-strong: #8c6230;
  --brand-soft: rgba(184, 138, 68, 0.14);
  --deep: #0f1a28;
  --success: #3f7d5d;
  --shadow: 0 24px 60px rgba(13, 24, 37, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container-pad: 24px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  margin: 0;
}

body::before {
  background: rgba(7, 13, 22, 0.52);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.25s ease;
  z-index: 998;
}

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active::before {
  opacity: 1;
}

a {
  color: var(--brand-strong);
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

a:hover,
a:focus {
  color: var(--brand);
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.1;
  margin: 0 0 1rem;
}

section {
  padding: 96px 0;
  position: relative;
}

.section-with-bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.95));
}

.section-header {
  margin: 0 auto 48px;
  max-width: 760px;
  text-align: center;
}

.section-header::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #dbc08f);
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-header p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.section-header-left {
  margin-left: 0;
  text-align: left;
}

.section-header-left::after {
  margin-left: 0;
}

.section-action {
  margin-top: 28px;
  text-align: center;
}

.btn-primary,
.btn-secondary,
.store-button,
#contact .form button[type="submit"],
.subscribe-form button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary,
.store-button,
#contact .form button[type="submit"],
.subscribe-form button {
  background: linear-gradient(135deg, var(--brand), #d8b16b);
  box-shadow: 0 16px 35px rgba(184, 138, 68, 0.28);
  color: #fff;
}

.btn-primary:hover,
.store-button:hover,
#contact .form button[type="submit"]:hover,
.subscribe-form button:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.text-link {
  color: var(--brand-strong);
  font-weight: 800;
}

#header {
  left: 0;
  padding: 18px 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
  z-index: 999;
}

#header.header-scrolled {
  background: rgba(15, 26, 40, 0.92);
  box-shadow: 0 16px 40px rgba(6, 12, 20, 0.2);
  padding: 12px 0;
  backdrop-filter: blur(10px);
}

.header-shell {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

#logo {
  display: inline-flex;
  flex: 0 0 auto;
  position: relative;
  z-index: 1002;
}

#logo img {
  display: block;
  height: auto;
  max-height: 54px;
  width: auto;
}

#menu-toggle {
  align-items: center;
  appearance: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(7, 13, 22, 0.2);
  color: #fff;
  cursor: pointer;
  display: none;
  height: 56px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  width: 56px;
  z-index: 1003;
}

#menu-toggle::before {
  content: "";
  inset: -10px;
  position: absolute;
}

#menu-toggle:hover,
#menu-toggle:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(184, 138, 68, 0.14));
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 32px rgba(7, 13, 22, 0.24);
  outline: none;
}

#menu-toggle:active {
  transform: scale(0.96);
}

.menu-toggle-box {
  display: grid;
  gap: 5px;
  pointer-events: none;
  position: relative;
  width: 22px;
}

.menu-toggle-line {
  background: linear-gradient(90deg, #ffffff, #f3d3a0);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin-left: auto;
  transform-origin: center;
  transition: transform 0.24s ease, opacity 0.2s ease, width 0.24s ease;
}

.menu-toggle-line:nth-child(1) {
  width: 22px;
}

.menu-toggle-line:nth-child(2) {
  width: 16px;
}

.menu-toggle-line:nth-child(3) {
  width: 22px;
}

#menu-toggle.is-active {
  background: linear-gradient(180deg, rgba(184, 138, 68, 0.24), rgba(255, 255, 255, 0.08));
  border-color: rgba(240, 197, 123, 0.5);
}

#menu-toggle.is-active .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 22px;
}

#menu-toggle.is-active .menu-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

#menu-toggle.is-active .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 22px;
}

#nav-menu-container {
  align-items: center;
  display: flex;
}

.nav-menu {
  align-items: center;
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 16px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-menu a:hover,
.nav-menu .menu-active a {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.nav-cta a {
  background: linear-gradient(135deg, var(--brand), #d8b16b);
  color: #fff;
  margin-left: 10px;
  box-shadow: 0 16px 32px rgba(184, 138, 68, 0.22);
}

.nav-cta a:hover {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #fff;
}

#intro {
  align-items: stretch;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.intro-overlay {
  background:
    radial-gradient(circle at top right,
      rgba(184, 138, 68, 0.35),
      transparent 34%),
    linear-gradient(
      120deg,
      rgba(10, 18, 28, 0.92),
      rgba(10, 18, 28, 0.58)
    );

  position: absolute;
  inset: 0;
  z-index: 1;
}

.intro-content {
  align-items: center;
  display: flex;
  min-height: 100vh;
  padding-top: 110px;
  position: relative;
  z-index: 1;
}

.intro-copy {
  max-width: 680px;
}

.intro-copy h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.intro-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  max-width: 560px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 42px;
}

#about {
  background:
    linear-gradient(180deg, rgba(12, 23, 35, 0.88), rgba(12, 23, 35, 0.94)),
    url("../img/about-bg.jpg") center center / cover no-repeat;
}

#about .section-header h2,
#about .section-header p,
#about p,
#about h3 {
  color: #fff;
}

.about-copy {
  max-width: 680px;
}

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

.about-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 24px;
}

.about-card i {
  color: #f0c57b;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  margin-bottom: 0;
}

#servicios,
#gallery,
#faq,
#contact {
  background: transparent;
}

.speaker,
.hotel,
.store-card,
.contact-card,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.speaker {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  position: relative;
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
}
.service-icon::before{
    content:'';
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    z-index:1;
}

.service-icon::after{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:2;
}

.service-icon i{
    position:relative;
    z-index:3;
    color:#f2d29a;
    font-size:4rem;
}

.service-icon i {
  color: #f2d29a;
  font-size: 4rem;
  transition: transform 0.25s ease;
}

.speaker:hover .service-icon i {
  transform: scale(1.08);
}

.speaker .details {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.speaker .details h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.speaker .details h3 a {
  color: var(--ink);
}

.speaker .details p {
  margin-bottom: 22px;
}

.service-link {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  margin-top: auto;
}

.service-link i {
  margin-left: 6px;
}

.hotel {
  height: 100%;
}

.hotel-img {
  overflow: hidden;
}

.hotel-img img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.hotel:hover .hotel-img img {
  transform: scale(1.04);
}

.hotel-body {
  padding: 24px;
}

.news-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.news-country,
.news-date {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 8px;
}

.flag-icon {
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  width: 28px;
}

.hotel h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hotel h3 a {
  color: var(--ink);
}

#gallery {
  overflow: hidden;
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(184, 138, 68, 0.32), transparent 30%),
    linear-gradient(120deg, rgba(10, 18, 28, 0.96), rgba(10, 18, 28, 0.86)),
    url("../img/box-bg.jpg") center center / cover no-repeat;
  padding: 170px 0 88px;
}

.page-hero .section-header,
.page-hero .section-header-left {
  margin-bottom: 0;
}

.page-hero .section-header h1,
.page-hero .section-header h2,
.page-hero .section-header p,
.page-hero .section-header .eyebrow {
  color: #fff;
}

.eyebrow {
  color: var(--brand);
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.page-shell,
.article-shell,
.authority-card,
.template-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.page-shell,
.article-shell {
  padding: 34px;
}

.article-shell > img {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 32px;
}

@media (max-width: 767px) {
  .article-shell img {
    height: 260px;
  }
}

.article-shell h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin-bottom: 18px;
}

.article-shell p + p {
  margin-top: 12px;
}

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

.authority-card,
.template-card {
  height: 100%;
  padding: 28px;
}

.authority-card h3,
.template-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.authority-list {
  display: grid;
  gap: 16px;
}

.authority-item {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.authority-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.authority-item strong,
.authority-item span {
  display: block;
}

.authority-item strong {
  font-size: 1rem;
  margin-bottom: 4px;
}

.authority-item span {
  color: var(--muted);
  font-weight: 700;
}

.gallery-carousel .owl-stage-outer {
  padding: 12px 0 16px;
}

.gallery-carousel a {
  border-radius: 24px;
  display: block;
  overflow: hidden;
}

.gallery-carousel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.gallery-carousel a:hover img {
  transform: scale(1.04);
}

#supporters .supporters-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#supporters .supporter-logo {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  min-height: 170px;
  padding: 28px;
  transition: transform 0.25s ease, background 0.25s ease;
}

#supporters .supporter-logo:hover {
  background: var(--surface-alt);
  transform: translateY(-2px);
}
/* ==========================
   CARRUSEL DE CONVENIOS
========================== */

.convenios-carousel {
    margin: 40px 0;
}

.convenios-carousel .item {
    overflow: hidden;
    border-radius: 18px;
}

.convenios-carousel .item a {
    display: block;
}


#supporters .supporter-logo img {
  filter: grayscale(100%);
  max-height: 84px;
  object-fit: contain;
  opacity: 0.84;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

#supporters .supporter-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

#faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#faq-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}

#faq-list a {
  color: var(--ink);
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 22px 60px 22px 24px;
  position: relative;
}

#faq-list a i {
  color: var(--brand);
  position: absolute;
  right: 22px;
  top: 24px;
}

#faq-list p {
  margin: 0;
  padding: 0 24px 24px;
}

#subscribe {
  background:
    linear-gradient(120deg, rgba(15, 26, 40, 0.95), rgba(15, 26, 40, 0.82)),
    url("../img/subscribe-bg.jpg") center center / cover no-repeat;
}

.subscribe-shell {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

#subscribe .section-header h2,
#subscribe .section-header p {
  color: #fff;
}

.subscribe-form {
  align-items: center;
  display: flex;
  flex: 0 0 46%;
  gap: 12px;
}

.subscribe-form input {
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  min-height: 54px;
  padding: 0 20px;
}

.store-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  text-align: center;
}

.store-card img {
  aspect-ratio: 1 / 1;
  margin-bottom: 18px;
  object-fit: contain;
  width: 100%;
}

.store-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.store-price {
  color: var(--brand-strong);
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.store-card p {
  margin-bottom: 24px;
}

.store-button {
  margin-top: auto;
  width: 100%;
}

#contact .contact-info {
  margin-bottom: 30px;
}

.contact-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  text-align: center;
}

.contact-card i {
  color: var(--brand);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-panel {
  padding: 30px;
}

#contact .form #sendmessage,
#contact .form #errormessage {
  display: none;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
}

#contact .form #sendmessage {
  background: rgba(63, 125, 93, 0.12);
  color: var(--success);
}

#contact .form #errormessage {
  background: rgba(179, 75, 75, 0.12);
  color: #b34b4b;
}

#contact .form #sendmessage.show,
#contact .form #errormessage.show,
#contact .form .show {
  display: block;
}

#contact .form .validation {
  color: #b34b4b;
  font-size: 0.85rem;
  margin-top: 8px;
}

#contact .form input,
#contact .form textarea {
  border: 1px solid rgba(22, 33, 47, 0.12);
  border-radius: 18px;
  box-shadow: none;
  min-height: 56px;
  padding: 14px 18px;
}

#contact .form textarea {
  min-height: 150px;
  resize: vertical;
}

#footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 0;
}

#footer .footer-top {
  padding: 74px 0 36px;
}

#footer .footer-info img {
  margin-bottom: 18px;
  max-height: 52px;
}

#footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
}

#footer p,
#footer a {
  color: rgba(255, 255, 255, 0.72);
}

#footer .footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .footer-links li + li {
  margin-top: 10px;
}

#footer .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

#footer .social-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  display: inline-flex;
  font-size: 1rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

#footer .social-links a:hover {
  background: var(--brand);
  color: #fff;
}

#footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 28px;
  text-align: center;
}

.back-to-top {
  align-items: center;
  background: var(--brand);
  border-radius: 999px;
  bottom: 20px;
  box-shadow: 0 18px 35px rgba(184, 138, 68, 0.28);
  color: #fff;
  display: none;
  height: 48px;
  justify-content: center;
  position: fixed;
  right: 20px;
  width: 48px;
  z-index: 997;
}

.back-to-top:hover {
  color: #fff;
}

.wow {
  visibility: hidden;
}

@media (max-width: 1199px) {
  .nav-menu a {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 991px) {
  section {
    padding: 82px 0;
  }

  #header {
    background: rgba(15, 26, 40, 0.92);
    backdrop-filter: blur(10px);
    padding: 12px 0;
  }

  #menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #nav-menu-container {
    background: rgba(15, 26, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px 0 0 24px;
    box-shadow: 0 24px 60px rgba(7, 13, 22, 0.32);
    display: block;
    left: auto;
    max-width: 340px;
    min-height: calc(100vh - 88px);
    max-height: calc(100vh - 88px);
    opacity: 0;
    overflow-y: auto;
    padding: 14px;
    pointer-events: none;
    position: absolute;
    right: calc(var(--container-pad) * -1);
    top: calc(100% - 12px);
    transform: translateX(18px);
    transition: opacity 0.25s ease, transform 0.25s ease, right 0.25s ease;
    visibility: hidden;
    width: min(82vw, 340px);
  }

  #nav-menu-container.active {
    opacity: 1;
    pointer-events: auto;
    right: 0;
    transform: translateX(0);
    visibility: visible;
  }

  .nav-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .nav-menu a {
    display: block;
    padding: 14px 16px;
  }

  .nav-cta a {
    margin-left: 0;
    text-align: center;
  }

  #intro,
  .intro-content {
    min-height: auto;
  }

  .intro-content {
    padding-bottom: 84px;
    padding-top: 122px;
  }

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

  .subscribe-shell,
  .subscribe-form {
    display: grid;
  }

  .subscribe-form {
    flex: 1 1 auto;
  }

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

@media (max-width: 767px) {
  :root {
    --container-pad: 16px;
  }

  section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .intro-copy p {
    font-size: 1rem;
  }

  .speaker .details,
  .hotel-body,
  .store-card,
  .contact-card,
  .contact-panel,
  .page-shell,
  .article-shell,
  .authority-card,
  .template-card {
    padding: 22px;
  }

  #logo img {
    max-height: 44px;
  }
}

@media (max-width: 575px) {
  .intro-actions,
  .btn-primary,
  .btn-secondary,
  .subscribe-form button,
  .store-button,
  #contact .form button[type="submit"] {
    width: 100%;
  }

  .news-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  #supporters .supporter-logo {
    min-height: 210px;
    padding: 36px;
  }

  #supporters .supporter-logo img {
    max-height: 108px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
  }
}
.hotel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hotel-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hotel-body .service-link {
    margin-top: auto;
}


.news-filters{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin-bottom:40px;
}

.filter-btn{

    border:1px solid rgba(22, 33, 47, 0.08);

    background:var(--surface);

    color:var(--ink);

    padding:12px 22px;

    border-radius:999px;

    font-size:14px;

    font-weight:700;

    font-family:"Plus Jakarta Sans", sans-serif;

    transition:all 0.3s ease;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(13,24,37,0.06);
}

.filter-btn:hover{

    background:linear-gradient(135deg, var(--brand), #d8b16b);

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 14px 28px rgba(184,138,68,0.25);
}

.filter-btn.active{

    background:linear-gradient(135deg, var(--brand), #d8b16b);

    color:#fff;

    box-shadow:0 14px 28px rgba(184,138,68,0.25);
}


.convenios-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
    margin:50px 0;
}

.convenios-grid img{
    width:100%;
    border-radius:16px;
    transition:.3s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.convenios-grid img:hover{
    transform:translateY(-5px);
}
.convenios-carousel .item {
    padding: 10px;
}

.convenios-carousel img {
    width: 100%;
    
 
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.convenios-carousel .item {
    padding: 8px;
}

.convenios-carousel img {
    width: 100%;

  
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.convenios-carousel .item{
    padding:10px;
}

.convenios-carousel img{
    width:100%;
 
    
    border-radius:16px;
}
.convenios-carousel .owl-nav {
    display: block !important;
}

.convenios-carousel .owl-prev,
.convenios-carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    width: 46px;
    height: 46px;
    
    border-radius: 50% !important;
    background: #b88a44 !important;
    color: #fff !important;
    
    font-size: 28px !important;
    line-height: 46px !important;
    text-align: center;
}

.convenios-carousel .owl-prev {
    left: -25px;
}

.convenios-carousel .owl-next {
    right: -25px;
}

.convenios-carousel .owl-prev:hover,
.convenios-carousel .owl-next:hover {
    background: #8c6230 !important;
}
.convenios-carousel .owl-prev,
.convenios-carousel .owl-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,.95) !important;
    width:50px;
    height:50px;
    border-radius:50% !important;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    font-size:30px !important;
    color:#b88a44 !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
}

.convenios-carousel .owl-prev{
    left:-25px;
}

.convenios-carousel .owl-next{
    right:-25px;
}
/* ===========================
   CARRUSEL DE CONVENIOS
   =========================== */

.convenios-carousel{
    position:relative;
    margin:40px 0;
}

.convenios-carousel .item img{
    width:100%;
    aspect-ratio:16 / 9;
  
    border-radius:16px;
    display:block;
}

.convenios-carousel .owl-prev,
.convenios-carousel .owl-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,.95) !important;
    width:50px;
    height:50px;
    border-radius:50% !important;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    font-size:30px !important;
    color:#b88a44 !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
}

.convenios-carousel .owl-prev{
    left:-25px;
}

.convenios-carousel .owl-next{
    right:-25px;
}
/* ===== FIX MOBILE IMAGENES ===== */

@media (max-width: 768px) {

    .article-shell img,
    .convenios-carousel img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        aspect-ratio: auto !important;
    }

}
.article-nav-links{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:40px;
    gap:20px;
}

.article-nav-links a{
    text-decoration:none;
}

@media (max-width:768px){

    .article-nav-links{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

}
.beneficios-section{
    padding:80px 0;
}

.categoria-beneficios{
    margin-bottom:60px;
}

.categoria-beneficios h2{
    margin-bottom:25px;
    color:#16212f;
    font-weight:700;
}

.beneficios-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.beneficio-card{
    display:block;
    overflow:hidden;
    border-radius:18px;
    transition:.3s;
}

.beneficio-card img{
    width:100%;
    height:auto;
    display:block;
    border-radius:18px;
}

.beneficio-card:hover{
    transform:translateY(-4px);
}

@media (max-width:992px){

    .beneficios-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:576px){

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

}
.beneficios-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.beneficio-card{
    display:block;
}

.beneficio-card img{
    width:100%;
    height:auto;
    display:block;
    border-radius:16px;
}

@media (max-width:992px){
    .beneficios-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:576px){
    .beneficios-grid{
        grid-template-columns:1fr;
    }
}
.bg-salud .service-icon::before{
    background-image:url('../img/servicios/salud.jpg');
}

.bg-turismo .service-icon::before{
    background-image:url('../img/servicios/turismo.jpg');
}

.bg-social .service-icon::before{
    background-image:url('../img/servicios/social.jpg');
}

.bg-deporte .service-icon::before{
    background-image:url('../img/servicios/deportes.jpg');
}

.bg-economicos .service-icon::before{
    background-image:url('../img/servicios/economicos.jpg');
}

.bg-educacion .service-icon::before{
    background-image:url('../img/servicios/educacion.jpg');
}
#intro {
    position: relative;
}

#intro .slide-bg{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1.5s ease;
}

#intro .slide-bg.active{
    opacity:1;
}
#intro{
    position:relative;
}

.slide-bg{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    opacity:0;
    transition:opacity 2s ease-in-out;
    z-index:0;
}

.slide-bg.active{
    opacity:1;
}

.slide1{
    background-image:url("../img/slider/slide1.jpg");
}

.slide2{
    background-image:url("../img/slider/slide2.jpg");
}

.slide3{
    background-image:url("../img/slider/slide3.jpg");
}