/* 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, 
menu, 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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #FAF6F3;
  color: #1A3764;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #E5EAF0;
  font-weight: 700;
  color: #1A3764;
}

/* BRAND COLORS */
:root {
  --primary: #1A3764;
  --secondary: #E5EAF0;
  --accent: #F7B731;
  --bg-light: #FAF6F3;
  --bg-card: #FFF;
  --shadow-color: rgba(30,19,5,0.08);
  --error: #EA4335;
  --success: #43A047;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, ul li, ol li, table, .price, .average-rating, .aggregate-score, .footer-contact, .footer-rights, span {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #322623;
  font-size: 1rem;
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* SECTIONS */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}

.hero {
  background: var(--secondary);
  border-radius: 24px;
  box-shadow: 0 4px 24px var(--shadow-color);
  display: flex;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 60px;
  min-height: 220px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.2rem;
}
.hero p {
  color: #3C354F;
  font-size: 1.14rem;
}

.features ul, .services ul, .faq ul, .text-section ul, .team ul, .contact ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul li, .faq ul li, .text-section ul li, .services-detail ul li, .team ul li {
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 3px 10px var(--shadow-color);
  padding: 18px 25px 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow .23s;
}
.features ul li img {
  width: 34px; height: 34px; flex-shrink: 0;
}
.features ul li:hover {
  box-shadow: 0 6px 22px rgba(245,179,49,0.09), 0 1.5px 8px var(--shadow-color);
}

.services ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.services ul li {
  border-radius: 18px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px var(--shadow-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: box-shadow .22s, transform .2s;
  position: relative;
}
.services ul li .price {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  position: absolute;
  right: 22px;
  top: 24px;
}
.services ul li:hover {
  box-shadow: 0 4px 18px rgba(247,183,49,0.09), 0 1.5px 8px var(--shadow-color);
  transform: translateY(-2px) scale(1.015);
}

/* Steps/process */
.process ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 20px;
}
.process ol li {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 15px 20px;
  box-shadow: 0 1px 6px var(--shadow-color);
  position: relative;
  font-weight: 500;
  color: #3C354F;
  margin-bottom: 0;
}

.callout {
  background: #FFF8E8;
  color: #785100;
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 15px;
  font-weight: 600;
  box-shadow: 0 2px 10px var(--shadow-color);
}

/* CARDS & CARD CONTAINERS */
.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--shadow-color);
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  transition: box-shadow .22s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(247,183,49,0.09), 0 2px 10px var(--shadow-color);
  transform: scale(1.018);
}

/* Testimonials */
.testimonials, .testimonials-list {
  background: #FEFAF4;
  border-radius: 24px;
  box-shadow: 0 2px 18px var(--shadow-color);
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 2px 10px var(--shadow-color);
  margin-bottom: 22px;
  padding: 26px 28px 20px 25px;
  color: #332518;
  font-size: 1.07rem;
  transition: box-shadow .21s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 26px rgba(253,189,92,0.12), 0 2px 13px var(--shadow-color);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: #30261A;
  font-size: 1.09rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #8D6D40;
  font-size: 0.97rem;
  font-style: italic;
  font-weight: 500;
}
.average-rating, .aggregate-score {
  margin-top: 9px;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.09rem;
}
.aggregate-score strong {
  color: #1A3764;
  background: #FFE5B2;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
}

/* Form & Map */
.office-map {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--secondary);
  border-radius: 18px;
  padding: 18px 22px;
  margin-top: 12px;
  font-size: 1rem;
}
.office-map img {
  width: 44px;
  height: 44px;
}

/* Text sections */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  gap: 14px;
}
.text-section li {
  padding-left: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* CTA Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #1A3764;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 13px 36px;
  border: none;
  box-shadow: 0 2px 9px rgba(247,183,49,0.12);
  cursor: pointer;
  transition: background .22s, box-shadow .17s, color .17s, transform .15s;
  outline: none;
  margin-top: 15px;
}
.cta-button:hover, .cta-button:focus {
  background: #FFD369;
  color: #0D1A32;
  box-shadow: 0 5px 23px rgba(247,183,49,0.22);
  transform: translateY(-1px) scale(1.012);
}

/* NAVIGATION */
header {
  background: var(--bg-card);
  box-shadow: 0 2px 8px var(--shadow-color);
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: 20px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  color: var(--primary);
  font-weight: 500;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background .18s, color .17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
header img {
  width: 150px;
  height: auto;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 17px;
  right: 22px;
  z-index: 102;
  background: var(--accent);
  border: none;
  color: #1A3764;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  box-shadow: 0 2px 9px rgba(247,183,49,0.18);
  cursor: pointer;
  transition: background .18s, color .18s;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFD369;
  color: #0D1A32;
  outline: 3px solid var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-card);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(0.7,0.2,0.35,1);
  box-shadow: 4px 0 32px rgba(44,25,0,0.14);
  padding: 30px 24px 24px 24px;
  min-width: 60vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--accent);
  color: #1A3764;
  border: none;
  border-radius: 50%;
  font-size: 1.9rem;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin-bottom: 16px;
  box-shadow: 0 2px 9px rgba(247,183,49,0.18);
  transition: background .18s, color .18s;
  cursor: pointer;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #FFD369;
  color: #0D1A32;
  outline: 3px solid var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
  width: 100%;
}
.mobile-nav a {
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 18px;
  padding: 17px 22px;
  transition: background .17s, color .16s, transform .14s;
  min-width: 160px;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #0D1A32;
  transform: translateX(3px);
}

