/* --- CSS RESET & BASE --- */
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;
}
html { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #F6F3EE;
  color: #253045;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #7B756A;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #253045;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px 0;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #e0ded9;
}
th {
  background: #eae6e1;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #253045;
  font-size: 18px;
}
caption {
  text-align: left;
  font-size: 15px;
  color: #7B756A;
  margin-bottom: 0.5em;
}
dl dt {
  font-weight: bold;
  margin-top: 16px;
}
dl dd {
  margin-left: 20px;
  margin-bottom: 12px;
}
strong, b { font-weight: 600; color: #253045; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #253045;
  line-height: 1.16;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
p {
  margin-bottom: 16px;
}
.text-section p:last-child {
  margin-bottom: 0;
}
.text-section {
  margin-bottom: 18px;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(37,48,69,0.08);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(37,48,69,0.18);
  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;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px rgba(37,48,69,0.07);
  min-width: 0;
  transition: box-shadow 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(37,48,69,0.17);
}
.testimonial-card .text-section p {
  color: #253045;
  font-size: 17px;
}
.testimonial-meta {
  font-size: 15px;
  color: #7B756A;
  margin-top: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- NAVIGATION --- */
header {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 24px rgba(37,48,69,0.05);
  z-index: 30;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  font-size: 16px;
}
.main-nav > a {
  color: #253045;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.22s, color 0.22s;
  display: flex;
  align-items: center;
}
.main-nav > a:hover {
  background: #eae6e1;
  color: #7B756A;
}
.main-nav img {
  height: 46px;
  width: auto;
  margin-right: 10px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #253045;
  cursor: pointer;
  margin-left: auto;
  padding: 10px 12px;
  z-index: 35;
  border-radius: 8px;
  transition: background 0.22s;
}
.mobile-menu-toggle:hover {
  background: #eae6e1;
}
/* --- MOBILE MENU --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,48,69,0.96);
  z-index: 99;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.39s cubic-bezier(.79,.14,.15,.86);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 24px 24px 16px 0;
  padding: 7px 10px;
  cursor: pointer;
  align-self: flex-end;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover {
  background: #7B756A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 10px 30px;
  margin: 2px 0;
  border-radius: 9px;
  text-align: center;
  width: 92%;
  transition: background 0.24s, color 0.24s;
}
.mobile-nav a:hover {
  background: #7B756A;
  color: #fff;
}

/* --- HERO & GRADIENTS --- */
.hero-section {
  background: linear-gradient(120deg, #F6F3EE 65%, #eae6e1 100%);
  padding: 64px 0 53px 0;
  margin-bottom: 60px;
}
.hero-section .container {
  display: flex;
  align-items: center;
  min-height: 320px;
}
.cta-section {
  background: linear-gradient(120deg, #F6F3EE 60%, #f1ede6 100%);
  margin-bottom: 60px;
  padding: 48px 0;
}
.cta-section .cta-button {
  margin-top: 12px;
}
/* --- STYLE BUTTONS --- */
.cta-button, button, input[type="submit"] {
  display: inline-block;
  background: linear-gradient(90deg, #253045 0%, #7B756A 100%);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,48,69,0.09);
  text-align: center;
  transition: background 0.24s, box-shadow 0.20s, transform 0.15s;
  margin-top: 10px;
}
.cta-button:hover, button:hover, input[type="submit"]:hover {
  background: linear-gradient(90deg, #7B756A 0%, #253045 100%);
  color: #fff;
  box-shadow: 0 7px 28px rgba(37,48,69,0.13);
  transform: translateY(-2px) scale(1.025);
}

/* --- ICONS IN LISTS --- */
ul li > img {
  margin-right: 10px;
  vertical-align: middle;
  height: 1.35em;
  width: auto;
}

/* --- SPECIAL SECTION STYLES --- */
.about-preview .content-wrapper, .about-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.about-preview .text-section, .about-section .text-section {
  flex: 2 1 330px;
}
.about-preview .photo-placeholder, .about-section .photo-placeholder {
  flex: 1 1 160px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-preview img, .about-section img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #eae6e1;
  object-fit: contain;
}

.services-overview ul, .features-section ul, .info-section ul, .faq-section dl {
  list-style: none;
  padding-left: 0;
}
.services-overview li, .features-section li, .info-section li, .faq-section dt, .faq-section dd {
  margin-bottom: 8px;
  color: #253045;
  font-size: 17px;
}

.map-placeholder, .photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eae6e1;
  border-radius: 16px;
  padding: 12px;
  min-width: 120px;
  min-height: 120px;
}

/* --- TABLES --- */
.pricing-section table {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(37,48,69,0.08);
}
.pricing-section th, .pricing-section td {
  font-size: 16px;
  border-bottom: 1px solid #e0ded9;
}
.pricing-section tr:last-child td {
  border-bottom: none;
}

/* --- FOOTER --- */
footer {
  background: #253045;
  color: #fff;
  padding: 40px 0 30px 0;
  position: relative;
  margin-top: 48px;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  min-width: 180px;
}
.footer-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 5px;
}
.footer-brand div { font-size: 15px; color: #fff; font-weight: 500; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
}
.footer-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.22s, text-decoration 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #eae6e1;
  text-decoration: underline;
}
.footer-contact-short {
  font-size: 15px;
  color: #eae6e1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* --- PAGE SECTIONS (Apply Section, Spacing & Alignment) --- */
.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;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 9px rgba(37,48,69,0.09);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-details img {
  height: 1.2em;
  width: auto;
  margin-right: 7px;
  vertical-align: middle;
}
.contact-details a {
  color: #253045;
  transition: color 0.22s;
}
.contact-details a:hover {
  color: #7B756A;
}
/* --- LEGAL SECTIONS --- */
.legal-section .text-section {
  background: #fff;
  padding: 26px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 9px rgba(37,48,69,0.06);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9998;
  width: 100vw;
  background: #253045;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 12px 18px 12px;
  box-shadow: 0 -3px 16px rgba(37,48,69,0.08);
  font-size: 16px;
  transition: transform 0.5s cubic-bezier(.31,1.09,.47,.92);
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  max-width: 900px;
  width: 100%;
  justify-content: space-between;
}
.cookie-banner__text {
  flex: 1 1 260px;
  color: #fff;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.button-cookie-accept, .button-cookie-reject, .button-cookie-settings {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #7B756A;
  color: #fff;
  padding: 11px 22px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.2s;
  font-weight: 500;
}
.button-cookie-accept {
  background: linear-gradient(90deg, #253045 0%, #7B756A 100%);
}
.button-cookie-accept:hover {
  background: #395082;
}
.button-cookie-reject {
  background: #fff;
  color: #253045;
}
.button-cookie-reject:hover {
  background: #eee9e1;
}
.button-cookie-settings {
  background: #7B756A;
  color: #fff;
}
.button-cookie-settings:hover {
  background: #253045;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,48,69,0.61);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 17px;
  max-width: 420px;
  width: 96vw;
  padding: 36px 24px 24px 24px;
  color: #253045;
  position: relative;
  box-shadow: 0 6px 22px rgba(37,48,69,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-popup-fadein 0.33s;
}
@keyframes cookie-popup-fadein {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal__h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cookie-modal__close {
  position: absolute;
  top: 9px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: #7B756A;
  border-radius: 7px;
  padding: 2px 7px;
  transition: background 0.15s;
}
.cookie-modal__close:hover {
  background: #eae6e1;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #eae6e1;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category__label {
  font-size: 15px;
}
.cookie-category__toggle {
  margin-left: auto;
  padding-left: 16px;
}
/* --- Custom toggle (switch) --- */
.cookie-toggle-switch {
  position: relative;
  width: 42px;
  height: 22px;
  background: #eae6e1;
  border-radius: 13px;
  transition: background 0.22s;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #7B756A;
  border-radius: 50%;
  transition: left 0.22s, background 0.22s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  left: 22px;
  background: #253045;
}
.cookie-category--essential .cookie-toggle-switch {
  background: #cfd3cc !important;
  pointer-events: none;
}
.cookie-category--essential .cookie-toggle-slider {
  background: #7B756A !important;
}

.cookie-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal__actions .cta-button {
  padding: 10px 28px;
  font-size: 1rem;
}

/* --- GRADIENT SECTIONS, CARDS --- */
.services-section, .features-section, .mission-section, .pricing-section, .faq-section, .contact-section, .about-section, .process-section, .info-section, .cta-section, .thank-you-section, .about-preview {
  margin-bottom: 60px;
  padding: 40px 0;
  background: linear-gradient(110deg, #F6F3EE 60%, #efe8de 100%);
  border-radius: 24px;
}

/* --- GRADIENT_MODERN BUTTONS, CARDS --- */
.card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(72,66,56,0.05);
  border-radius: 18px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 10px 38px rgba(37,48,69,0.13);
  transform: translateY(-4px);
}

/* --- FORMS & INPUTS (for future extension) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  border: 1px solid #e0ded9;
  border-radius: 6px;
  padding: 11px 12px;
  margin-bottom: 20px;
  background: #fff;
  color: #253045;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #7B756A;
}

/* --- MICRO-INTERACTIONS --- */
a, button, .cta-button, input[type="submit"] {
  transition: all 0.22s cubic-bezier(.61,.21,.37,.97);
}
a:active, button:active, .cta-button:active, input[type="submit"]:active {
  transform: scale(0.98);
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
    padding: 0 7px;
  }
}
@media (max-width: 860px) {
  .footer .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .about-preview .content-wrapper, .about-section .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .about-preview .text-section, .about-section .text-section, 
  .about-preview .photo-placeholder, .about-section .photo-placeholder {
    flex: unset;
  }
  .card {
    padding: 18px 11px;
  }
  .section {
    margin-bottom: 32px;
    padding: 18px 7px;
  }
  .cta-section {
    padding: 28px 0;
  }
  .hero-section {
    padding: 44px 0 31px 0;
    margin-bottom: 32px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px;
    gap: 12px;
  }
  .content-grid, .card-container, .features, .feature-list {
    flex-direction: column !important;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
  .features-section, .services-section, .mission-section, .pricing-section, .faq-section, .contact-section, .about-section, .process-section, .info-section, .cta-section, .thank-you-section, .about-preview {
    padding: 20px 0;
    border-radius: 16px;
  }
}
@media (max-width: 520px) {
  .footer-brand img {
    height: 28px;
  }
  .hero-section {
    padding: 18px 0 18px 0;
  }
  .cta-button, button, input[type="submit"] {
    font-size: 1rem;
    padding: 10px 16px;
  }
  .section, .cta-section, .about-preview, .services-section {
    padding: 12px 0;
    margin-bottom: 16px;
  }
  .cookie-banner {
    font-size: 13px;
    padding: 14px 2px 10px 2px;
  }
}

/* --- Print Styles --- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, header, footer {
    display: none !important;
  }
  .container, body, .section {
    background: #fff !important;
    color: #000 !important;
  }
}
