﻿/* =================================================================
   GUIDE TEMPLATE 2026 — guia-template.css
   Selectores prefijados con .gt-page para maxima especificidad
   ================================================================= */

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.gt-page .gt-hero {
  position: relative;
  background: url('../images/hero_guias_1000N.png') center center / cover no-repeat;
  padding: 90px 0 110px;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gt-page .gt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,25,55,0.88) 0%, rgba(10,25,55,0.72) 45%, rgba(10,25,55,0.20) 75%, rgba(10,25,55,0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

.gt-page .gt-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.gt-page .gt-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-left: clamp(4rem, 16vw, 14rem);
}

.gt-page .gt-hero__left {
  max-width: 520px;
}

.gt-page .gt-hero__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.08;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.gt-page .gt-hero__title-year {
  font-size: 0.82em;
  font-weight: 600;
  opacity: 0.88;
  text-decoration: underline;
  text-decoration-color: #f59e0b;
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
}

.gt-page .gt-hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.gt-page .gt-hero__checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gt-page .gt-hero__checks li {
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gt-page .gt-hero__img-wrap {
  flex-shrink: 0;
  width: 340px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.55));
  pointer-events: none;
}

.gt-page .gt-hero__img {
  width: 100%;
  height: auto;
  display: block;
}

/* curved SVG bottom */
.gt-page .gt-hero__curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}
.gt-page .gt-hero__curve svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ----------------------------------------------------------------
   SECTIONS
   ---------------------------------------------------------------- */
.gt-page .gt-section {
  padding: 3.5rem 0;
}

.gt-page .gt-section--white {
  background: #ffffff;
}

.gt-page .gt-section--light {
  background: #f5f7fa;
}

.gt-page .gt-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gt-page .gt-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #0f2648;
  margin: 0 0 0.4rem;
  line-height: 1.15;
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.gt-page .gt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.7rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: transform 120ms ease, box-shadow 120ms ease;
  font-family: 'Manrope', sans-serif;
}

.gt-page .gt-btn:hover {
  transform: translateY(-2px);
}

.gt-page .gt-btn--green,
.gt-page .gt-btn--green:link,
.gt-page .gt-btn--green:visited {
  background: #2e7d32;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(46,125,50,0.35);
  text-decoration: none;
}

.gt-page .gt-btn--green:hover {
  background: #256628;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(46,125,50,0.45);
}

.gt-page .gt-btn--lg {
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.gt-page .gt-btn--full {
  width: 100%;
  text-align: center;
}

/* ----------------------------------------------------------------
   RECOMMENDATION CARD
   ---------------------------------------------------------------- */
.gt-page .gt-rec-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(15,38,72,0.12);
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

/* ribbon badge — pinned top-left with right-pointing arrow */
.gt-page .gt-rec-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #1a3560;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.5rem 1.6rem 0.5rem 1.1rem;
  clip-path: polygon(0% 0%, calc(100% - 12px) 0%, 100% 50%, calc(100% - 12px) 100%, 0% 100%);
}

.gt-page .gt-rec-card__body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  align-items: center;
}

.gt-page .gt-rec-card__kicker {
  margin: 0 0 0.5rem;
}

.gt-page .gt-rec-card__kicker span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(245,158,11,0.45);
}

.gt-page .gt-rec-card__name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f2648;
  margin: 0 0 0.45rem;
  line-height: 1.05;
}

.gt-page .gt-rec-card__desc {
  color: rgba(15,38,72,0.65);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.gt-page .gt-rec-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gt-page .gt-rec-card__features li {
  font-size: 0.9rem;
  color: #1a3560;
  font-weight: 500;
}

.gt-page .gt-rec-card__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0.5rem;
  min-height: 240px;
}

.gt-page .gt-rec-card__img {
  max-width: 300px;
  width: 100%;
  object-fit: contain;
}

