/* =====================================================================
   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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #283249;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #283249;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #B49D57;
  outline: none;
}
ul, ol {
  margin-bottom: 0;
  list-style-position: inside;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}
input, textarea {
  font-family: inherit;
}

/* =====================================================================
   BRAND FONT LOADING
====================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Roboto:wght@400;500;700&display=swap');

/* =====================================================================
   COLOR SYSTEM
====================================================================== */
:root {
  --gp-primary: #283249;
  --gp-primary-rgb: 40,50,73;
  --gp-secondary: #E8EAF2;
  --gp-accent: #B49D57;
  --gp-white: #fff;
  --gp-grey: #F8F9FB;
  --gp-black: #202226;
  --gp-shadow: rgba(40,50,73,0.07);
  --gp-radius: 10px;
  --gp-radius-card: 18px;
  --gp-radius-btn: 5px;
  --gp-shadow-card: 0 4px 20px rgba(40,50,73,0.11);
  --gp-focus: #B49D57;
}

/* =====================================================================
   TYPOGRAPHY (GEOMETRIC, ANGULAR, PRECISE)
====================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  letter-spacing: 0.01em;
  font-variation-settings: "wght" 700;
  color: var(--gp-primary);
  font-style: normal;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  line-height: 1.22;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}
h4 {
  font-size: 1.2rem;
}
h5,
h6 {
  font-size: 1rem;
}

p, ul, ol, li, address, blockquote, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gp-primary);
}
strong, b { font-weight: 700; }
.price {
  color: var(--gp-accent);
  font-weight: 700;
  font-size: 1.04rem;
  margin-left: 7px;
}

/* =====================================================================
   CONTAINER & LAYOUT
====================================================================== */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gp-white);
  border-radius: var(--gp-radius-card);
  box-shadow: 0 2px 16px var(--gp-shadow);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 992px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 36px;
    gap: 20px;
  }
}

/* =====================================================================
   HEADER & NAVIGATION
====================================================================== */
header {
  background: var(--gp-secondary);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  box-shadow: 0 4px 16px -10px var(--gp-shadow);
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header img {
  max-height: 52px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 1rem;
  color: var(--gp-primary);
  padding: 8px 6px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  color: var(--gp-accent);
  background: var(--gp-grey);
}

.cta-button {
  padding: 12px 28px;
  background: var(--gp-accent);
  color: var(--gp-primary);
  font-family: 'Merriweather', 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  border-radius: var(--gp-radius-btn);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px -4px var(--gp-shadow);
  border: 2px solid var(--gp-accent);
}
.cta-button:hover, .cta-button:focus {
  background: var(--gp-primary);
  color: var(--gp-white);
  border-color: var(--gp-primary);
  box-shadow: 0 4px 24px -4px rgba(40,50,73,0.15);
}

@media (max-width: 1024px) {
  header .container {
    gap: 12px;
  }
  header nav {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header nav, .cta-button {
    display: none;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
}

/* =============================
   MOBILE MENU
============================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  background: var(--gp-accent);
  color: var(--gp-primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  z-index: 1001;
  box-shadow: 0 2px 8px var(--gp-shadow);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--gp-focus);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--gp-secondary);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  box-shadow: -6px 0 32px -4px var(--gp-shadow);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gp-accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: var(--gp-primary);
  z-index: 1210;
  box-shadow: 0 2px 8px var(--gp-shadow);
  border: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 90px;
  gap: 22px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gp-primary);
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.18s;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gp-accent);
  border-color: var(--gp-accent);
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================
   HERO SECTION (Index/Pages)
============================= */
.hero {
  width: 100vw;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: var(--gp-secondary);
  border-bottom: 4px solid var(--gp-accent);
  margin-bottom: 0;
  box-shadow: 0 8px 32px -12px var(--gp-shadow);
  position: relative;
}
.hero .container {
  min-height: 280px;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 680px;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0 16px 0;
}
.hero h1 {
  color: var(--gp-primary);
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.2rem;
  color: #37405B;
}
.hero .cta-button {
  margin-top: 14px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 170px;
    padding: 12px 0;
  }
  .hero .container {
    min-height: 120px;
  }
  .hero .content-wrapper {
    padding: 12px 0 8px 0;
    gap: 14px;
  }
}

/* =====================================================================
   CARDS, TESTIMONIALS, FEATURES (geometric_structured)
====================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--gp-white);
  border-radius: var(--gp-radius-card);
  box-shadow: var(--gp-shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  border: 2px solid var(--gp-secondary);
  min-width: 250px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 36px -8px var(--gp-shadow);
  border-color: var(--gp-accent);
  z-index: 1;
}
.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;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 520px) {
  .card {
    padding: 16px 10px;
    min-width: 0;
  }
}

/* =====================================================================
   TESTIMONIALS (Cards with High Contrast)
====================================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: var(--gp-grey);
  border-radius: var(--gp-radius-card);
  border-left: 6px solid var(--gp-accent);
  box-shadow: 0 2px 14px -4px var(--gp-shadow);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 480px;
  color: var(--gp-primary);
  transition: transform 0.16s, box-shadow 0.16s;
}
.testimonial-card p {
  color: var(--gp-primary);
  font-size: 1.1rem;
}
.testimonial-card span,
.testimonial-card cite {
  color: var(--gp-accent);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 6px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 6px 28px -6px var(--gp-shadow);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card h3 {
  margin-bottom: 8px;
  color: var(--gp-primary);
}
.testimonial-card blockquote {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
  color: var(--gp-primary);
  border-left: 3px solid var(--gp-accent);
  padding-left: 12px;
}

/* =====================================================================
   ICONS & FEATURE LISTS
====================================================================== */
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}
.feature-icons span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  background: var(--gp-secondary);
  border-radius: var(--gp-radius);
  padding: 7px 16px;
  font-size: 1rem;
  color: var(--gp-primary);
  box-shadow: 0 1px 8px -4px var(--gp-shadow);
  border: 1.5px solid var(--gp-grey);
  transition: background 0.15s, color 0.15s;
}
.feature-icons span img {
  width: 22px;
  height: 22px;
}
.feature-icons span:hover, .feature-icons span:focus {
  background: var(--gp-accent);
  color: var(--gp-white);
}

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

