/* === Sylvorn Works Style – GEOMETRIC STRUCTURED AESTHETIC === */
/* CSS RESET & NORMALIZER */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F3F0;
  color: #1B263B;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 20px;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.7,.28,.62,1.47);
}
a:hover, a:focus {
  color: #778DA9;
}
strong {
  font-weight: 700;
}
section {
  width: 100%;
}
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === GEOMETRIC STRUCTURED SPACING & LAYOUT === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(27,38,59,0.08);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(27,38,59,0.06);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 250px;
  border-left: 6px solid #778DA9;
  background: #F5F3F0;
  border-radius: 20px 0 20px 0;
  box-shadow: 0 2px 8px rgba(27,38,59,0.09);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(27,38,59,0.07);
  padding: 24px 20px;
  margin-bottom: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* === GEOMETRIC & STRUCTURED VISUAL ELEMENTS === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Open Sans', serif;
  font-weight: 800;
  color: #1B263B;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  text-rendering: geometricPrecision;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* Buttons & CTAs */
.cta-btn, .cookie-btn, .cookie-modal .close-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  background: #1B263B;
  color: #fff;
  border: none;
  font-family: 'Playfair Display', 'Open Sans', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 8px 20px 8px 20px;
  padding: 13px 36px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 3px 14px rgba(27,38,59,0.07);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  outline: none;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #778DA9;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

/* === HEADER === */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(27,38,59,0.07);
  border-radius: 0 0 20px 20px;
  position: sticky;
  top: 0;
  z-index: 20;
}
header img {
  max-height: 40px;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1B263B;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #778DA9;
  color: #fff;
}
header .cta-btn {
  margin-left: 18px;
}
header .mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #1B263B;
  padding: 8px 14px;
  border-radius: 12px;
  margin-left: 16px;
  transition: background .2s, color .2s;
  display: none;
}
header .mobile-menu-toggle:focus, header .mobile-menu-toggle:hover {
  background: #778DA9;
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B263B;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.28,.62,1.47);
  box-shadow: 8px 0 48px rgba(27,38,59,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 24px 24px 10px 0;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 10px;
  transition: background .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(119,141,169,0.24);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  padding: 32px 34px;
}
.mobile-nav a {
  font-family: 'Playfair Display', 'Open Sans', serif;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.07em;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 8px;
  transition: background .14s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #778DA9;
  color: #fff;
}

/* === MAIN SECTIONS === */
main {
  margin-top: 30px;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(27,38,59,0.06);
}