/* FOOTER */
footer {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 12px var(--shadow-color);
  margin-top: 46px;
  padding: 44px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  font-size: 0.97rem;
  margin: 12px 0 0 0;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  transition: color .17s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-contact {
  color: #4A3A2C;
  font-size: 0.98rem;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 8px 0;
}
.footer-rights {
  font-size: 0.93rem;
  color: #938e81;
  margin-top: 3px;
}
footer img {
  width: 69px;
  margin-bottom: 8px;
}

/* PRICING TABLE */
.pricing table {
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--shadow-color);
  overflow: hidden;
  margin-bottom: 22px;
}
.pricing th, .pricing td {
  border-bottom: 1px solid #ECECEC;
}
.pricing tr:last-child td {
  border-bottom: none;
}
.pricing tr td:last-child {
  color: var(--accent);
  font-weight: 600;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .container { max-width: 92vw; }
  header .container { flex-direction: column; gap: 13px; }
}
@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  header .container { flex-direction: row; gap: 12px; padding: 19px 10px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .cta-button { padding: 12px 24px; font-size: 1rem; }
  section, .section { padding: 28px 9px; }
  .hero, .testimonials-list, .testimonials { padding: 18px 7px; border-radius: 16px; }
  .process ol li, .features ul li, .services ul li, .faq ul li, .team ul li { padding: 14px 11px; font-size: 1rem; }
  .testimonial-card { padding: 14px 12px 13px 12px; font-size: .98rem; }
  .contact ul, .text-section ul, .features ul, .services ul { gap: 11px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.21rem; }
  .hero { min-height: 110px; }
  .container { max-width: 100vw; padding-left: 3vw; padding-right: 3vw; }
  .footer-nav, .footer-contact { gap: 6px; font-size: 0.9rem; }
  .footer-rights { font-size: .85rem; }
  .office-map span { font-size: .93rem; }
}

/* FLEX UTILITY CLASSES (if needed) */
.card-container, .card-grid, .content-grid {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .card-container, .card-grid, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #FFF3DF;
  box-shadow: 0 -2px 12px rgba(249, 199, 88, 0.14), 0 -1px 6px var(--shadow-color);
  border-radius: 24px 24px 0 0;
  padding: 22px 30px 22px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  z-index: 1200;
  font-size: 1.02rem;
  transition: transform .34s cubic-bezier(.83,0,.48,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  color: #5B4D39;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
}
.cookie-banner .cookie-button {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 21px;
  border-radius: 22px;
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background .16s, color .13s;
}
.cookie-banner .cookie-button.settings {
  background: var(--secondary);
  color: #876200;
  border: 1px solid #F7B731;
}
.cookie-banner .cookie-button:hover, .cookie-banner .cookie-button:focus {
  background: #FFD369;
  color: #0D1A32;
}
@media (max-width: 590px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    padding: 14px 4vw 17px 4vw;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    gap: 11px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 20, 10, 0.37);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal {
  background: #FFFDF7;
  border-radius: 24px;
  box-shadow: 0 7px 36px rgba(200,109,10,0.18), 0 2px 15px var(--shadow-color);
  padding: 32px 38px 28px 38px;
  min-width: 330px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: appearModal .32s cubic-bezier(.7,.13,.35,1);
}
@keyframes appearModal {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff8e7;
  border-radius: 13px;
  padding: 11px 21px;
  font-size: 1.05rem;
}
.cookie-category .toggle {
  width: 36px; height: 20px;
  background: var(--secondary);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.cookie-category .toggle[aria-checked="true"] {
  background: var(--accent);
}
.cookie-category .toggle::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 3px var(--shadow-color);
  transition: left .18s;
}
.cookie-category .toggle[aria-checked="true"]::before {
  left: 18px;
}
.cookie-category .toggle[aria-disabled="true"] {
  background: #E5EAF0;
  opacity: .6;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .cookie-button {
  padding: 8px 21px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 12px;
  background: none;
  color: #876200;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  padding: 0 6px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
  outline: 2px solid var(--accent);
}

/* MICRO-INTERACTIONS */
a, button, .cta-button, .cookie-button, .main-nav a, .mobile-nav a, .mobile-menu-close {
  transition: background .19s, color .16s, box-shadow .15s, transform .14s;
}

/* SPACING/UTILITY */
.mb-0 { margin-bottom: 0!important; }
.mb-20 { margin-bottom: 20px!important; }
.mt-32 { margin-top: 32px!important; }
.mt-8 { margin-top: 8px!important; }
.pt-8 { padding-top: 8px!important; }
.pb-8 { padding-bottom: 8px!important; }
.gap-20 { gap: 20px!important; }


/* EXTRAS FOR ACCESSIBILITY */
:focus {
  outline: 2px solid var(--accent)!important;
  outline-offset: 1.5px;
}

/* ERROR/SUCCESS (example, forms) */
input.error, textarea.error {
  border-color: var(--error);
  background: #FFEDEB;
}
input.success, textarea.success {
  border-color: var(--success);
  background: #E7F6EF;
}


/* === END OF CSS === */
