:root {
  --teal: #063f43;
  --teal-2: #075e66;
  --cream: #fff8ea;
  --cream-2: #fff1d2;
  --gold: #e8b832;
  --gold-2: #d8a72d;
  --ink: #073b3a;
  --muted: #496b6c;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  min-width: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: 96px;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, select, input { font: inherit; }

body { top: 0 !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(14px, 4vw, 42px);
  background: rgba(255, 248, 234, .96);
  border-bottom: 1px solid rgba(216, 167, 45, .35);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
  color: var(--ink);
  min-width: 0;
  flex: 0 0 auto;
}
.brand img { width: 58px; height: 58px; border-radius: 16px; object-fit: contain; }
.brand span { white-space: nowrap; }
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 2vw, 24px);
  min-width: 0;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: .98rem;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--teal-2); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(216, 167, 45, .75);
  border-radius: 999px;
  background: #fffdf7;
  flex: 0 0 auto;
}
.lang-switch select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 850;
  outline: 0;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: clamp(36px, 8vw, 84px) 16px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(0, 54, 60, .82), rgba(0, 86, 93, .73)),
    url('/assets/schedulebackground-BoB5W4gX.png') center / cover no-repeat;
}
.hero-card {
  width: min(980px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 34px;
  background: rgba(6, 63, 67, .72);
  border: 1px solid rgba(255, 248, 234, .16);
  box-shadow: var(--shadow);
}
.hero-logo {
  width: clamp(78px, 16vw, 118px);
  height: clamp(78px, 16vw, 118px);
  object-fit: contain;
  background: rgba(255, 248, 234, .96);
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .22);
}
.eyebrow {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 950;
  font-size: .78rem;
}
.eyebrow.dark { color: var(--teal-2); }
.hero h1 {
  margin: 0;
  color: #fffdf7;
  font-size: clamp(2.35rem, 8vw, 5.3rem);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.05em;
  max-width: 920px;
}
.hero h1 strong {
  display: block;
  color: var(--gold);
  font-weight: 950;
}
.hero-subtitle {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 253, 247, .95);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 650;
}
.hero-proof {
  width: min(780px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.google-pill, .trust-pill {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  background: #fffdf7;
  color: var(--ink);
  border: 1px solid rgba(216, 167, 45, .65);
}
.stars { color: var(--gold-2); letter-spacing: .04em; }
.trust-pill { background: rgba(255, 253, 247, .12); color: #fffdf7; border-color: rgba(255,255,255,.18); }
.google-g { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#fff; color:#4285f4; font-weight:950; font-family:Arial,sans-serif; }
.hero-actions, .review-buttons, .tour-modal__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 950;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 14px 36px rgba(216, 167, 45, .28); }
.btn-light, .btn-outline { background: #fffdf7; color: var(--ink); border-color: rgba(216, 167, 45, .85); }
.btn:hover, .floating-reserve:hover, .floating-whatsapp:hover { transform: translateY(-1px); }

.reviews-section, .tours-section, .about-section {
  padding: clamp(34px, 7vw, 76px) 16px;
}
.reviews-section { background: linear-gradient(180deg, var(--cream), #fff2d4); }
.reviews-wrap, .about-card {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 28px;
  background: #fffdf7;
  border: 1px solid rgba(216, 167, 45, .7);
  box-shadow: 0 18px 48px rgba(7, 94, 102, .10);
}
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.reviews-head h2, .section-head h2, .about-card h2 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--teal-2);
}
.reviews-head p, .section-head p, .about-card p { color: var(--muted); line-height: 1.55; }
.google-word { font-weight: 950; letter-spacing: -.03em; }
.google-word span:nth-child(1){color:#4285f4}.google-word span:nth-child(2){color:#ea4335}.google-word span:nth-child(3){color:#fbbc05}.google-word span:nth-child(4){color:#4285f4}.google-word span:nth-child(5){color:#34a853}.google-word span:nth-child(6){color:#ea4335}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.review-card {
  border: 1px solid rgba(7, 94, 102, .14);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}
.review-card strong { display: block; color: var(--teal-2); margin-bottom: 4px; }
.review-card span { color: var(--gold-2); }
.review-card p { margin: 8px 0 0; color: var(--ink); }
.tripadvisor-widget {
  margin-top: 18px;
  padding: 12px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.tripadvisor-widget ul { margin: 0; padding: 0; list-style: none; }

.tours-section {
  background:
    linear-gradient(180deg, rgba(6, 63, 67, .92), rgba(6, 63, 67, .86)),
    url('/assets/full-day-portugal-card.jpg') center / cover fixed;
}
.section-head {
  width: min(980px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}
.tours-section .section-head h2 { color: #fffdf7; text-shadow: 0 3px 22px rgba(0,0,0,.3); }
.tours-section .section-head p { color: rgba(255,253,247,.9); }
.tour-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.tour-card {
  display: block;
  text-decoration: none;
  position: relative;
  min-height: 290px;
  border: 2px solid rgba(232, 184, 50, .96);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .32);
  background: var(--teal);
  cursor: pointer;
  padding: 0;
  color: #fff;
  text-align: center;
}
.tour-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform .2s ease;
}
.tour-card:hover img { transform: scale(1.04); }
.tour-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.62));
  z-index: 1;
}
.tour-content {
  position: absolute;
  inset: auto 14px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tour-content strong {
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0,0,0,.65);
}
.tour-content small {
  color: rgba(255,255,255,.95);
  font-weight: 750;
  line-height: 1.25;
  text-shadow: 0 3px 12px rgba(0,0,0,.7);
}

.about-section { background: var(--cream); }
.about-card { text-align: center; }
.about-card p { max-width: 760px; margin: 0 auto 22px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  background: var(--teal);
  color: #fffdf7;
  padding: 38px clamp(18px, 6vw, 72px);
  border-top: 1px solid var(--gold);
}
.site-footer img { width: 64px; height: 64px; object-fit: contain; background:#fffdf7; border-radius: 14px; margin-bottom: 8px; }
.site-footer a { color: #fffdf7; display: block; margin-top: 8px; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.copyright { grid-column: 1 / -1; margin: 18px 0 0; color: rgba(255,253,247,.82); }

.floating-reserve, .floating-whatsapp {
  position: fixed;
  bottom: 18px;
  z-index: 70;
  min-height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
  transition: transform .16s ease;
  white-space: nowrap;
}
.floating-reserve {
  left: 18px;
  padding: 0 22px;
  background: #fffdf7;
  color: var(--ink);
  border: 1.5px solid var(--gold);
}
.floating-whatsapp {
  right: 18px;
  padding: 0 24px;
  background: #25d366;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.65);
}
.floating-whatsapp svg { width: 25px; height: 25px; flex: 0 0 auto; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .brand span { display: none; }
  .main-nav { order: 3; width: 100%; justify-content: center; overflow-x: auto; padding: 2px 0 4px; }
  .lang-switch { margin-left: auto; }
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer img { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  body { padding-bottom: 92px; }
  .site-header { min-height: 76px; padding: 10px 12px; }
  .brand img { width: 50px; height: 50px; }
  .main-nav { gap: 14px; justify-content: flex-start; }
  .main-nav a { font-size: .9rem; }
  .lang-switch { padding: 7px 8px; }
  .hero { min-height: auto; padding: 28px 12px 34px; }
  .hero-card { border-radius: 24px; padding: 22px 14px; }
  .hero h1 { font-size: clamp(2.05rem, 14vw, 3.3rem); letter-spacing: -.06em; }
  .hero-proof { gap: 8px; }
  .google-pill, .trust-pill { width: 100%; min-height: 42px; padding: 9px 12px; font-size: .92rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .reviews-section, .tours-section, .about-section { padding: 30px 12px; }
  .reviews-wrap, .about-card { border-radius: 22px; padding: 18px 14px; }
  .review-buttons { width: 100%; }
  .review-buttons .btn { width: 100%; }
  .tour-grid { grid-template-columns: 1fr; gap: 16px; }
  .tour-card { min-height: 230px; border-radius: 18px; }
  .floating-reserve, .floating-whatsapp { bottom: 12px; min-height: 52px; font-size: .88rem; }
  .floating-reserve { left: 10px; width: calc(50vw - 18px); padding: 0 8px; }
  .floating-whatsapp { right: 10px; width: calc(50vw - 18px); padding: 0 8px; }
  .floating-whatsapp svg { width: 23px; height: 23px; }
  .tour-modal { padding: 10px; align-items: end; }
  .tour-modal__panel { max-height: 90vh; border-radius: 22px 22px 0 0; }
  .tour-modal__panel img { height: 230px; }
  .tour-modal__actions { flex-direction: column; }
  .tour-modal__actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .main-nav a { font-size: .82rem; }
  .floating-reserve span, .floating-whatsapp span { font-size: .82rem; }
  .floating-whatsapp { gap: 6px; }
}



/* V55 refinements: clean mobile nav, stable floating CTAs, no modal on home */
.site-header { overflow: visible; }
.brand span { letter-spacing: -.02em; }
.hero-proof { max-width: 720px; }
.google-pill { white-space: nowrap; }
.tour-link:focus-visible, .btn:focus-visible, .floating-reserve:focus-visible, .floating-whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 980px) {
  .site-header { align-items: center; }
  .main-nav { background: rgba(255,255,255,.52); border: 1px solid rgba(216,167,45,.35); border-radius: 999px; padding: 6px 8px; }
  .main-nav a { padding: 7px 10px; border-radius: 999px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 86px; }
  .site-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; }
  .brand { gap: 7px; }
  .brand span { display: inline; font-size: .92rem; max-width: 96px; white-space: normal; line-height: 1.05; }
  .brand img { width: 46px; height: 46px; }
  .lang-switch { grid-column: 3; grid-row: 1; margin-left: 0; padding: 6px 7px; }
  .main-nav { grid-column: 1 / -1; order: 0; width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; gap: 6px; border-radius: 16px; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { flex: 0 0 auto; font-size: .82rem; padding: 7px 9px; background: rgba(255,253,247,.72); }
  .hero { padding: 22px 10px 30px; }
  .hero-card { gap: 12px; border-radius: 22px; padding: 20px 12px; }
  .hero-logo { width: 78px; height: 78px; border-radius: 20px; }
  .hero h1 { font-size: clamp(2rem, 12vw, 3.05rem); }
  .hero-subtitle { font-size: .98rem; }
  .google-pill, .trust-pill { width: 100%; min-height: 42px; padding: 9px 10px; font-size: .9rem; }
  .google-g { width: 25px; height: 25px; }
  .hero-actions .btn { width: 100%; min-height: 48px; }
  .floating-reserve, .floating-whatsapp { bottom: 12px; min-height: 52px; height: 52px; font-size: .84rem; border-radius: 999px; }
  .floating-reserve { display: inline-flex; left: 10px; width: calc(50vw - 16px); padding: 0 8px; }
  .floating-whatsapp { right: 10px; width: calc(50vw - 16px); padding: 0 8px; gap: 6px; }
  .floating-whatsapp svg { width: 22px; height: 22px; }
  .tour-card { min-height: 235px; }
}

@media (max-width: 380px) {
  .brand span { max-width: 78px; font-size: .84rem; }
  .main-nav a { font-size: .78rem; padding: 6px 8px; }
  .floating-reserve, .floating-whatsapp { font-size: .78rem; }
  .floating-whatsapp svg { width: 20px; height: 20px; }
}
