/* ====================== CSS RESET & NORMALIZE ====================== */
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;
}
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  height: 100%;
  line-height: 1.5;
  min-height: 100vh;
  background: #fff;
  color: #191919;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button {
  font-family: inherit;
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
:focus {
  outline: 2px solid #191919;
  outline-offset: 2px;
}

/* ====================== VARIABLES ====================== */
:root {
  --color-primary: #191919;
  --color-secondary: #666;
  --color-brand: #20405A;
  --color-brand-light: #9AB3C7;
  --color-accent: #E3E7EB;
  --color-white: #fff;
  --color-black: #000;
  --color-card-bg: #fafbfc;
  --color-footer-bg: #222;
  --color-border: #eee;

  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;

  --radius-xs: 4px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;

  --shadow-xs: 0 1px 2px rgba(25,25,25,0.04);
  --shadow-s: 0 2px 8px rgba(25,25,25,0.06);
  --shadow-m: 0 4px 24px rgba(25,25,25,0.10);
  --shadow-lg: 0 10px 30px 0 rgba(32,64,90,0.14);
}

/* ====================== TYPOGRAPHY ====================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary);
  background: var(--color-white);
  font-weight: 400;
  letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 24px;
  font-family: var(--font-body);
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}
strong {
  font-weight: 600;
}
ul {
  list-style-type: disc;
  margin-left: 22px;
  margin-bottom: 18px;
}
ol {
  list-style-type: decimal;
  margin-left: 24px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
address {
  font-style: normal;
  color: var(--color-secondary);
  line-height: 1.6;
  margin-top: 8px;
  font-size: 0.96rem;
}

/* Typography scale on larger screens */
@media (min-width: 800px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 1.3rem; }
  .subheadline { font-size: 1.35rem; }
}

/* ====================== LAYOUT & CONTAINER ====================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
}
@media (min-width: 900px) {
  .section {
    padding: 60px 0;
  }
}

/* ====================== HEADER ====================== */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: var(--shadow-xs);
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 26px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.06rem;
  color: var(--color-primary);
  border-radius: var(--radius-xs);
  padding: 6px 12px;
  transition: background 0.18s, color 0.18s;
}
header nav a.cta {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  border-radius: var(--radius-m);
  margin-left: 16px;
  padding: 10px 24px;
  box-shadow: var(--shadow-xs);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: var(--color-brand);
  color: var(--color-accent);
  box-shadow: var(--shadow-s);
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--color-primary);
  border: none;
  margin-left: 16px;
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ====================== MOBILE NAVIGATION ====================== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(34,34,34,0.95);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.38s cubic-bezier(0.5,0.1,0.1,1), opacity 0.2s;
  transform: translateX(100%);
  opacity: 0;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  color: var(--color-accent);
  background: none;
  margin: 22px 24px 12px 0;
  border-radius: var(--radius-xs);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 30px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--color-accent);
  padding: 12px 0 12px 8px;
  border-radius: var(--radius-s);
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (min-width: 901px) {
  .mobile-menu { display: none!important; }
}

/* ====================== HERO SECTIONS ====================== */
.hero, .guide-hero, .urban-hero, .contact-hero, .reviews-hero, .thank-you-message {
  background: linear-gradient(110deg, #fff 70%, #f1f2f3 100%);
  padding: 60px 0 32px;
}
.hero h1, .guide-hero h1, .urban-hero h1, .contact-hero h1, .reviews-hero h1, .thank-you-message h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--color-primary);
  letter-spacing: -1px;
}
@media (min-width: 750px) {
  .hero, .guide-hero, .urban-hero, .contact-hero, .reviews-hero, .thank-you-message {
    padding: 90px 0 50px;
  }
  .hero h1, .guide-hero h1, .urban-hero h1, .contact-hero h1, .reviews-hero h1, .thank-you-message h1 {
    font-size: 3.0rem;
  }
}

