/* ----------------------------------------------
   CSS RESET & BASELINE NORMALIZATION
---------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F6F6;
  color: #155263;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #155263;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  border: none;
  background: none;
}
button { cursor: pointer; }

/* ----------------------------------------------
    BRAND TYPOGRAPHY SCALE
---------------------------------------------- */
h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: #155263;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
}
h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 12px;
  color: #155263;
  font-weight: 400;
}
h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #155263;
  font-weight: 400;
}
.subheadline {
  font-size: 1.125rem;
  color: #155263;
  opacity: 0.75;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #275f75;
}
@media (min-width:768px) {
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.5rem; }
}

/* ----------------------------------------------
    LAYOUT CONTAINERS & SECTIONS
---------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (min-width: 768px) {
  .section, section {
    border-radius: 24px;
    margin-bottom: 80px;
    padding: 60px 32px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* ----------------------------------------------
    FLEX LAYOUTS (MANDATORY)
---------------------------------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 8px;
}
.feature {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(21,82,99,.05);
  padding: 28px 24px 24px 24px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow .25s, transform .2s;
}
.feature:hover {
  box-shadow: 0 6px 24px 0 rgba(21,82,99,0.12);
  transform: translateY(-2px) scale(1.02);
}
.features-grid img {
  width: 42px;
  height: 42px;
}
.price {
  font-size: 1rem;
  font-weight: 600;
  color: #A17912;
  margin-top: 10px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(21,82,99,.06);
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .18s;
}
.service:hover {
  box-shadow: 0 4px 20px rgba(21,82,99,.13);
  transform: translateY(-3px) scale(1.012);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(21,82,99,0.06);
  margin-bottom: 20px;
  padding: 32px 24px;
  flex: 1 1 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(21,82,99,.13);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width:768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------------------------------------------
    HEADER & NAVIGATION
---------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(21,82,99,0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #155263;
  opacity: .92;
  font-weight: 600;
  padding: 3px 5px;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background-color .18s, color .17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F6F6;
  color: #A17912;
  outline: none;
}
.cta-btn {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 11px 32px;
  color: #fff;
  background: #155263;
  border-radius: 22px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(21,82,99,.06);
  margin-left: 16px;
  transition: background .16s, box-shadow .20s, color .18s;
  border: none;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #A17912;
  color: #fff;
  box-shadow: 0 6px 18px rgba(21,82,99,.13);
}

/* Hide menu on mobile, show burger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #155263;
  margin-left: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .15s;
  z-index: 30;
}
.mobile-menu-toggle:focus {
  background: #F6F6F6;
  outline: 2px solid #D6A220;
}
@media (max-width: 950px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .cta-btn { margin-left: 8px; padding: 10px 22px; }
  header .container { height: 60px; }
}

/* ----------------------------------------------
    MOBILE MENU OVERLAY & ANIMATION
---------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,82,99,0.90);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.62,.05,.4,.98);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 28px 28px 0 0;
  cursor: pointer;
  transition: color .16s;
  z-index: 105;
  border-radius: 6px;
  padding: 4px 9px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #A17912;
  background: rgba(246,246,246,.2);
  outline: 2px solid #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin: 48px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'DM Serif Display', Georgia, serif;
  letter-spacing: 0.02em;
  font-weight: 400;
  padding: 9px 16px;
  border-radius: 7px;
  transition: background .17s, color .18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #fff;
  color: #155263;
  outline: none;
}
@media (min-width: 951px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ----------------------------------------------
    HERO SECTIONS
---------------------------------------------- */
.hero {
  background: #F6F6F6 url('../assets/hero-bg.svg') no-repeat right bottom/cover;
  min-height: 350px;
  display: flex;
  align-items: center;
  padding: 32px 0 16px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 700px) {
  .hero {
    padding: 18px 0 5px 0;
    min-height: 180px;
    background: #F6F6F6;
  }
}

