/* ==========================
  RESET & BASE TYPOGRAPHY
============================= */
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,
b, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #223a57;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #b37e1d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #e1b565;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
img {
  max-width: 100%;
  display: block;
}
hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 32px 0;
}

/* ==========================
       BRAND COLORS
============================= */
:root {
  --primary: #223a57;
  --secondary: #f5f7fa;
  --accent: #b37e1d;
  --bg-light: #ffffff;
  --gray-200: #e8ebf0;
  --gray-300: #d0d5d9;
  --gray-600: #60708a;
  --shadow-sm: 0 2px 8px 0 rgba(34,58,87,.07);
  --shadow-md: 0 4px 20px 0 rgba(34,58,87,.12);
}

/* ==========================
      FONTS
============================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500&display=swap');
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--primary);
}
h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}
p, li {
  font-size: 1rem;
  color: #223a57;
}
.subheadline, .subtitle {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #60708a;
  margin-bottom: 16px;
}

/* Artistic Touch: Headline Handwritten Effect */
h1, .artistic-headline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #b37e1d 33%, #223a57 88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================
      GENERAL CONTAINERS
============================= */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

/* ==========================
         HEADER & NAV
============================= */
header {
  background: var(--bg-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 18px;
}
.logo img {
  height: 42px;
  width: auto;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
nav.main-nav a {
  color: var(--primary);
  padding: 6px 2px;
  border-radius: 5px;
  transition: background .2s, color .2s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  background: var(--accent);
  color: #fff;
}

/* Main CTAs */
.btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  display: inline-block;
  border-radius: 28px;
  border: none;
  padding: 12px 28px;
  font-size: 1.1rem;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(179,126,29,.10);
  margin-left: 12px;
  position: relative;
  transition: background 0.16s, box-shadow 0.16s, transform 0.16s;
}
.btn:focus {
  outline: 2px solid var(--primary);
}
.btn.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #ca9c36;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(34,58,87,.17);
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--primary);
  cursor: pointer;
  display: none;
  margin-left: 16px;
  padding: 4px 10px;
  border-radius: 7px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--gray-200);
}

/* Mobile Nav Styles */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,58,87, 0.73);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.36s cubic-bezier(.8,.2,0,1) 0s;
  display: flex;
  align-items: flex-start;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 36px;
  z-index: 1230;
  background: var(--bg-light);
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  padding: 8px 14px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  background: var(--bg-light);
  border-radius: 0 30px 30px 0;
  box-shadow: 0 0 60px #0c1624a9;
  width: 84vw;
  max-width: 350px;
  height: 100vh;
  padding: 48px 36px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  transform: translateX(-30px);
  transition: transform 0.26s cubic-bezier(.8,.2,0,1);
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-nav a {
  padding: 12px 0;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
  width: 100%;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}

