/* === 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, main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
body { line-height: 1.5; background: #fff; color: #11465B; min-height: 100vh; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* === CSS VARIABLES (with fallbacks) === */
:root {
  --color-primary: #11465B;
  --color-secondary: #F4E8D7;
  --color-accent: #28A591;
  --color-accent-alt: #21706B;
  --color-bg: #FFFFFF;
  --color-text: #11465B;
  --color-gray: #E8EDF1;
  --color-footer: #F4E8D7;
  --color-card-bg: #fff;
  --shadow-main: 0 2px 12px 0 rgba(17,70,91,0.08);
  --radius-main: 12px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* === TYPOGRAPHY === */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body), Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li, dd {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.6;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: var(--color-accent-alt);
  outline: none;
}

/* === LAYOUT COMPONENTS === */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER === */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 12px 0 rgba(17,70,91,0.10);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 28px;
  padding: 0 20px;
}
header img {
  height: 40px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
header nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 0;
  font-weight: 400;
  border-bottom: 2px solid transparent;
  transition: border, color 0.2s;
}
header nav a:hover, header nav a:focus, header nav a.active {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.cta-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(40,165,145,0.10);
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent-alt);
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
  margin-left: 20px;
  z-index: 1202;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,70,91,0.96);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.65,0,0.35,1);
  display: flex;
  flex-direction: column;
  z-index: 1200;
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 1201;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 80px;
  padding: 16px 32px;
  gap: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 10px 4px;
  width: 100%;
  border-radius: 6px;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1024px) {
  .cta-primary {
    padding: 12px 20px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 14px;
  }
  .content-wrapper, .container {
    padding: 0 12px;
    max-width: 100%;
  }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(90deg, var(--color-secondary) 60%, #E8EDF1 100%);
  padding: 56px 0 40px 0;
  margin-bottom: 40px;
}
.hero .container { justify-content: center; }
.hero .content-wrapper { align-items: center; text-align: center; }
.hero h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 22px;
  color: var(--color-primary);
}
.hero .cta-primary {
  margin-top: 20px;
  font-size: 1.1rem;
}

/* === SERVICES CARDS === */
.service-cards,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 16px 0 30px 0;
}
.service-card {
  background: var(--color-card-bg);
  box-shadow: var(--shadow-main);
  border-radius: var(--radius-main);
  padding: 28px 22px 22px 22px;
  min-width: 220px;
  max-width: 274px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.service-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
}
.service-card h3,
.service-card h2 {
  font-size: 1.12rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.service-card p {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 6px;
}
.service-card .price {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: auto;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 4px 24px 0 rgba(40,165,145,0.12);
  transform: translateY(-2px) scale(1.02);
  z-index: 2;
}

/* === CARD GRIDS (for testimonials, features, etc) === */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

/* === TESTIMONIALS === */
.testimonials-preview {
  background: var(--color-gray);
  padding: 54px 0 40px 0;
  margin-bottom: 50px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  padding: 20px 26px;
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 520px;
  color: #1a2530;
  font-size: 1.08rem;
  border-left: 4px solid var(--color-accent);
}
.testimonial-card p {
  color: #1a2530;
  font-size: 1.07rem;
  margin-bottom: 4px;
  text-align: left;
}
.testimonial-author {
  color: var(--color-accent-alt);
  font-style: italic;
  font-size: 0.99rem;
  font-weight: 500;
}
.star-rating {
  color: #ffc33a;
  font-size: 1.12em;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* === CTA BANNER === */
.cta-banner {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-main);
  margin-bottom: 60px;
  padding: 36px 0;
  box-shadow: 0 2px 14px rgba(17,70,91,0.13);
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner .cta-primary {
  background: #fff;
  color: var(--color-accent) !important;
  font-weight: 700;
  box-shadow: none;
  transition: background 0.18s, color 0.18s, transform 0.13s;
}
.cta-banner .cta-primary:hover, .cta-banner .cta-primary:focus {
  background: var(--color-primary);
  color: #fff !important;
  transform: scale(1.04);
}

/* === FOOTER === */
footer {
  background: var(--color-footer);
  padding: 36px 0 24px 0;
  color: var(--color-primary);
  border-top: 2px solid #e4e4e4;
  width: 100%;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
}
.footer-branding img {
  height: 48px;
  margin-top: 0;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  color: var(--color-primary);
}
.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-menu a {
  color: var(--color-primary);
  font-size: 0.98rem;
  transition: color 0.2s;
  font-family: var(--font-body);
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-accent);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  .footer-menu { align-items: flex-start; }
}

/* === FAQ LIST === */
.faq-list {
  margin-top: 10px;
}
.faq-list dt {
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 3px;
  margin-top: 18px;
}
.faq-list dd {
  margin-left: 0px;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

/* === TEXT SECTIONS === */
.text-section {
  margin-bottom: 30px;
}
.contact-details > div {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1.02em;
}

/* === OL, UL STYLING === */
ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
  padding-left: 6px;
}
ul li, ol li {
  margin-bottom: 7px;
  position: relative;
  font-size: 1em;
}
ul li:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 2px;
  vertical-align: middle;
}
ol li:before {
  display: none;
}
ol {
  list-style-type: decimal;
  padding-left: 20px;
}