/* ====================== FLEXBOX CONTENT LAYOUTS ====================== */
.features, .city-features, .step-guides {
  margin-bottom: 60px;
}
.feature-grid, .city-grid, .step-guide-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 12px;
}
.feature-grid li, .city-block, .card {
  background: var(--color-accent);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-xs);
  padding: 22px 22px 18px 22px;
  color: var(--color-primary);
  min-width: 190px;
  font-family: var(--font-body);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 210px;
  transition: box-shadow 0.18s, transform 0.18s, background 0.22s;
  margin-bottom: 0;
}
.feature-grid li img, .city-block img {
  width: 28px;
  height: 28px;
  filter: grayscale(80%) contrast(1.2);
  flex-shrink: 0;
}
.feature-grid li:hover, .city-block:hover, .card:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-m);
  transform: translateY(-6px) scale(1.025);
}
.city-grid {
  gap: 24px;
}
.city-block {
  min-width: 180px;
}
.step-guide-cards {
  gap: 24px;
  justify-content: flex-start;
}
.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-card-bg);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-xs);
  padding: 32px 18px 24px 22px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow 0.18s, transform 0.18s, background 0.22s;
  margin-bottom: 20px;
  position: relative;
}
.card a {
  color: var(--color-brand);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 16px;
  text-decoration: underline;
  transition: color 0.16s;
}
.card a:hover, .card a:focus {
  color: var(--color-primary);
}
@media (max-width: 900px) {
  .feature-grid, .city-grid, .step-guide-cards {
    flex-direction: column;
  }
  .feature-grid li, .city-block, .card {
    width: 100%;
    min-width: 0;
  }
}

/* Flexible two-column (text-image style) section for future use */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ====================== TESTIMONIALS / REVIEWS ====================== */
.testimonials .testimonial-card, .reviews-hero .testimonial-card {
  background: var(--color-white);
  border: 1px solid #e3e7eb;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 1.05rem;
  max-width: 650px;
  transition: box-shadow 0.16s;
  min-width: 0;
}
.testimonial-card p {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 1.06rem;
}
.testimonial-card strong {
  color: var(--color-brand);
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.testimonial-card span {
  letter-spacing: 2.5px;
  color: #f2b01e;
  font-size: 1.1rem;
  font-family: var(--font-display);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-lg);
}

/* Special readable testimonial area (guaranteed on light bg, high contrast) */
.testimonials, .review-cta {
  background: var(--color-accent);
  padding: 46px 0 38px;
}

/* ====================== CTA BUTTONS ====================== */
.cta {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--color-brand);
  color: var(--color-white) !important;
  font-size: 1.18rem;
  font-weight: 600;
  border-radius: var(--radius-l);
  padding: 14px 36px;
  box-shadow: var(--shadow-s);
  margin: 24px 0 12px 0;
  transition: background 0.18s, box-shadow 0.2s, color 0.13s, transform 0.17s;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: var(--color-primary);
  color: var(--color-accent) !important;
  box-shadow: var(--shadow-m);
  transform: translateY(-2px) scale(1.03);
  border: 2px solid var(--color-brand-light);
}

/* ====================== FOOTER ====================== */
footer {
  background: var(--color-footer-bg);
  color: var(--color-accent);
  padding: 50px 0 30px 0;
  width: 100%;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-white);
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-accent);
  font-size: 1rem;
}
.brand-footer img {
  height: 38px;
  width: auto;
  margin-bottom: 6px;
  filter: grayscale(1) brightness(90%);
}
.brand-footer span {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* ====================== FLEX SPACING/ALIGNMENT CONTAINERS ====================== */
.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;
}

