/* ===========================================================================
   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%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* ===========================================================================
   FONT IMPORT & ROOT VARIABLES (with fallbacks)
============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary: #005377;
  --secondary: #38b4e7;
  --accent: #f3f9fd;
  --base-bg: #fdfdfb;
  --text-main: #26333a;
  --text-muted: #677280;
  --border: #e6e8ea;
  --shadow: 0 2px 8px 0 rgba(36,51,58,0.05);
  --radius: 14px;
  --font-display: 'Montserrat', serif, Arial, sans-serif;
  --font-body: 'Roboto', serif, Arial, sans-serif;
  --transition: 0.22s cubic-bezier(.22,1,.36,1);
}

body {
  font-family: var(--font-body);
  background-color: var(--base-bg);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* ===========================================================================
   TYPOGRAPHY (Elegant Classic)
============================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}
p, ul, ol, table, blockquote {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
em {
  font-style: italic;
  color: var(--text-muted);
}

/* Elegant links */
a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: none;
}
.button-primary, .button-secondary {
  font-family: var(--font-display);
  border: none;
  border-radius: var(--radius);
  padding: 15px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,83,119,0.06);
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  outline: none;
  display: inline-block;
  margin-top: 10px;
}
.button-primary {
  background-color: var(--primary);
  color: #fff;
}
.button-primary:hover, .button-primary:focus {
  background-color: var(--secondary);
  color: var(--text-main);
  box-shadow: 0 4px 18px rgba(56,180,231,0.18);
}
.button-secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.button-secondary:hover, .button-secondary:focus {
  background-color: var(--primary);
  color: #fff;
}

/* ===========================================================================
   CONTAINER & SPACING (Elegant, Spacious)
============================================================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper, .text-section {
  width: 100%;
  margin: 0 auto;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===========================================================================
   HEADER & NAV (Elegant Bar, Responsive)
============================================================================ */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px 0 rgba(36,51,58,0.03);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 18px 20px 18px 20px;
}
header a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
  margin-right: 18px;
  transition: color var(--transition);
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
header nav a:last-child {
  margin-right: 0;
}
header .button-primary {
  margin-left: auto;
  margin-right: 10px;
  margin-top: 0;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  margin-left: 12px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background-color: var(--accent);
  color: var(--secondary);
}
/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,53,77,0.10);
  z-index: 200;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 28px 26px 24px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  align-self: flex-end;
  font-size: 2rem;
  color: var(--primary);
  padding: 3px 12px;
  margin-bottom: 22px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color var(--transition), color var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent);
  color: var(--secondary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.07rem;
  padding: 12px;
  border-radius: 9px;
  transition: background-color var(--transition), color var(--transition);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--secondary);
}