/* =====================================================================
   LISTS, UL, OL
====================================================================== */
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 0;
  font-size: 1rem;
}

/* =====================================================================
   FOOTER
====================================================================== */
footer {
  background: var(--gp-primary);
  color: var(--gp-secondary);
  font-size: 1rem;
  margin-top: 80px;
  padding: 50px 0 24px;
}
footer .container {
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  flex: 0 0 auto;
  max-width: 86px;
}
.footer-brand img {
  max-width: 86px;
  width: 100%;
  margin-bottom: 0;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 110px;
  flex: 1 1 140px;
}
.footer-navigation a {
  color: var(--gp-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: var(--gp-accent);
}
.footer-contact {
  font-size: 1rem;
  color: var(--gp-secondary);
  max-width: 250px;
  margin-top: 12px;
  line-height: 1.6;
}
.footer-contact a {
  color: var(--gp-accent);
  word-break: break-all;
  transition: color 0.14s;
}
.footer-contact a:hover {
  color: var(--gp-white);
  text-decoration: underline;
}
.footer-legal {
  padding-top: 18px;
  font-size: 0.95rem;
  color: #a8afc7;
}
@media (max-width: 1100px) {
  footer .container {
    gap: 14px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 36px 0 14px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-bottom: 18px;
  }
}

/* =====================================================================
   FORMS, ADDRESS (Contact Page)
====================================================================== */
address {
  font-style: normal;
  color: var(--gp-primary);
  font-size: 1rem;
  margin-top: 8px;
}
input, textarea {
  border-radius: var(--gp-radius);
  border: 2px solid var(--gp-secondary);
  padding: 10px;
  margin-bottom: 16px;
  font-size: 1rem;
  background: var(--gp-grey);
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border-color: var(--gp-accent);
  outline: none;
}

/* =====================================================================
   COOKIE CONSENT BANNER
====================================================================== */
#cookie-consent-banner {
  display: flex;
  align-items: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gp-secondary);
  color: var(--gp-primary);
  padding: 18px 24px;
  box-shadow: 0 -2px 16px var(--gp-shadow);
  z-index: 9999;
  font-size: 1rem;
  gap: 24px;
  flex-direction: row;
}
#cookie-consent-banner.hide {
  display: none;
}
#cookie-consent-banner .cookie-message {
  flex: 1 1 0;
  max-width: 600px;
}
#cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  background: var(--gp-primary);
  color: var(--gp-white);
  border: 2px solid var(--gp-primary);
  border-radius: var(--gp-radius-btn);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 22px;
  margin: 0 2px;
  transition: background 0.17s, color 0.17s, border-color 0.16s;
}
.cookie-btn.settings {
  background: var(--gp-accent);
  color: var(--gp-primary);
  border-color: var(--gp-accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  color: var(--gp-accent);
  background: var(--gp-white);
  border-color: var(--gp-accent);
}
@media (max-width: 700px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 8px;
  }
  #cookie-consent-banner .cookie-buttons {
    gap: 6px;
  }
}

