/* --- CSS RESET & NORMALIZE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #F6F5F2;
  color: #29556B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* --- BRAND FONT FACES (use Google Fonts in HTML for production) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');


/* --- VARIABLES FOR COLORS --- */
:root {
  --primary: #29556B;
  --secondary: #F6F5F2;
  --white: #fff;
  --accent: #E2A33B;
  --accent-dark: #B37415;
  --text: #29556B;
  --text-dark: #17313D;
  --shadow: rgba(41,85,107,0.08);
  --shadow-dark: rgba(41,85,107,0.17);
}

/* ----------- TYPOGRAPHY ----------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  line-height: 1.13;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }

p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}

.subheadline {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent-dark);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

/* --- CONTAINER & GRID SYSTEM --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --- FLEXBOX LAYOUT CLASSES --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 20px;
  box-shadow: 0 4px 24px var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--shadow);
  padding: 32px 26px 26px 26px;
  min-width: 220px;
  flex: 1 1 270px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px var(--shadow-dark);
  flex: 1 1 340px;
  border-left: 6px solid var(--accent);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 28px 22px 22px 22px;
  min-width: 225px;
  flex: 1 1 265px;
  margin-bottom: 20px;
  border-top: 4px solid var(--primary);
}

/* --- GLOBAL ELEMENT SPACING AND LAYOUT --- */
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.7;
  position: relative;
}

/* --- STRUCTURED/GEOMETRIC HIGHLIGHTS --- */
.feature-item img,
.service-item img,
li img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--secondary);
  box-shadow: 0 2px 8px var(--shadow);
  display: inline-block;
}

hr {
  border: 0;
  border-top: 2px solid var(--primary);
  margin: 36px 0;
}

/* --- HERO STYLES --- */
.hero {
  background: var(--white);
  border-radius: 24px;
  margin-bottom: 40px;
  box-shadow: 0 6px 36px var(--shadow-dark);
  padding: 54px 0 54px 0;
  min-height: 260px;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}

/* --- BUTTONS: CTA, UI, FORMS --- */
.cta-button {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 14px 32px;
  box-shadow: 0 4px 14px var(--shadow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s cubic-bezier(.69,.04,.42,1), box-shadow 0.17s;
  display: inline-block;
  margin-top: 10px;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 6px 28px var(--shadow-dark);
  outline: none;
}
button, input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  transition: background 0.16s, box-shadow 0.2s;
  cursor: pointer;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 16px var(--shadow-dark);
  outline: none;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 3px 24px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
header img {
  height: 38px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0 6px 0;
  transition: color 0.18s, border-bottom 0.16s;
  border-bottom: 2.5px solid transparent;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2.5px solid var(--accent);
}

header .cta-button {
  margin-left: 30px;
  padding: 11px 21px;
  font-size: 1rem;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  font-size: 2.1rem;
  padding: 6px 16px;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 102;
  box-shadow: 0 3px 12px var(--shadow);
  border: none;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  background: var(--primary);
  z-index: 1040;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.65,-0.05,.36,1.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 30px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
  font-size: 2.2rem;
  margin: 0 22px 8px 0;
  border-radius: 8px;
  border: none;
  box-shadow: 0 3px 12px var(--shadow);
  padding: 4px 18px;
  transition: background 0.14s, color 0.18s;
  z-index: 1050;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent-dark);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 32px;
  width: 100%;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
  letter-spacing: 0.04em;
  transition: color 0.16s;
  border-bottom: 2.5px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-bottom: 2.5px solid var(--accent);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 20px 0;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-logo img {
  height: 36px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--accent);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--white);
}
footer p {
  font-size: 0.95rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* --- CARD/CONTENT COMPONENTS --- */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 28px 22px 22px 22px;
  flex: 1 1 245px;
  margin-bottom: 20px;
  border-top: 4px solid var(--accent);
  min-width: 225px;
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.025rem;
  background: var(--secondary);
  color: var(--accent-dark);
  border-radius: 6px;
  padding: 4px 12px 4px 14px;
  margin-top: 12px;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 6px var(--shadow);
  padding: 18px 25px;
  margin-bottom: 20px;
}

/* --- TESTIMONIALS --- */
.testimonials-preview .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.testimonial-card blockquote {
  color: #252a30;
  background: none;
  border: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.063rem;
  margin: 0 0 8px 0;
  padding: 0;
  line-height: 1.5;
}
.testimonial-card footer {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 0.98rem;
  margin-left: 0;
  letter-spacing: 0.01em;
  opacity: 0.89;
}

/* --- SECTIONS --- */
.about-brief,
.about,
.strengths,
.trust-signals,
.services,
.service-process,
.faq-section,
.tips,
.cta,
.social,
.trust-section,
.privacy-policy,
.gdpr,
.cookie-policy,
.terms-of-use,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  box-shadow: 0 4px 24px var(--shadow);
  border-radius: 20px;
}

.text-section {
  margin-bottom: 18px;
}