/* Hide desktop menu, show burger on mobile */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .button-primary {
    margin-left: auto;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===========================================================================
   FLEXBOX LAYOUTS – CRITICAL FOR CONTENT (NO GRID)
============================================================================ */
.feature-grid, .service-grid, .card-container, .card-grid, .content-grid, .feature-list, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.card-container, .card-grid {
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 10px 32px rgba(56,180,231,0.10);
  transform: translateY(-7px) scale(1.01);
}
.content-grid, .feature-list {
  gap: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--accent);
  color: var(--text-main);
  padding: 20px 28px 20px 28px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px #e8eff3ba;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
  border: 1px solid var(--border);
}
.testimonial-card p {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card div {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.faq-accordion h2 {
  cursor: pointer;
  font-size: 1.18rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.faq-accordion h2:hover, .faq-accordion h2:focus {
  color: var(--secondary);
}
.faq-accordion p {
  font-size: 1rem;
  margin-bottom: 12px;
}

/* CTA Strip section */
section .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
section .content-wrapper p {
  margin-bottom: 0;
}

/* ===========================================================================
   TABLES (Pricing etc)
============================================================================ */
table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
thead {
  background: var(--primary);
}
thead th {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 10px;
}
tbody td, tbody th {
  text-align: left;
  padding: 12px 10px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(even) {
  background: var(--accent);
}

/* ===========================================================================
   FOOTER
============================================================================ */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 36px;
  padding-bottom: 36px;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #fff;
  opacity: 0.95;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  text-decoration: underline;
  transition: color 0.18s;
}
footer nav a:hover,footer nav a:focus {
  color: var(--secondary);
}
footer img {
  width: 42px;
  height: auto;
  margin-bottom: 12px;
  filter: brightness(95%) grayscale(10%);
}
footer p, footer a {
  font-size: 1rem;
}
footer a {
  color: var(--secondary);
  opacity: 1;
}
footer a:hover,footer a:focus {
  color: #fff;
}

/* ===========================================================================
   COOKIE CONSENT BANNER & MODAL
============================================================================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  background: #fff;
  color: var(--primary);
  border-top: 2px solid var(--secondary);
  box-shadow: 0 -6px 32px rgba(0,83,119,0.18);
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  gap: 22px;
  animation: banner-in 0.48s cubic-bezier(.22,1,.36,1);
}
@keyframes banner-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  flex: 1 1 auto;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-banner-btn {
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--secondary);
  background: var(--secondary);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.cookie-banner-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-banner-btn.reject:hover, .cookie-banner-btn.reject:focus {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-banner-btn.settings {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  background: var(--primary);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(0.98);
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 12px 60px 0 rgba(36,51,58,0.19);
  padding: 36px 32px 24px 32px;
  z-index: 4100;
  min-width: 320px;
  max-width: 96vw;
  min-height: 240px;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cookie-modal-in 0.36s cubic-bezier(.22,1,.36,1);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translate(-50%, -72%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -60%) scale(0.98); }
}
.cookie-modal h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 11px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 34px;
  height: 20px;
  background: var(--accent);
  border: 1.5px solid var(--primary);
  border-radius: 11px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--secondary);
  border-color: var(--secondary);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.23s cubic-bezier(.22,1,.36,1);
}
.cookie-modal .cookie-toggle:checked::before {
  left: 17px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 19px;
}
.cookie-modal .cookie-actions button {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  opacity: 0.7;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  opacity: 1;
  color: var(--secondary);
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 8px;
    padding: 18px 8px;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 24px 9px 18px 16px;
  }
}

/* ===========================================================================
   RESPONSIVE DESIGN
============================================================================ */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .content-wrapper, .text-section {
    padding: 8px 0;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .content-wrapper, .text-section {
    padding: 4px 0;
  }
  .feature-grid, .service-grid, .card-container, .card-grid, .content-grid, .feature-list, .faq-accordion {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 39px;
  }
  section .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .testimonials {
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .section {
    padding: 14px 2px;
    margin-bottom: 25px;
  }
  .button-primary, .button-secondary {
    padding: 12px 8vw;
    font-size: 1rem;
  }
}

/* General utility */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* ===========================================================================
   AVAILABILITY CALENDAR / SPECIAL BLOCKS
============================================================================ */
.availability-calendar {
  padding: 16px 24px;
  background: var(--accent);
  border-radius: 11px;
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 20px;
  margin-top: 8px;
}

.embedded-map {
  background: var(--accent);
  padding: 16px 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--text-muted);
}

/* ===========================================================================
   FORM BASICS (if any forms added in future)
============================================================================ */
input, select, textarea {
  font-family: var(--font-body);
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-main);
  font-size: 1rem;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
}
label {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

/* ===========================================================================
   MICRO INTERACTIONS
============================================================================ */
.card, .testimonial-card, .feature-item {
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:focus-within, .card:hover {
  box-shadow: 0 8px 24px rgba(56,180,231,0.13);
  border-color: var(--secondary);
  transform: translateY(-3px);
}
.testimonial-card:focus-within, .testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(0,83,119,0.08);
  border-color: var(--secondary);
}
.button-primary:active, .button-secondary:active {
  transform: scale(0.98);
}

/* touch target for tap links */
a, button, .button-primary, .button-secondary {
  min-height: 42px;
  min-width: 42px;
}

/* ===========================================================================
   ELEGANT CLASSIC EFFECTS & BORDERS
============================================================================ */
.section, .card, .testimonial-card, .availability-calendar, .embedded-map {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.icon {
  width: 34px;
  height: 34px;
  margin-right: 14px;
}

/* ===========================================================================
   COLOR ADJUSTMENTS FOR SECTIONS
============================================================================ */
.section {
  background: #fff;
  border: 1px solid var(--border);
}

.feature-grid > div, .service-grid > div, .feature-list > div {
  background: var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 26px 20px;
  flex: 1 1 220px;
  min-width: 200px;
  transition: box-shadow var(--transition), border-color var(--transition);
  border: 1px solid var(--border);
}
.feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 6px 24px rgba(56,180,231,0.15);
  border-color: var(--secondary);
}

/* ===========================================================================
   SEARCH & FAQ SUGGESTIONS
============================================================================ */
.search-faq {
  margin-top: 22px;
  padding: 20px 14px;
  background: var(--accent);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.search-faq h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

/* ===========================================================================
   ACCESSIBILITY & FOCUS
============================================================================ */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

/* ===========================================================================
   ADDITIONAL SPACING BETWEEN CARDS/SECTIONS
============================================================================ */
.card, .testimonial-card, .feature-grid > div, .service-grid > div {
  margin-bottom: 20px;
}
.section:not(:last-of-type) {
  margin-bottom: 60px;
}

/* ===========================================================================
   END OF STYLES
============================================================================ */
