/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #253A45;
  background: #F5F1ED;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  border: 0;
  display: block;
}
a {
  color: #253A45;
  text-decoration: none;
  transition: color .25s;
}
a:hover, a:focus {
  color: #B1D5C8;
  text-decoration: underline;
}

/* HEADINGS & DISPLAY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #253A45;
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; letter-spacing: 0.01em; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; }

.subheadline {
  font-size: 1.15rem;
  color: #3B5561;
  margin-bottom: 22px;
  font-weight: 500;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.0075em;
}

blockquote {
  font-style: italic;
  background: #fff;
  border-left: 4px solid #B1D5C8;
  padding: 14px 26px;
  color: #2E5869;
  margin: 20px 0;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(177,213,200,0.08);
}

/* CONTAINER SYSTEM */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px;
}

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

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

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(37,58,69,0.07);
  position: relative;
  z-index: 1001;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px 0 12px 0;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.23s, color 0.23s;
  position: relative;
}
.main-nav > a.cta {
  background: #B1D5C8;
  color: #253A45;
  margin-left: 8px;
  font-weight: 700;
  border-radius: 24px;
  padding: 8px 22px;
  box-shadow: 0 1px 3px rgba(37, 58, 69, 0.07);
  letter-spacing: 0.02em;
  transition: box-shadow .18s, background .18s;
}
.main-nav > a.cta:hover,
.main-nav > a.cta:focus {
  background: #253A45;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(37,58,69,0.12);
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: #F5F1ED;
}
.main-nav img {
  width: 42px;
  margin-right: 18px;
  margin-bottom: 0 !important;
  vertical-align: middle;
}

/* Burger Button */
.mobile-menu-toggle {
  display: none;
  background: #253A45;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 14px;
  padding: 8px 15px;
  margin-right: 8px;
  cursor: pointer;
  transition: background .2s;
  z-index: 2002;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed #B1D5C8;
  background: #B1D5C8;
  color: #253A45;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 26px;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,58,69,0.96);
  color: #fff;
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform .35s cubic-bezier(0.77,0,0.18,1);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 28px 26px 12px 0;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #B1D5C8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 0 0 42px;
  font-size: 1.21rem;
}
.mobile-nav a {
  color: #fff;
  padding: 9px 0;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .14s, color .14s;
  font-weight: 600;
  outline: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #B1D5C8;
  color: #253A45;
}

@media (max-width: 992px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(120deg, #B1D5C8 0%, #F5F1ED 80%);
  padding: 60px 0 54px 0;
  margin-bottom: 0;
  border-bottom-left-radius: 56px;
  border-bottom-right-radius: 56px;
  box-shadow: 0 12px 28px rgba(177, 213, 200, 0.06);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #253A45;
  text-shadow: 2px 4px 22px rgba(37,58,69,0.10);
  letter-spacing: 0.02em;
}
.hero .cta {
  margin-top: 11px;
}

/* FEATURES & SERVICE CARDS */
.features {
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 3px 16px rgba(37,58,69,0.07);
  margin-top: 42px;
  margin-bottom: 60px;
  padding: 50px 18px 40px 18px;
}
.features h2 {
  color: #253A45;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 38px;
  text-align: center;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  list-style: none;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
    flex-wrap: wrap;
  }
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F1ED;
  border-radius: 22px;
  padding: 24px 22px 28px 22px;
  box-shadow: 0 2px 6px rgba(177, 213, 200, 0.07);
  min-width: 215px;
  flex: 1 1 220px;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(37,58,69,0.07);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow .23s, transform .16s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(37,58,69,0.09);
  transform: translateY(-6px) scale(1.028);
}
.service-card img {
  width: 46px; height: 46px; margin-bottom: 7px;
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  background: #B1D5C8;
  color: #253A45;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 30px;
  padding: 10px 30px;
  margin: 10px 0 0 0;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 14px rgba(37,58,69,0.07);
  border: none;
  cursor: pointer;
  transition: background .25s, color .23s, box-shadow .16s, transform .14s;
}
.cta:hover,
.cta:focus {
  background: #253A45;
  color: #fff;
  box-shadow: 0 8px 18px 0 rgba(37,58,69,0.13);
  transform: scale(1.03) translateY(-2px);
  text-decoration: none;
  outline: none;
}

/* ABOUT SHORT & TEAM (shared structure)  */
.about-short, .about, .team, .contact-details,
.address-map, .opening-hours, .legal {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 3px 12px rgba(37,58,69,0.07);
  padding: 42px 18px 34px 18px;
  margin-bottom: 60px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.09rem;
}
.text-section ul,
.text-section ol {
  margin-left: 18px;
  margin-bottom: 10px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  font-size: 1.02em;
}