/* --- CTA SECTION --- */
.cta {
  background: var(--primary);
  color: var(--white);
  text-align: left;
  box-shadow: 0 6px 32px var(--shadow-dark);
  border-radius: 22px;
  padding: 44px 22px;
}
.cta h2, .cta p {
  color: var(--white);
}

/* --- SOCIAL SECTION --- */
.social .content-wrapper {
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.social a img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  margin-right: 6px;
  box-shadow: 0 2px 8px var(--shadow);
  background: var(--white);
  transition: box-shadow 0.17s, transform 0.15s;
}
.social a:hover img, .social a:focus img {
  box-shadow: 0 4px 18px var(--shadow-dark);
  transform: scale(1.08) rotate(-4deg);
}

/* --- THANK YOU SECTION --- */
.thank-you {
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 32px var(--shadow-dark);
  padding: 60px 20px 60px 20px;
}
.thank-you .content-wrapper {
  align-items: center;
}

/* --- STYLED LISTS --- */
.tips-list {
  list-style-type: square;
  margin-bottom: 18px;
}
.tips-list li {
  background: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  box-shadow: 0 1.5px 4px var(--shadow);
}
.tips-list strong {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- MAP/INFO SECTION --- */
.map-section {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 0 0;
}
.map-section img {
  height: 26px;
  width: auto;
}

.text-section ul li img {
  margin-right: 8px;
  vertical-align: text-bottom;
}

/* --- ACCESSIBILITY: screen reader only --- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 -2px 32px var(--shadow-dark);
  padding: 24px 24px 22px 24px;
  z-index: 1112;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookie-slide-in 0.6s cubic-bezier(.56,-0.01,.44,1.16);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-button-group {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.cookie-banner button {
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 20px;
  border: none;
  margin-right: 0;
  transition: background 0.14s, color 0.16s, transform 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent-dark);
  color: var(--white);
  transform: scale(1.05);
  outline: none;
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1113;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(41,85,107,0.46);
}
.cookie-modal-overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 18px;
  max-width: 400px;
  width: 94vw;
  box-shadow: 0 8px 40px var(--shadow-dark);
  padding: 33px 28px 25px;
  z-index: 1114;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modal-slide-in 0.36s cubic-bezier(.61,-0.14,.24,1.13);
}
@keyframes modal-slide-in {
  0% { transform: translateY(50px) scale(0.93); opacity:0; }
  100% { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 13px 0 7px 0;
  border-bottom: 1px solid #e8ecf0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 1.2em;
  height: 1.2em;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: var(--white);
  transition: background 0.11s;
  font-size: 1rem;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--accent);
  color: var(--white);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1020px) {
  .feature-grid, .service-list, .testimonials-preview .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
}
@media (max-width: 830px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero, .about-brief, .about, .services, .service-process, .tips, .cta, .social, .trust-section, .testimonials-preview, .privacy-policy, .gdpr, .cookie-policy, .terms-of-use, .thank-you {
    padding: 32px 8px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 7px;
    position: relative;
  }
  .main-nav, header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 32px 0 40px 0;
    min-height: 120px;
  }
  .content-wrapper { gap: 17px; }
  .section { padding: 28px 7px; }
  .feature-item, .service-item, .card, .testimonial-card { padding: 18px 9px; }
  .feature-grid, .service-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonials-preview .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 13px;
    margin-bottom: 14px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.17rem; }
  .cta-button { font-size: 1rem; padding: 12px 14px; }
  .feature-item, .service-item, .faq-item, .testimonial-card, .card {
    padding: 12px 7px 13px 7px;
    font-size: 0.97rem;
    border-radius: 12px;
  }
  .social .content-wrapper {
    gap: 10px;
  }
}

/* --- MICRO-INTERACTIONS & EFFECTS --- */
.feature-item, .service-item, .faq-item, .card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.13s;
}
.feature-item:hover, .service-item:hover, .faq-item:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 22px var(--shadow-dark);
  transform: translateY(-2px) scale(1.017);
}

input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1.5px solid #cfd8dc;
  border-radius: 8px;
  font-size: 1rem;
  padding: 11px 16px;
  background: var(--white);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary);
  border-color: var(--accent);
}

::-webkit-input-placeholder { color: #b0bcd1; opacity: 1; }
::-moz-placeholder { color: #b0bcd1; opacity: 1; }
:-ms-input-placeholder { color: #b0bcd1; opacity: 1; }
::placeholder { color: #b0bcd1; opacity: 1; }

/* --- A11Y focus states --- */
a:focus, button:focus, .cta-button:focus, input:focus {
  outline: 2.5px solid var(--accent-dark);
  outline-offset: 2px;
}

/* --- GEOMETRIC SHAPE HEADER DECORATION (optional for style) --- */
header::before {
  content: "";
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 7px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
  z-index: 2;
}

/* --- Scrollbar styling for brand personality --- */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6.5px;
}
::-webkit-scrollbar-track {
  background: var(--secondary);
}

/* --- Hide scroll for mobile menu when open --- */
.mobile-menu.open {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.mobile-menu-open {
  overflow: hidden;
  height: 100vh;
}

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