/* ----------------------------------------------------------------
   EXPLAIN SECTION
   ---------------------------------------------------------------- */
.gt-page .gt-explain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.gt-page .gt-explain-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f2648;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.gt-page .gt-explain-text {
  color: rgba(15,38,72,0.72);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0;
}

.gt-page .gt-explain-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 36px rgba(15,38,72,0.13);
  display: block;
}

/* ----------------------------------------------------------------
   COMPARISON CARDS
   ---------------------------------------------------------------- */
.gt-page .gt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.gt-page .gt-card {
  background: #ffffff;
  border: 1.5px solid #e0e7ef;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(15,38,72,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gt-page .gt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15,38,72,0.13);
}

.gt-page .gt-card--featured {
  border-color: #2e7d32;
  box-shadow: 0 4px 20px rgba(46,125,50,0.18);
}

.gt-page .gt-card__badge-bar {
  text-align: center;
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #dde5ee;
  color: #0f2648;
}

.gt-page .gt-card--featured .gt-card__badge-bar {
  background: #1a3560;
  color: #ffffff;
}

.gt-page .gt-card__img-wrap {
  aspect-ratio: 4/3;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.gt-page .gt-card--featured .gt-card__img-wrap {
  background: linear-gradient(135deg, #1e3a6b, #0f2648);
}

.gt-page .gt-card__img {
  max-height: 120px;
  width: 100%;
  object-fit: contain;
}

.gt-page .gt-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gt-page .gt-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gt-page .gt-card__list li {
  font-size: 0.88rem;
  color: rgba(15,38,72,0.72);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gt-page .gt-card__list li::before {
  content: '\2713';
  color: #2e7d32;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   USE CASES
   ---------------------------------------------------------------- */
.gt-page .gt-uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gt-page .gt-use-card {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e0e7ef;
  box-shadow: 0 3px 14px rgba(15,38,72,0.07);
  transition: transform 180ms, box-shadow 180ms;
}

.gt-page .gt-use-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,38,72,0.12);
}

.gt-page .gt-use-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.gt-page .gt-use-card__label {
  padding: 0.65rem 0.85rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: #0f2648;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ----------------------------------------------------------------
   CONSEJOS + CTA (misma fila)
   ---------------------------------------------------------------- */
.gt-page .gt-tips-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.gt-page .gt-tips-cta-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gt-page .gt-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gt-page .gt-tips-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.3rem 0;
}

.gt-page .gt-tips-item__icon {
  color: #f59e0b;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.gt-page .gt-tips-item__body strong {
  font-size: 0.96rem;
  color: #1a2e44;
  font-weight: 600;
}

/* CTA navy button */
.gt-page .gt-btn-cta-navy,
.gt-page .gt-btn-cta-navy:link,
.gt-page .gt-btn-cta-navy:visited {
  display: inline-block;
  background: #1a3560;
  color: #ffffff !important;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  padding: 1.1rem 2.6rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(26,53,96,0.30);
  transition: transform 120ms ease, box-shadow 120ms ease;
  text-align: center;
}

.gt-page .gt-btn-cta-navy:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26,53,96,0.42);
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 800px) {
  .gt-page .gt-hero__inner {
    flex-direction: column;
    text-align: left;
  }
  .gt-page .gt-hero__img-wrap {
    width: 200px;
  }
  .gt-page .gt-rec-card__body {
    grid-template-columns: 1fr;
  }
  .gt-page .gt-rec-card__img-wrap {
    order: -1;
  }
  .gt-page .gt-explain-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gt-page .gt-tips-cta-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 540px) {
  .gt-page .gt-hero__img-wrap {
    display: none;
  }
  .gt-page .gt-cards {
    grid-template-columns: 1fr;
  }
  .gt-page .gt-uses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gt-page .gt-section {
    padding: 2.5rem 0;
  }
  .gt-page .gt-hero {
    padding: 70px 0 90px;
    min-height: 300px;
  }
}
