/* =====================================================
   1. CSS RESET & NORMALIZATION (mobile-first)
   ===================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  background: #F0F3F6;
  color: #18587A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}
a {
  color: #18587A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AC8000;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
hr {
  border: none;
  border-top: 1px solid #E0E5EA;
  margin: 32px 0;
}

/* ===============================
   2. BASE TYPOGRAPHY
   =============================== */
h1, .h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.6rem;
  color: #18587A;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
  line-height: 1.18;
}

h2, .h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: #AC8000;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  color: #18587A;
  font-weight: 600;
  margin-bottom: 8px;
}
h4, .h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #32597A;
  margin-bottom: 14px;
}
.subheadline {
  font-size: 1.18rem;
  font-family: 'Oswald', sans-serif;
  color: #AC8000;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.text-section p, .content-wrapper p {
  margin-bottom: 12px;
}

strong, b { color: #18587A; font-weight: 700; }

/* ===============================
   3. CONTAINERS & LAYOUTS
   =============================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(24, 88, 122, 0.07); /* subtle shadow */
  padding: 32px 22px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #ffffff;
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 14px 0 rgba(24, 88, 122, 0.07);
  transition: transform 0.18s, box-shadow 0.22s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(218,165,32,0.16);
}

.content-grid, .service-list, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.service-list, .feature-grid {
  margin-top: 16px;
  margin-bottom: 8px;
}

.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;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(24,88,122,0.07);
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
}
.testimonial-card p {
  color: #21273a;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #AC8000;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F0F3F6;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(218,165,32,0.07);
  gap: 15px;
  padding: 22px 18px;
  min-width: 200px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.22s;
}
.feature-item:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 26px 0 rgba(218,165,32,0.18);
  background: #fffbe5;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 4px #AC800022);
}
.feature-item h3 {
  margin-bottom: 4px;
}
.feature-item p {
  margin-bottom: 0;
}

