/* --- 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, 
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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
  font-size: 1rem;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a {
  color: #28475E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C960;
  text-decoration: underline;
}

/* --- Typography / Font Faces --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #28475E;
  font-weight: 900;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}

p, li, span, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
}

strong, b {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #28475E;
}

.subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #28475E;
  letter-spacing: 0.02em;
}

/* --- Containers & Layout --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(40, 71, 94, 0.06);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(40,71,94,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 28px 20px 28px;
  transition: box-shadow 0.22s cubic-bezier(.25,.8,.25,1), transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(246,201,96,.13), 0 4px 24px 0 rgba(40,71,94,0.13);
  transform: translateY(-3px) scale(1.01);
  z-index: 2;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #FAF8F3;
  border-left: 7px solid #F6C960;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(40,71,94,0.08);
  color: #222;
  min-width: 250px;
  max-width: 620px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 22px 0 rgba(246,201,96,.13), 0 2px 14px 0 rgba(40,71,94,0.12);
  transform: scale(1.01);
  z-index: 1;
}
.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 8px;
}

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

.hero {
  background: #F6C960 linear-gradient(92deg, #F6C960 60%, #E8E7E2 100%);
  border-bottom: 7px solid #28475E;
  padding: 60px 0 48px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #28475E;
  font-size: 2.7rem;
}
.hero .subheadline {
  color: #28475E;
  font-weight: 700;
}

/* --- Main Navigation Styling --- */
header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 12px 0 rgba(40,71,94,0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
  position: relative;
}

.logo img {
  height: 46px;
  width: auto;
  border-radius: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #28475E;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F6C960;
}

.cta-btn {
  background: #28475E;
  color: #fff;
  border: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 26px;
  margin-left: 20px;
  box-shadow: 0 2px 12px 0 rgba(40,71,94,0.11);
  cursor: pointer;
  transition: background 0.22s, color 0.2s, box-shadow 0.22s, transform 0.18s;
}
.cta-btn.primary {
  background: #F6C960;
  color: #28475E;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F6C960;
  color: #28475E;
  box-shadow: 0 6px 20px 0 rgba(246,201,96,.16), 0 2px 12px 0 rgba(40,71,94,0.14);
  transform: translateY(-1px) scale(1.04);
  outline: none;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #28475E;
  color: #fff;
}

/* Service price chip */
.service-price {
  display: inline-block;
  background: #E8E7E2;
  color: #28475E;
  font-weight: 700;
  border-radius: 12px;
  padding: 4px 14px;
  margin-left: 10px;
  font-size: 0.98rem;
}

