/* CSS RESET & BASE STYLES */
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 { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body { line-height: 1.5; background: #F4F8F7; color: #205767; min-height: 100vh; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: #205767; transition: color .2s; }
a:hover, a:focus { color: #B36B19; outline: none; }

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

:root {
  --color-primary: #205767;
  --color-secondary: #F4F8F7;
  --color-white: #ffffff;
  --color-accent: #B36B19;
  --color-accent-secondary: #D89238;
  --color-text-dark: #205767;
  --color-text-light: #ffffff;
  --shadow-card: 0 2px 12px 0 rgba(32,87,103,0.08);
  --shadow-card-hover: 0 4px 20px 0 rgba(32,87,103,0.13);
  --radius-md: 14px;
  --radius-sm: 7px;
  --transition: .32s cubic-bezier(.33,1,.68,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.23;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 14px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 8px;
}
p {
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.64;
  margin-bottom: 14px;
}
strong { font-weight: 700; color: var(--color-accent); }
blockquote {
  quotes: "\201E" "\201C";
  padding-left: 18px;
  border-left: 3px solid var(--color-accent-secondary);
  font-style: italic;
  color: var(--color-primary);
}
cite {
  color: var(--color-accent);
  display: block;
  margin-top: 7px;
  font-size: 0.98em;
  font-style: normal;
  font-weight: 500;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* HERO SECTION (gradient + CTA) */
.hero {
  background: linear-gradient(92deg, #F4F8F7 0%, #E1EAEC 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  flex: 1;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.7rem;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 22px;
}

/* FLEX PATTERNS & CARD CONTAINERS */
.card-container, .category-cards, .service-list, .content-grid, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card, .category-card, .service-card, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 28px 22px 28px;
  min-width: 220px;
  flex: 1 1 250px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .category-card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px) scale(1.015);
}

.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 30px;
  background: #f9fafb;
  border-left: 4px solid var(--color-accent-secondary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.category-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.category-card {
  flex: 1 1 240px;
  background: linear-gradient(92deg, #F4F8F7 60%, #E1EAEC 100%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.category-card h3 { font-size: 1.25rem; }

/* SERVICE CARD LISTS */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-card {
  flex: 1 1 250px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 18px 22px;
  position: relative;
}
.service-price {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  position: absolute;
  top: 22px;
  right: 24px;
}

.text-section {
  margin-bottom: 18px;
}
.contact-details {
  margin-bottom: 26px;
}
.cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-bottom: 18px;
}

/* BUTTONS */
.cta-button, button, .cookie-btn {
  background: linear-gradient(92deg, #D89238 0%, #B36B19 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.11rem;
  border: 0;
  padding: 13px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  margin-top: 5px;
  display: inline-block;
  box-shadow: 0 2px 8px 0 rgba(216,146,56,0.07);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta-button:hover, .cta-button:focus, button:hover, button:focus, .cookie-btn:hover {
  background: linear-gradient(90deg, #B36B19 15%, #D89238 98%);
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(216,146,56,0.15);
  transform: translateY(-2px) scale(1.017);
}

/* HEADER AND NAVIGATION */
header {
  background: var(--color-white);
  box-shadow: 0 2px 10px 0 rgba(32,87,103,0.02);
  position: sticky;
  top: 0;
  z-index: 98;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 78px;
  padding-top: 9px;
  padding-bottom: 7px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  margin-right: 14px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 30px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent-secondary);
  background: #f8eee1;
}
.cta-button {
  margin-left: 27px;
}

/* Mobile menu BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  margin-left: 20px;
  cursor: pointer;
  z-index: 1200;
  transition: color .18s, transform .22s;
}
.mobile-menu-toggle:active { color: var(--color-accent); transform: scale(0.95); }

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 340px;
  height: 100vh;
  background: linear-gradient(92deg, #205767 65%, #B36B19 100%);
  box-shadow: -6px 0 22px 0 rgba(32,87,103,0.13);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 22px 26px;
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(.6,.09,.73,.97);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  margin-bottom: 24px;
  cursor: pointer;
  padding: 0 5px;
  transition: color .17s, transform .19s;
}
.mobile-menu-close:active { color: #D89238; transform: scale(0.95); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 13px 6px 12px 2px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background .19s, color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.13);
  color: #FFE2B0;
}

/* OVERLAY when menu is open */
body.mobile-menu-open:before {
  content: '';
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,87,103,0.36);
  z-index: 1800;
}

/* FOOTER */
footer {
  background: linear-gradient(92deg, #205767 66%, #B36B19 100%);
  color: #fff;
  padding: 48px 0 24px;
  width: 100%;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-logo img {
  height: 52px;
  width: auto;
  margin-bottom: 17px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-body);
  opacity: 0.93;
  transition: opacity .15s, text-decoration .18s;
  font-size: 1rem;
  padding: 2px 0 1px 0;
}
.footer-nav a:hover, .footer-nav a:focus { opacity: 1; text-decoration: underline; }
.footer-contact {
  font-size: 0.96rem;
  color: #fff;
  opacity: 0.94;
}
.footer-contact a { color: #FFE2B0; text-decoration: underline; }

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 23px 18px 22px 18px;
  box-shadow: 0 -4px 14px rgba(32,87,103,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 2500;
  animation: cookiefadein .6s cubic-bezier(.18,.7,.48,1);
}
@keyframes cookiefadein { from { opacity:0; transform: translateY(60px);} to { opacity:1; transform: none; } }
.cookie-banner p { color: #fff; font-size: 1rem; max-width: 410px; }
.cookie-banner .cookie-actions {
  display: flex; flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  background: linear-gradient(92deg, #D89238 0%, #B36B19 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 5px rgba(216,146,56,0.14);
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #eee;
}
.cookie-btn.reject {
  background: #E1EAEC;
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus { background: linear-gradient(90deg, #B36B19 15%, #D89238 98%); color: #fff; }
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f4f8f7; color: var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #dde9ec; color: var(--color-primary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; z-index: 3000; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,87,103,0.34);
  display: flex; align-items: center; justify-content: center;
  animation: cookiemodalfade .29s cubic-bezier(.32,1,.68,1);
}
@keyframes cookiemodalfade { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(32,87,103,0.19);
  padding: 38px 32px 32px 32px;
  width: 95%;
  max-width: 410px;
  display: flex; flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookiemodalin .44s cubic-bezier(.18,.78,.33,1);
}
@keyframes cookiemodalin { from { opacity:0; transform:scale(.93);} to { opacity:1; transform:none; } }
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--color-accent); }
.cookie-modal h2 { font-size: 1.3rem; margin-bottom: 13px; }
.cookie-category {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #E1EAEC;
}
.cookie-category:last-child { border: none; margin-bottom: 0; }
.cookie-category-title {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.07rem;
}
.cookie-category-toggle {
  font-size: 1.3rem;
}
.cookie-toggle-switch {
  width: 38px; height: 22px;
  background: #eee;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  margin-left: 12px;
}
.cookie-toggle-switch[aria-checked="true"] {
  background: #D89238;
}
.cookie-toggle-thumb {
  position: absolute; left: 3px; top: 2px; width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(32,87,103,0.08);
  transition: transform .21s cubic-bezier(.5,1,.9,1);
}
.cookie-toggle-switch[aria-checked="true"] .cookie-toggle-thumb {
  transform: translateX(16px);
}
.cookie-category-desc {
  font-size: .97rem;
  color: #666;
  margin-left: 8px;
}

/* ARTICLE & FAQ */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.article-list article {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 21px 20px 22px;
  min-width: 220px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-list h3 { font-size: 1.16rem; margin-bottom: 10px; }

/* SPACING utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* FORM Elements */
input, textarea, select {
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1px solid #dde9ec;
  padding: 12px 13px;
  margin-bottom: 14px;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: border-color .18s;
  background: #fff;
  color: var(--color-primary);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent-secondary);
}
label {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 960px; }
  .card, .category-card, .service-card, .article-list article { min-width: 180px; }
}
@media (max-width: 900px) {
  .container { max-width: 730px; }
  .main-nav { gap: 10px; }
  .footer-nav {
    flex-direction: row; flex-wrap: wrap;
    gap: 7px 18px;
  }
}
@media (max-width: 768px) {
  /* General mobile styles */
  html { font-size: 15px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.25rem; }
  .container { max-width: 99vw; padding-left: 10px; padding-right: 10px; }
  .hero { padding: 38px 0 24px 0; margin-bottom: 32px; }
  .section { padding: 28px 7px; margin-bottom: 38px; }
  .main-nav { display: none !important; }
  .cta-button { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
  .footer-logo img { height: 39px; }
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
  .content-wrapper, .card-container, .category-cards, .service-list, .content-grid, .article-list {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .card, .category-card, .service-card, .testimonial-card, .article-list article {
    min-width: 0; flex-basis: 100%;
    padding-left: 16px; padding-right: 16px;
  }
  .text-image-section { flex-direction: column !important; gap: 18px; }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  .hero { padding: 20px 0 16px 0; }
  .mobile-menu { max-width: 100vw; padding-left: 12px; padding-right: 10px; }
  .cookie-banner { flex-direction: column; gap: 18px; text-align: left; align-items: flex-start; }
  .cookie-modal { padding: 26px 7px 19px 11px; }
  .footer-contact { font-size: 0.92rem; }
}

/* SMOOTH TRANSITIONS & MICRO-INTERACTIONS */
.card, .category-card, .service-card, .testimonial-card, .cta-button, button, a, .cookie-btn {
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition), color var(--transition);
}
.card:hover, .category-card:hover, .service-card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
}

/* SPECIALS: TESTIMONIALS COLOR/CONTRAST */
.testimonial-card {
  background: #fff;
  color: #205767;
  border-left: 4px solid var(--color-accent-secondary);
}
.testimonial-card blockquote { color: #205767; }
.testimonial-card cite { color: #B36B19; }

/* VISUAL HIERARCHY – spacing between major sections/cards */
.section + .section { margin-top: 0; }
.section:not(:last-child) { box-shadow: 0 2px 12px 0 rgba(32,87,103,0.045); }

/* MISC */
hr {
  border: 0; border-top: 1px solid #ebe8e6; margin: 24px 0;
}

::-webkit-input-placeholder { color: #99a4a9; }
:-ms-input-placeholder { color: #99a4a9; }
::placeholder { color: #99a4a9; }

/* Retain focus outlines for accessibility */
:focus-visible {
  outline: 3px solid #B36B19;
  outline-offset: 1.5px;
}

/* Prevent elements overlapping & ensure adequate margin */
.card:not(:last-child), .category-card:not(:last-child), .service-card:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px !important;
}
.section, .card-container, .category-cards, .service-list, .content-grid, .article-list, .faq-list {
  gap: 20px;
}
