/* CSS RESET & BASE NORMALIZATION */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #f7f7f7;
  color: #22305a;
  line-height: 1.7;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #9e6855;
  outline-offset: 2px;
}

/* BRAND COLOR VARIABLES FOR FALLBACKS */
:root {
  --primary: #22305a;
  --secondary: #e8dab2;
  --accent: #9e6855;
  --surface: #ffffff;
  --muted: #ededed;
  --text-dark: #22305a;
  --text-light: #fff;
}

/* TYPOGRAPHY SCALE AND HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  text-transform: none;
}
h1 {
  font-size: 2.375rem; /* 38px */
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
}
h4 {
  font-size: 1.125rem;
}
strong {
  color: var(--primary);
}
p, ul, li {
  font-size: 1rem;
  margin-bottom: 8px;
}
ul, ol {
  padding-left: 26px;
  margin-bottom: 16px;
}
ul {
  list-style-type: geometric-precision;
}
li {
  margin-bottom: 7px;
}

/* CONTAINER & SECTION SPACING */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(34, 48, 90, 0.05), 0 0px 1px rgba(34, 48, 90, 0.06);
}
@media (max-width:768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 10px;
    border-radius: 14px;
  }
}


/* HEADER STYLES */
header {
  background: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 24px rgba(34,48,90,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 18px;
}
header img { height: 44px; }
header nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--secondary);
  padding: 7px 18px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--accent);
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--accent);
  border: none;
  border-radius: 24px 4px 20px 4px;
  padding: 12px 32px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(34, 48, 90, 0.07);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.18s, transform 0.18s, box-shadow 0.15s;
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.035) skew(-2deg);
  box-shadow: 0 4px 12px rgba(34, 48, 90, 0.15);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  padding: 8px 12px;
  border-radius: 10px;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 1020px) {
  .cta-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }
  header nav {
    gap: 4px;
  }
}
@media (max-width: 996px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.75,.01,.02,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 18px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.3rem;
  padding: 13px 16px;
  border-radius: 10px;
  margin-left: 12px;
  margin-bottom: 14px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 14px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 13px 32px;
  border-radius: 14px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

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

/* MAIN LAYOUT */
main {
  margin-top: 20px;
  margin-bottom: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 16px;
  }
}

/* FEATURES GRID & SERVICE LIST */
.features-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.features-grid > .feature, .services-list > .service {
  background: var(--secondary);
  border-radius: 12px 50px 20px 10px;
  box-shadow: 0 2px 10px rgba(34, 48, 90, 0.07);
  padding: 30px 18px 24px 18px;
  min-width: 210px;
  flex: 1 1 230px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.features-grid > .feature:hover, .services-list > .service:hover {
  box-shadow: 0 7px 28px rgba(34,48,90,0.14);
  transform: translateY(-3px) scale(1.03) skew(-2deg);
}
.features-grid img,
.services-list img {
  height: 54px;
  width: 54px;
  margin-bottom: 4px;
  background: var(--muted);
  border-radius: 12px 7px 20px 4px;
  box-shadow: 0 1px 2px #e8dab2, 0 0.5px 1px #f7f7f7;
}
.features-grid h3, .services-list h3 {
  font-size: 1.13rem;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--primary);
}
.features-grid p, .services-list p {
  color: #444;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .features-grid, .services-list {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .features-grid > .feature, .services-list > .service {
    min-width: 90vw;
    flex: 1 1 95vw;
    max-width: 100vw;
    padding: 18px 10px 16px 10px;
  }
}

/* PRICING TABLE */
.pricing-table {
  background: var(--muted);
  border-radius: 9px 24px 6px 24px;
  padding: 18px 18px 12px 18px;
  margin: 12px 0 8px 0;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 1px 6px rgba(34,48,90,0.04);
}
.pricing-table ul li {
  color: #22305a;
  font-weight: 400;
  font-size: 1rem;
}

/* LISTS INSIDE CARDS/SECTIONS */
.section ul {
  color: #28365a;
  margin-bottom: 12px;
}
.section li {
  padding-left: 0;
  font-size: 1rem;
}

/* TESTIMONIALS DESIGN */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px 20px 26px;
  background: #fff5ee;
  border-radius: 24px 8px 28px 8px;
  box-shadow: 0 2px 12px rgba(34, 48, 90, 0.08);
  color: #222943;
  min-width: 225px;
  max-width: 360px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, background 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(158, 104, 85, 0.13);
  background: #fff7ee;
}
.testimonial-card p {
  color: #22305a;
  margin-bottom: 8px;
  font-size: 1.04rem;
}
.testimonial-card strong {
  color: #7b3f1c;
  font-size: 1rem;
  font-weight: 700;
}
@media (max-width: 700px) {
  .testimonials {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100vw;
    min-width: 90vw;
    padding: 18px 10px 16px 10px;
  }
}

/* ADDRESS BLOCK */
address {
  font-style: normal;
  color: #626488;
  font-size: 0.97rem;
  margin-top: 18px;
  letter-spacing: 0.01em;
  line-height: 1.52;
}

