/* ---------- CSS RESET (modern normalize) ---------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, a, img, nav, table, th, td, tr, thead, tbody, tfoot, section, main {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* ---------- CUSTOM PROPERTIES (with fallbacks) ---------- */
:root {
  --color-primary: #28566A;
  --color-secondary: #F6F7FB;
  --color-accent: #FFB75E;
  --color-bg: #fff;
  --color-text: #233140;
  --color-muted: #7b8ca1;
  --color-card-bg: #fff;
  --color-border: #e6e8ef;
  --color-shadow: rgba(40,86,106,0.06);
  --color-footer-bg: #e7edf1;
  --color-nav-bg: #ffffff;

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

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 2px 8px var(--color-shadow);
}

/* Fallback font-face */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

/* ---------- BASE TYPOGRAPHY ---------- */
body {
  font-family: var(--font-body, 'Roboto', Arial, sans-serif);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, .h1 {
  font-family: var(--font-display, 'Montserrat', Arial, sans-serif);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: var(--font-display, 'Montserrat', Arial, sans-serif);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: var(--font-display, 'Montserrat', Arial, sans-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: var(--font-display, 'Montserrat', Arial, sans-serif);
  font-weight: 600;
  font-size: 1.07rem;
  color: var(--color-text);
}
p, ul, ol, dl {
  margin-bottom: 16px;
  font-size: 1rem;
}
small, .small-print {
  font-size: 0.9rem;
  color: var(--color-muted);
}

b, strong {
  font-weight: 700;
}

em {
  font-style: italic;
  color: var(--color-muted);
}

.subheadline {
  color: var(--color-muted);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 22px;
}

/* ---------- LAYOUT CONTAINERS ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- FLEX SPACING ALIGNMENT PATTERNS ---------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(40,86,106,0.09);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-secondary);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 420px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(40,86,106,0.11);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px 18px 18px;
  min-width: 210px;
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-item:hover {
  box-shadow: 0 6px 20px rgba(40,86,106,0.12);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
  background: var(--color-nav-bg);
  border-bottom: 1.5px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(40,86,106,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 73px;
}
.logo img {
  height: 43px;
  display: block;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.main-nav .cta-primary,
.cta-primary {
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  padding: 8px 20px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 1.5px 8px rgba(255,183,94,0.09);
  margin-left: 8px;
  letter-spacing: 0.025em;
  border: none;
  outline: none;
  display: inline-block;
}
.main-nav .cta-primary:hover,
.cta-primary:hover {
  background: #ffa53a;
  color: #fff;
  box-shadow: 0 4px 24px rgba(255,183,94,0.15);
  transform: translateY(-2px) scale(1.02);
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  margin-left: 10px;
  cursor: pointer;
  z-index: 102;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-accent);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  background: var(--color-nav-bg);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.86,0,0.07,1);
  z-index: 1002;
  box-shadow: 0 8px 42px rgba(40,86,106,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  margin: 28px 22px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 42px 0 0 34px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  padding: 11px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: var(--radius);
  width: fit-content;
  min-width: 80vw;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(120deg, #F6F7FB 65%, #eaf3f7 100%);
  padding: 50px 0 60px 0;
  margin-bottom: 50px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  text-align: center;
  align-items: center;
  gap: 18px;
}
.hero h1 {
  font-size: 2.4rem;
}

/* ---------- FEATURES (Index+Gallery/About) ---------- */
.features {
  margin-bottom: 48px;
  padding: 40px 0;
}
.features .content-wrapper > h2 {
  text-align: center;
}
.features ul, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.features ul li, .feature-item {
  flex: 1 1 220px;
  max-width: 340px;
}
.features ul li {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* ---------- SERVICES SECTION ---------- */
.services-preview, .services-list {
  margin-bottom: 40px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.services-list li {
  background: var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 19px;
  min-width: 220px;
  margin-bottom: 18px;
  font-size: 1rem;
  flex: 1 1 260px;
  transition: box-shadow 0.18s;
}
.services-list li a {
  display: inline-block;
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 5px;
  font-weight: 500;
  border-bottom: 1.5px solid var(--color-accent);
  transition: color 0.16s, border 0.18s;
}
.services-list li a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-primary);
}

.service-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 14px 0;
}
.service-categories-list li {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  min-width: 220px;
  font-size: 1rem;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.service-categories-list img {
  width: 38px;
  height: 38px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: #f8fafc;
  padding: 40px 0 20px 0;
  margin-bottom: 38px;
}
.testimonials h1, .testimonials h2 {
  text-align: center;
  margin-bottom: 28px;
}
.testimonial-list {
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: var(--color-text);
  margin-bottom: 12px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-muted);
  font-style: italic;
}

/* ---------- CONTACT & MAP SECTIONS ---------- */
.contact-info, .booking-form-preview, .map {
  margin-bottom: 48px;
  padding: 38px 0 0 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section p img {
  vertical-align: middle;
  margin-right: 8px;
  height: 24px;
  width: 24px;
}
address {
  font-style: normal;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* ---------- PRICING TABLE ---------- */
.pricing {
  margin-bottom: 40px;
  padding: 40px 0 0 0;
}
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 22px;
  background: var(--color-card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
thead {
  background: var(--color-primary);
}
thead tr th {
  color: #fff;
  font-size: 1rem;
  padding: 15px 12px;
  text-align: left;
  font-weight: 700;
}
tbody tr {
  border-bottom: 1px solid var(--color-border);
}
tbody tr:last-child {
  border-bottom: none;
}
td {
  color: var(--color-text);
  padding: 13px 12px;
  font-size: 1rem;
}

/* ---------- FAQ STYLES ---------- */
.faq {
  margin-bottom: 48px;
  padding: 38px 0 0 0;
}
dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.11rem;
  color: var(--color-primary);
  margin-top: 22px;
  margin-bottom: 4px;
}
dd {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--color-text);
  margin-left: 10px;
}

/* ---------- LEGAL SECTION STYLES ---------- */
.legal {
  margin-bottom: 48px;
  padding: 38px 0 0 0;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--color-footer-bg);
  padding: 0;
  border-top: 1.5px solid var(--color-border);
}
.footer-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 33px 16px 23px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-wrapper a img {
  height: 40px;
  margin-bottom: 4px;
}
.footer-wrapper > a {
  display: flex;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 19px;
  align-items: center;
}
.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--color-primary);
  padding: 5px 8px;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  display: block;
  filter: grayscale(10%);
  opacity: 0.78;
  transition: filter 0.18s, opacity 0.18s;
}
.footer-social a:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- BUTTONS & LINKS ---------- */
button,
input[type="submit"],
.cta-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  border: none;
  padding: 10px 22px;
  box-shadow: 0 1.5px 8px rgba(255,183,94,0.09);
  min-width: 125px;
  margin-top: 8px;
  transition: background 0.2s, box-shadow 0.18s, color 0.18s, transform 0.2s;
}
button:hover,
.cta-primary:hover {
  background: #ffa53a;
  color: #fff;
  box-shadow: 0 4px 24px rgba(255,183,94,0.15);
  transform: translateY(-1.5px) scale(1.02);
}
button:active {
  background: #ff970d;
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff7ed;
  color: var(--color-text);
  box-shadow: 0 -1px 24px rgba(40,86,106,0.07);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2000;
  animation: slideUpModal 0.32s cubic-bezier(0.55,0,0.6,1);
}
.cookie-banner .cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-banner button, .cookie-banner .cta-primary {
  min-width: 110px;
  font-size: 0.97rem;
  padding: 7px 14px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  border: none;
  margin: 0;
  transition: background 0.18s, color 0.18s,
    box-shadow 0.18s, transform 0.18s;
}
.cookie-banner .cookie-banner-btn-reject {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.cookie-banner .cookie-banner-btn-reject:hover {
  background: #eaf3f7;
  color: var(--color-accent);
}
.cookie-banner .cookie-banner-btn-settings {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner .cookie-banner-btn-settings:hover {
  background: #ffa53a;
}
.cookie-banner .cookie-banner-btn-accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-banner-btn-accept:hover {
  background: #224b5d;
}

/* ---------- COOKIE SETTINGS MODAL ---------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,86,106,0.17);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.2s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 68px rgba(40,86,106,0.18);
  min-width: 310px;
  max-width: 95vw;
  width: 400px;
  padding: 32px 24px 21px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  animation: slideUpModal 0.28s;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--color-muted);
  margin: -9px -8px 7px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  color: var(--color-accent);
}
.cookie-modal-section {
  margin-bottom: 12px;
}
.cookie-modal-section label {
  font-size: 1rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 6px;
}
.cookie-modal-section input[type=checkbox] {
  width: 19px;
  height: 19px;
  accent-color: var(--color-accent);
  margin-right: 4px;
}
.cookie-modal-section .cookie-switch-disabled {
  opacity: 0.56;
  pointer-events: none;
}
.cookie-modal-section .desc {
  font-size: 0.98rem;
  color: var(--color-muted);
  margin-left: 27px;
  margin-top: 2px;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-modal-footer button {
  min-width: 110px;
  padding: 7px 14px;
  font-size: 1rem;
  border-radius: var(--radius);
}

/* ---------- ANIMATIONS ---------- */
@keyframes slideUpModal {
  from { transform: translateY(28px) scale(0.98); opacity: 0.7; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- UTILITIES ---------- */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

.text-center { text-align: center !important; }
.text-muted { color: var(--color-muted) !important; }

/* ---------- RESPONSIVE DESIGN (MOBILE-FIRST) ---------- */
@media (max-width: 900px) {
  .container, .footer-wrapper {
    max-width: 98vw;
    padding: 0 8px;
  }
  .footer-wrapper { flex-direction: column; align-items: stretch; gap: 18px; }
  header .container { height: 67px; }
}

@media (max-width: 768px) {
  :root { font-size: 15px; }
  header .container {
    flex-direction: row;
    height: 60px;
    gap: 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 34px 0 37px 0;
    margin-bottom: 34px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .content-wrapper {
    gap: 12px;
  }
  .feature-grid, .features ul, .testimonials .testimonial-list, .card-container, .content-grid, .service-categories-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-list { gap: 18px; }
  .testimonial-card { max-width: 100%; min-width: unset; }
  .feature-item, .features ul li, .service-categories-list li { min-width: unset; max-width: 100%; }
}

@media (max-width: 520px) {
  :root { font-size: 14px; }
  .container, .footer-wrapper {
    padding: 0 3vw;
    width: 100vw;
    min-width: 0;
  }
  .section { padding: 26px 4vw; margin-bottom: 38px; }
  .hero { padding: 20px 0 24px 0; margin-bottom: 18px; }
  .footer-wrapper { padding: 15px 3vw 7px 3vw; }
  .feature-item,
  .card, .features ul li, .service-categories-list li,
  .testimonial-card, .services-list li {
    padding: 16px 10px 13px 10px;
  }
}

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