/* --- CSS RESET AND FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Inter:wght@400;500;700&display=swap');

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FFF8F3;
  color: #303139;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  transition: background 0.3s;
  min-height: 100vh;
}

/* --- CUSTOM PROPERTIES USING BRAND COLORS --- */
:root {
  --brand-primary: #094677;
  --brand-secondary: #EFEFEF;
  --brand-accent: #36B37E;
  --brand-bg: #FFF8F3;
  --brand-soft: #FFF2E3;
  --brand-dark: #222D3B;
  --shadow: 0 2px 12px 0 rgba(9,70,119,0.07);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 30px;
  --header-height: 72px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 0;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.content-grid, .feature-grid, .service-list, .service-grid, .blog-list {
  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-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 270px;
  max-width: 370px;
  flex: 1 1 270px;
  color: #222D3B;
}
.feature-item, .benefit-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(212,168,102,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}
.logo img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.04rem;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-accent);
  color: #fff;
}
.button.button-primary {
  background: var(--brand-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  padding: 14px 32px;
  margin-left: 24px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.18s, transform 0.17s;
}
.button.button-primary:hover, .button.button-primary:focus {
  background: #226040;
  box-shadow: 0 4px 20px 0 rgba(9,70,119,0.16);
  transform: translateY(-3px) scale(1.03);
}
.button.button-secondary {
  background: #ffe8ca;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.01rem;
  padding: 12px 28px;
  margin-top: 10px;
  font-weight: 700;
  transition: background 0.22s, color 0.22s, box-shadow 0.14s;
  box-shadow: 0 1px 7px 0 rgba(196, 80, 40, 0.05);
  cursor: pointer;
}
.button.button-secondary:hover, .button.button-secondary:focus {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 4px 17px 0 rgba(54,179,126,0.14);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  background: var(--brand-accent);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0 13px;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.14s, transform 0.13s;
  z-index: 150;
}
.mobile-menu-toggle:active {
  background: #226040;
  transform: scale(1.12);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(9, 70, 119, 0.98);
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.7,.04,.32,1);
  padding: 24px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  margin: 14px 30px 14px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: center;
  gap: 2px;
  margin-top: 10vh;
  padding-bottom: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  padding: 20px 0;
  width: 100vw;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: #fff;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(112deg,#fff2e3 80%, #fff8f3 100%);
  padding: 60px 0 50px 0;
  margin-bottom: 0;
}
.hero h1 {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.15;
}
.hero .subheadline {
  font-size: 1.28rem;
  color: #226040;
  font-weight: 500;
  margin-bottom: 32px;
}

