/* Food N Tours - global premium system */
:root {
  --ftn-ink: #172f32;
  --ftn-muted: #5f6f73;
  --ftn-paper: #fffefa;
  --ftn-line: #dce6da;
  --ftn-green: #1a5527;
  --ftn-orange: #f27b1d;
  --ftn-gold: #d6a467;
  --ftn-shadow: 0 18px 48px rgba(16, 56, 67, .12);
  --ftn-radius: 18px;
}

body {
  font-family: var(--font-dm, "DM Sans", "Segoe UI", sans-serif);
  color: var(--ftn-ink);
  background: var(--ftn-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-Jakarta, "Plus Jakarta Sans", "Segoe UI", sans-serif);
  letter-spacing: -.02em;
  color: var(--ftn-ink);
}

.ftv-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(220, 230, 218, .75);
  box-shadow: 0 8px 24px rgba(16, 56, 67, .06);
  transition: background .3s ease, box-shadow .3s ease;
}

.ftv-site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(16, 56, 67, .1);
}

.ftv-nav a {
  position: relative;
  transition: color .25s ease;
}

.ftv-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--ftn-orange);
  transition: width .25s ease;
}

.ftv-nav a:hover::after,
.ftv-nav a:focus-visible::after {
  width: 100%;
}

.ftv-page-main,
#main.ftv-page-main {
  padding-block: clamp(32px, 5vw, 64px);
}

#contenedor.ftv-home-grid {
  max-width: 1380px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

#contenido {
  min-width: 0;
}

.ftv-footer {
  background: linear-gradient(180deg, #103843 0%, #0b252b 100%);
  color: #f6f8f4;
  padding: clamp(48px, 6vw, 80px) 0;
}

.ftv-footer a {
  color: #f6f8f4;
  text-decoration: none;
  transition: color .25s ease;
}

.ftv-footer a:hover {
  color: var(--ftn-gold);
}

.ft-btn-primary,
.ft-btn-secondary,
.btn-main,
.ft-about-cta-button {
  border-radius: 999px;
  padding: .85rem 1.5rem;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(26, 85, 39, .18);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.ft-btn-primary:hover,
.ft-btn-secondary:hover,
.btn-main:hover,
.ft-about-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(26, 85, 39, .24);
  filter: brightness(1.04);
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--ftn-line);
  border-radius: 14px;
  padding: .85rem 1rem;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ftn-green);
  box-shadow: 0 0 0 4px rgba(26, 85, 39, .12);
}

img {
  max-width: 100%;
  height: auto;
}

.ft-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.ft-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ft-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.ft-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--ftn-green);
  color: #fff;
  font-size: 20px;
  box-shadow: var(--ftn-shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 900;
}

.ft-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ft-back-to-top:hover {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .ftv-nav a::after {
    display: none;
  }
}
html { scroll-behavior: smooth; }

.ft-hero-photo { transform: scale(1.02); transition: transform 10s cubic-bezier(.2,.8,.2,1), filter .6s ease; will-change: transform; }
.ft-home-hero-slide.is-active .ft-hero-photo { transform: scale(1.12); animation: ftKenBurns 18s ease-in-out infinite alternate; }
@keyframes ftKenBurns { 0% { transform: scale(1.05) translate3d(0,0,0); } 100% { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } }

