/*
Theme Name: MA Tours
Theme URI: https://example.com/ma-tours
Author: MA Tours
Author URI: https://example.com
Description: A modern travel agency WordPress theme for MA Tours – Albania day trips, multi-day tours, private transfers and Balkan packages. Features a tour search hero, featured packages, trust badges, destination showcase, testimonials, and booking form.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ma-tours
Tags: travel, tourism, custom-logo, custom-menu, featured-images, full-width-template, one-column
*/

/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --mat-primary:       #0b6f68;
  --mat-primary-dark:  #074f4b;
  --mat-accent:        #f5a524;
  --mat-accent-dark:   #c97a05;
  --mat-ink:           #17312f;
  --mat-muted:         #64716f;
  --mat-line:          #dfe8e5;
  --mat-soft:          #f3f8f6;
  --mat-white:         #ffffff;
  --mat-radius:        10px;
  --mat-radius-lg:     16px;
  --mat-shadow:        0 20px 50px rgba(17,49,47,.13);
  --mat-shadow-soft:   0 8px 24px rgba(17,49,47,.08);
  --mat-font:          "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mat-shell-width:   min(1180px, calc(100% - 40px));
}

/* ─── Reset & base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--mat-ink);
  background: var(--mat-white);
  font-family: var(--mat-font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(245,165,36,.8);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Accessibility */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -5rem;
  z-index: 10000;
  padding: .75rem 1.25rem;
  background: var(--mat-accent);
  color: #101010;
  border-radius: var(--mat-radius);
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ─── Layout shell ──────────────────────────────────────────────────────── */
.mat-shell {
  width: var(--mat-shell-width);
  margin: 0 auto;
}

/* ─── Top bar ───────────────────────────────────────────────────────────── */
.mat-topbar {
  background: var(--mat-primary-dark);
  color: rgba(255,255,255,.84);
  font-size: .82rem;
}
.mat-topbar .mat-shell {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mat-topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.mat-topbar a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .18s;
}
.mat-topbar a:hover { color: var(--mat-accent); }
.mat-topbar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.mat-topbar-whatsapp svg { flex-shrink: 0; }

/* ─── Header / Nav ──────────────────────────────────────────────────────── */
.mat-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(223,232,229,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mat-nav {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.mat-brand, .custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--mat-ink);
  text-decoration: none;
  flex-shrink: 0;
}
.mat-brand {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.mat-brand-mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--mat-primary);
  color: var(--mat-white);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: -.02em;
}
.custom-logo-link img { max-height: 50px; width: auto; }

.mat-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.mat-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .75rem;
  border-radius: 8px;
  color: var(--mat-ink);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.mat-menu a:hover {
  background: var(--mat-soft);
  color: var(--mat-primary);
}
.mat-menu .book-link a {
  padding: 0 1.1rem;
  background: var(--mat-accent);
  color: #17201e;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245,165,36,.3);
}
.mat-menu .book-link a:hover {
  background: #ffb93e;
  color: #17201e;
  box-shadow: 0 6px 20px rgba(245,165,36,.38);
}

.mat-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 48px;
  min-height: 44px;
  padding: 0 .9rem;
  border: 1.5px solid var(--mat-line);
  border-radius: 9px;
  background: transparent;
  color: var(--mat-ink);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.mat-menu-toggle:hover {
  background: var(--mat-soft);
  border-color: var(--mat-primary);
}
.mat-menu-toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mat-menu-toggle-icon span {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.mat-hero {
  position: relative;
  min-height: clamp(460px, 62svh, 580px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--mat-white);
  background: #0a312f;
}
.mat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5,33,31,.92) 0%, rgba(5,33,31,.55) 50%, rgba(5,33,31,.22) 100%),
    url("assets/images/hero-albania.webp") center 35% / cover no-repeat;
}
/* Fallback for browsers without WebP */
.no-webp .mat-hero::before {
  background:
    linear-gradient(100deg, rgba(5,33,31,.92) 0%, rgba(5,33,31,.55) 50%, rgba(5,33,31,.22) 100%),
    url("assets/images/hero-albania.png") center 35% / cover no-repeat;
}
.mat-hero .mat-shell {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
}
.mat-hero-copy { max-width: 680px; }
.mat-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .9rem;
  color: #ffd98a;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.mat-kicker::before {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--mat-accent);
  border-radius: 2px;
}
.mat-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 800;
}
.mat-hero > .mat-shell > .mat-hero-copy > p {
  max-width: 580px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.85);
  font-size: clamp(.96rem, 1.5vw, 1.12rem);
  line-height: 1.65;
}
.mat-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.mat-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 0 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--mat-radius);
  font-size: .93rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.mat-btn:hover { transform: translateY(-2px); }