/* ----------------------------------------------
    TESTIMONIALS & RATINGS
---------------------------------------------- */
.testimonial-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(21,82,99,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: #155263;
  min-width: 220px;
  flex: 1 1 240px;
  max-width: 600px;
}
.testimonial-card p {
  color: #155263;
  margin-bottom: 2px;
  font-style: italic;
}
.testimonial-details {
  font-size: .97rem;
  color: #616161;
  margin-left: 12px;
}
.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.16rem;
  font-weight: 600;
  color: #A17912;
  margin-bottom: 10px;
}
.testimonial-rating img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .testimonial-card { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ----------------------------------------------
    CONTACT & MAP CARDS
---------------------------------------------- */
.contact-info, .map-info {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 7px rgba(21,82,99,.03);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
  color: #155263;
  margin-bottom: 20px;
}
.contact-info img, .map-info img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.contact-info a {
  color: #155263;
  text-decoration: underline;
}

/* ----------------------------------------------
    FOOTER
---------------------------------------------- */
footer {
  background: #fff;
  box-shadow: 0 -2px 12px rgba(21,82,99,0.04);
  padding: 36px 0 16px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.footer-logo img {
  height: 36px;
  margin-bottom: 13px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #155263;
  opacity: .9;
  font-size: 1rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F6F6F6;
  color: #A17912;
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 340px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #275f75;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  margin-right: 9px;
}
@media (min-width: 900px) {
  footer .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 70px;
    justify-content: flex-start;
  }
  .footer-logo img { height: 48px; }
}

/* ----------------------------------------------
    BUTTONS & MICRO-INTERACTIONS
---------------------------------------------- */
button, .cta-btn {
  cursor: pointer;
  outline: none;
  border: none;
  transition: background 0.18s, box-shadow 0.22s, color 0.16s, transform 0.14s;
}
.button-primary, .cta-btn {
  background: #155263;
  color: #fff !important;
  border-radius: 29px;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 11px 34px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 7px rgba(21,82,99,.09);
}
.button-primary:hover,.button-primary:focus, .cta-btn:hover, .cta-btn:focus {
  background: #A17912;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 26px rgba(161,121,18,.13);
}
.button-secondary {
  background: #fff;
  color: #155263;
  border: 2px solid #155263;
  border-radius: 25px;
  font-weight: 600;
  padding: 10px 32px;
  margin-left: 8px;
}
.button-secondary:hover, .button-secondary:focus {
  background: #F6F6F6;
  color: #A17912;
  border-color: #A17912;
}
.button-accent {
  background: #A17912;
  color: #fff;
  border-radius: 24px;
  font-weight: 700;
  padding: 10px 27px;
  margin-left: 10px;
}
.button-accent:hover, .button-accent:focus {
  background: #155263;
  color: #fff;
}

/* ----------------------------------------------
    SPACING UTILITIES
---------------------------------------------- */
.mt-10 { margin-top: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-24 { margin-top: 24px !important; }
.pt-40 { padding-top: 40px !important; }
.gap-24 { gap: 24px !important; }

/* ----------------------------------------------
    RESPONSIVE ADJUSTMENTS
---------------------------------------------- */
@media (max-width: 1050px) {
  .features-grid, .services-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .service, .card {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .content-wrapper { gap: 18px; }
  section, .section { padding: 22px 6px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
}
@media (max-width: 650px) {
  .feature,.service,.testimonial-card, .card {
    padding: 18px 9px;
  }
}

/* ----------------------------------------------
    COOKIE CONSENT BANNER
---------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 13px rgba(21,82,99,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 18px 20px 18px;
  z-index: 9999;
  font-size: 1rem;
  color: #155263;
  transition: transform .32s cubic-bezier(.62,.05,.4,.98);
}
@media (min-width: 700px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 22px 80px;
    font-size: 1.07rem;
  }
}
.cookie-banner.hide {
  transform: translateY(120%);
  visibility: hidden;
  pointer-events: none;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cookie-banner button {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  border: none;
  outline: none;
  padding: 9px 26px;
  margin-right: 5px;
  transition: background .16s, color .15s;
}
.cookie-accept {
  background: #A17912;
  color: #fff;
}
.cookie-reject {
  background: #efefef;
  color: #155263;
}
.cookie-settings {
  background: #fff;
  color: #A17912;
  border: 2px solid #A17912;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #155263;
  color: #fff;
  outline: none;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F6F6F6;
  color: #A17912;
  outline: none;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F6F6F6;
  color: #155263;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%) scale(.92);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 62px rgba(21,82,99,.17);
  z-index: 10000;
  padding: 28px 18px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s, transform .22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.47rem;
  margin-bottom: 16px;
  color: #155263;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-modal label {
  font-size: 1.04rem;
  color: #155263;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #A17912;
}
.cookie-modal .cookie-essential {
  opacity: 0.7;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* ----------------------------------------------
    MISCELLANEOUS & ACCESSIBILITY
---------------------------------------------- */
::-webkit-selection { background: #D6A220; color: #fff; }
::selection { background: #D6A220; color: #fff; }
:focus-visible {
  outline: 2px solid #A17912;
  outline-offset: 2px;
}

::-webkit-scrollbar { width: 8px; background: #F6F6F6; }
::-webkit-scrollbar-thumb { background: #D6A220; border-radius: 7px; }

/* Hide element utility */
.hide { display: none !important; }

/* ----------------------------------------------
    SCANDINAVIAN CLEAN DECORATIVE TOUCHES
---------------------------------------------- */
.feature, .service, .testimonial-card, .card, .contact-info, .map-info {
  border: 1.5px solid #F6F6F6;
  box-shadow: 0 2px 11px 0 rgba(21,82,99,.06);
  background: #fff;
  border-radius: 14px;
}

/*  Natural-material effect: subtle, not literal */
.feature, .service, .testimonial-card {
  background: linear-gradient(170deg,#fff 96%,#F6F6F6 100%);
}

.card { border-radius: 15px; }

/* ----------------------------------------------
    PRINT FRIENDLY
---------------------------------------------- */
@media print {
  header,footer,.mobile-menu,.cookie-banner,.cookie-modal { display:none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section, section, .feature, .testimonial-card, .service { background:#fff !important; box-shadow:none !important; border-color: #eee; }
}
