:root {
  /* Colores principales del logotipo AYM Travel */
  --color-primary: #102C53;
  --color-primary-dark: #172A43;
  --color-primary-soft: #4C5E75;

  /* Colores naturales / turísticos */
  --color-secondary: #99BD35;
  --color-secondary-dark: #4D5D2C;
  --color-secondary-light: #CCDD9B;

  /* Colores neutros del logotipo */
  --color-stone: #6E6E6F;
  --color-stone-soft: #7F8B97;
  --color-border: #DCE4E2;

  /* Fondos */
  --color-white: #FFFFFF;
  --color-background: #F7FAF5;

  /* Texto */
  --color-text: #172A43;
  --color-muted: #6E6E6F;

  /* Elementos visuales */
  --shadow: 0 18px 45px rgba(16, 44, 83, 0.18);
  --radius: 22px;
  --max-width: 1180px;
  --header-height: 82px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.62;
}

body.menu-open { overflow: hidden; }

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

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

button, input, textarea, select {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 12px;
}

.skip-link:focus { top: 1rem; }

.top-bar {
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-size: 0.92rem;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.top-bar__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--color-white);
  opacity: 0.95;
}

.top-bar a:hover { color: var(--color-secondary-light); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 220px;
}

.brand__logo {
  width: 156px;
  height: auto;
}

.brand__text {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: relative; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 5px; }

.nav-toggle.is-active span { transform: rotate(45deg); }
.nav-toggle.is-active span::before { transform: rotate(90deg) translate(7px, 0); }
.nav-toggle.is-active span::after { opacity: 0; }

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