.mat-btn:active { transform: translateY(0); }
.mat-btn-primary {
  background: var(--mat-accent);
  color: #17201e;
  box-shadow: 0 8px 24px rgba(245,165,36,.25);
}
.mat-btn-primary:hover {
  background: #ffb93e;
  box-shadow: 0 14px 32px rgba(245,165,36,.35);
}
.mat-btn-light {
  background: rgba(255,255,255,.12);
  color: white;
  border-color: rgba(255,255,255,.38);
}
.mat-btn-light:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.65);
}
.mat-btn-outline {
  background: transparent;
  color: var(--mat-primary);
  border-color: var(--mat-primary);
}
.mat-btn-outline:hover {
  background: var(--mat-primary);
  color: white;
}

/* ─── Search panel ──────────────────────────────────────────────────────── */
.mat-search-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: .75rem;
  align-items: end;
  margin-top: 1.75rem;
  padding: 1.1rem;
  border-radius: var(--mat-radius-lg);
  background: rgba(255,255,255,.97);
  color: var(--mat-ink);
  box-shadow: 0 24px 56px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}
.mat-field label {
  display: block;
  margin-bottom: .38rem;
  color: var(--mat-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mat-field input,
.mat-field select,
.mat-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 .9rem;
  border: 1.5px solid var(--mat-line);
  border-radius: var(--mat-radius);
  background: #fff;
  color: var(--mat-ink);
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  -webkit-appearance: none;
}
.mat-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364716f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  padding-right: 2.5rem;
}
.mat-field textarea {
  min-height: 120px;
  padding-top: .85rem;
  resize: vertical;
}
.mat-field input:focus,
.mat-field select:focus,
.mat-field textarea:focus {
  border-color: var(--mat-primary);
  box-shadow: 0 0 0 4px rgba(11,111,104,.1);
  outline: none;
}
.mat-search-panel .mat-btn { min-height: 48px; border-width: 0; }

/* ─── Sections ──────────────────────────────────────────────────────────── */
.mat-section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.mat-section-soft { background: var(--mat-soft); }
.mat-section-dark {
  background: var(--mat-primary-dark);
  color: white;
}
.mat-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.mat-eyebrow {
  margin: 0 0 .5rem;
  color: var(--mat-primary);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.mat-section-dark .mat-eyebrow { color: #ffd98a; }
.mat-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800;
}
.mat-section-lede {
  max-width: 600px;
  margin: .9rem 0 0;
  color: var(--mat-muted);
  font-size: 1.03rem;
  line-height: 1.65;
}
.mat-section-dark .mat-section-lede { color: rgba(255,255,255,.72); }

/* ─── Benefits ──────────────────────────────────────────────────────────── */
.mat-benefits-section { padding-top: 0; margin-top: -2.5rem; position: relative; z-index: 2; }
.mat-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.mat-benefit {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--mat-line);
  border-radius: var(--mat-radius);
  background: var(--mat-white);
  box-shadow: var(--mat-shadow-soft);
  transition: transform .2s, box-shadow .2s;
}
.mat-benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--mat-shadow);
}
.mat-benefit-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: #fff4dc;
  color: var(--mat-accent-dark);
}
.mat-benefit-icon svg { width: 22px; height: 22px; }
.mat-benefit h3 {
  margin: 0 0 .4rem;
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.3;
}
.mat-benefit p {
  margin: 0;
  color: var(--mat-muted);
  font-size: .88rem;
  line-height: 1.55;
}

