/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  outline: none;
  border: none;
}

/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: #2274A5;
  --color-secondary: #F4F6FB;
  --color-accent: #148366;
  --color-accent-bold: #14613D;
  --color-body-bg: #FFF;
  --color-heading: #1C222B;
  --color-body: #333;
  --color-muted: #A0A7B4;
  --color-border: #E7EBF3;
  --color-shadow: rgba(34,116,165,0.07);
  --color-shadow-dark: rgba(34,116,165,0.12);
  --shadow-card: 0 2px 16px var(--color-shadow);
  --shadow-hover: 0 4px 24px var(--color-shadow-dark);
  --radius: 12px;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}
@media (max-width: 991px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--color-body-bg);
  color: var(--color-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

/* ===== CONTAINERS & WRAPPERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 44px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ===== TYPOGRAPHY ===== */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 16px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-body);
}
p, li, blockquote {
  font-size: 1rem;
  color: var(--color-body);
  font-family: var(--font-body);
}
blockquote {
  font-style: italic;
  color: var(--color-primary);
  background: #fff;
  border-left: 4px solid var(--color-accent-bold);
  padding: 16px 20px;
  margin-bottom: 10px;
}
strong {
  color: var(--color-heading);
  font-weight: 600;
}

@media (max-width: 768px) {
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-secondary);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
header a img {
  height: 36px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--color-heading);
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-primary);
  background: #eaf6fc;
}
header nav a.cta {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 7px 20px;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px var(--color-shadow);
}
header nav a.cta:hover,
header nav a.cta:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 18px var(--color-shadow-dark);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  margin-left: 18px;
  z-index: 51;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-accent);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 36px var(--color-shadow-dark);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.7,0.2,0.22,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 18px;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  margin: 18px 26px 12px auto;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 101;
  transition: color 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-accent-bold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 12px 0 0 0;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.25rem;
  padding: 10px 0 10px 8px;
  color: var(--color-heading);
  border-radius: var(--radius);
  transition: background 0.19s, color 0.19s;
  min-width: 180px;
}
.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 (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(120deg, #F4F6FB 80%, #E7EBF3 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-body);
  margin-bottom: 12px;
  max-width: 540px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 160px;
    padding: 36px 0 28px 0;
  }
}

/* ===== LISTS, FEATURES ===== */
.features-list, .steps-list, .services-list, .benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}
.features-list li, .steps-list li, .services-list li, .benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 24px 18px 16px;
  box-shadow: var(--shadow-card);
  font-size: 1.06rem;
  transition: box-shadow 0.19s;
}
.features-list li:hover, .steps-list li:hover, .services-list li:hover, .benefits-list li:hover {
  box-shadow: var(--shadow-hover);
}
.features-list li img,
.steps-list li img,
.services-list li img,
.benefits-list li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .features-list li, .steps-list li, .services-list li, .benefits-list li {
    padding: 12px 12px 12px 8px;
    font-size: 0.98rem;
  }
  .features-list li img,
  .steps-list li img,
  .services-list li img,
  .benefits-list li img {
    width: 24px;
    height: 24px;
  }
}

/* ===== CARDS & FLEX CONTAINERS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  flex: 1 1 340px;
  min-width: 260px;
  transition: box-shadow 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

.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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.testimonials .content-wrapper {
  gap: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 540px;
  transition: box-shadow 0.16s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.testimonial-card blockquote {
  font-size: 1.07rem;
  color: var(--color-body);
  border-left: 3px solid var(--color-primary);
  margin: 0 0 8px 0;
  background: transparent;
  padding: 0 0 0 12px;
}
.testimonial-card cite {
  font-size: 0.95rem;
  color: var(--color-muted);
  font-style: normal;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--color-primary);
  border-radius: var(--radius);
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 30px 22px;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 8px;
}
.cta-banner p {
  color: #f7fafc;
  margin-bottom: 6px;
}


/* ===== BUTTONS, LINKS, MICRO-INTERACTIONS ===== */
.cta, a.cta, button.cta {
  background: var(--color-accent);
  color: #fff;
  padding: 10px 28px;
  font-size: 1.13rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 99px;
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  display: inline-block;
  margin-top: 4px;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.cta:hover, .cta:focus {
  background: var(--color-accent-bold);
  box-shadow: 0 4px 18px var(--color-shadow-dark);
  transform: translateY(-2px) scale(1.03);
}

button, .button {
  background: var(--color-primary);
  color: #fff;
  border-radius: 99px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: var(--font-display);
  border: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  cursor: pointer;
}
button:hover, .button:hover,
button:focus, .button:focus {
  background: var(--color-accent-bold);
  color: #fff;
}

/* ===== PRICING TABLE ===== */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.pricing-table > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  flex: 1 1 280px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s;
}
.pricing-table > div:hover {
  box-shadow: var(--shadow-hover);
}
.pricing-table h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
}
.pricing-table p {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-heading);
}
.pricing-table ul {
  margin-top: 10px;
}
.pricing-table ul li {
  font-size: 1rem;
  color: var(--color-body);
  margin-bottom: 8px;
}
.price-notes p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-muted);
}
.price-notes img {
  width: 24px;
  height: 24px;
}

