/* ======================= 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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body {
  line-height: 1.5;
  background: #F2E9E4;
  color: #1B263B;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style-position: inside; }
table { border-collapse: collapse; border-spacing: 0; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img, svg { max-width: 100%; display: block; }
*:focus { outline: 2px solid #607B8B; outline-offset: 2px; }

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTURjIg1_i6t8kCHKm45_cJD3gnD-w.ttf') format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url('https://fonts.gstatic.com/s/sourcesanspro/v21/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lujB1.ttf') format('truetype');
}

/* ======================= BRAND VARIABLES ======================= */
:root {
  --primary: #1B263B;
  --secondary: #607B8B;
  --accent: #F2E9E4;
  --bg-light: #F2E9E4;
  --bg-dark: #1B263B;
  --text-main: #1B263B;
  --text-secondary: #607B8B;
  --text-light: #fff;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --shadow: 0 4px 18px rgba(27, 38, 59, 0.10), 0 1.5px 5px rgba(96, 123, 139, 0.10);
  --transition: all 0.2s cubic-bezier(.4,0,.2,1);
  --box-gap: 24px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

/* ======================= TYPOGRAPHY ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.375rem; /* 38px */
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.125rem; /* 18px */
}
p, ul, ol, li, span, address, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
  margin-bottom: 8px;
  font-style: italic;
  color: var(--primary);
}
strong, b {
  font-weight: 700;
  font-family: var(--font-display);
}

/* ======================= CONTAINERS & LAYOUT ======================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--secondary);
}

.card:last-child { margin-bottom: 0; }

.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;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  max-width: 600px;
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  background: #fff;
  color: var(--text-main);
  gap: 20px;
  padding: 20px;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 8px rgba(27,38,59,0.09);
  border: 1.5px solid var(--secondary);
  margin-bottom: 20px;
  min-width: 240px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 22px rgba(27,38,59,0.15);
  border-color: var(--primary);
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.08rem;
  flex: 1;
}
.testimonial-card span {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  margin-left: 8px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ======================= HEADER // NAVIGATION ======================= */
header {
  background: var(--bg-light);
  box-shadow: 0 1px 8px rgba(27,38,59,0.05);
  width: 100%;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 0;
}
.branding img {
  height: 48px;
  width: auto;
}
.main-nav, .footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a, .footer-nav a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.03em;
  padding: 5px 8px;
  border-radius: 5px;
  transition: background 0.15s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--text-light);
}
.cta-button {
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(27,38,59,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}

/* ======================= MOBILE MENU ======================= */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 7px 15px 8px 15px;
  margin-left: 18px;
  cursor: pointer;
  transition: background .19s, color .17s;
  z-index: 1401;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,38,59,0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,.3,.2,1.2);
  z-index: 1900;
  overflow-y: auto;
  padding: 36px 24px 24px 24px;
  box-sizing: border-box;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 30px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.33rem;
  color: var(--accent);
  letter-spacing: 0.07em;
  padding: 12px 0;
  transition: color 0.15s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(242,233,228,0.11);
}

/* ======================= HERO & SECTIONS ======================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:not(:last-child) {
  border-bottom: 2.5px solid #ECECEC;
}
section h2 {
  color: var(--primary);
  font-family: var(--font-display);
  text-transform: none;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 18px;
}
section h2:after {
  content: "";
  display: block;
  height: 3px;
  width: 48px;
  margin-top: 6px;
  background: var(--secondary);
  border-radius: 8px;
}
section h3 {
  color: var(--secondary);
  font-size: 1.16rem;
  font-weight: 700;
}
section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  background: none;
  padding-left: 0;
}
section ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ======================= CARDS FOR OFFERS ======================= */
.content-wrapper > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 24px;
  min-width: 250px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid #E3DFDB;
  transition: box-shadow 0.19s, border-color 0.18s;
}
.content-wrapper > div:hover {
  border-color: var(--secondary);
  box-shadow: 0 6px 24px rgba(27,38,59,0.15);
}
.content-wrapper > div a {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  margin-top: 8px;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--secondary);
  transition: color 0.15s, border-color 0.16s;
}
.content-wrapper > div a:hover, .content-wrapper > div a:focus {
  color: var(--primary);
  border-color: var(--primary);
}
.content-wrapper > div span, .price {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.06rem;
}

/* ======================= FOOTER ======================= */
footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 36px 0 30px 0;
  margin-top: 36px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 12px rgba(27,38,59,0.03);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-left img {
  height: 38px;
  width: auto;
}
.footer-nav {
  gap: 18px;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
  transition: color 0.16s, background 0.1s;
  padding: 3px 7px;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
address {
  font-style: normal;
  color: var(--accent);
  font-size: 0.98rem;
  margin-top: 6px;
}
address a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.15s;
}
address a:hover {
  color: #fff;
}