/* ========= Cookie Modal Popup ====== */
#cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-52%) scale(0.95);
  background: var(--gp-white);
  color: var(--gp-primary);
  padding: 36px 24px 24px 24px;
  border-radius: var(--gp-radius-card);
  box-shadow: 0 6px 40px -8px var(--gp-shadow);
  z-index: 15000;
  max-width: 97vw;
  width: 390px;
  transition: opacity 0.25s, transform 0.28s;
}
#cookie-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%,-52%) scale(1);
  animation: cookiePop 0.28s cubic-bezier(.65,.05,.36,1.13);
}
@keyframes cookiePop {
  from {opacity:0; transform:translate(-50%,-55%) scale(.88);}
  to   {opacity:1; transform:translate(-50%,-52%) scale(1);}
}
#cookie-modal h3 {
  margin-top: 0;
  margin-bottom: 16px;
}
#cookie-modal .cookie-categories label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
#cookie-modal .cookie-category-locked {
  opacity: 0.55;
  pointer-events: none;
}
#cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gp-accent);
  color: var(--gp-primary);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.5rem;
  z-index: 1;
}
#cookie-modal .cookie-modal-close:hover,
#cookie-modal .cookie-modal-close:focus {
  background: var(--gp-primary);
  color: var(--gp-white);
}
@media (max-width: 520px) {
  #cookie-modal {
    width: 99vw;
    min-width: 0;
    padding: 20px 6px 14px 13px;
  }
}

/* =====================================================================
   GEOMETRIC / STRUCTURED DESIGN DECOR
====================================================================== */
.section,
.card,
.testimonial-card {
  /* geometric accents for distinguishing sections */
  position: relative;
  overflow: visible;
}
.section::before,
.card::before {
  content: '';
  display: block;
  position: absolute;
  left: -22px;
  top: -22px;
  width: 54px;
  height: 54px;
  background: var(--gp-secondary);
  border-radius: 16% 45% 70% 33%;
  box-shadow: 0 2px 14px -4px var(--gp-shadow);
  z-index: 0;
  opacity: 0.17;
  pointer-events: none;
}
.section::after,
.card::after {
  content: '';
  display: block;
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 36px;
  height: 36px;
  background: var(--gp-accent);
  border-radius: 8px 46% 29% 50%;
  z-index: 0;
  opacity:0.12;
  pointer-events: none;
}
.testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  left: -15px;
  top: 0;
  width: 26px;
  height: 35px;
  background: var(--gp-primary);
  border-radius: 9px 50% 25% 34%;
  opacity: 0.10;
  z-index: 0;
  pointer-events: none;
}

/* =====================================================================
   TABLES (if any)
====================================================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  border: 1.5px solid var(--gp-secondary);
  padding: 10px 8px;
  text-align: left;
}
th {
  background: var(--gp-secondary);
  font-weight: 700;
}

/* =====================================================================
   RESPONSIVE TYPOGRAPHY
====================================================================== */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.2rem; }
  .hero .content-wrapper p,
  p, ul, ol, li { font-size: 0.99rem; }
}

/* =====================================================================
   MISC / ACCESSIBILITY
====================================================================== */
:focus {
  outline: 2px solid var(--gp-focus) !important;
  outline-offset: 2px;
}
::-webkit-input-placeholder {color:#9EA8B7;opacity:1;}
::-moz-placeholder         {color:#9EA8B7;opacity:1;}
:-ms-input-placeholder     {color:#9EA8B7;opacity:1;}
::placeholder             {color:#9EA8B7;opacity:1;}

@media (max-width: 352px) {
  .hero .content-wrapper,
  .section, .card, .testimonial-card {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* =====================================================================
   UTILITIES & ANIMATIONS
====================================================================== */
.fade-in {
  animation: fadeInUp 0.7s cubic-bezier(.22,1,.36,1) both;
}
@keyframes fadeInUp {
  from { opacity: 0;transform: translate3d(0,24px,0); }
  to   { opacity: 1;transform: none;}
}

/* =====================================================================
   CUSTOM CLASSES FOR STRUCTURED LAYOUT
   (from requirement)
====================================================================== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure minimum spacing between all content cards and sections on mobile */
@media (max-width: 700px) {
  .section,
  .card,
  .testimonial-card {
    margin-bottom: 24px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* Shrink large margins between content on smallest screens */
@media (max-width: 420px) {
  .section {
    padding: 22px 5px !important;
    margin-bottom: 12px;
  }
}

/* =====================================================================
   END OF STYLE.CSS
====================================================================== */