.service-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 9px 0 rgba(24,88,122,0.07);
  padding: 20px 16px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 350px;
  min-width: 210px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.service-item:hover { box-shadow: 0 8px 32px 0 #AC800022; transform: translateY(-4px) scale(1.03); }

.map-section {
  margin-top: 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.07rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #18587A;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #AC8000;
  text-decoration: underline;
}

/* ===============================
   4. HEADER & NAVIGATION
   =============================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 #F0F3F6;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 18px;
}
.logo-link img {
  height: 48px;
  width: auto;
  display: block;
  margin-right: 12px;
  transition: transform 0.19s cubic-bezier(.29,.81,.53,1.02);
}
.logo-link:hover img {
  transform: rotate(-4deg) scale(1.07);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.13rem;
  color: #18587A;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 8px 4px;
  transition: color 0.18s, background 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #18587A;
  border-radius: 6px;
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #AC8000;
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, color 0.13s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FFF4DD;
}

/* ===============================
   5. HERO SECTION
   =============================== */
.hero {
  background: linear-gradient(100deg, #DAA520 0%, #F0F3F6 60%, #fff 100%);
  padding: 56px 0 36px 0;
  margin-bottom: 40px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  animation: hero-float 1.2s cubic-bezier(0.47,1.64,0.41,0.8);
}
.hero .content-wrapper {
  background: none;
  box-shadow: none;
  padding: 0;
  align-items: flex-start;
}

@keyframes hero-float {
  0% { opacity: 0; transform: translateY(-60px) scale(0.95); }
  72% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.cta-button {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  background: #AC8000;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 28px;
  letter-spacing: 0.07em;
  margin-top: 12px;
  box-shadow: 0 2px 22px 0 #DAA52033;
  transition: background 0.19s, color 0.18s, transform 0.13s, box-shadow 0.19s;
  position: relative;
  border: 2px solid #ffffff;
}
.cta-button:hover, .cta-button:focus {
  background: #18587A;
  color: #fff4dc;
  transform: scale(1.07) rotate(1deg);
  box-shadow: 0 5px 28px 0 #18587A21;
  border: 2px solid #AC8000;
  text-decoration: none;
}

/* ===============================
   6. MOBILE BURGER MENU
   =============================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 8px 0 32px 0 #18587A22;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.63,.08,.29,1.45);
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  color: #18587A;
  background: #F0F3F6;
  width: 46px;
  height: 46px;
  margin: 20px 22px 8px 0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fffbe5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 36px;
  margin-top: 20px;
  width: 93vw;
}
.mobile-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  color: #18587A;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 13px 12px;
  border-radius: 10px;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF4DD;
  color: #AC8000;
}

@media (max-width: 1040px) {
  .container { padding: 0 9px; }
  .main-nav { gap: 13px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 10px; }
  .footer-nav { gap: 12px; }
}
@media (max-width: 820px) {
  .container { padding: 0 4px; }
}

/* Show burger, hide main nav on mobile */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
    z-index: 3000;
    align-items: center;
    justify-content: center;
  }
  .footer-nav { flex-direction: column; gap: 3px; }
}

/* ===============================
   7. FOOTER
   =============================== */
footer {
  background: #fff;
  border-top: 4px solid #AC8000;
  padding: 30px 0 15px;
  margin-top: 60px;
  font-size: 0.98rem;
  color: #18587A;
  box-shadow: 0 -2px 12px 0 #18587A0A;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer p {
  color: #32597A;
  opacity: 0.8;
}

/* ===============================
 8. COOKIE CONSENT BANNER
   =============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FFF4DD;
  color: #18587A;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px 16px 16px;
  box-shadow: 0 -2px 16px 0 #AC800027;
  animation: cookie-slide-in 0.7s cubic-bezier(.34,1.54,.5,1.32);
}
@keyframes cookie-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1rem;
  margin-bottom: 12px;
}
.cookie-consent-actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Oswald', sans-serif;
  background: #AC8000;
  color: #fff;
  border-radius: 22px;
  padding: 10px 28px;
  margin: 0 4px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  transition: background 0.14s, color 0.15s, transform 0.13s;
}
.cookie-btn.cookie-settings {
  background: #F0F3F6;
  color: #18587A;
  border: 2px solid #AC8000;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #18587A;
  color: #fffbe5;
  transform: scale(1.06);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #AC8000;
  color: #fff;
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 5000;
  transform: translate(-50%, -50%) scale(0.94);
  min-width: 320px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 8px 38px 0 #5C6F7D22;
  padding: 28px 28px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .24s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  animation: pop-modal .38s cubic-bezier(.53,1.58,.31,.96) 0s 1;
}
@keyframes pop-modal {
  0% { opacity: 0; transform: translate(-50%,-45%) scale(0.8); }
  80% { opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: #18587A;
  font-size: 1.38rem;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
.cookie-modal label {
  font-size: 1.08rem;
  color: #18587A;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 42px;
  height: 23px;
  background: #F0F3F6;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #AC8000;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  width: 19px; height: 19px;
  background: #fff;
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: left 0.17s, background 0.17s;
  box-shadow: 0 1px 4px 0 #18587A27;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 21px;
  background: #FFF4DD;
}
.cookie-modal .cookie-category .desc {
  font-size: 0.97rem;
  color: #616C7B;
  margin-left: 8px;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 1.44rem;
  background: #fffbe5;
  border-radius: 50%;
  color: #AC8000;
  transition: background 0.13s, color 0.12s;
}
.cookie-modal .close-modal-btn:hover {
  background: #AC8000;
  color: #fff;
}

/* ===============================
   9. TRANSITIONS & MICRO-ANIMATIONS
   =============================== */
.feature-item, .card, .service-item, .testimonial-card, .cta-button, .cookie-btn {
  transition: box-shadow 0.18s, background 0.18s, transform 0.18s, color 0.18s;
}

/* Fun playful underline effect for Oswald links/buttons */
.cta-button, .main-nav a, .mobile-nav a {
  position: relative;
}
.cta-button::before, .main-nav a::before, .mobile-nav a::before {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0; height: 2px;
  background: #AC8000;
  transition: right 0.18s;
}
.cta-button:hover::before, .main-nav a:hover::before, .mobile-nav a:hover::before {
  right: 0;
}

/* ===============================
   10. RESPONSIVE DESIGN (mobile-first)
   =============================== */
@media (max-width: 1150px) {
  .feature-item, .service-item {
    min-width: 160px;
    max-width: 98vw;
  }
}
@media (max-width: 1000px) {
  .content-wrapper, .section {
    padding: 28px 8px;
  }
}
@media (max-width: 900px) {
  .footer-nav { flex-direction: column; gap: 4px; }
  .container { max-width: 98vw; }
}
@media (max-width: 820px) {
  .content-wrapper { padding: 16px 4px; }
}
@media (max-width: 768px) {
  .content-grid, .service-list, .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item, .service-item { max-width: 100%; min-width: 0; }
  .testimonial-card { min-width: 0; }
  .section { padding: 30px 4px; margin-bottom: 36px; }
  .hero { padding: 36px 0 20px 0; border-radius: 0 0 24px 24px; }
}
@media (max-width: 540px) {
  .content-wrapper { padding: 7px 0; }
  .container { padding: 0 2vw; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.23rem; }
  .hero { padding: 20px 0 12px 0; }
  .cta-button { font-size: 1.01rem; padding: 10px 18px; }
}

/* Responsive for text-image-section */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* ===============================
   11. MISC UI & PLAYFUL DECOR
   =============================== */
::-webkit-scrollbar {
  width: 8px;
  background: #F0F3F6;
}
::-webkit-scrollbar-thumb {
  background: #DAA52088;
  border-radius: 6px;
}
@media (hover: none) {
  .feature-item:hover, .card:hover, .service-item:hover {
    box-shadow: 0 2px 9px 0 #18587a0c;
    transform: none !important;
    background: #fff;
  }
}

/* ===============
   12. UTIL CLASSES
   =============== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px !important; }
.mb-24 { margin-bottom: 24px !important; }
.pt-24 { padding-top: 24px !important; }
.pb-24 { padding-bottom: 24px !important; }

/* ===============
   13. ACCESSIBILITY
   =============== */
:focus-visible {
  outline: 2px solid #DAA520;
  outline-offset: 2px;
  border-radius: 6px;
}

/* ===============================
   14. PRINT (optional, hide nav/hero)
   =============================== */
@media print {
  header, nav, .main-nav, .mobile-menu { display: none !important; }
  .footer-nav { display: none !important; }
  .hero, .cta-button, .cookie-consent-banner, .cookie-modal { display: none !important; }
}
