/* --- 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,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,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;}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
a{text-decoration:none;color:inherit;}
button,input,select,textarea{font-family:inherit;font-size:inherit;box-sizing:border-box;}
img{max-width:100%;height:auto;display:block;}
*,*:before,*:after{box-sizing:border-box;}

/* --- COLOR VARIABLES & FONT STACKS --- */
:root {
  --primary: #25526B;
  --primary-dark: #172f40;
  --secondary: #F3F7FA;
  --secondary-dark: #1a2227;
  --accent: #B38A23;
  --accent-dark: #8A6800;
  --bg: #1A2227;
  --text: #F3F7FA;
  --card-bg: #232b31;
  --muted: #b5c3d1;
  --border: #354651;
  --shadow: rgba(30,42,55,0.18);
  --shadow-strong: rgba(15,23,31,0.36);
  --white: #fff;
  --danger: #c0581b;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

h1,h2,h3,h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
h1 {font-size: 2.5rem;line-height: 1.2;margin-bottom:24px;}
h2 {font-size: 2rem;margin-bottom:18px;}
h3 {font-size: 1.25rem;margin-bottom:10px;}
h4 {font-size: 1.05rem;}

p,ul,ol {color: var(--muted);font-size: 1rem;line-height:1.7; margin-bottom:14px;}

strong {font-weight:bold;color:var(--accent);}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background:transparent;
}
@media (min-width:992px) {
  .section {
    padding: 60px 0;
  }
}

/* --- NAV BAR --- */
header {
  background: var(--primary-dark);
  box-shadow: 0 2px 12px var(--shadow);
  position:sticky;
  top:0;left:0;right:0;
  z-index:1010;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap:24px;
  min-height:70px;
  padding: 10px 0 10px 0;
  position:relative;
}
.main-nav > a:first-child img {
  height: 44px;
  width: auto;
  filter: brightness(1.1);
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav ul li a {
  color: var(--text);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding: 8px 12px;
  border-radius: 4px;
  margin:0 2px;
  transition:background 0.15s, color 0.15s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--card-bg);
  color: var(--accent);
}
.main-nav .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight:700;
  color: var(--primary);
  background: var(--accent);
  padding: 11px 22px;
  border-radius: 6px;
  box-shadow: 0 4px 12px var(--shadow);
  transition: background .2s, color .2s, box-shadow .2s;
  margin-left: 16px;
  border: none;
  outline: none;
  cursor: pointer;
  display:inline-block;
  text-align:center;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--accent-dark);
  color:var(--white);
  box-shadow: 0 8px 24px var(--shadow-strong);
}

/* --- BURGER MENU (MOBILE) --- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  color: var(--accent);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 12px var(--shadow);
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1101;
  cursor:pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 2px 18px var(--shadow-strong);
}
/* Hide on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 1200;
  transform: translateX(100vw);
  transition: transform .33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--accent);
  font-size: 2.2rem;
  border: none;
  padding: 20px 16px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent-dark);
}
.mobile-nav {
  flex:1;
  width:100%;
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px 0;
}
.mobile-nav a {
  color: var(--text);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size:1.3rem;
  letter-spacing:.5px;
  padding: 12px 28px;
  border-radius: 7px;
  transition: background .18s, color .18s;
  text-align:center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--card-bg);
  color: var(--accent);
}
@media (min-width:992px) {
  .mobile-menu {
    display:none;
  }
}

/* --- HIDE NAVIGATION ON MOBILE --- */
@media(max-width:991px) {
  .main-nav ul,.main-nav .cta {
    display:none;
  }
}

/* --- MAIN --- */
main {
  min-height: 340px;
}