/* === FOOTER === */
footer {
  margin-top: 44px;
  background: #1B263B;
  color: #fff;
  padding: 38px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 14px rgba(27,38,59,0.11);
  gap: 18px;
}
footer img {
  max-height: 36px;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
footer nav a {
  color: #fff;
  opacity: 0.92;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background .17s, color .17s;
}
footer nav a:hover, footer nav a:focus {
  background: #778DA9;
  color: #fff;
  opacity: 1;
}
footer .contact-details {
  font-size: 0.98rem;
  opacity: 0.96;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #F5F3F0;
}
footer .contact-details a {
  color: #F5F3F0;
  text-decoration: underline;
  font-weight: 600;
}
footer .contact-details img {
  vertical-align: middle;
  height: 19px;
  width: 19px;
  margin: 0 4px;
}
footer .copyright {
  font-size: 0.95rem;
  opacity: 0.82;
  margin-top: 10px;
}

/* === TESTIMONIALS === */
.testimonial-card p {
  color: #222;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 2px;
  line-height: 1.4;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #778DA9;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* === LISTS === */
ul, ol {
  margin-bottom: 18px;
}
ul > li, ol > li {
  font-size: 1.08rem;
  margin-bottom: 11px;
  position: relative;
  padding-left: 0.5em;
}
ul > li:last-child, ol > li:last-child {
  margin-bottom: 0;
}
ul > li::marker, ol > li::marker {
  color: #778DA9;
  font-weight: bold;
}

/* === FORMS (if any) === */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 8px;
  border: 1.5px solid #778DA9;
  background: #fff;
  padding: 12px 14px;
  width: 100%;
  margin-bottom: 18px;
  font-size: 1rem;
  transition: border .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1B263B;
  outline: none;
}

.button, button {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  border: none;
  border-radius: 10px 18px 10px 18px;
  background: #778DA9;
  color: #fff;
  font-size: 1.02rem;
  padding: 11px 24px;
  letter-spacing: 0.05em;
  transition: background 0.16s, transform 0.13s;
  cursor: pointer;
}
.button:hover, button:hover, .button:focus, button:focus {
  background: #1B263B;
  color: #fff;
  transform: scale(1.03);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  z-index: 12000;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1B263B;
  border-top: 4px solid #1B263B;
  box-shadow: 0 -6px 22px rgba(27,38,59,0.15);
  padding: 24px 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  transition: transform .34s cubic-bezier(.7,.28,.62,1.47), opacity .2s;
}
.cookie-banner.hide {
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  font-size: 1.01rem;
  margin-right: 16px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-btn {
  background: #1B263B;
  color: #fff;
  border: none;
  border-radius: 8px 16px 8px 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 22px;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  margin-right: 8px;
  cursor: pointer;
  transition: background .19s;
}
.cookie-btn.secondary {
  background: #fff;
  color: #1B263B;
  border: 2px solid #1B263B;
}
.cookie-btn.secondary:hover {
  background: #778DA9;
  border-color: #778DA9;
  color: #fff;
}
.cookie-btn.settings {
  background: #778DA9;
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #1B263B;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 12010;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,38,59,0.41);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .28s;
}
.cookie-modal-backdrop.open {
  display: flex;
}

.cookie-modal {
  background: #fff;
  color: #1B263B;
  border-radius: 20px;
  width: 94vw;
  max-width: 420px;
  box-shadow: 0 10px 44px 0 rgba(27,38,59,0.18);
  padding: 38px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: slideInUp .28s cubic-bezier(0.4,0,0.2,1);
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 11px;
  text-align: center;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 10px;
  background: none!important;
  border: none;
  font-size: 1.3rem;
  color: #1B263B;
  padding: 6px 14px;
  border-radius: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #F5F3F0;
  padding: 10px 0 13px 0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.cookie-toggle {
  width: 44px;
  height: 28px;
  appearance: none;
  background: #DFE4EC;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background .18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #778DA9;
}
.cookie-toggle:disabled {
  background: #CFD4DA;
  cursor: not-allowed;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 4px; left: 5px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left .23s;
  box-shadow: 0 1px 6px rgba(27,38,59,0.12);
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-category span {
  font-size: 1.01rem;
  font-weight: 600;
  color: #1B263B;
}
.cookie-category .alwayson {
  color: #778DA9;
  font-size: 0.98rem;
  margin-left: 6px;
  font-weight: 400;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInUp {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === MISC GEOMETRIC VISUAL ELEMENTS === */
section, .card, .testimonial-card, .feature-item, .cookie-banner, .cookie-modal {
  border-radius: 20px 0 20px 0;
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 760px;
  }
  section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 16px 12px;
  }
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: inline-flex;
  }
  .container {
    padding: 0 8px;
  }
  section {
    padding: 28px 2vw;
    margin-bottom: 40px;
  }
  .content-wrapper, .text-section {
    gap: 16px;
  }
  .footer nav {
    flex-direction: column;
    gap: 7px;
    margin-bottom: 10px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .card, .feature-item {
    min-width: unset;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.125rem; }
  h3 { font-size: 1.02rem; }
  .container {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .cta-btn, .cookie-btn {
    padding: 11px 10px;
    min-width: 104px;
    font-size: 0.97rem;
  }
  .cookie-banner {
    padding: 13px 6px 15px 6px;
    font-size: 0.95rem;
  }
}

/* === GEOMETRIC DECORATIVE ACCENTS === */
.card:before, .testimonial-card:before, .feature-item:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 4px;
  background: #778DA9;
  border-radius: 0 0 3px 0;
  opacity: 0.2;
  z-index: 0;
}
.card:before {
  background: #1B263B;
  opacity: 0.10;
}

/* === MICRO-INTERACTIONS === */
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 32px rgba(27,38,59,.12);
  transform: translateY(-6px) scale(1.012);
  transition: box-shadow .20s cubic-bezier(.23,1.15,.54,1.11), transform .20s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(27,38,59,.09), 0 0 0 4px #DFE4EC;
  transform: scale(1.012);
  transition: box-shadow 0.2s, transform .16s;
}

/* === Z-INDEX CONTROL FOR LAYERING === */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, .cookie-modal {
  z-index: 1001 !important;
}

/* === ACCESSIBILITY & UTILITY === */
:focus-visible {
  outline: 2px solid #778DA9;
  outline-offset: 0;
}

[aria-hidden="true"] {
  visibility: hidden;
  display: none !important;
}

/* === END === */