ul, ol {
  padding-left: 22px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
li {
  margin-bottom: 0;
  font-size: 1rem;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 0;
}

.alert-info {
  background: #F6C960;
  color: #28475E;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 22px 22px;
  border-radius: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  margin-top: 12px;
  margin-bottom: 12px;
}

.faq-list {
  margin-top: 8px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.text-section img {
  height: 1.4em;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.text-section p, .text-section li {
  font-size: 1rem;
}

/* --- Footer --- */
footer {
  background: #28475E;
  color: #fff;
  padding: 56px 0 24px 0;
  border-top: 7px solid #F6C960;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand img {
  height: 44px;
  width: auto;
}
.footer-contact span, .footer-contact a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 7px;
}
.footer-nav, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a, .footer-menu a {
  color: #F6C960;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-menu a:hover,
.footer-nav a:focus, .footer-menu a:focus {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a img {
  height: 28px;
  filter: grayscale(1) contrast(1.2);
  transition: filter 0.2s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: grayscale(0) contrast(1.1) brightness(1.1);
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: #F6C960;
  color: #28475E;
  font-size: 2rem;
  border: none;
  border-radius: 14px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(40,71,94,0.13);
  margin-left: auto;
  z-index: 9991;
  transition: background 0.2s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F6C960;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  background: #FFF;
  box-shadow: -5px 0 16px rgba(40,71,94,0.19);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.85,0,.2,1);
  padding: 34px 26px 18px 26px;
  gap: 38px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #28475E;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  cursor: pointer;
  padding: 0 0 4px 0;
  margin-bottom: 11px;
  border-radius: 9px;
  transition: background 0.2s, color 0.19s;
}
.mobile-menu-close:focus {
  outline: 2px solid #F6C960;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #28475E;
  padding: 14px 0;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #E8E7E2;
  transition: color 0.22s, background 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #fff;
  background: #F6C960;
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9985;
  background: #28475E;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 24px 24px 30px;
  box-shadow: 0 -2px 24px 0 rgba(40,71,94,0.13);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.4s cubic-bezier(.82,0,.36,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  padding: 10px 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  margin: 0 2px;
  transition: background 0.2s, color 0.18s;
}
.cookie-btn.accept {
  background: #F6C960;
  color: #28475E;
}
.cookie-btn.reject {
  background: #fff;
  color: #28475E;
}
.cookie-btn.settings {
  background: #E8E7E2;
  color: #28475E;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #28475E;
  color: #F6C960;
  outline: none;
}

.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,71,94, 0.54);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInCookieModal 0.25s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 36px 0 rgba(40,71,94,0.15);
  padding: 32px 28px 28px 28px;
  max-width: 420px;
  width: 100%;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalSlide 0.3s;
}
@keyframes cookieModalSlide {
  0% { transform: translateY(60px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-modal-content h2 {
  font-family: 'Playfair Display', serif;
  color: #28475E;
  font-size: 1.25rem;
  font-weight: 900;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #F6C960;
}
.cookie-category label {
  font-weight: 700;
  color: #28475E;
  font-size: 1.1rem;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #28475E;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.14s;
}
.cookie-modal .cookie-close:focus {
  outline: 2px solid #F6C960;
}

@media (max-width: 1200px) {
  .container { max-width: 900px; }
  .footer-nav, .footer-menu { gap: 7px; }
}
@media (max-width: 820px) {
  .container { max-width: 98vw; }
  footer .content-wrapper { gap: 25px; }
}
@media (max-width: 1024px) {
  .main-nav { gap: 15px; }
  .footer-brand img { height: 38px; }
  .logo img { height: 38px; }
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.45rem; }
  .footer-brand img { height: 30px; }
  .section {padding: 28px 8px;}
}
@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-brand { width: 100%; margin-bottom: 16px; }
  .footer-contact, .footer-nav, .footer-menu, .footer-social {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .container {max-width: 100vw;}
}
@media (max-width: 650px) {
  html { font-size: 15px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.1rem; }
  .hero { padding: 41px 0; }
  .hero h1 { font-size: 1.55rem; }
  .subheadline { font-size: 1.05rem; }
  .section { padding: 18px 4px; }
  .testimonial-card { padding: 18px 11px; }
  .card { padding: 14px 7px 10px 14px; }
  .service-list { gap: 17px; }
  .content-wrapper { gap: 15px; }
  .text-section { gap: 7px; }
}
@media (max-width: 540px) {
  .hero { padding: 26px 0 24px 0; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 21px 7px 21px 10px;
    font-size: 0.98rem;
    gap: 10px;
  }
  .cookie-modal-content { padding: 22px 11px 18px 11px; }
  .mobile-menu {
    width: 99vw;
    max-width: 99vw;
    padding: 34px 5vw 12px 5vw;
  }
}
@media (max-width: 410px) {
  .mobile-menu { padding: 23px 2vw 8px 3vw; font-size: 0.95rem; }
  .cookie-modal-content { padding: 9px 2px 8px 5px; }
}

/* --- Miscellaneous Visual Elements --- */
hr {
  border: none;
  background: #E8E7E2;
  height: 2px;
  margin: 28px 0;
  border-radius: 8px;
}

::-webkit-scrollbar {
  width: 8px;
  background: #E8E7E2;
}
::-webkit-scrollbar-thumb {
  background: #F6C960;
  border-radius: 6px;
}

/* High contrast for testimonials */
.testimonial-card,
.section .testimonial-card {
  background: #FAF8F3;
  color: #222;
  border-left: 7px solid #F6C960;
  box-shadow: 0 2px 14px 0 rgba(40,71,94,0.08);
}
.testimonial-card strong {
  color: #28475E;
}

/* --- Accessibility & Interactions --- */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #F6C960;
  outline-offset: 2px;
}

/* Decorative Geometric Shapes (if required in sections/cards) */
.geometric {
  position: absolute;
  z-index: 0;
  width: 62px;
  height: 62px;
  opacity: 0.17;
  top: -25px;
  left: -20px;
  background: #F6C960;
  border-radius: 16px 0 23px 10px/13px 7px 24px 13px;
  pointer-events: none;
  display: none;
}

/* Show geometric accents only on desktop */
@media (min-width: 1080px) {
  .geometric { display: block; }
}

/* --- Utility Classes --- */
.mt-2 {margin-top: 16px;}
.mb-2 {margin-bottom: 16px;}
.mb-4 {margin-bottom: 32px;}
.mt-4 {margin-top: 32px;}

/* Enforce min margin between cards/sections for spacing compliance */
.section, .card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* --- PRINT SUPPORT: Basic --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .cta-btn { display: none !important; }
  .section, .card, .testimonial-card { box-shadow: none; background: #fff !important; color: #000 !important; }
}