/* --- FLEX CONTAINERS PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom:20px;
  background:var(--card-bg);
  border-radius:12px;
  box-shadow:0 2px 10px var(--shadow);
  position:relative;
  display:flex;
  flex-direction:column;
  padding:32px 24px;
  border:1px solid var(--border);
  transition: box-shadow .17s, border-color .17s, transform .16s;
}
.card:hover, .card:focus-within {
  box-shadow:0 6px 24px var(--shadow-strong);
  border-color:var(--accent);
  transform:translateY(-3px);
}
.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;
    gap:16px;
  }
}
.testimonial-card {
  display:flex;
  align-items:center;
  gap:20px;
  padding:20px;
  background: #f5f4f1;
  color: #232b31;
  border-radius:10px;
  box-shadow:0 2px 8px var(--shadow);
  margin-bottom:20px;
  border-left:4px solid var(--accent);
  flex-direction:column;
  min-width:0;
}
.testimonial-card p {
  color:#2A320D;font-size:1.05rem;margin:0 0 8px 0;
}
.testimonial-card strong {color:var(--primary-dark)}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom:20px;
}

/* --- FEATURE ICONS/LISTS --- */
.features-list {
  display:flex;
  flex-wrap:wrap;
  gap:32px;
  justify-content:flex-start;
  margin-bottom:14px;
}
.features-list li {
  background:var(--card-bg);
  border-radius:14px;
  border:1.5px solid var(--border);
  box-shadow: 0 2px 14px var(--shadow);
  padding:28px 20px 20px 20px;
  min-width:230px;
  max-width:320px;
  flex:1 1 220px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  transition:box-shadow .16s,border-color .16s,transform .14s;
}
.features-list li:hover {
  border-color:var(--accent);
  box-shadow:0 8px 24px var(--shadow-strong);
  transform:translateY(-2px);
}
.features-list li img {
  width:40px; height:40px;margin-bottom:10px;filter:brightness(1) contrast(1.1);
}
.features-list h3 {color:var(--accent);font-size:1.04rem;}

/* --- SERVICES --- */
.services-list {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-bottom:18px;
}
.services-list li {
  background:var(--card-bg);
  border-radius:10px;
  border:1.5px solid var(--border);
  box-shadow:0 2px 10px var(--shadow);
  flex:1 1 200px;
  min-width:210px;
  max-width:310px;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:20px 16px 16px 16px;
  position:relative;
  transition: box-shadow .19s,border .17s,transform .17s;
}
.services-list li:hover {
  border-color:var(--accent);
  box-shadow:0 8px 24px var(--shadow-strong);
  transform:translateY(-2px);
}
.services-list h3 {font-size:1.08rem;color:var(--accent);}
.services-list .price {
  font-weight:bold;
  color:var(--accent-dark);
  font-size:1.04rem;
  margin-top:4px;
  letter-spacing:0.5px;
}

/* --- ARTICLE LIST --- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 20px;
}
.article-list li {
  background: var(--card-bg);
  border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: 20px 16px 12px 16px;
  box-shadow: 0 2px 10px var(--shadow);
  transition: box-shadow .14s, border-color .14s;
  margin-bottom: 0px;
}
.article-list li:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px var(--shadow-strong);
}
.article-highlight {
  background:var(--accent);
  color:var(--primary);
  border-radius:9px;
  padding:19px 15px;
  margin:20px 0 0 0;
  font-family:'Montserrat',Arial,Helvetica,sans-serif;
  font-weight:600;
  letter-spacing:.2px;
  box-shadow:0 1.5px 6px var(--shadow-strong);
}
.article-highlight h3 {color: var(--primary);font-size:1.17rem;margin-bottom:6px;}
.article-highlight p {color:var(--primary-dark);font-size:0.98rem;}

.faq-list {
  display:flex;
  flex-direction:column;
  gap:24px;
}
.faq-list > div {
  background:var(--secondary);
  color:#212932;
  border-radius:10px;
  box-shadow:0 2px 9px var(--shadow);
  padding:20px 16px;
  border-left:4px solid var(--accent);
}
.faq-list h3 {font-size:1.1rem;color:var(--primary);margin-bottom:5px;}
.faq-list p {color:#294156;margin:0;}

/* --- CTA BUTTONS --- */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight:700;
  background: var(--accent);
  color:var(--primary);
  border:none;
  border-radius:7px;
  padding:13px 30px;
  cursor:pointer;
  margin-top:18px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px var(--shadow);
  letter-spacing:.3px;
  transition: background .22s, color .22s, box-shadow .22s, transform .15s;
  position:relative;
  z-index:2;
}
.cta:hover, .cta:focus {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 8px 24px var(--shadow-strong);
  transform:translateY(-1px);
}

/* --- TEXT SECTIONS --- */
.text-section {
  margin-bottom:18px;
  font-size:1.04rem;
  color:var(--muted);
  background:none;
}
.text-section ul, .text-section ol {
  padding-left: 20px;
  margin-top: 10px;
}
.text-section li {
  margin-bottom: 8px;
  list-style: disc outside;
  color:var(--muted);
}
.text-section a {
  color:var(--accent);
  border-bottom:1px solid var(--accent);
  transition:color .16s,border-bottom .16s;
}
.text-section a:hover,.text-section a:focus {
  color:var(--primary);
  border-bottom:1px solid var(--primary);
}