/* FOOTER DESIGN */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 34px 0 20px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: var(--secondary);
  font-size: 1rem;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 16px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--accent);
  color: #fff;
}
footer address {
  color: #e8dab2;
  font-size: 0.95rem;
  margin-top: 16px;
}

@media (max-width: 700px) {
  footer .container,
  footer nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  footer address {
    margin-top: 8px;
  }
}

/* SECTION & CARD SPACING PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px 8px 22px 8px;
  background: var(--muted);
  box-shadow: 0 1px 8px rgba(34,48,90,0.07);
  position: relative; /* Only decorative usage */
  padding: 18px 18px 14px 18px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container {
    gap: 14px;
  }
  .content-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

/* BUTTONS & INTERACTIVE ELEMENTS */
button,
input[type="submit"],
input[type="button"] {
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 1rem;
  background: var(--accent);
  color: var(--text-light);
  border: none;
  border-radius: 18px 4px 14px 4px;
  padding: 10px 25px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(158, 104, 85, 0.07);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-1.5px) scale(1.025) skew(-1deg);
  box-shadow: 0 5px 12px rgba(158, 104, 85, 0.11);
}

/* FORMS */
input, textarea {
  outline: none;
  border: 2px solid var(--muted);
  border-radius: 9px 4px 8px 4px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 14px;
  margin-bottom: 12px;
  width: 100%;
  background: #fff;
  color: #22305a;
  transition: border-color 0.12s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
}
label {
  font-family: 'PT Sans', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 1400;
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 -4px 20px rgba(34,48,90,0.11);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 22px 18px 22px 18px;
  gap: 38px;
  font-size: 1.01rem;
  transition: transform 0.32s cubic-bezier(.33,1.22,.59,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  max-width: 660px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 14px 4px 10px 4px;
  padding: 8px 18px;
  min-width: 110px;
  font-size: 1rem;
  border: none;
  transition: background .17s, color .17s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    font-size: 0.98rem;
    padding: 16px 8px 12px 8px;
  }
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(5,22,36,0.28);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #22305a;
  border-radius: 30px 10px 34px 10px;
  box-shadow: 0 3px 32px rgba(34, 48, 90, 0.25);
  padding: 34px 32px 24px 32px;
  width: 98vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: sectionUp 0.32s cubic-bezier(.34,1.13,.46,.98);
}
.cookie-modal h2 {
  margin-bottom: 11px;
  font-size: 1.28rem;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 1.04rem;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-modal .cookie-btns {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}
.cookie-modal button {
  border-radius: 15px 4px 9px 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 8px 18px;
  min-width: 100px;
  font-size: 1rem;
}
.cookie-modal button:disabled {
  background: #bbbbbb;
  color: #fff;
}

@keyframes fadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
@keyframes sectionUp {
  0% { transform: translateY(28px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

/* TOGGLE SWITCHES FOR COOKIE SETTINGS */
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 2px;
  left: 0;
  right: 0;
  bottom: 2px;
  background-color: #e8dab2;
  transition: .3s;
  border-radius: 13px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 1.5px;
  background: #9e6855;
  border-radius: 50%;
  transition: .3s;
}
.switch input:checked + .slider {
  background-color: #7b3f1c;
}
.switch input:checked + .slider:before {
  transform: translateX(15px);
  background: #e8dab2;
}
.switch input:disabled + .slider {
  background: #bbb;
  cursor: not-allowed;
}

/* GEOMETRIC/STRUCTURED MISC STYLES */
.section, .card, .container, .content-wrapper, .features-grid, .services-list {
  /* No absolute or grid, only flex! */
}
.section {
  border: 1.5px solid #e8dab2;
}
hr {
  border: none;
  border-top: 2px solid #e8dab2;
  margin: 32px 0 20px 0;
}

/* GEOMETRIC/STRUCTURED DECORATIVE ANGLES (e.g. section corners) */
@media (min-width: 769px) {
  .section {
    position: relative;
    overflow: visible;
  }
  .section:after {
    content: "";
    position: absolute;
    top: -18px; left: -18px;
    border-top: 7px solid var(--accent);
    border-left: 7px solid var(--primary);
    width: 30px; height: 30px;
    border-radius: 0 0 12px 0;
    opacity: 0.17;
    pointer-events: none;
  }
}

/* ANIMATIONS FOR BUTTONS & CTAS */
.cta-btn, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal button {
  transition: background .17s, color .17s, transform .17s, box-shadow .17s;
}

/* VISUAL HIERARCHY: SPACING */
.section, .card, .feature, .service, .testimonial-card {
  margin-bottom: 20px;
}

/* RESPONSIVE DESIGN ADJUSTMENTS */
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.13rem; }
  .container { padding: 3px 7px; }
}

/* UTILITY CLASSES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mb-4 { margin-bottom: 16px !important; }

/****************************************************/
/* ADDITIONAL COMPATIBILITY STYLES FOR SAFARI/MOBILE */
/****************************************************/

@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance:none) {
    button,
    input[type="submit"],
    input[type="button"] {
      font-size: 1em;
    }
  }
}

/* --- END --- */