.nav-menu a {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.nav-menu a:hover,
.nav-menu a:focus { color: var(--color-secondary-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

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

.btn--primary {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 12px 28px rgba(16, 44, 83, 0.24);
}

.btn--primary:hover { background: var(--color-primary-dark); }

.btn--secondary {
  color: var(--color-primary-dark);
  background: var(--color-secondary);
  box-shadow: 0 12px 28px rgba(153, 189, 53, 0.26);
}

.btn--secondary:hover { background: var(--color-secondary-light); }

.btn--ghost {
  color: var(--color-primary);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.btn--white {
  color: var(--color-primary);
  background: var(--color-white);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 10%, rgba(153, 189, 53, 0.30), transparent 28%),
    linear-gradient(135deg, rgba(16, 44, 83, 0.82), rgba(23, 42, 67, 0.84)),
    url("../img/portada-cusco-machupicchu.jpg") center / cover no-repeat;
  color: var(--color-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -6% -34% -6%;
  height: 330px;
  background: var(--color-background);
  border-radius: 50% 50% 0 0 / 36% 36% 0 0;
  z-index: -1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 3rem;
  padding: 5.5rem 0 7rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--color-secondary-light);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero__lead {
  max-width: 630px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero__meta-item {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero__meta-item strong {
  display: block;
  font-size: 1.08rem;
  color: var(--color-secondary-light);
}

.hero-card {
  position: relative;
  min-height: 475px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(135deg, #214063, #102C53);
}

.hero-card__scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 16%, rgba(204, 221, 155, 0.75) 0 54px, transparent 56px),
    linear-gradient(155deg, transparent 0 48%, rgba(153, 189, 53, 0.85) 49% 52%, transparent 53%),
    linear-gradient(145deg, transparent 0 54%, rgba(76, 94, 117, 0.9) 55% 66%, transparent 67%),
    linear-gradient(160deg, transparent 0 62%, rgba(255,255,255,0.9) 63% 72%, transparent 73%),
    linear-gradient(130deg, transparent 0 69%, rgba(23, 42, 67, 0.95) 70% 100%);
}

.hero-card__badge {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  right: 1.3rem;
  padding: 1.25rem;
  border-radius: 24px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.hero-card__badge strong { display: block; font-size: 1.3rem; }
.hero-card__badge span { color: var(--color-muted); }

.section {
  padding: 5rem 0;
}

.section--compact { padding: 3.5rem 0; }

.section__header {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section__header.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--color-secondary-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.section h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section__header p,
.card p,
.tour-card p,
.legal-card p,
.notice p {
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: 1.35rem;
}

.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.tour-card,
.legal-card,
.contact-card,
.notice,
.info-strip,
.form-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 12px 32px rgba(16, 44, 83, 0.08);
}

.card,
.legal-card,
.contact-card,
.notice,
.form-card { padding: 1.45rem; }

.card__icon,
.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 16px;
  color: var(--color-primary);
  background: var(--color-secondary-light);
  font-size: 1.45rem;
}

.card h3,
.tour-card h3,
.legal-card h3,
.contact-card h3 {
  margin: 0 0 0.6rem;
  color: var(--color-primary-dark);
  font-size: 1.28rem;
}

.tour-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tour-card__visual {
  min-height: 190px;
  display: grid;
  place-items: end start;
  padding: 1.2rem;
  color: var(--color-white);
  background:
    radial-gradient(circle at 88% 20%, rgba(204, 221, 155, 0.8) 0 35px, transparent 36px),
    linear-gradient(135deg, rgba(16,44,83,0.9), rgba(23,42,67,0.72)),
    linear-gradient(145deg, #102C53, #99BD35);
}

.tour-card:nth-child(2n) .tour-card__visual {
  background:
    radial-gradient(circle at 18% 18%, rgba(204, 221, 155, 0.82) 0 36px, transparent 37px),
    linear-gradient(135deg, rgba(23,42,67,0.84), rgba(16,44,83,0.7)),
    linear-gradient(155deg, #4C5E75, #99BD35);
}

.tour-card__visual span {
  display: inline-flex;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-weight: 900;
  color: var(--color-primary);
  background: var(--color-white);
}

.tour-card__body {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-card ul,
.legal-list,
.check-list {
  margin: 0.85rem 0 1rem;
  padding: 0;
  list-style: none;
}

.tour-card li,
.legal-list li,
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
  color: var(--color-muted);
}

.tour-card li::before,
.legal-list li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--color-secondary-dark);
}

.tour-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.price {
  font-size: 0.92rem;
  color: var(--color-muted);
}

.price strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.18rem;
}

.info-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  padding: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, var(--color-white), #eef5e6);
}

.badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-primary);
  background: var(--color-white);
  font-weight: 800;
  font-size: 0.88rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.about-visual {
  min-height: 520px;
  border-radius: 34px;
  padding: 1.5rem;
  color: var(--color-white);
  background:
    radial-gradient(circle at 82% 16%, rgba(153,189,53,0.75) 0 48px, transparent 49px),
    linear-gradient(145deg, rgba(16,44,83,0.96), rgba(23,42,67,0.92));
  box-shadow: var(--shadow);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.about-visual__content {
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}

.about-visual__visual--photo img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.about-visual h3 { margin: 0 0 0.5rem; font-size: 1.65rem; }
.about-visual p { margin: 0; color: rgba(255,255,255,0.86); }

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
}

.timeline__number {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: var(--color-secondary-light);
  font-weight: 900;
}

.timeline__item h3 { margin: 0 0 0.2rem; }
.timeline__item p { margin: 0; color: var(--color-muted); }

.compliance {
  background: var(--color-white);
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card {
  display: flex;
  flex-direction: column;
}

.legal-card a {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 1.4rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-item {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child { border-bottom: 0; }

.contact-item strong {
  display: block;
  color: var(--color-primary-dark);
}

.contact-item a {
  color: var(--color-primary);
  font-weight: 800;
}

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

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field--full { grid-column: 1 / -1; }

label {
  font-weight: 800;
  color: var(--color-primary-dark);
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(153, 189, 53, 0.18);
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--color-muted);
}

.checkbox input {
  width: auto;
  margin-top: 0.35rem;
}

.form-message {
  min-height: 1.4rem;
  color: var(--color-secondary-dark);
  font-weight: 800;
}

.map-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  border: 1px dashed var(--color-stone-soft);
  border-radius: var(--radius);
  color: var(--color-muted);
  background: linear-gradient(135deg, var(--color-white), #eef4ed);
}

.cta {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.cta p { margin: 0.8rem 0 0; color: rgba(255,255,255,0.82); }

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: var(--color-primary-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr 0.85fr;
  gap: 1.4rem;
  padding: 3.2rem 0;
}

.footer-logo {
  max-width: 175px;
  padding: 0.4rem;
  border-radius: 18px;
  background: var(--color-white);
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  color: var(--color-white);
}

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

.site-footer li { margin-bottom: 0.45rem; }
.site-footer a:hover { color: var(--color-secondary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.1rem 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 800;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary-dark);
  background: var(--color-secondary);
  box-shadow: var(--shadow);
  font-size: 1.75rem;
}

.page-hero {
  padding: 4.5rem 0;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.page-hero p {
  max-width: 760px;
  color: rgba(255,255,255,0.84);
}

.legal-content {
  display: grid;
  gap: 1.2rem;
  padding: 3.2rem 0;
}

.legal-section {
  padding: 1.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
}

.legal-section h2,
.legal-section h3 {
  margin-top: 0;
  color: var(--color-primary-dark);
}

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

th, td {
  padding: 0.85rem;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--color-white);
  background: var(--color-primary);
}

.alert {
  padding: 1rem;
  border-left: 5px solid var(--color-secondary);
  border-radius: 16px;
  background: #eef5e6;
}

@media (max-width: 1000px) {
  .hero__inner,
  .about-layout,
  .contact-layout,
  .cta__inner,
  .info-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid--4,
  .grid--3,
  .legal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .top-bar__inner { align-items: flex-start; flex-direction: column; }

  .nav-toggle { display: inline-flex; }

  .nav-menu {
    position: fixed;
    inset: calc(var(--header-height) + 42px) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 18px 1.5rem;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open { display: flex; }

  .nav-menu a,
  .nav-menu .btn { width: 100%; justify-content: center; }

  .hero__inner { padding: 4rem 0 5.5rem; }
  .hero__meta { grid-template-columns: 1fr; }

  .grid--4,
  .grid--3,
  .grid--2,
  .legal-links,
  .form-grid { grid-template-columns: 1fr; }

  .section { padding: 3.6rem 0; }
  .footer-grid { padding: 2.4rem 0; }
  .floating-whatsapp { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}


/* Página de servicios turísticos */
.section--soft {
  background: linear-gradient(135deg, #eef5e6, var(--color-background));
}

.services-hero {
  position: relative;
  overflow: hidden;
}

.services-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(153, 189, 53, 0.22);
}

.services-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-summary {
  padding: 1.45rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.service-summary h2 {
  margin: 0 0 0.8rem;
  color: var(--color-white);
}

.service-summary .check-list li {
  color: rgba(255,255,255,0.86);
}

.service-summary .check-list li::before {
  color: var(--color-secondary-light);
}

.service-feature {
  min-height: 100%;
}

.service-catalog {
  align-items: stretch;
}

.service-tour-card {
  min-height: 100%;
}

.tour-card__visual--photo {
  position: relative;
  min-height: 245px;
  padding: 0;
  overflow: hidden;
  display: block;
  background: var(--color-primary);
}

.tour-card__visual--photo img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.tour-card__visual--photo:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

.tour-card__visual--photo span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  box-shadow: 0 10px 28px rgba(16,44,83,0.22);
}

.destination-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 1rem;
}

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.gallery-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  color: var(--color-white);
  background: rgba(16,44,83,0.82);
  font-weight: 900;
  backdrop-filter: blur(6px);
}

.service-info-card {
  min-height: 100%;
}

@media (max-width: 1000px) {
  .services-hero__inner {
    grid-template-columns: 1fr;
  }

  .destination-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .destination-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-card--large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .tour-card__visual--photo,
  .tour-card__visual--photo img {
    min-height: 220px;
    height: 220px;
  }
}


/* Página detalle de paquete turístico */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.08);
  font-size: 0.92rem;
}

.breadcrumb a:hover { color: var(--color-secondary-light); }

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 12% 20%, rgba(153, 189, 53, 0.35), transparent 28%),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -38% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(153, 189, 53, 0.16);
}

.detail-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
  padding: 5rem 0;
}