/* PRICING TABLE */
.pricing-table {
  background: #fff;
  border-radius: 38px;
  box-shadow: 0 3px 16px rgba(37,58,69,0.07);
  padding: 40px 15px 35px 15px;
  margin-bottom: 60px;
}
.pricing-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1.11rem;
  margin: 24px 0 32px 0;
  background: #F5F1ED;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(177,213,200,0.05);
}
.pricing-table thead {
  background: #B1D5C8;
}
.pricing-table th, .pricing-table td {
  padding: 15px 14px;
  text-align: left;
  color: #253A45;
}
.pricing-table th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.pricing-table tbody tr:nth-child(even) {
  background: #fff;
}
.pricing-table tbody tr:nth-child(odd) {
  background: #F5F1ED;
}
.pricing-table ul {
  margin-top: 19px;
}

/* TESTIMONIALS */
.testimonials,
.testimonials-list {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.testimonial-slider, .testimonials-list .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 26px 24px 26px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 3px 16px rgba(37,58,69,0.08);
  min-width: 235px;
  max-width: 340px;
  transition: box-shadow .24s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(37,58,69,0.12);
  transform: scale(1.032) translateY(-2px);
}
.testimonial-card p {
  color: #253A45;
  font-size: 1.05rem;
  margin-bottom: 7px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #2E5869;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
}
@media (max-width: 900px) {
  .testimonial-slider,
  .testimonials-list .content-wrapper {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
}

/* FAQS, STEPS, RESULT CARDS  */
.faq, .steps-overview, .results-overview, .process-preview {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 9px rgba(37,58,69,0.06);
  padding: 40px 15px 32px 15px;
  margin-bottom: 60px;
}
.faq ul, .steps-overview ol,
.results-overview ul, .process-preview ul {
  margin-left: 18px;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.faq li, .steps-overview li,
.results-overview li, .process-preview li {
  margin-bottom: 13px;
}

/* CARDS SYSTEM (General Purpose) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 10px rgba(37,58,69,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px;
  min-width: 220px;
  transition: box-shadow .24s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 34px 0 rgba(37,58,69,0.12);
  transform: scale(1.018) translateY(-2px);
}

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

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
  .content-grid,
  .card-container,
  .service-cards,
  .feature-grid,
  .testimonial-slider,
  .testimonials-list .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}

/* NEWSLETTER, FOOTER, SOCIALS */
footer {
  background: #253A45;
  color: #fff;
  padding: 40px 0 22px 0;
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
}
footer a {
  color: #B1D5C8;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color .21s;
}
footer a:hover,
footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-nav nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav img {
  width: 38px;
}
.newsletter {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.newsletter form {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 6px;
}
.newsletter input[type=email] {
  background: #F5F1ED;
  border: none;
  border-radius: 16px;
  padding: 12px 15px;
  font-size: 1.02rem;
  width: 230px;
  color: #253A45;
  font-family: 'Open Sans', Arial, sans-serif;
}
.newsletter button[type=submit] {
  background: #B1D5C8;
  color: #253A45;
  border: none;
  border-radius: 18px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  cursor: pointer;
  font-size: 1.08rem;
  transition: background .22s, color .18s, box-shadow .13s;
  box-shadow: 0 2px 6px rgba(177,213,200,0.07);
}
.newsletter button[type=submit]:hover,
.newsletter button[type=submit]:focus {
  background: #253A45;
  color: #fff;
}
.social-links {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  filter: brightness(1.13) saturate(1.12);
  transition: filter .17s;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: brightness(1.25) saturate(2.45);
}

/* LEGAL, THANK YOU, SIMPLE PAGES */
.legal {
  margin-bottom: 60px;
}
.legal h1 {
  font-size: 2.2rem;
}
.thank-you {
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 3px 15px rgba(37,58,69,0.07);
  padding: 52px 20px;
  text-align: center;
  margin-bottom: 60px;
}
.thank-you .cta {
  margin: 30px auto 0 auto;
}

/* COOKIE CONSENT BANNER  */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100%;
  background: #fff;
  color: #253A45;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 18px 18px 18px;
  box-shadow: 0 -2px 27px rgba(37,58,69,0.17);
  z-index: 2200;
  gap: 30px;
  flex-wrap: wrap;
  animation: cb-fadeIn .45s cubic-bezier(.77,.05,.33,1);
}
@keyframes cb-fadeIn {
  from { opacity: 0; transform: translateY(64px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner .banner-text {
  flex: 1 1 170px;
  font-size: 1.04rem;
  margin-right: 16px;
}
.cookie-banner .banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .settings-btn {
  border: none;
  border-radius: 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 20px;
  margin: 0 3px;
  box-shadow: 0 2px 8px rgba(177,213,200,0.09);
  font-size: 1.01rem;
  font-weight: 600;
  background: #B1D5C8;
  color: #253A45;
  cursor: pointer;
  transition: background .18s, color .19s, box-shadow .14s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #253A45;
  color: #fff;
  outline: none;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #253A45;
  border: 1.2px solid #B1D5C8;
}
.cookie-banner .cookie-reject:hover {
  background: #B1D5C8;
  color: #253A45;
}

/* Cookie Settings MODAL  */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(37, 58, 69, 0.80);
  z-index: 2222;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #253A45;
  border-radius: 26px;
  max-width: 420px;
  box-shadow: 0 6px 28px rgba(37,58,69,0.14);
  display: flex;
  flex-direction: column;
  padding: 38px 30px 30px 30px;
  gap: 22px;
  animation: modal-fadeIn .46s cubic-bezier(.77,.15,.53,1);
  min-width: 295px;
}
@keyframes modal-fadeIn {
  from { opacity: 0; transform: scale(0.94) translateY(60px); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  margin-bottom: 9px;
  font-size: 1.35rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.02rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: #B1D5C8;
  width: 17px;
  height: 17px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 17px;
  font-size: 1.01rem;
  background: #B1D5C8;
  color: #253A45;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(177,213,200,0.09);
  transition: background .18s, color .19s;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #253A45;
  color: #fff;
}

/* FORM ELEMENTS */
input, button, select, textarea {
  font-family: inherit;
}
input[type=email], input[type=text], textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #B1D5C8;
  background: #F5F1ED;
  font-size: 1.02rem;
  color: #253A45;
  margin-bottom: 12px;
  box-shadow: none;
  transition: border .18s;
}
input[type=email]:focus, input[type=text]:focus, textarea:focus {
  border-color: #253A45;
  outline: none;
  background: #fff;
}
button {
  cursor: pointer;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
  .feature-grid, .service-cards, .testimonials-list .content-wrapper { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .testimonials-list .content-wrapper, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .hero { padding: 36px 0 34px 0; border-bottom-left-radius: 36px; border-bottom-right-radius: 36px; }
}
@media (max-width: 700px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.34rem; }
  .hero { padding: 17vw 0 11vw 0; border-bottom-left-radius: 22px; border-bottom-right-radius: 22px; }
  .section, .features, .about-short, .about, .team, .contact-details,
  .address-map, .opening-hours, .pricing-table, .faq, .steps-overview,
  .results-overview, .process-preview, .thank-you, .legal {
    padding: 26px 5px 23px 5px;
    border-radius: 14px;
    margin-bottom: 32px;
  }
  .service-card, .card {
    min-width: unset;
    padding: 17px 10px;
  }
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 425px) {
  body { font-size: 15px; }
  h1 { font-size: 1.28rem; }
  .hero h1 { font-size: 1.28rem; }
  .newsletter input[type=email] { width: 140px; }
}
@media (max-width: 350px) {
  .newsletter form { flex-direction: column; gap: 5px; }
  .cookie-banner { flex-direction: column; padding: 16px 3px; gap: 10px; }
}

/* MICRO-ANIMATIONS & EFFECTS */
.card, .service-card, .testimonial-card, .cta, .main-nav > a.cta, .newsletter button[type=submit] {
  transition: box-shadow .22s, transform .18s, background .22s, color .18s;
}
.cta:active, .newsletter button[type=submit]:active, .main-nav > a.cta:active {
  transform: scale(0.97);
}

.hero .container, .features .container {
  position: relative;
  z-index: 2;
}

/* ACCESSIBILITY FOCUS */
a:focus-visible, .cta:focus, .mobile-nav a:focus {
  outline: 2.2px solid #B1D5C8;
  outline-offset: 2px;
}

/* VISUAL HIEROARCHY SPACING */
.card-container > *,
.card > *,
.service-card > *,
.section > *,
.container > *,
.content-grid > *,
.text-image-section > *,
.testimonial-slider > *,
.testimonials-list .content-wrapper > * {
  margin-bottom: 20px;
}
.card-container > *:last-child,
.card > *:last-child,
.service-card > *:last-child,
.section > *:last-child,
.container > *:last-child,
.content-grid > *:last-child,
.text-image-section > *:last-child,
.testimonial-slider > *:last-child,
.testimonials-list .content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* Hide cookie banner on accept (to be handled via JS) */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal-overlay.hide {
  display: none !important;
}