input[type="search"] {
  display:block;
  width:100%;
  background:var(--secondary);
  color:#294156;
  border:1px solid var(--border);
  border-radius:8px;
  padding:13px 18px;
  font-size:1rem;
  margin-top:14px;
  margin-bottom:6px;
  transition: border .18s, box-shadow .17s;
  outline:none;
  box-shadow:0 1.5px 6px var(--shadow);
}
input[type="search"]:focus {border-color:var(--accent);box-shadow:0 5px 18px var(--shadow-strong);}

/* --- OL STEPS-TIMELINE --- */
.steps-timeline {
  display:flex;
  flex-direction:column;
  gap:22px;
  padding-left: 0;
}
.steps-timeline li {
  background: var(--card-bg);
  border-left:4px solid var(--accent);
  border-radius:8px;
  padding:18px 16px 16px 18px;
  box-shadow:0 1.5px 6px var(--shadow);
  margin-bottom:0px;
  transition:box-shadow .14s, border-color .14s, transform .12s;
}
.steps-timeline li:hover{border-color:var(--primary);box-shadow:0 7px 18px var(--shadow-strong);transform:translateY(-1px);}
.steps-timeline h3{color:var(--accent);font-size:1.15rem;}

/* --- OFFICE LOCATION + HOURS --- */
.office-location, .business-hours {
  background:var(--card-bg);
  border-radius:8px;
  border:1.5px solid var(--border);
  padding:14px 16px 11px 16px;
  color:var(--muted);
  box-shadow:0 1.5px 7px var(--shadow);
  margin-bottom: 20px;
}
.office-location h3, .business-hours h3 {color:var(--accent);}  

ol,ul {margin-bottom:12px;}

