/* ===================== CSS RESET & NORMALIZATION ===================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #22324A;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
:focus {
  outline: 2px solid #FD7E2A;
  outline-offset: 2px;
}

/* ========================= ROOT/VARIABLES ============================ */
:root {
  --ucb-primary: #22324A;
  --ucb-secondary: #F3E6DA;
  --ucb-accent: #FD7E2A;
  --ucb-bg: #fff;
  --ucb-muted: #f7f7f7;
  --ucb-shadow: 0 2px 18px rgba(34,50,74,0.04), 0 1.5px 5px rgba(34,50,74,0.07);
  --ucb-radius: 14px;
  --ucb-radius-sm: 8px;
}

/* ========================= TYPOGRAPHY SCALE ========================== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--ucb-primary);
  margin-bottom: 16px;
  line-height: 1.12;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ucb-primary);
  margin-bottom: 14px;
  line-height: 1.15;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ucb-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--ucb-primary);
  margin-bottom: 8px;
}
p, ul, ol, li {
  font-family: 'Lato', Arial, sans-serif;
  color: #22324A;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
p.subheadline {
  font-size: 1.18rem;
  margin-bottom: 20px;
  color: #22324A;
  opacity: 0.86;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
}
strong {
  font-weight: 600;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 1.7rem; }
  h2, .h2 { font-size: 1.4rem; }
  h3, .h3 { font-size: 1.15rem; }
}

/* ========================== GENERIC ========================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  align-items: flex-start;
}
.text-section {
  max-width: 750px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ======================= HEADER & NAVIGATION ======================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 10px rgba(34, 50, 74, 0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 14px 0;
  position: relative;
}

.nav-header img {
  max-width: 170px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

.main-nav a {
  color: var(--ucb-primary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--ucb-radius-sm);
  transition: background 0.16s, color 0.17s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--ucb-secondary);
  color: var(--ucb-accent);
}

.main-nav .cta {
  background: var(--ucb-accent);
  color: #fff !important;
  padding: 8px 24px;
  border-radius: var(--ucb-radius-sm);
  margin-left: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(253,126,42,0.08);
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #f36209;
  color: #fff;
  box-shadow: 0 3px 16px rgba(253,126,42,0.13);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--ucb-primary) !important;
  cursor: pointer;
  margin-left: 16px;
  height: 44px;
  width: 48px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  background: var(--ucb-secondary);
}

/* == MOBILE MENU == */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,50,74,0.92);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,.2,.31,1), background 0.25s;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 80px 34px 32px 34px;
  background: #fff;
  max-width: 310px;
  width: 95vw;
  min-height: 100vh;
  box-shadow: var(--ucb-shadow);
  border-radius: var(--ucb-radius) 0 0 var(--ucb-radius);
}
.mobile-nav a {
  color: var(--ucb-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 500;
  padding: 10px 0 10px 8px;
  border-radius: var(--ucb-radius-sm);
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--ucb-secondary);
  color: var(--ucb-accent);
}
.mobile-nav a.cta {
  background: var(--ucb-accent);
  color: #fff !important;
  font-weight: 700;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--ucb-radius-sm);
  box-shadow: 0 2px 10px rgba(253,126,42,0.10);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--ucb-primary);
  cursor: pointer;
  z-index: 2;
}
.mobile-menu-close:focus {
  background: var(--ucb-secondary);
  border-radius: var(--ucb-radius-sm);
}

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* ======================== HERO SECTION ============================= */
.hero-section {
  background: var(--ucb-secondary);
  padding: 60px 0 50px 0;
  margin-bottom: 52px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0;
}
.hero-section h1 {
  text-align: center;
  color: var(--ucb-primary);
  max-width: 670px;
}
.hero-section .subheadline {
  color: #22324A;
  text-align: center;
  max-width: 590px;
}
.hero-section .cta {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 36px 0 26px 0;
  }
  .hero-section h1, .hero-section .subheadline {
    text-align: left;
  }
}

/* ===================== FEATURE & SERVICE LISTS ===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
.feature-grid li {
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 330px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 18px;
  background: var(--ucb-muted);
  border-radius: var(--ucb-radius-sm);
  box-shadow: 0 2px 14px rgba(34,50,74,0.03);
  font-size: 1.01rem;
  color: var(--ucb-primary);
  margin-bottom: 0;
  transition: box-shadow 0.17s, background 0.17s;
}
.feature-grid li img {
  width: 40px; min-width: 40px; height: 40px; object-fit: contain;
  margin-right: 6px;
}
.feature-grid li span {
  display: block;
  font-family: 'Lato', Arial, sans-serif;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 4px 26px rgba(34,50,74,0.10);
  background: #fff;
}

.service-list, .tour-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}
.service-list li, .tour-list li {
  background: var(--ucb-muted);
  border-radius: var(--ucb-radius-sm);
  padding: 18px 20px;
  margin-bottom: 0;
  min-width: 220px;
  flex: 1 1 230px;
  max-width: 330px;
  box-shadow: var(--ucb-shadow);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--ucb-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  transition: box-shadow 0.18s, background 0.17s;
}
.service-list li:hover, .tour-list li:hover {
  box-shadow: 0 4px 24px rgba(34,50,74,0.13);
  background: #fff;
}
.service-price {
  color: var(--ucb-accent);
  font-weight: 600;
  font-size: 1.13rem;
}

@media (max-width: 900px) {
  .feature-grid, .service-list, .tour-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .service-list li, .tour-list li {
    max-width: 100%;
    width: 100%;
  }
}

/* ======================== TESTIMONIAL CARDS ========================= */
.testimonial-slider, .testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-slider {
  width: 100%;
  margin-bottom: 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 26px;
  background: #fff;
  border-radius: var(--ucb-radius);
  box-shadow: 0 2px 20px rgba(34,50,74,0.07);
  margin-bottom: 20px;
  transition: box-shadow 0.15s, background 0.13s;
  font-size: 1.02rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 28px rgba(253,126,42,0.09);
  background: var(--ucb-secondary);
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-size: 0.98rem;
  opacity: 0.85;
}
.stars {
  color: var(--ucb-accent);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 16px 12px;
  }
}

