/* ═══════════════════════════════════════════
   SECTIONS — El Escondido Cabalgatas
   Section-specific Styles
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   EXPERIENCE SECTION
   ═══════════════════════════════════════════ */
.section--experience {
  background-color: var(--color-cream);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
}

.experience-card {
  text-align: center;
  padding: var(--space-10) var(--space-8);
}

.experience-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-8);
  color: var(--color-olive-600);
}

.experience-card__icon svg {
  width: 100%;
  height: 100%;
}

.experience-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.experience-card__text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-soft);
}

/* ═══════════════════════════════════════════
   RIDES / CABALGATAS
   ═══════════════════════════════════════════ */
.section--rides {
  background-color: var(--color-off-white);
}

.rides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 1000px;
  margin: 0 auto;
}

.ride-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.ride-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.ride-card__image-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.ride-card__image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    var(--color-earth-300) 0%,
    var(--color-olive-200) 50%,
    var(--color-beige-300) 100%
  );
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.ride-card:hover .ride-card__image {
  transform: scale(1.05);
}

.ride-card__badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-white);
  background-color: rgba(26, 23, 20, 0.6);
  backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
}

.ride-card__content {
  padding: var(--space-8);
}

.ride-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.ride-card__text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-soft);
  margin-bottom: var(--space-6);
  min-height: 80px;
}

.ride-card__details {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-light);
}

.ride-card__detail {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.ride-card__detail svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ride-card__cta {
  width: 100%;
  text-align: center;
}

/* ═══════════════════════════════════════════
   ABOUT / AFTER RIDE
   ═══════════════════════════════════════════ */
#guia {
  padding-bottom: var(--space-8);
}

.section--about,
.section--after-ride {
  background-color: var(--color-cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-layout--reverse .about-layout__image {
  order: 2;
}

.about-layout--reverse .about-layout__content {
  order: 1;
}

.about-layout__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-layout__img {
  position: relative;
  width: 100%;
  padding-bottom: 120%;
  background: linear-gradient(160deg,
    var(--color-earth-200) 0%,
    var(--color-olive-100) 40%,
    var(--color-beige-200) 100%
  );
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  transition: transform 1.2s var(--ease-out);
}

.about-layout__image:hover .about-layout__img {
  transform: scale(1.03);
}

.about-layout__content {
  padding: var(--space-8) 0;
}

.about-layout__text {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--color-text-soft);
  margin-bottom: var(--space-6);
}

.about-layout__stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-light);
  line-height: 1;
  color: var(--color-olive-600);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════
   GALLERY / GALERÍA
   ═══════════════════════════════════════════ */
.section--gallery {
  background-color: var(--color-off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: var(--space-4);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item__image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    var(--color-beige-200) 0%,
    var(--color-earth-100) 30%,
    var(--color-olive-100) 70%,
    var(--color-beige-200) 100%
  );
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover .gallery-item__image {
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════
   INCLUDES / QUÉ INCLUYE
   ═══════════════════════════════════════════ */
.section--includes {
  background-color: var(--color-cream);
}

.includes-layout {
  display: grid;
  gap: var(--space-16);
}

.includes-layout__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.include-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-8);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.include-item:hover {
  border-color: var(--color-olive-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.include-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--color-olive-600);
}

.include-item__icon svg {
  width: 100%;
  height: 100%;
}

.include-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.include-item__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════
   FAQ / PREGUNTAS FRECUENTES
   ═══════════════════════════════════════════ */
.section--faq {
  background-color: var(--color-off-white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
  border-color: var(--color-olive-200);
}

.faq-item[open] {
  border-color: var(--color-olive-300);
  box-shadow: var(--shadow-md);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  list-style: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  content: '';
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background-color: var(--color-earth-500);
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item__icon::before {
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
  padding: 0 var(--space-8) var(--space-8);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-soft);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS / TESTIMONIOS
   ═══════════════════════════════════════════ */
.section--testimonials {
  background-color: var(--color-cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.testimonial {
  background: var(--color-white);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.testimonial:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial__stars {
  font-size: var(--text-sm);
  color: var(--color-earth-400);
  letter-spacing: 3px;
  margin-bottom: var(--space-6);
}

.testimonial__text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-8);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-light);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-olive-100);
  color: var(--color-olive-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  flex-shrink: 0;
}

.testimonial__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  font-style: normal;
  color: var(--color-text);
  display: block;
}

.testimonial__location {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.cta-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    var(--color-earth-800) 0%,
    var(--color-olive-700) 50%,
    var(--color-earth-700) 100%
  );
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 20, 0.55);
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--container-padding);
}

.cta-banner__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-4);
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: var(--weight-light);
  color: var(--color-white);
  margin-bottom: var(--space-10);
}

/* ═══════════════════════════════════════════
   CONTACT / CONTACTO
   ═══════════════════════════════════════════ */
.section--contact {
  background-color: var(--color-cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-detail svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-olive-600);
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.contact-detail p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.contact-form {
  background: var(--color-white);
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background-color: var(--color-earth-900);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-20) 0 var(--space-8);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.footer__logo {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-6);
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  line-height: 1;
}

.footer__logo-sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: var(--space-1);
}

.footer__description {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--space-8);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer__column-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-6);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.3);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-8);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.25);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal .footer__link {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.25);
}
