/* ==========================================================================
   TUK TUK MÁLAGA — Estilos globales
   ========================================================================== */

:root {
  --navy: #12314f;
  --navy-dark: #0a1f33;
  --navy-light: #1d4a75;
  --gold: #e0a53c;
  --cream: #f7f4ee;
  --white: #ffffff;
  --ink: #23303c;
  --gray: #6b7684;
  --border: #e4e0d6;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 31, 51, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--ink); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.75em;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }

.section--cream { background: var(--cream); }

.section--navy {
  background: var(--navy-dark);
  color: var(--white);
}

.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.78); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn--primary:hover { box-shadow: 0 12px 24px rgba(224, 165, 60, 0.35); }

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); }

.btn--dark {
  background: var(--navy-dark);
  color: var(--white);
}
.btn--dark:hover { box-shadow: 0 12px 24px rgba(10,31,51,0.3); }

.btn--block { width: 100%; justify-content: center; }

/* Header ------------------------------------------------------------------ */

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-dark);
  min-width: 0;
  flex: 1 1 auto;
}

.brand img { height: 44px; width: auto; }

.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}

.nav a.active,
.nav a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  margin: 5px 0;
  transition: 0.2s;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

/* Hero --------------------------------------------------------------------*/

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,31,51,0.92) 0%, rgba(10,31,51,0.72) 42%, rgba(10,31,51,0.25) 78%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero__content p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero__stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
}
.hero__stats div span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

/* Page hero (interior pages) ---------------------------------------------*/

.page-hero {
  background: var(--navy-dark);
  color: var(--white);
  padding: 120px 0 64px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }

/* Grids -------------------------------------------------------------------*/

.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Cards ---------------------------------------------------------------- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__body { padding: 24px; }

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.section--navy .feature__icon { background: rgba(255,255,255,0.1); }

/* Tour cards --------------------------------------------------------------*/

.tour-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.tour-card--featured {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(224,165,60,0.18);
}

.tour-card__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.tour-card__price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--navy-dark);
  margin: 12px 0 4px;
}
.tour-card__price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 500;
}

.tour-card__meta {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tour-card ul {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tour-card li {
  font-size: 0.92rem;
  padding-left: 26px;
  position: relative;
}
.tour-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.tour-card .btn { margin-top: auto; }

/* Compact tour rows (variantes: Picasso / Churros) ------------------------*/

.tour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.tour-row + .tour-row { margin-top: 14px; }
.tour-row__info h4 { margin: 0 0 6px; font-size: 1.05rem; }
.tour-row__info p { margin: 0; font-size: 0.88rem; color: var(--gray); max-width: 480px; }
.tour-row__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}
.tour-row__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy-dark);
  white-space: nowrap;
}
.tour-row__price span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
}

@media (max-width: 720px) {
  .tour-row { flex-direction: column; align-items: flex-start; }
  .tour-row__meta { width: 100%; justify-content: space-between; }
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}

/* Route steps ---------------------------------------------------------- */

.route-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.route-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.route-step:last-child { border-bottom: none; }
.route-step__num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.route-step h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.route-step p { margin: 0; font-size: 0.9rem; color: var(--gray); }

/* Testimonials ------------------------------------------------------------*/

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.testimonial__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial__author { font-weight: 700; margin-top: 14px; font-size: 0.9rem; }
.testimonial__author span { font-weight: 400; color: var(--gray); display: block; font-size: 0.8rem; }

/* FAQ accordion -------------------------------------------------------- */

.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--navy-dark);
  transition: color 0.2s ease;
}
.accordion-trigger:hover { color: var(--gold); }

.accordion-icon {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.accordion-icon::before {
  left: 0; top: 50%;
  width: 100%; height: 2px;
  transform: translateY(-50%);
}
.accordion-icon::after {
  top: 0; left: 50%;
  width: 2px; height: 100%;
  transform: translateX(-50%);
}
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-body {
  padding: 0 4px 22px;
  color: var(--gray);
}
.accordion-body p { margin: 0; }

/* Contact page ----------------------------------------------------------*/

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-card:last-child { border-bottom: none; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Add-ons (museums) -------------------------------------------------------*/

.addon-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--cream);
  border-radius: var(--radius);
}
.addon-card strong.price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy-dark);
  margin-top: 8px;
}

/* Decorative dashes above "Descubre el arte" ------------------------------*/

.deco-dashes {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.deco-dashes span {
  width: 26px;
  height: 5px;
  border-radius: 4px;
}
.deco-dashes span:nth-child(1) { background: #3b7fd4; }
.deco-dashes span:nth-child(2) { background: #e0554a; }
.deco-dashes span:nth-child(3) { background: var(--gold); }
.deco-dashes span:nth-child(4) { background: #2f9e83; }

/* Colorful museum cards ("Descubre el arte") -------------------------------*/

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

.art-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--art-bg);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.art-card__media { aspect-ratio: 4/3; overflow: hidden; }
.art-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.art-card__top { padding: 24px 20px; }
.art-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: var(--art-accent);
}
.art-card__top h4 { margin: 0 0 4px; }
.art-card__subtitle {
  display: block;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--gray);
}
.art-card__price {
  background: var(--art-accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.7rem;
  padding: 14px;
}

.art-card--picasso { --art-bg: #fdf1de; --art-accent: #e0a53c; }
.art-card--pompidou { --art-bg: #e7f1fb; --art-accent: #3b7fd4; }
.art-card--ruso { --art-bg: #e6f5f0; --art-accent: #2f9e83; }

@media (max-width: 720px) {
  .art-grid { grid-template-columns: 1fr; }
}

/* Footer ------------------------------------------------------------------*/

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid a { display: block; padding: 6px 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* Icons (replace emojis) --------------------------------------------------*/

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.15em;
  display: inline-block;
  color: var(--navy);
}

.feature__icon { color: var(--navy); }
.feature__icon .icon { color: var(--navy); }
.section--navy .feature__icon .icon { color: var(--white); }

.tour-card__meta .icon,
.tour-row__meta .icon,
.note-box .icon,
.category-tag .icon {
  color: var(--navy);
}

.category-tag { display: inline-flex; align-items: center; }

/* Badge / pills ----------------------------------------------------------*/

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.note-box {
  background: #fff7e6;
  border: 1px solid #f0d9a0;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #7a5a10;
}

/* Responsive ---------------------------------------------------------- */

@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .brand small { display: none; }
  .brand span { font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand img { height: 34px; }
  .header-cta { gap: 10px; }
  .header-cta .btn { padding: 9px 14px; font-size: 0.82rem; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; text-align: left; }
  .hero__stats { gap: 28px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .nav.nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
}

/* Calendario de reserva -----------------------------------------------------*/

.booking-calendar {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--cream);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.calendar-header span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  text-transform: capitalize;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.calendar-nav:hover { background: var(--navy); border-color: var(--navy); }
.calendar-nav:hover .icon { color: var(--white); }
.calendar-nav .icon { width: 16px; height: 16px; color: var(--navy); }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 8px;
}

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

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.calendar-day:hover:not(:disabled) { background: var(--gold); color: var(--navy-dark); }
.calendar-day--empty { background: transparent; cursor: default; }
.calendar-day--disabled { background: transparent; color: var(--border); cursor: not-allowed; }
.calendar-day--today { box-shadow: inset 0 0 0 1.5px var(--navy-light); }
.calendar-day--selected,
.calendar-day--selected:hover { background: var(--navy); color: var(--white); }

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.time-slot {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.time-slot:hover { border-color: var(--navy); }
.time-slot--selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