/* Hide main nav and btn on mobile */
@media (max-width: 998px) {
  nav.main-nav,
  .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==========================
        HERO SECTION
============================= */
.hero {
  width: 100%;
  padding: 50px 0 36px 0;
  background: linear-gradient(90deg,#f6fafc,#c6e7f7 55%,#f5f7fa 100%);
  position: relative;
  overflow: hidden;
}
.hero .container {
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  z-index: 1;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 6px;
}
.hero .subheadline {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.hero .btn {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* ==========================
    FEATURE LISTS/GRID
============================= */
.feature-grid,
.article-grid,
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature,
.city-card {
  flex: 1 1 280px;
  min-width: 258px;
  max-width: 350px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 30px 24px 34px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
  overflow: hidden;
  z-index: 10;
}
.feature img,
.city-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px #b37e1d18);
}
.feature:hover,
.city-card:hover {
  box-shadow: 0 8px 26px 0 rgba(179,126,29,0.18);
  transform: translateY(-6px) scale(1.02);
}
.city-card ul {
  margin: 0;
  padding: 0 0 0 15px;
}
.city-card li {
  margin-bottom: 10px;
  list-style: disc inside;
  color: #223a57;
}
.city-card h3 {
  margin-top: 0;
}

@media (max-width: 820px) {
  .feature-grid, .article-grid, .city-grid {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .feature, .city-card {
    min-width: 100%;
    max-width: 100%;
  }
  .feature-grid, .article-grid, .city-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ==========================
         TESTIMONIALS
============================= */
.testimonial-slider,
.content-wrapper .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.testimonial-card {
  flex: 1 1 290px;
  min-width: 240px;
  background: #fff;
  color: #223a57;
  box-shadow: var(--shadow-md);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  color: #223a57;
}
.testimonial-meta {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: .95rem;
  color: var(--accent);
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(34,58,87,0.16);
  transform: translateY(-4px) scale(1.01);
}

/* ==========================
    CALL TO ACTION SECTIONS
============================= */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(90deg, #f5d484 40%, #fffcb7 100%);
  border-radius: 28px;
  box-shadow: 0 8px 18px 0 rgba(179,126,29,0.10);
  padding: 38px 26px;
  gap: 18px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.cta h2 {
  color: var(--primary);
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.cta .btn {
  margin-top: 12px;
}

/* ==========================
         FOOTER
============================= */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 22px 0;
  margin-top: 60px;
  font-size: 0.96rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.23rem;
  font-weight: 700;
}
.footer-brand img {
  height: 32px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  opacity: .93;
  transition: color 0.16s, opacity 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact div {
  color: #fffde5;
  opacity: 0.98;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .98rem;
}
.footer-contact img {
  height: 18px;
  opacity: .88;
  margin-right: 2px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* ==========================
    CONTACT & MISC STYLES
============================= */
.contact-details {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 32px 28px 28px 28px;
  gap: 22px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section p {
  display: flex;
  align-items: center;
  gap: 12px;
}
.text-section img {
  width: 22px;
  height: 22px;
  opacity: .92;
}
.note {
  background: #f6e6c5;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 14px 22px;
  color: #8d6430;
  font-size: .98rem;
  margin: 12px 0 0 0;
}
.success-message {
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 24px 0 #c7d2ea38;
  padding: 52px 20px;
  margin: 30px 0;
}
.success-message h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}
.success-message .subtitle {
  font-size: 1.1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  background: #fff;
  color: #223a57;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -6px 36px -12px #223a5720;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 34px;
  gap: 26px;
  font-size: 1rem;
  max-width: 100vw;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s cubic-bezier(.83,0,.24,1.13);
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 8px 0 #b37e1d17;
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  background: #223a57;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--accent);
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 12px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 2510;
  background: #fff;
  color: #223a57;
  border-radius: 20px;
  box-shadow: 0 16px 40px 0 rgba(34,58,87,0.18);
  max-width: 97vw;
  width: 420px;
  padding: 40px 32px 30px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .25s cubic-bezier(.8,.2,0,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1rem;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}
.cookie-modal h2 {
  font-size: 1.4rem;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}
.cookie-modal .category-label {
  flex: 1 1 0%;
  font-size: 1rem;
}
.cookie-modal .category-toggle {
  width: 44px;
  height: 22px;
  border-radius: 14px;
  background: var(--gray-200);
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .category-toggle[data-enabled="true"] {
  background: var(--accent);
}
.cookie-modal .category-toggle::before {
  content: '';
  display: block;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 3px;
  transition: left 0.18s;
  box-shadow: 0 1px 3px 0 #aaa3;
}
.cookie-modal .category-toggle[data-enabled="true"]::before {
  left: 23px;
}
.cookie-modal .category-desc {
  font-size: .97rem;
  color: #60708a;
  margin-left: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal .close-modal-btn {
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--accent);
}
.cookie-modal .close-modal-btn:hover {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 22px 7vw 18px 7vw;
    width: 98vw;
  }
}

/* ==========================
          RESPONSIVE
============================= */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 8vw;
  }
  .feature, .city-card, .cta, .contact-details {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 39px;
    padding: 25px 6px;
  }
  .content-wrapper, .testimonial-slider {
    gap: 13px;
  }
  .feature, .city-card, .contact-details {
    padding: 22px 11px;
    font-size: .97rem;
  }
  .cta {
    padding: 22px 3vw;
    font-size: 1rem;
  }
  .hero h1, h1 {
    font-size: 1.7rem;
  }
  .hero .subheadline,
  .subheadline,
  .subtitle {
    font-size: 1.06rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 5vw;
  }
  .content-wrapper, .testimonial-slider {
    flex-direction: column;
    gap: 10px;
  }
  .feature, .city-card, .cta, .contact-details {
    min-width: 100%;
    border-radius: 13px;
    margin-bottom: 16px;
    padding: 10px 4vw 14px 4vw;
  }
  .testimonial-card {
    min-width: 0;
    padding: 12px 7px;
    border-radius: 12px;
  }
  .footer-brand img {
    height: 22px;
  }
  .success-message {
    padding: 24px 2vw;
    margin: 18px 0;
  }
  .hero {
    padding-top: 26px;
    padding-bottom: 18px;
  }
}

/* Flex horizontal align sections on wide screens */
@media (min-width: 800px) {
  .content-wrapper.text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}
@media (max-width: 799px) {
  .text-image-section {
    flex-direction: column;
  }
}

/* ==========================
          UNIQUE ARTISTIC ELEMENTS
============================= */
/* Micro Brush-style accent line below artistic headings */
.artistic-headline, h1.artistic-headline {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.artistic-headline::after, h1.artistic-headline::after {
  content: '';
  display: block;
  height: 9px;
  width: 62%;
  background: var(--accent);
  opacity: .34;
  border-radius: 12px 20px 8px 14px / 24px 12px 8px 20px;
  position: absolute;
  left: 0;
  bottom: -6px;
  pointer-events: none;
  z-index: -2;
}

/* Features with border accent (for artistic contrast) */
.feature {
  border-left: 7px solid var(--accent);
  border-top: 1.5px solid #ece1cc;
  background: linear-gradient(95deg, #fff 86%, #ffedab 100%);
}
.city-card {
  border-left: 7px solid var(--primary);
  border-top: 1.5px solid #e2e9f5;
  background: linear-gradient(88deg, #fff 92%, #c9e3f4 100%);
}

/* Subtle floating SVG icon background for hero */
.hero::before {
  content: '';
  display: block;
  position: absolute;
  right: -120px;
  top: -66px;
  width: 320px;
  height: 320px;
  background: url('../assets/hero-art.svg') no-repeat bottom right;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* Subtle card hover tilt and fade in */
.feature, .city-card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.25s cubic-bezier(.75,.01,.25,1.3);
  will-change: transform;
}
.feature:hover, .city-card:hover, .testimonial-card:hover {
  transform: translateY(-4px) rotate(-1deg) scale(1.012);
}

/* ==========================
   CUSTOM FLEXBOX SPACING
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Utility: spacing for all cards/sections */
section, .section, .card, .testimonial-card, .feature {
  margin-bottom: 20px;
}

/* ==========================
      ARTISTIC MICROANIMATIONS
============================= */
.btn, button, .card, .feature, .city-card, .cta, .nav a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.btn:active, button:active {
  transform: scale(.97);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
  z-index: 15;
}

/* ==========================
         DARK MODE (Optional)
============================= */
@media (prefers-color-scheme: dark) {
  body {
    background: #131d2a;
    color: #f5f7fa;
  }
  .feature, .city-card, .testimonial-card, .cta, .contact-details, .success-message, .footer-brand {
    background: #1a2532;
    color: #f5f7fa;
    border-color: #323a48;
  }
  .section, section {
    background: #14213d;
  }
  nav.main-nav a, .footer-nav a, .footer-contact div {
    color: #f5f7fa;
  }
  .btn {
    color: #fff;
  }
}