.detail-hero__content h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.detail-hero__content p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
}

.detail-resume-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow);
}

.detail-resume-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--color-background);
}

.detail-resume-card__body { padding: 1.35rem; color: var(--color-text); }
.detail-resume-card__body h2 { margin: 0 0 1rem; color: var(--color-primary); }

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.detail-facts div {
  padding: 0.9rem;
  border-radius: 18px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

.detail-facts dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 900;
}

.detail-facts dd {
  margin: 0.25rem 0 0;
  font-weight: 900;
  color: var(--color-primary-dark);
}

.mini-note {
  margin: 1rem 0 0;
  font-size: 0.93rem;
  color: var(--color-muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.5rem;
  align-items: start;
}

.detail-main-card,
.detail-side-card,
.info-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(16, 44, 83, 0.08);
}

.detail-main-card { padding: 2rem; }
.detail-side-card { position: sticky; top: calc(var(--header-height) + 1rem); padding: 1.4rem; }
.detail-side-card h2, .info-panel h2 { margin-top: 0; color: var(--color-primary); }

.detail-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 2rem;
}

.detail-highlight {
  padding: 1rem;
  border-radius: 18px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
}

.detail-highlight strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.detail-highlight span { color: var(--color-muted); font-size: 0.94rem; }

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, var(--color-background));
}

.timeline__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 900;
}

.timeline__content h4 { margin: 0 0 0.25rem; color: var(--color-primary-dark); }
.timeline__content p { margin: 0; color: var(--color-muted); }

.notice-card {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  border-left: 6px solid var(--color-secondary);
  background: #fbfff2;
}

.notice-card p { margin: 0.35rem 0 0; }

.include-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.info-panel { padding: 1.45rem; }

.compact-list { gap: 0.55rem; }
.compact-list li { margin-bottom: 0.35rem; }

.x-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.x-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.65rem;
  color: var(--color-muted);
}