/* ─── Tour picker ───────────────────────────────────────────────────────── */
.mat-tour-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 320px));
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 2.25rem;
}
.mat-tour-filter {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid var(--mat-line);
  border-radius: var(--mat-radius);
  background: var(--mat-white);
  color: var(--mat-ink);
  box-shadow: var(--mat-shadow-soft);
  cursor: pointer;
  text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .18s, background .18s, color .18s;
}
.mat-tour-filter-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  border-radius: 12px;
  background: #fff4dc;
  color: #875b00;
  font-size: .82rem;
  font-weight: 800;
  transition: background .18s, color .18s;
}
.mat-tour-filter-icon svg { width: 24px; height: 24px; }
.mat-tour-filter strong,
.mat-tour-filter small { display: block; }
.mat-tour-filter strong { font-size: .99rem; font-weight: 700; line-height: 1.2; }
.mat-tour-filter small { margin-top: .28rem; color: var(--mat-muted); font-size: .79rem; font-weight: 500; }
.mat-tour-filter:hover,
.mat-tour-filter.is-active {
  border-color: var(--mat-primary);
  background: var(--mat-primary);
  color: var(--mat-white);
  box-shadow: 0 12px 36px rgba(11,111,104,.25);
  transform: translateY(-2px);
}
.mat-tour-filter:hover small,
.mat-tour-filter.is-active small { color: rgba(255,255,255,.76); }
.mat-tour-filter:hover .mat-tour-filter-icon,
.mat-tour-filter.is-active .mat-tour-filter-icon { background: var(--mat-accent); color: #17201e; }

/* ─── Tour grid & cards ─────────────────────────────────────────────────── */
.mat-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.mat-tour-grid-hidden { display: none !important; }
.mat-tour-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mat-line);
  border-radius: var(--mat-radius-lg);
  background: var(--mat-white);
  box-shadow: var(--mat-shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.mat-tour-card:hover {
  border-color: rgba(11,111,104,.25);
  box-shadow: var(--mat-shadow);
  transform: translateY(-4px);
}
.mat-tour-card[hidden] { display: none; }
.mat-tour-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--mat-soft);
}
.mat-tour-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.mat-tour-card:hover .mat-tour-media img { transform: scale(1.06); }
.mat-pill, .mat-rating {
  position: absolute;
  top: .9rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.mat-pill {
  left: .9rem;
  background: var(--mat-accent);
  color: #1a211f;
}
.mat-rating {
  right: .9rem;
  background: rgba(255,255,255,.95);
  color: var(--mat-primary-dark);
  backdrop-filter: blur(4px);
}
.mat-tour-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}
.mat-tour-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-bottom: .65rem;
  color: var(--mat-muted);
  font-size: .8rem;
  font-weight: 600;
}
.mat-tour-meta-sep { color: var(--mat-line); }
.mat-tour-body h3 {
  margin: 0 0 .55rem;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 700;
}
.mat-tour-body p {
  margin: 0 0 1rem;
  color: var(--mat-muted);
  font-size: .88rem;
  line-height: 1.6;
}
.mat-tour-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--mat-line);
}
.mat-price {
  color: var(--mat-primary);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.mat-price small {
  display: block;
  color: var(--mat-muted);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 0;
}
.mat-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--mat-primary);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s, gap .18s;
}
.mat-link::after { content: "→"; transition: transform .18s; }
.mat-link:hover { color: var(--mat-accent-dark); }
.mat-link:hover::after { transform: translateX(3px); }

/* ─── About ─────────────────────────────────────────────────────────────── */
.mat-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.mat-about-photo {
  min-height: 480px;
  border-radius: var(--mat-radius-lg);
  background: url("assets/images/about-collage.webp") center/cover no-repeat;
  box-shadow: var(--mat-shadow);
  position: relative;
}
.no-webp .mat-about-photo {
  background-image: url("assets/images/about-collage.png");
}
.mat-about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.mat-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.mat-checks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
  border: 1px solid var(--mat-line);
  border-radius: var(--mat-radius);
  background: var(--mat-white);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}
.mat-checks li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--mat-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── Destinations ──────────────────────────────────────────────────────── */
.mat-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
}
.mat-destination {
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: var(--mat-radius-lg);
  color: white;
  text-decoration: none;
  background: #0b312f;
}
.mat-destination::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,38,36,.88) 0%, rgba(7,38,36,.08) 60%), var(--image) center/cover no-repeat;
  transition: transform .6s ease;
}
.mat-destination:hover::before { transform: scale(1.06); }
.mat-destination::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  z-index: 2;
}
.mat-destination span {
  position: relative;
  z-index: 3;
  padding: 1.2rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.mat-destination-arrow {
  position: absolute;
  right: 1rem; bottom: 1.15rem;
  z-index: 3;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  transition: background .2s, transform .2s;
}
.mat-destination:hover .mat-destination-arrow {
  background: var(--mat-accent);
  transform: translate(2px, -2px);
}
.mat-destination-arrow svg { width: 14px; height: 14px; color: white; }

/* ─── Reviews ───────────────────────────────────────────────────────────── */
.mat-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.mat-review {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--mat-radius-lg);
  background: rgba(255,255,255,.06);
  transition: background .2s;
}
.mat-review:hover { background: rgba(255,255,255,.09); }
.mat-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: .9rem;
  color: var(--mat-accent);
  font-size: 1.05rem;
}
.mat-review blockquote {
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  line-height: 1.65;
  font-style: italic;
}
.mat-review-author {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.mat-review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.mat-review strong { color: white; font-size: .9rem; font-weight: 700; }
.mat-review-country { display: block; color: rgba(255,255,255,.5); font-size: .75rem; margin-top: .1rem; }

/* ─── Booking / Contact ─────────────────────────────────────────────────── */
.mat-booking-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.mat-contact-card {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--mat-radius);
  background: rgba(255,255,255,.06);
}
.mat-contact-card p { margin: 0 0 .65rem; font-size: .93rem; color: rgba(255,255,255,.82); }
.mat-contact-card p:last-child { margin-bottom: 0; }
.mat-contact-card strong { color: white; }
.mat-contact-card a { color: rgba(255,255,255,.9); text-decoration: none; transition: color .18s; }
.mat-contact-card a:hover { color: var(--mat-accent); }