/* --- FEATURES, SERVICES, PRICING --- */
.feature-grid, .service-list, .service-grid {
  width: 100%;
  gap: 24px;
}
.feature {
  flex: 1 1 220px;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 22px 32px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.19s;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.feature h3 {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature:hover {
  box-shadow: 0 6px 30px 0 rgba(54,179,126,0.15);
  transform: translateY(-5px) scale(1.025);
}
.service-card {
  flex: 1 1 270px;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px 30px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.21s, transform 0.16s;
}
.service-card h2, .service-card h3 {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.service-card .service-price {
  color: #ef912c;
  background: #fff2e3;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  margin-top: 6px;
  padding: 6px 18px;
  letter-spacing: 0.01em;
}
.service-card:hover {
  box-shadow: 0 8px 34px 0 rgba(239,145,44,0.13);
  transform: translateY(-6px) scale(1.03);
}

/* --- BENEFITS & ICON GRID --- */
.benefit-list {
  margin: 20px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: disc inside;
  color: #226040;
  font-size: 1.07rem;
}
.icon-benefits {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 14px 0 0 0;
}
.icon-benefits img {
  width: 38px;
  height: 38px;
}

/* --- BLOG --- */
.categories-filter {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.categories-filter a {
  color: var(--brand-accent);
  background: #fff;
  border-radius: 20px;
  padding: 6px 18px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
}
.categories-filter a:hover, .categories-filter a.active {
  background: var(--brand-accent);
  color: #fff;
}
.blog-list {
  width: 100%;
  gap: 24px;
}
.blog-preview {
  flex: 1 1 270px;
  min-width: 250px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px 30px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-preview h2 {
  font-size: 1.23rem;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
}
.read-more {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 9px;
  transition: color 0.18s;
}
.read-more:hover, .read-more:focus {
  color: #226040;
  text-decoration: underline;
}

.newsletter-signup {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #f8e3c8;
  padding: 38px 0;
  font-size: 1rem;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}
.footer-logo img {
  width: 70px;
  height: auto;
  display: block;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-direction: column;
}
.footer-nav a {
  color: var(--brand-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.99rem;
  color: #7A7F89;
}
.footer-contact a {
  color: #226040;
  text-decoration: underline;
}

/* --- PRICING TABLE --- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  margin-top: 14px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.pricing-table thead {
  background: #FFF2E3;
}
.pricing-table th, .pricing-table td {
  padding: 18px 15px;
  text-align: left;
  font-size: 1.07rem;
  color: #222D3B;
}
.pricing-table th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  border-bottom: 2px solid #ffe2bb;
}
.pricing-table tr {
  border-bottom: 1px solid #f5ede1;
}
.pricing-table tbody tr:hover {
  background: #fff8f3;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 24px;
}
.faq-accordion h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.faq-accordion p {
  margin-bottom: 0;
  color: #226040;
}

/* --- TYPOGRAPHY HIERARCHY --- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.14rem;
  font-weight: 900;
  color: var(--brand-primary);
  margin-bottom: 18px;
  line-height: 1.17;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222D3B;
  line-height: 1.19;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--brand-primary);
  line-height: 1.22;
}
p, ul, ol, li {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.05rem;
  color: #222D3B;
  margin-bottom: 9px;
}
ul, ol {
  padding-left: 28px;
  margin-bottom: 16px;
}
ul li {
  list-style-type: disc;
  margin-bottom: 6px;
}

.text-section {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px 40px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* --- TESTIMONIALS --- */
.testimonial-author {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.99rem;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* --- CONTACT DETAILS & MAP --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 17px 24px;
  box-shadow: var(--shadow);
  max-width: 480px;
}
.address-map {
  margin-top: 12px;
  background: #fff2e3;
  border-radius: var(--radius);
  padding: 22px;
  color: #226040;
  box-shadow: 0 2px 18px 0 rgba(239,145,44,0.09);
}

/* --- LINKS & BUTTONS --- */
a {
  color: var(--brand-accent);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ef912c;
  text-decoration: underline;
}
.button {
  display: inline-block;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.23s, transform 0.17s;
}
.button:active {
  transform: scale(0.98);
}

/* --- GENERAL MICRO-INTERACTIONS --- */
.card:hover, .service-card:hover, .blog-preview:hover {
  box-shadow: 0 8px 38px 0 rgba(9,70,119,0.11);
  transform: translateY(-5px) scale(1.018);
}

/* --- SPACING AND ALIGNMENT (MANDATORY PATTERNS) --- */
.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; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
  .feature-grid, .service-list, .service-grid, .blog-list { gap: 16px; }
}
@media (max-width: 900px) {
  .container { padding: 0 11px; }
  .footer-logo img { width: 52px; }
}
@media (max-width: 768px) {
  .container { max-width: 99vw; padding: 0 5vw; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  header .button.button-primary { display: none; }
  .content-wrapper, .feature-grid, .service-list, .service-grid, .blog-list { flex-direction: column; gap: 14px; }
  .feature, .service-card, .blog-preview, .testimonial-card { min-width: 0; width: 100%; }
  .section, section { padding: 30px 4vw; margin-bottom: 32px; }
  .text-section { padding: 22px 9px 32px 16px; }
  .footer-nav { flex-direction: column; gap: 6px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 26px; }
  .newsletter-signup { flex-direction: column; gap: 10px; }
  .testimonial-slider { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; gap: 16px; align-items: flex-start; }
  .card-container, .content-grid { flex-direction: column; gap: 16px; }
}
@media (max-width: 500px) {
  .logo img { height: 38px; }
  .footer-logo img { width: 38px; }
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 0.98rem; }
}

/* --- COOKIE CONSENT BANNER STYLES --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff2e3;
  border-top: 2px solid #ffd7a2;
  box-shadow: 0 -2px 22px 0 rgba(54,179,126,0.12);
  z-index: 300;
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 1rem;
  animation: bannerIn 0.56s cubic-bezier(.7,.1,.28,1);
}
@keyframes bannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.03rem;
  color: #222D3B;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner .button {
  min-width: 108px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: 11px 18px;
  box-shadow: 0 1px 8px 0 rgba(54,179,126,0.10);
  border: none;
}
.cookie-banner .button.accept {
  background: var(--brand-accent);
  color: #fff;
}
.cookie-banner .button.accept:hover { background: #226040; }
.cookie-banner .button.reject {
  background: #ffe8ca;
  color: #ef912c;
}
.cookie-banner .button.reject:hover {
  background: #ffe2bb;
  color: #222D3B;
}
.cookie-banner .button.settings {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid #ef912c;
}
.cookie-banner .button.settings:hover {
  background: #fff2e3;
  color: #226040;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 18px 9px 13px 12px;
    font-size: 0.98rem;
  }
  .cookie-actions { flex-direction: column; gap: 7px; width: 100%; }
  .cookie-banner .button { width: 100%; text-align: center; }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22,22,22,0.35);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s both;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 94vw;
  padding: 36px 26px 30px 26px;
  box-shadow: 0 8px 882px 0 rgba(54,179,126,0.14);
  position: relative;
  animation: modalPop 0.4s cubic-bezier(.6,.05,.4,1);
}
@keyframes modalPop {
  0% { transform: scale(0.86); opacity: 0; } 
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.27rem;
  color: var(--brand-primary);
  margin-bottom: 14px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #888;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal .modal-close:hover {
  color: var(--brand-accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 21px 0;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5ede1;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #226040;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: var(--brand-accent);
  filter: grayscale(100%);
  cursor: not-allowed;
}
.cookie-modal .button {
  margin-top: 18px;
  width: 100%;
  padding: 12px;
}

/* --- SPECIAL UTILITIES & MISC --- */
.hide {
  display: none !important;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
  header .button.button-primary { display: inline-block; }
}

/* --- Z-INDEX FOR LAYERED ELEMENTS --- */
header { z-index: 10; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 300; }
.cookie-modal-overlay { z-index: 400; }

/* --- ACCESSIBILITY & FOCUS STATES --- */
:focus-visible {
  outline: 2px dashed var(--brand-accent);
  outline-offset: 4px;
}

/* --- END OF CSS --- */