.x-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #f1e9e9;
  color: #9b2e2e;
  font-weight: 900;
}

.full-btn { width: 100%; margin-top: 0.8rem; }

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  background: var(--color-white);
}

.carousel__viewport {
  position: relative;
  min-height: 460px;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel__image-button {
  width: 100%;
  height: 100%;
  min-height: 460px;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: var(--color-primary-dark);
}

.carousel__image-button img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.carousel__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  color: var(--color-white);
  background: rgba(16, 44, 83, 0.82);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.carousel__control {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(255,255,255,0.92);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 44, 83, 0.2);
}

.carousel__control--prev { left: 1rem; }
.carousel__control--next { right: 1rem; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.carousel__dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--color-border);
  cursor: pointer;
}

.carousel__dots button.is-active { width: 34px; background: var(--color-secondary); }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.gallery-thumbs button {
  overflow: hidden;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 18px;
  background: var(--color-white);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(16, 44, 83, 0.09);
}

.gallery-thumbs button.is-active { border-color: var(--color-secondary); }
.gallery-thumbs img { width: 100%; height: 110px; object-fit: cover; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(9, 20, 36, 0.92);
}

.lightbox.is-open { display: flex; }

.lightbox__figure {
  margin: 0;
  width: min(1100px, 92vw);
  color: var(--color-white);
  text-align: center;
}

.lightbox__figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 22px;
  background: var(--color-white);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.lightbox__figure figcaption {
  margin-top: 0.8rem;
  font-weight: 800;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  border: 0;
  border-radius: 999px;
  color: var(--color-primary);
  background: var(--color-white);
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 2.2rem;
  line-height: 1;
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

body.lightbox-open { overflow: hidden; }

.detail-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.detail-actions .btn { padding: 0.78rem 1rem; }

@media (max-width: 1000px) {
  .detail-hero__inner,
  .detail-layout,
  .include-grid {
    grid-template-columns: 1fr;
  }
  .detail-side-card { position: static; }
  .detail-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .detail-hero__inner { padding: 3.2rem 0; }
  .detail-facts,
  .detail-highlight-grid,
  .gallery-thumbs { grid-template-columns: 1fr 1fr; }
  .timeline__item { grid-template-columns: 1fr; }
  .carousel__viewport,
  .carousel__image-button { min-height: 310px; }
  .carousel__image-button img { height: 310px; }
  .carousel__caption { position: static; border-radius: 0; }
  .lightbox { padding: 1rem; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.8rem; }
}


.btn--detail {
  color: var(--color-primary);
  background: var(--color-secondary-light);
  box-shadow: 0 10px 20px rgba(153, 189, 53, 0.18);
}
.btn--detail:hover { background: var(--color-secondary); color: var(--color-primary-dark); }

/* Libro de Reclamaciones Virtual */
.reclamo-hero {
  background:
    linear-gradient(135deg, rgba(16, 44, 83, 0.88), rgba(23, 42, 67, 0.90)),
    url("../img/portada-cusco-machupicchu.jpg") center / cover no-repeat;
}

.reclamo-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.35fr);
  gap: 1.4rem;
  align-items: start;
}

.reclamo-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: grid;
  gap: 1rem;
}

.correlativo-card {
  padding: 1.45rem;
  border-radius: var(--radius);
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: var(--shadow);
}

.correlativo-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-secondary-light);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
}

.correlativo-card strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.05;
  word-break: break-word;
}

.correlativo-card p {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.proveedor-box p {
  margin: 0.4rem 0;
  color: var(--color-muted);
}

.reclamo-form-card {
  padding: clamp(1.1rem, 2.5vw, 2rem);
}

.form-section-title {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-top: 1.2rem;
  margin-top: 1.4rem;
  border-top: 1px solid var(--color-border);
}

.form-section-title:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.form-section-title span {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--color-primary-dark);
  background: var(--color-secondary);
  font-weight: 950;
}

.form-section-title h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.form-section-title p {
  margin: 0.25rem 0 1rem;
  color: var(--color-muted);
}

.reclamo-form textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.success-box {
  margin-bottom: 1.2rem;
  padding: 1.4rem;
  border: 1px solid rgba(153, 189, 53, 0.45);
  border-radius: var(--radius);
  background: #eef5e6;
}

.success-box h2 {
  margin-top: 0;
  color: var(--color-primary-dark);
}

.success-box strong {
  display: inline-block;
  margin: 0.25rem 0 0.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: 14px;
  color: var(--color-white);
  background: var(--color-primary);
  font-size: 1.45rem;
}

.alert--danger {
  border-left-color: #b42318;
  background: #fff3f1;
}

.alert--danger ul {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1000px) {
  .reclamo-layout {
    grid-template-columns: 1fr;
  }

  .reclamo-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .form-section-title {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}