/* --- FOOTER --- */
footer {
  background: var(--primary-dark);
  color: var(--muted);
  padding:34px 0 20px 0;
  font-size:0.96rem;
  border-top: 2px solid var(--border);
  margin-top:40px;
}
footer a {color:var(--accent);transition:color .14s;}
footer a:hover, footer a:focus {color:var(--white);}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:24px;
  align-items: flex-start;
}
.footer-brand img {
  height:40px;
  margin-bottom:12px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-social {
  display:flex;
  gap: 12px;
  align-items:center;
}
.footer-social a img {width:27px;height:27px;filter:grayscale(1) brightness(.9) contrast(1.07);opacity:.85;transition:filter .15s,opacity .15s;}
.footer-social a:hover img{filter:grayscale(0) brightness(1.2) contrast(1.2);opacity:1;}
@media (max-width: 991px) {
  footer .content-wrapper {flex-direction: column; align-items: flex-start;gap:20px}
  .footer-brand,.footer-links,.footer-contact,.footer-social { margin-bottom:12px;}
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position:fixed;
  left:0;right:0;bottom:0;
  z-index: 1202;
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 -1.5px 10px var(--shadow-strong);
  padding:22px 16px 18px 16px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap: 14px 24px;
  opacity:1;transition: opacity .19s,transform .18s;
}
.cookie-banner.hide { opacity:0;pointer-events:none;transform:translateY(100%);}
.cookie-banner .cookie-banner-message {flex:2 1 240px;font-size:1.01rem;line-height:1.6;}
.cookie-banner .cookie-banner-buttons {display:flex;gap:12px;flex:1 1 220px;justify-content:flex-end;flex-wrap:wrap;}
.cookie-banner button {
  font-size:1rem;
  padding:10px 24px;
  border-radius:7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight:600;
  border:none;
  cursor:pointer;
  background:var(--accent);
  color:var(--primary);
  transition: background .17s, color .17s,box-shadow .16s;
  box-shadow: 0 1.5px 6px var(--shadow);
}
.cookie-banner button.settings {
  background:var(--card-bg);
  color:var(--accent);
  border:1.5px solid var(--accent-dark);
}
.cookie-banner button.reject {
  background: var(--danger);
  color:var(--white);
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: var(--accent-dark);
  color:var(--white);
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: var(--primary);
  color:var(--white);
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: var(--accent);
  color:var(--primary);
}
@media(max-width:600px) {
  .cookie-banner {flex-direction:column;align-items:flex-start;gap:12px;}
  .cookie-banner .cookie-banner-buttons {justify-content: flex-start;width:100%;}
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position:fixed;
  top:0;left:0;bottom:0;right:0;
  z-index: 1300;
  background: rgba(34,45,60,0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity:1; pointer-events:auto; transition: opacity .24s;
}
.cookie-modal.hide {
  opacity:0; pointer-events:none;
}
.cookie-modal-content {
  background: var(--card-bg);
  color:var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 40px var(--shadow-strong);
  padding:34px 40px 24px 40px;
  max-width:430px;
  width:93vw;
  position:relative;
  display:flex;
  flex-direction:column;
  gap: 20px;
  font-size:1.06rem;
}
.cookie-modal-content h2 {font-size:1.3rem;color:var(--accent);margin-bottom:14px;}
.cookie-categories {
  display:flex;
  flex-direction:column;
  gap:17px;
  margin: 10px 0 18px 0;
}
.cookie-category {
  display: flex; align-items: center;justify-content:space-between;
  background:none;
  border-radius:7px;padding:5px 0;
}
.cookie-category label {
  color:var(--white);font-size:1.05rem;
}
.cookie-category input[type="checkbox"] {
  width: 19px; height:19px; margin:0 6px 0 0;
  accent-color: var(--accent); outline:none;border-radius:4px;border:1.3px solid var(--accent-dark);
}
.cookie-category input[disabled] {
  opacity:0.55;cursor: not-allowed;
}
.cookie-modal-content .modal-close {
  position:absolute;
  top:13px;right:18px;
  background:transparent;
  color:var(--accent);
  border:none;font-size:2.1rem;
  cursor: pointer;
  transition:color .17s;
}
.cookie-modal-content .modal-close:hover,.cookie-modal-content .modal-close:focus {color:var(--accent-dark);}
.cookie-modal-buttons {
  display:flex;gap:13px;justify-content:flex-end;margin-top:10px;}
.cookie-modal-buttons button {
  font-size:1rem;
  padding:10px 24px;
  border-radius:7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight:600;
  border: none;
  cursor:pointer;
  background:var(--accent);
  color:var(--primary);
  transition: background .16s, color .16s,box-shadow .16s;
  box-shadow: 0 1.5px 6px var(--shadow);
}
.cookie-modal-buttons button.reject {
  background:var(--danger);color:var(--white);
}
.cookie-modal-buttons button.save {background:var(--primary);color:var(--white);}
.cookie-modal-buttons button.save:hover,.cookie-modal-buttons button.save:focus {background:var(--accent-dark);color:var(--white);}
@media(max-width:550px){
  .cookie-modal-content{padding:18px 9vw 18px 9vw;min-width:0;}
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
  .main-nav {
    flex-direction: row;
    gap: 12px;
    min-height: 64px;
    padding:10px 0 10px 0;
  }
  .container {padding:0 10px;}
  .card-container,.features-list,.services-list {gap:16px;}
}
@media (max-width: 768px) {
  .container {padding:0 7px;}
  h1{font-size:2rem;}
  h2{font-size:1.3rem;}
  .section {padding:30px 7px;}
  .features-list li, .services-list li {max-width:100%;}
  .content-wrapper{gap:10px;}
  .article-highlight{padding:13px 9px;}
}
@media(max-width:500px){
  h1{font-size:1.3rem;}
  .main-nav > a:first-child img {height: 35px;}
  .footer-brand img{height:30px;}
}

/* --- ADDITIONAL MICRO-INTERACTIONS & EFFECTS --- */
.card, .features-list li, .services-list li, .article-list li, .article-highlight, .faq-list > div,.steps-timeline li {
  will-change: box-shadow, transform;
  transition:box-shadow .18s, border .17s, transform .17s;
}
.card:active, .features-list li:active, .services-list li:active, .article-list li:active, .article-highlight:active, .faq-list > div:active, .steps-timeline li:active {transform:scale(.992);}

.cta:active, .cookie-banner button:active, .cookie-modal-buttons button:active {transform:scale(0.97);}

/* --- UTILITIES --- */
.hide {display:none !important;}
[hidden] {display:none !important;}

/* --- BRAND FONTS (FALLBACKS) --- */
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  font-style: normal;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm45_cJD7QI.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  font-style: normal;
  src: local('Roboto Regular'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxP.woff2') format('woff2');
  font-display: swap;
}