/* Why Food N Tours value cards */
.ft-vp .ft-vp-value-section {
  padding: 34px 0 72px; 
  background: linear-gradient(180deg, #f6f7f4 0%, #ffffff 100%); 
}
.ft-vp .ft-vp-value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.ft-vp-value-card { background: #fff; border-radius: 20px; padding: 8px 24px 24px; box-shadow: 0 14px 36px rgba(8, 30, 42, .08); transition: transform .35s ease, box-shadow .35s ease; border: 1px solid rgba(8, 30, 42, .05); }
.ft-vp-value-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(8, 30, 42, .12); }
.ft-vp-value-card::before { display: none; }
.ft-vp-value-card svg { width: 32px; height: 32px; color: #fff; padding: 8px; border-radius: 50%; background: linear-gradient(135deg, #d99b62, #b97840); margin-bottom: 16px; box-shadow: 0 8px 18px rgba(217, 155, 98, .35); }
.ft-vp-value-card h3 { margin: 0 0 8px; font: 800 20px/1.25 var(--font-Jakarta, "Segoe UI", sans-serif); color: var(--vp-ink, #19343a); }
.ft-vp-value-card p { margin: 0; font: 500 14px/1.5 var(--font-dm, "Segoe UI", sans-serif); color: var(--vp-copy, #4b5b63); }
@media (max-width: 900px) {
    .ft-vp .ft-vp-value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .ft-vp .ft-vp-value-grid {
        grid-template-columns: 1fr;
    }
}


.ft-hero-shade { transition: opacity .6s ease; }
.ft-showcase:hover .ft-hero-shade { opacity: .55; }

.ft-home-story__media img { transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .6s ease; transform: scale(1.03); }
.ft-home-story:hover .ft-home-story__media img { transform: scale(1.1); filter: saturate(1.08) contrast(1.05); }

.ft-vp-destination-card, #contenedor .views-row, .ft-vp-tour-card { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.ft-vp-destination-card:hover, #contenedor .views-row:hover, .ft-vp-tour-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.ft-vp-destination-card img, #contenedor .views-row img, .ft-vp-tour-card img { transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .6s ease; transform: scale(1.02); }
.ft-vp-destination-card:hover img, #contenedor .views-row:hover img, .ft-vp-tour-card:hover img { transform: scale(1.14); filter: saturate(1.1) contrast(1.05); }

.ft-search-wrap { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .35s ease, box-shadow .35s ease; }
.ft-search-wrap:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.18); }

.ft-btn-primary, .ft-btn-secondary, .btn-main { transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.ft-btn-primary:hover, .ft-btn-secondary:hover, .btn-main:hover { transform: translateY(-2px); filter: brightness(1.05); }

.ft-topbar, .ftv-site-header { transition: background-color .35s ease, box-shadow .35s ease; }

/* Footer recipe-related subscription block */
#block-food-and-tours-subscriptionfooterblock { display: none !important; }

/* Destination mosaic alignment */
.ft-vp-destination-grid { align-items: stretch; }
.ft-vp-destination-card { min-height: 220px; }
.ft-vp-destination-card img { aspect-ratio: 4 / 3; }
.ft-vp-destination-card--wide img { aspect-ratio: 16 / 9; }

/* Footer recipe-related subscription block */
#block-food-and-tours-subscriptionfooterblock { display: none !important; }
.ft-vp-destination-card { min-height: 220px; }
.ft-vp-destination-card img { aspect-ratio: 4 / 3; }
.ft-vp-destination-card--wide img { aspect-ratio: 16 / 9; }

@media (prefers-reduced-motion: reduce) { .ft-home-hero-slide.is-active .ft-hero-photo, .ft-hero-photo, .ft-home-story__media img, .ft-vp-destination-card img, #contenedor .views-row img, .ft-vp-tour-card img { animation: none !important; transition: none !important; transform: none !important; } }

.ft-vp-collection-cta { text-align: center; }

/* Tour collection cards */
.ft-vp-tour-collection { padding: 88px 0; background: #fff; }
.ft-vp-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.ft-vp-collection-card { position: relative; border-radius: 20px; overflow: hidden; background: #081e2a; box-shadow: 0 16px 44px rgba(8, 30, 42, .14); min-height: 330px; transition: transform .35s ease, box-shadow .35s ease; }
.ft-vp-collection-card .ft-vp-collection-media { position: relative; display: block; height: 100%; }
.ft-vp-collection-card img { width: 100%; height: 330px; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .6s ease; transform: scale(1.02); }
.ft-vp-collection-card .ft-vp-collection-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,30,42,.05) 0%, rgba(8,30,42,.78) 100%); transition: opacity .35s ease; }
.ft-vp-collection-card span { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; font: 800 20px/1.25 var(--font-Jakarta, "Segoe UI", sans-serif); text-shadow: 0 2px 12px rgba(0,0,0,.55); z-index: 2; transition: transform .35s ease; }
.ft-vp-collection-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(8, 30, 42, .24); }
.ft-vp-collection-card:hover img { transform: scale(1.1); filter: saturate(1.1) contrast(1.05); }
.ft-vp-collection-card:hover span { transform: translateY(-4px); }
.ft-vp-collection-card:hover .ft-vp-collection-media::after { opacity: .9; }
.ft-vp-collection-cta { 
  text-align: center; 
}
.ft-vp-collection-cta .btn-main { 
  width: fit-content; 
  margin: 40px auto 0; 
}
@media (max-width: 900px) { .ft-vp-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ft-vp-collection-grid { grid-template-columns: 1fr; } }