/* === BUTTONS GENERAL === */
button, .button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 32px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 1px 4px rgba(40,165,145,0.12);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, transform 0.12s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--color-accent-alt);
  color: #fff;
  transform: scale(1.03);
  outline: none;
}

/* === SPACING & FLEXBOX UTILITY CLASSES === */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.align-center { align-items: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }

/* === RESPONSIVE LAYOUTS === */
@media (max-width: 900px) {
  .service-cards, .content-grid, .card-grid {
    gap: 18px;
  }
  .service-card, .card {
    min-width: 150px;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .section, .hero, .testimonials-preview { padding: 28px 0 24px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .content-wrapper { max-width: 100%; padding: 0 8px; gap: 18px; }
  .service-cards, .service-list { flex-direction: column; gap: 18px; }
  .service-card {
    max-width: 100%;
    padding: 20px 12px 16px 12px;
  }
  .card-container, .card-grid, .content-grid, .footer-branding, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 140px;
    max-width: 96vw;
    padding: 14px 10px;
  }
  .cta-banner { padding: 20px 0; }
  .footer-contact { font-size: 0.96em; }
}

@media (max-width: 520px) {
  html { font-size: 15px; }
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.13rem; }
  header img, .footer-branding img { height: 32px; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: calc(100vw - 32px);
  max-width: 440px;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 2px 30px rgba(17,70,91,0.13);
  border-radius: 16px;
  padding: 28px 22px 18px 22px;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.35s, transform 0.34s;
  font-size: 1rem;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  background: var(--color-accent);
  color: #fff;
  transition: background 0.17s, transform 0.11s;
  font-family: var(--font-display);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-accent-alt);
}
.cookie-reject {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-settings {
  background: var(--color-primary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-accent);
  color: #fff;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,70,91,0.70);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInModalOverlay 0.28s;
}
@keyframes fadeInModalOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 18px;
  max-width: 440px;
  width: 92vw;
  padding: 32px 28px 20px 28px;
  box-shadow: 0 4px 30px rgba(17,70,91,0.19);
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: cookieModalIn 0.33s cubic-bezier(.41,.99,.45,1.09);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(32px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
.cookie-modal-header {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}
.cookie-category {
  padding: 14px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e4e4e4;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  flex: 1 1 0;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--color-gray);
  border: 1px solid #c8c8c8;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.17s;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input[type='checkbox'] {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(17,70,91,0.08);
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.23s cubic-bezier(0.61,0.16,0.37,0.95), background 0.17s;
}
.cookie-toggle input[type='checkbox']:checked + span {
  left: 21px;
  background: var(--color-accent);
}
.cookie-category .desc {
  color: #576b7c;
  font-size: 0.97rem;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

/* Prevent scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* === TRANSITIONS & MICRO-INTERACTIONS === */
.card, .service-card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.11s;
}
.card:focus-within, .service-card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 4px 28px 0 rgba(17,70,91,0.14);
  outline: 2px solid var(--color-primary);
}
.cta-primary, button, .button {
  transition: background 0.19s, transform 0.13s;
}

/* === ACCESSIBILITY FOCUS VISIBILITY === */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* === PRINT FRIENDLY (minimal) === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #222; background: #fff; }
  .card, .service-card, .testimonial-card { box-shadow: none !important; }
}

/* === END OF STYLE === */