.mat-booking-form {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--mat-radius-lg);
  background: white;
  color: var(--mat-ink);
  box-shadow: 0 24px 56px rgba(0,0,0,.18);
}
.mat-booking-form .mat-field { margin-bottom: .85rem; }
.mat-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .85rem;
}
.mat-booking-form .mat-btn {
  width: 100%;
  margin-top: .6rem;
  border-width: 0;
  min-height: 52px;
  font-size: 1rem;
}
.mat-form-status {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-radius: var(--mat-radius);
  background: #eaf8ef;
  color: #14562a;
  font-size: .9rem;
  font-weight: 600;
}
.mat-form-status-error { background: #fff1ed; color: #8c2b17; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.mat-footer {
  padding: 3rem 0 2rem;
  background: #062825;
  color: rgba(255,255,255,.68);
}
.mat-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mat-footer-brand {
  margin: 0 0 .75rem;
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.mat-footer-desc { margin: 0; font-size: .9rem; line-height: 1.6; }
.mat-footer h3 {
  margin: 0 0 1rem;
  color: white;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.mat-footer ul { margin: 0; padding: 0; list-style: none; }
.mat-footer li { margin-bottom: .55rem; }
.mat-footer li:last-child { margin-bottom: 0; }
.mat-footer a {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  text-decoration: none;
  transition: color .18s;
}
.mat-footer a:hover { color: var(--mat-accent); }
.mat-copyright {
  margin-top: 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.42);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ─── Inner pages ───────────────────────────────────────────────────────── */
.mat-page { padding: 4rem 0; }
.mat-page h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  letter-spacing: -.04em;
  font-weight: 800;
}

/* ─── Animations ────────────────────────────────────────────────────────── */
@keyframes mat-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mat-hero-copy { animation: mat-fadein .65s ease both; }
.mat-search-panel { animation: mat-fadein .65s .12s ease both; }

/* ─── Responsive: tablet (≤980px) ──────────────────────────────────────── */
@media (max-width: 980px) {
  .mat-menu-toggle { display: inline-flex; }
  .mat-header { position: relative; }
  .mat-nav { position: relative; flex-wrap: wrap; min-height: 64px; }
  .mat-menu {
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 6px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem;
    border: 1.5px solid var(--mat-line);
    border-radius: var(--mat-radius-lg);
    background: white;
    box-shadow: var(--mat-shadow);
    z-index: 100;
  }
  .mat-menu.is-open { display: flex; }
  .mat-menu a { min-height: 48px; padding: 0 1rem; border-radius: 8px; }
  .mat-menu .book-link { margin-top: .35rem; }
  .mat-menu .book-link a { justify-content: center; }
  .mat-search-panel,
  .mat-booking-grid { grid-template-columns: 1fr; }
  .mat-about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mat-benefits { grid-template-columns: repeat(2, 1fr); }
  .mat-tour-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mat-destination-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mat-review-grid { grid-template-columns: repeat(2, minmax(0,1fr)) }
  .mat-about-photo { min-height: 360px; }
  .mat-benefits-section { margin-top: 0; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
  .mat-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Responsive: mobile (≤640px) ──────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --mat-shell-width: calc(100% - 28px); }
  .mat-topbar .mat-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
    padding: .55rem 0;
    min-height: auto;
  }
  .mat-topbar-links { gap: .75rem; }
  .mat-nav { min-height: 120px; }
  .mat-brand-mark { width: 34px; height: 34px; }
  .mat-hero { min-height: clamp(480px, 70svh, 580px); }
  .mat-hero .mat-shell { padding: 2rem 0 1.5rem; }
  .mat-hero h1 { font-size: clamp(2rem, 10vw, 2.9rem); }
  .mat-hero-actions { gap: .65rem; }
  .mat-hero-actions .mat-btn,
  .mat-search-panel .mat-btn { width: 100%; }
  .mat-search-panel { padding: .9rem; }
  .mat-benefits { grid-template-columns: 1fr; }
  .mat-tour-picker { grid-template-columns: 1fr; }
  .mat-tour-grid { grid-template-columns: 1fr; }
  .mat-destination-grid { grid-template-columns: 1fr 1fr; }
  .mat-review-grid { grid-template-columns: 1fr; }
  .mat-checks { grid-template-columns: 1fr; }
  .mat-form-row { grid-template-columns: 1fr; }
  .mat-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .mat-section-head { flex-direction: column; align-items: flex-start; }
  .mat-tour-foot { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .mat-about-photo { min-height: 280px; }
  .mat-destination { min-height: 220px; }
  .mat-copyright { flex-direction: column; gap: .4rem; }
}

/* ─── Reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ─── Scrolled header (JS adds .is-scrolled) ────────────────────────────── */
.mat-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(17,49,47,.1);
}
