/* =====================
  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, menu, 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, 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 {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  color: #182432;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #f9f8f4;
  -webkit-font-smoothing: antialiased; 
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { border: none; outline: none; background: none; font: inherit; cursor: pointer; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid #25436b; outline-offset: 2px; }

/* ===============
   BRAND FONTS
================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #25436b;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.16; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; color: #2e3f5e; font-weight: 600; }
h4, h5, h6 {font-size: 1rem; margin-bottom: 14px; color: #2e3f5e; font-weight: 500;}

p, li, blockquote, span, a, ul {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #182432;
}
strong { font-weight: 600; color: #25436b; }

a.cta-button, .cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  background: #25436b;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(37,67,107,0.08);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  display: inline-block;
  margin-top: 18px;
  letter-spacing: 0.5px;
}
a.cta-button.primary, .cta-button.primary {
  background: #25436b;
  color: #fff;
  border: 1.5px solid #25436b;
}
a.cta-button.primary:hover, .cta-button.primary:focus, .cta-button:active {
  background: #c7a671;
  color: #25436b;
  box-shadow: 0 4px 24px rgba(39,56,82,0.12);
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}
a.cta-button.secondary, .cta-button.secondary {
  background: #fff;
  color: #25436b;
  border: 1.5px solid #25436b;
}
a.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #25436b;
  color: #fff;
}

/* =============
  LAYOUT WRAPS
============== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(37,67,107,0.06);
  position: sticky; top: 0;
  width: 100%;
  z-index: 70;
}
.header-container {
  min-height: 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img { height: 46px; width:auto; display: block; }

nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #25436b;
  transition: color 0.2s;
  position: relative;
  padding: 8px 0;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #c7a671;
}
nav.main-nav a.active {
  color: #c7a671;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #25436b;
  font-size: 2rem;
  line-height:1;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f0f4fa;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #25436b;
  box-shadow: 0 6px 32px rgba(0,0,0,0.18);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.44s cubic-bezier(0.77,0,0.175,1);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMobileMenu 0.45s cubic-bezier(0.77,0,0.175,1);
}
@keyframes slideInMobileMenu {
  0% { transform: translateX(100%); }
  100%{ transform: translateX(0); }
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 24px; right: 24px; 
  z-index: 1110;
  background: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #213d62;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin-top: 64px;
  padding: 40px 32px 24px 32px;
  z-index: 1101;
  box-sizing: border-box;
}
.mobile-nav a {
  display: block;
  width: 100%;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 500;
  padding: 13px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #c7a671;
  color: #25436b;
}

@media (max-width: 1020px) {
  .header-container {
    gap: 4px;
  }
  nav.main-nav {
    gap: 14px;
  }
}
@media (max-width: 950px) {
  nav.main-nav {
    gap: 8px;
  }
  .header-container a.cta-button {padding: 9px 18px; font-size:1.0rem;}
}
@media (max-width: 850px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .mobile-nav {padding:36px 16px 12px 16px; margin-top:60px;}
  .mobile-menu-close {top:16px; right:16px;}
  .mobile-nav a {font-size:1.08rem;}
  .logo img {height:34px;}
}

/* =============
  MAIN LAYOUT
============= */
main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 480px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* HERO SECTION */
.hero {
  background: #25436b;
  color: #fff;
  padding: 64px 0 64px 0;
  margin-bottom: 60px;
  min-height: 250px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero .container { align-items: center; }
.hero h1, .hero h2, .hero h3 {
  color: #fff;
}
.hero p {
  color: #f9f8f4;
  font-size: 1.13rem;
  margin-bottom: 10px;
}
.hero .cta-button {
  background: #c7a671;
  color: #25436b;
  font-weight: 600;
  margin-top: 20px;
}
.hero .cta-button:hover, .hero .cta-button:focus {
  background: #fff;
  color: #25436b;
}

@media (max-width: 650px){
  .hero {padding: 36px 0 40px 0;}
  .hero h1 {font-size: 2rem;}
  .hero p {font-size: 1rem;}
}

/* FEATURE LISTS */
.features {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px rgba(37,67,107,0.06);
}
.features .content-wrapper {
  gap: 18px;
}
.features h2 {
  margin-bottom: 8px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: flex-start;
  margin-top: 12px;
}
.features ul li {
  display: flex;
  align-items: center;
  gap:12px;
  font-size: 1rem;
  color: #25436b;
  background: #f9f8f4;
  border-radius: 12px;
  padding: 12px 20px;
  flex: 1 1 310px;
  min-width: 230px;
  box-shadow: 0 1.5px 7px rgba(37,67,107,0.04);
  margin-bottom: 0;
  transition: box-shadow .2s, background .2s;
}
.features ul li img {
  width: 32px; height: 32px; object-fit: contain;}
.features ul li:hover, .features ul li:focus {
  background: #e7ecf4;
  box-shadow: 0 4px 16px rgba(37,67,107,0.11);
}

@media (max-width: 750px) {
  .features ul {gap: 14px 0; flex-direction: column;}
  .features ul li {flex:1 1 90%;}
}
/* ==========
  ABOUT
=========== */
.about {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px rgba(37,67,107,0.06);
}
.about .content-wrapper {
  gap:15px;
}
.about ul {
  margin-top:10px;
  margin-left:16px;
  display: flex; flex-direction: column;
  gap:9px;
}
.about ul li:before {
  content: '\2022'; color: #25436b; display: inline-block; margin-right:10px;}


/* ===========
  SERVICES
============ */
.services {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px rgba(37,67,107,0.06);
}
.services .content-wrapper {
  gap:16px;
}
.services h2 {
  margin-bottom: 10px;
}
.services ul {
  margin-bottom: 22px;
  display: flex; flex-direction: column; gap:17px;}
.services ul li {
  padding: 18px 18px 18px 12px;
  border-radius: 12px;
  background: #f9f8f4;
  display: flex; align-items: flex-start; gap:12px;
  box-shadow: 0 1px 7px rgba(37,67,107,0.025);
  font-size: 1rem;
  color: #25436b;
  justify-content: space-between;
  flex-wrap: wrap;
  transition: box-shadow .18s, background .16s;
}
.services ul li:hover {
  box-shadow: 0 4px 16px rgba(37,67,107,0.10);
  background: #e7ecf4;
}
.services ul .price {
  color: #c7a671; padding-left: 8px; font-size: 1.07rem; font-weight:600;
}

/* ===============
 TESTIMONIALS
================ */
.testimonials {
  background: #f9f8f4;
  border-radius: 18px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 20px;
  margin-top:10px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 7px rgba(37,67,107,0.04);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #e7ecf4;
  box-shadow: 0 6px 24px rgba(39,56,82,0.13);
}
.testimonial-card blockquote {
  color: #25436b;
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0;
  display: flex; flex-direction: column;
}
.testimonial-card strong, .testimonial-meta {
  margin-top: 13px;
  color: #c7a671;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Montserrat',sans-serif;
}

@media (max-width:800px){
  .testimonial-card {padding:14px;}
}
@media (max-width:520px){
  .testimonial-card blockquote, .testimonial-card {font-size:1rem;}
}

/* =============
   CONTACT INFO
============== */
.contact {
  background: #25436b;
  border-radius: 18px;
  margin-bottom: 60px;
  color: #fff;
  box-shadow: 0 2px 14px rgba(37,67,107,0.06);
}
.contact .content-wrapper {gap:10px;}
.contact h2, .contact h3, .contact h4 {
  color:#fff;
}
.contact p, .contact ul, .contact a, .contact li { color: #f9f8f4; }
.contact-info {
  display: flex; flex-direction: column; gap:11px; margin-bottom:5px; margin-top:10px;
}
.contact-info li {
  display: flex; align-items: center; gap:11px; font-size:1rem;
}
.contact-info img {width:25px; height:25px;}
.contact-info a {color: #c7a671; text-decoration: underline;}
.contact-info a:hover {color:#fff;}

/* ===============
    BLOG LIST
================ */
.blog-list {
  background: #fff;
  border-radius: 18px;
  margin-bottom:60px;
  box-shadow: 0 2px 14px rgba(37,67,107,0.06);
}
.blog-list .content-wrapper { gap: 10px; }
.blog-list ul {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px;
}
.blog-list ul li {
  flex: 1 1 300px;
  background: #f9f8f4;
  border-radius: 12px;
  padding:18px 16px;
  box-shadow: 0 1.5px 7px rgba(37,67,107,0.04);
  transition: box-shadow 0.18s, background 0.18s;
}
.blog-list ul li:hover {
  background: #e7ecf4; box-shadow:0 6px 20px rgba(39,56,82,0.09);
}
.blog-list h3 { margin: 0 0 8px 0; font-size: 1.18rem; font-family: "Montserrat"; font-weight:600; }

@media (max-width:750px){
  .blog-list ul {gap:16px;flex-direction:column;}
  .blog-list ul li{flex:1 1 90%;}
}

/* =============
   PRIVACY, GDPR, COOKIE
================== */
.privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use {
  background: #fff;
  border-radius: 15px;
  margin-bottom:60px;
  box-shadow: 0 2px 14px rgba(37,67,107,0.05);
}
.privacy-policy .content-wrapper,
.gdpr-info .content-wrapper,
.cookie-policy .content-wrapper,
.terms-of-use .content-wrapper {
  gap:10px;
}

/* ===================
  FOOTER
=================== */
footer {
  background: #25436b;
  color: #fff;
  width: 100%;
  padding: 0 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap:26px;
  padding: 28px 20px;
}
.footer-logo img {
  height: 40px; width:auto; display:block;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: #c7a671;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .99rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-info {
  font-size: 0.97rem;
  color: #dbe1eb;
}
@media (max-width: 900px) {
  footer .container {flex-direction: column; align-items: flex-start; gap:16px;}
  .footer-nav {gap:16px;}
}

/* ========================
MANDATORY FLEXBOX PATTERNS
======================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1.5px 7px rgba(37,67,107,0.04);
  transition: box-shadow .16s, background .16s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 26px rgba(37,67,107,0.14);
  background: #f6f8fc;
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===========
  SPACING
============ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .testimonial-card, .features ul li, .about, .services, .blog-list ul li, .privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use {
  margin-bottom: 20px;
}

/* ===============
 RESPONSIVE RULES
================== */
@media (max-width: 1060px) {
  .container {max-width: 96vw;}
}
@media (max-width: 780px) {
  .container {padding: 0 10px;}
  .section, section, .card, .about, .features, .services, .blog-list, .privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use {
    padding:24px 6px; border-radius:11px;
  }
  .features ul li, .services ul li, .blog-list ul li, .testimonial-card {
    padding:14px 8px;
  }
  .content-grid, .card-container {gap: 14px;}
}
@media (max-width:530px){
  h1{font-size:1.44rem;}
  h2{font-size:1.18rem;}
  .card, .about, .features, .services, .blog-list, .privacy-policy, .gdpr-info, .cookie-policy,.terms-of-use, .testimonial-card {
    padding:13px 4px;
    border-radius:8px;
  }
}

/* ================
  BUTTONS, LINKS
================== */
button, .cta-button {
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.14s;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}

/* ================
  MICRO INTERACTIONS
================== */
a, .cta-button, button, .footer-nav a, .main-nav a, .mobile-nav a {
  transition: color 0.18s, background .16s, box-shadow .16s, transform 0.11s;
}

/* ================
   COOKIE CONSENT
================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #25436b;
  color: #fff;
  z-index: 20000;
  padding: 22px 10px 18px 10px;
  box-shadow: 0 -4px 18px rgba(37,67,107,0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.cookie-banner p {
  margin: 0 12px 0 0;
  color: #fff;
  font-size: 1.02rem;
  flex:1 1 380px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  padding: 9px 18px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  background: #c7a671;
  color: #25436b;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(39,56,82,0.06);
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
}
.cookie-banner button.cookie-reject {
  background: #fff; color: #25436b; border: 1.5px solid #c7a671;
}
.cookie-banner button.cookie-settings {
  background: #25436b;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #2d5b92; color: #fff;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #fff; color: #25436b;
}

@media (max-width:650px){
  .cookie-banner {gap:10px; flex-direction: column;align-items:stretch;padding:14px 6px;}
  .cookie-banner p {margin:0 0 6px 0;}
  .cookie-banner .cookie-actions {justify-content: flex-start;gap:8px;}
}

/* Cookie modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0; top:0;
  background: rgba(30,43,67,0.26);
  z-index: 30000;
  align-items: center;
  justify-content: center;
  transition: background 0.27s;
}
.cookie-modal.open {
  display: flex;
  animation: fadeIn 0.32s;
}
@keyframes fadeIn {
  0% { background: rgba(30,43,67,0); }
  100% { background: rgba(30,43,67,0.26); }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #25436b;
  padding: 34px 24px 26px 24px;
  border-radius: 17px;
  max-width: 400px;
  width: 94%;
  box-shadow: 0 4px 28px rgba(37,67,107,0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalPopIn 0.32s;
}
@keyframes modalPopIn {
  0% { transform: translateY(30px) scale(0.97); opacity: 0; }
  100%{ transform: none; opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: #25436b;
  font-size: 1.7rem;
  border-radius: 8px;
  position: absolute;
  top: 15px; right: 16px;
  padding: 4px 9px;
  z-index: 30021;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #f9f8f4;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size:1.06rem;
}
.cookie-category .toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #e7ecf4;
  border-radius: 12px;
  position: relative;
  outline: none;
  border: none;
  transition: background 0.18s;
  cursor: pointer;
  box-sizing: border-box;
}
.cookie-category .toggle:checked {
  background: #25436b;
}
.cookie-category .toggle:before {
  content: '';
  position: absolute;
  top: 2.5px; left: 3px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius:50%;
  transition: left .16s;
  box-shadow: 0 3px 15px rgba(39,56,82,0.09);
}
.cookie-category .toggle:checked:before {
  left: 17px;
}
.cookie-category .cookie-required {
  color: #aaa; font-size:0.93em; margin-top:0; }
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  padding:7px 18px; border-radius:19px; font-family:'Montserrat'; font-weight:600;}
.cookie-modal .cookie-modal-actions .secondary {
  background: #f3ecde; color:#25436b; border:1.1px solid #c7a671;
}
.cookie-modal .cookie-modal-actions .primary {
  background: #25436b; color:#fff; border:1.1px solid #25436b;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #c7a671; color: #25436b;
}

@media (max-width:520px){
  .cookie-modal .cookie-modal-content{padding:16px 5px 14px 10px; border-radius:9px;}
}

/* ===============
  GENERAL UTILITY
================== */
.text-center {text-align: center;}
.flex-center {display:flex; align-items:center; justify-content:center;}

/* Hide items visually but keep for screen readers */
.sr-only {
  position: absolute!important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

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