/* ====================== COOKIE CONSENT BANNER ====================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-black);
  color: var(--color-accent);
  z-index: 3500;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 18px 18px 18px;
  box-shadow: 0px -4px 20px 0px rgba(32,64,90,0.08);
  animation: banner-slide-in 0.6s cubic-bezier(0.5,0.1,0.1,1);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0.0; }
  to   { transform: translateY(0); opacity: 1.0; }
}
.cookie-banner p {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 14px;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: var(--radius-m);
  border: none;
  cursor: pointer;
  background: var(--color-brand);
  color: var(--color-white);
  transition: background 0.18s, color 0.18s;
  margin-top: 4px;
}
.cookie-btn.accept {
  background: var(--color-brand);
  color: var(--color-white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid #bbb;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-white);
  color: var(--color-brand);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-brand-light);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-brand-light);
  color: var(--color-primary);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3650;
  background: rgba(32,40,55,0.80);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.22s;
}
@media (min-width: 700px) {
  .cookie-modal-overlay { align-items: center; }
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lg);
  padding: 32px 30px 28px 30px;
  margin: 26px auto;
  max-width: 420px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modal-pop-in 0.36s cubic-bezier(0.55,0.16,0.35,1);
}
@keyframes modal-pop-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--color-brand);
  margin-bottom: 6px;
}
.cookie-modal ul {
  margin-bottom: 0;
  margin-top: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.08rem;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-toggle {
  position: relative;
  width: 46px;
  height: 24px;
  background: #e8e8e8;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 4px; top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #bbb;
  transition: left 0.19s, background 0.16s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-brand);
  left: 25px;
}
.cookie-category.essential .cookie-toggle {
  background: #dee2e7;
  cursor: not-allowed;
  filter: grayscale(1);
}
.cookie-category.essential label { font-weight: bold; }
.cookie-modal .cookie-actions {
  margin-top: 7px;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #888;
  cursor: pointer;
  position: absolute;
  top: 13px; right: 13px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-brand);
}

/* =============== RESPONSIVE LAYOUT BREAKPOINTS ============== */
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.13rem; }
  .section, .hero, .guide-hero, .urban-hero, .contact-hero, .reviews-hero, .thank-you-message {
    padding-left: 12px;
    padding-right: 12px;
  }
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
}

/* ============== ADDITIONAL POLISH & MICRO ANIMATIONS ================= */
.cta, .btn, .cookie-btn, .mobile-nav a, header nav a {
  transition: background 0.17s, color 0.14s, box-shadow 0.18s, transform 0.18s;
}
.card, .city-block, .feature-grid li {
  will-change: box-shadow, transform;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-brand);
  outline-offset: 1px;
}

/* ======= ADDITIONAL ELEMENT/CLASS UTILITIES & SPACING RULES ======= */
main > section {
  margin-bottom: 64px;
}
@media (max-width: 600px) {
  main > section { margin-bottom: 40px; }
}
.section:last-child, main > section:last-child {
  margin-bottom: 0;
}

/* ======= PREVENT OVERLAP, GAPS IN CARDS/SECTIONS ======= */
.card, .city-block, .feature-grid li,
.testimonial-card, .step-guide-cards .card {
  margin-right: 0;
  margin-bottom: 20px;
}
.card:last-child, .city-block:last-child, .feature-grid li:last-child {
  margin-bottom: 0;
}

/* ============= ALIGNMENT FOR FLEX COMPONENTS ============= */
.features, .services, .testimonials, .contact-cta, .about, .team, .mission-vision, .reviews-hero, .step-guides, .review-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.features .content-wrapper, .services .content-wrapper,
.testimonials .content-wrapper, .contact-cta .content-wrapper,
.about .content-wrapper, .team .content-wrapper,
.mission-vision .content-wrapper, .review-cta .content-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* ============= FORM ELEMENT STYLES (for future expansion) =========== */
input, textarea {
  border: 1px solid #e1e4ea;
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  background: var(--color-white);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border: 1.7px solid var(--color-brand);
}

/* =================== URBAN SOPHISTICATED COLOR PALETTE =================== */
.card, .city-block, .feature-grid li, .step-guide-cards .card {
  background: linear-gradient(95deg, #fafbfc 90%, #ececec 100%);
  border: 1.5px solid #e5e5e8;
}

/* =================== MISC =================== */
::-webkit-scrollbar {
  width: 8px;
  background: #f0f1f3;
}
::-webkit-scrollbar-thumb {
  background: #d4dae1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

/* ============== PRINT STYLES ============== */
@media print {
  header, .mobile-menu, .cookie-banner, footer {
    display: none !important;
  }
  main, body {
    background: #fff !important;
    color: #000 !important;
  }
}