@media (max-width: 820px) {
  .pricing-table {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===== FAQ ACCORDION & HELP ===== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s;
}
.faq-accordion > div:hover {
  box-shadow: var(--shadow-hover);
}
.faq-accordion h2 {
  font-size: 1.13rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.help-contact {
  margin-top: 22px;
  font-size: 1rem;
}

/* ===== CONTACT DETAILS, MAP & OPERATING HOURS ===== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.operating-hours, .map {
  margin-top: 10px;
}

.operating-hours h2, .map h2 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.operating-hours ul li {
  font-size: 1rem;
  color: var(--color-body);
}

/* ===== FOOTER ===== */
footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 38px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a img {
  height: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  font-size: 1rem;
  color: var(--color-body);
  padding: 3px 0;
  transition: color 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-primary);
}
.footer-info p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  color: var(--color-muted);
  margin-bottom: 5px;
}
.footer-newsletter {
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 0px 6px var(--color-shadow);
  min-width: 220px;
}
.footer-newsletter h3 {
  color: var(--color-primary);
  margin-bottom: 4px;
  font-size: 1.02rem;
}
.footer-newsletter p {
  color: var(--color-body);
  font-size: 0.99rem;
}

@media (max-width: 991px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 16px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px 11vw 18px 11vw;
  font-size: 1rem;
  animation: cookieSlideIn 0.5s cubic-bezier(0.5,0.3,0.2,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  background: var(--color-primary);
  color: #fff;
  border-radius: 99px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 9px 22px;
  transition: background 0.15s, box-shadow 0.15s;
  cursor: pointer;
  box-shadow: 0 1px 5px var(--color-shadow);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-accent-bold);
}
.cookie-banner button.cookie-settings {
  background: #fff;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  border-color: var(--color-accent-bold);
  color: var(--color-accent-bold);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px;
    gap: 16px;
  }
  .cookie-banner .cookie-buttons {
    gap: 10px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(64,80,112,0.18);
  animation: cookieModalIn 0.35s cubic-bezier(.51,.49,.33,1.35);
}
@keyframes cookieModalIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 36px var(--color-shadow-dark);
  padding: 32px 26px 24px 26px;
  max-width: 360px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-dialog h2 {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-bottom: 7px;
  border: none;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--color-body);
}
.cookie-toggle {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal-actions button {
  background: var(--color-primary);
  color: #fff;
  border-radius: 99px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 7px 18px;
  box-shadow: 0 1px 5px var(--color-shadow);
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-actions button.cancel {
  background: #fff;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
.cookie-modal-actions button.cancel:hover {
  border-color: var(--color-accent-bold);
  color: var(--color-accent-bold);
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: var(--color-accent-bold);
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 15px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-primary);
}
.cookie-modal .cookie-category-essential {
  color: #aaa;
}

/* ===== GENERAL COMPONENT CLASSES (PATTERNS FROM REQUIREMENTS) ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== VISUAL EFFECTS ===== */
.card, .testimonial-card, .pricing-table > div, .faq-accordion > div, .footer-newsletter {
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:active, .testimonial-card:active, .pricing-table > div:active, .faq-accordion > div:active {
  box-shadow: 0 2px 26px var(--color-shadow-dark);
  transform: scale(0.995);
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== UTILITIES ===== */
.muted {
  color: var(--color-muted);
}
.text-center {
  text-align: center !important;
}
.mt-20 { margin-top: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* ===== RESPONSIVENESS ===== */
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section, .testimonials { padding: 22px 4px; }
  .content-wrapper { gap: 16px; }
  .hero .content-wrapper { padding: 0; }
  .pricing-table { flex-direction: column; }
  .card, .pricing-table > div {
    padding: 18px 10px;
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card { padding: 12px 10px; }
  .contact-details { padding: 10px 6px; }
}

@media (max-width: 480px) {
  h1, .hero h1 { font-size: 1.6rem; }
  h2 { font-size: 1.07rem; }
  .cta-banner { padding: 18px 6px; }
}

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