/* ======================= COOKIE CONSENT ======================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 5000;
  background: #fff;
  border-top: 3.5px solid var(--primary);
  box-shadow: 0 -4px 18px rgba(96,123,139,0.11);
  padding: 28px 16px 12px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: center;
  animation: cookieBannerSlideUp .55s cubic-bezier(.25,.73,.4,1.28) 1;
}
@keyframes cookieBannerSlideUp {
  from {transform: translateY(120%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-consent-banner p {
  color: var(--primary);
  font-size: 1rem;
  margin: 0;
  max-width: 350px;
}
.cookie-consent-banner .cookie-btn {
  margin-left: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 22px;
  font-size: 1rem;
  padding: 9px 20px;
  border: 0;
  background: var(--secondary);
  color: #fff;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.17s, color 0.15s, transform 0.13s;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.035);
}
.cookie-consent-banner .cookie-btn.settings {
  background: none;
  color: var(--primary);
  border: 2.2px solid var(--secondary);
  margin-right: 0;
}
.cookie-consent-banner .cookie-btn.settings:hover, .cookie-consent-banner .cookie-btn.settings:focus {
  background: var(--bg-dark);
  color: var(--accent);
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(27,38,59,0.74);
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadein .30s cubic-bezier(.48,.3,.51,1.3);
}
@keyframes cookieModalFadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(27,38,59,0.15);
  max-width: 420px;
  width: 92%;
  padding: 36px 30px 22px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.8rem;
  position: absolute;
  top: 24px;
  right: 20px;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.04rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: var(--secondary);
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: var(--primary);
}
.cookie-toggle:disabled {
  background: #CCC;
  cursor: not-allowed;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 2.5px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(27,38,59,0.09);
  transition: left 0.15s;
}
.cookie-toggle:checked::before { left: 17px; }
.cookie-toggle:disabled::before { background: #EEE; }

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  padding: 9px 20px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  border: none;
}
.cookie-modal-actions .cookie-btn.cancel {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-modal-actions .cookie-btn.cancel:hover, .cookie-modal-actions .cookie-btn.cancel:focus {
  background: var(--bg-dark);
  color: var(--accent);
}


/* ======================= ANIMATIONS ======================= */
.cta-button, .cookie-btn {
  transition: background 0.15s, color 0.13s, transform 0.16s;
}
main a {
  transition: color 0.16s, border-color 0.13s;
}
.card, .testimonial-card, .content-wrapper > div {
  transition: box-shadow 0.16s, border-color 0.17s, transform 0.18s;
}
.card:hover, .content-wrapper > div:hover {
  transform: translateY(-3px) scale(1.019);
  box-shadow: 0 10px 30px rgba(27,38,59,0.12);
  border-color: var(--primary);
}

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1080px) {
  .container {
    max-width: 960px;
    padding: 0 16px;
  }
  .main-nav, .footer-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.27rem; }
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  section {
    padding: 26px 5px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-button {
    padding: 11px 22px;
    margin-left: 4px;
    font-size: 0.99rem;
  }
  .content-wrapper {
    gap: 16px;
  }
  .content-wrapper > div, .card, .testimonial-card {
    padding: 20px 12px;
    margin-bottom: 18px;
    min-width: 170px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  .footer-left img, .branding img {
    height: 28px;
  }
}

/* ======================= MISC + FORMS ======================= */
input, textarea, select, button {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  border: 1.2px solid #dadada;
  padding: 9px 12px;
  margin-bottom: 14px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
}
.button, button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  border: none;
  border-radius: var(--border-radius-sm);
  background: var(--primary);
  color: var(--accent);
  padding: 10px 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(96,123,139,0.08);
  transition: background 0.14s, color 0.14s, transform 0.12s;
}
.button:hover, button:hover, .button:focus, button:focus {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-1px);
}

/* ======================= THANK YOU PAGE ======================= */
.thank-you-message {
  font-size: 1.13rem;
  color: var(--primary);
  padding-bottom: 10px;
}
.follow-up-info {
  color: var(--secondary);
  margin-bottom: 16px;
}

/* ======================= GEOMETRIC / STRUCTURED DECORATIVE ======================= */
section, .testimonial-card, .card, .content-wrapper > div {
  /* subtle geometric overlay for structure */
  position: relative;
}
section::before, .testimonial-card::before, .card::before {
  content: "";
  display: block;
  position: absolute;
  top: -18px; left: -18px;
  width: 38px; height: 38px;
  border-radius: 5px 15px 13px 11px;
  background: rgba(96,123,139,0.11);
  z-index: 0;
  pointer-events: none;
}
/* Remove ornament on mobile for space */
@media (max-width: 768px) {
  section::before, .testimonial-card::before, .card::before {
    display: none;
  }
}

/* ======================= ACCESSIBILITY ======================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

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