/* ==================== CONTACT, MAP & SOCIAL BLOCKS ================== */
.contact-info, .footer-social, .legal-links, .footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 0;
}
.contact-info > div {
  flex: 1 1 230px;
  min-width: 230px;
  margin-bottom: 8px;
}
.contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
}
.contact-info a {
  color: var(--ucb-primary);
  border-bottom: 1px dotted var(--ucb-accent);
  transition: color 0.18s, border-bottom-color 0.16s;
}
.contact-info a:hover, .contact-info a:focus {
  color: var(--ucb-accent);
  border-bottom: 1px solid var(--ucb-accent);
}
.map-location {
  margin-bottom: 18px;
}
.opening-hours h3 {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .contact-info, .footer-social, .legal-links, .footer-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* ========================== BUTTONS & CTAs ========================== */
.cta, .btn, button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--ucb-accent);
  color: #fff !important;
  padding: 10px 28px;
  border-radius: var(--ucb-radius-sm);
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .01em;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(253,126,42,0.07);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
.cta:hover, .btn:hover, button:hover,
.cta:focus, .btn:focus, button:focus {
  background: #f36209;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(253,126,42,0.14);
}

/* ============================= FOOTER =============================== */
footer {
  padding: 46px 0 20px 0;
  background: var(--ucb-secondary);
  font-size: 0.98rem;
  color: var(--ucb-primary);
  border-top: 1px solid #eee;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  max-width: 90px;
  margin-bottom: 8px;
}
.footer-brand {
  max-width: 220px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--ucb-primary);
  padding: 3px 0 3px 0;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--ucb-accent);
}
.legal-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.97rem;
}
.legal-links a {
  color: #22324A;
}
.legal-links a:hover, .legal-links a:focus {
  color: var(--ucb-accent);
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  opacity: 0.86;
  transition: opacity 0.17s, filter 0.18s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.13) drop-shadow(0 4px 8px #FD7E2A11);
  opacity: 1;
}

@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* ========================== COOKIE BANNER =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 18px rgba(34,50,74,0.06);
  padding: 22px 20px 22px 20px;
  z-index: 12000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.99rem;
  transition: transform 0.27s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  color: var(--ucb-primary);
  flex: 1 1 220px;
  max-width: 700px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-left: 8px;
}
.cookie-btn-accept {
  background: var(--ucb-accent);
  color: #fff;
}
.cookie-btn-reject {
  background: #fff;
  color: var(--ucb-primary) !important;
  border: 1.5px solid #22324A;
}
.cookie-btn-settings {
  background: var(--ucb-secondary);
  color: var(--ucb-primary) !important;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #f36209;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  border-color: var(--ucb-accent);
  color: var(--ucb-accent);
}
/* ==== Cookie modal ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12345;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,50,74,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  min-width: 320px;
  max-width: 90vw;
  padding: 34px 28px 28px 28px;
  border-radius: var(--ucb-radius);
  box-shadow: 0 8px 50px rgba(34,50,74,0.13);
  color: var(--ucb-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(60px);
  transition: transform 0.2s;
}
.cookie-modal-overlay.active .cookie-modal {
  transform: translateY(0);
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ucb-accent);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 24px 10px;
  }
}

/* =================== FLEX UTILITY CLASSES (MANDATORY) ================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--ucb-radius-sm);
  box-shadow: var(--ucb-shadow);
  padding: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================== SPACING RULES =========================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 34px;
    padding: 26px 0;
  }
}

/* ========================= MICRO-INTERACTIONS ========================= */
.card, .feature-grid li, .service-list li, .tour-list li, .testimonial-card {
  transition: box-shadow 0.18s, background 0.16s, transform 0.17s;
}
.card:hover, .feature-grid li:hover, .service-list li:hover, .tour-list li:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.018);
  box-shadow: 0 10px 38px rgba(34,50,74,0.14);
}

/* ========================== FORMS (if present) ========================= */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  border: 1px solid #dadada;
  border-radius: var(--ucb-radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  width: 100%;
  background: #fff;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--ucb-accent);
}

/* ================ PAGE-SPECIFIC: .thank-you ==================== */
.thank-you {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

/* =================== ACCESSIBILITY & SELECTION =================== */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2.5px solid var(--ucb-accent);
  outline-offset: 2.5px;
}
::selection {
  background: var(--ucb-accent);
  color: #fff;
}

/* =================== CUSTOM SCROLLBAR FOR MODALS =================== */
.cookie-modal ::-webkit-scrollbar {
  width: 7px;
  background: var(--ucb-secondary);
}
.cookie-modal ::-webkit-scrollbar-thumb {
  background: #e7e0d1;
  border-radius: 6px;
}

/* =================== MISC MINIMALIST EXTRAS =================== */
hr {
  border: none;
  border-top: 1.5px solid #ececec;
  margin: 28px 0;
}

/* ============== Z-INDEX for overlays, nav, banners ============== */
.header, header { z-index: 30; }
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 12000; }
.cookie-modal-overlay { z-index: 12345; }

/* ============== Prevent content overlapping ============= */
main, .container, section, .content-wrapper, .card, .testimonial-card, .feature-grid, .service-list, .tour-list {
  position: relative;
  z-index: 1;
}

/* ==== END OF CSS ==== */
