/* ==== CSS 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F6FA;
  color: #28323C;
  font-weight: 400;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* ==== SOFT PASTEL COLOR PALETTE (EXTENDED) ==== */
:root {
  --primary: #28323C;
  --secondary: #82B1C9;
  --accent: #F5F6FA;
  --pastel-blue: #D1E9FA;
  --pastel-mint: #D8F6F0;
  --pastel-pink: #FAE1E5;
  --pastel-lavender: #ECE7F6;
  --pastel-yellow: #FBF6D9;
  --pastel-sage: #E8F6EB;
  --cta-gradient: #82B1C9;
  --heading: 'Montserrat', Arial, sans-serif;
  --body: 'Roboto', Arial, sans-serif;
  --shadow-soft: 0 8px 24px rgba(130, 177, 201, 0.09);
  --shadow-card: 0 2px 8px rgba(40, 50, 60, 0.07);
  --border-radius: 18px;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li, address {
  font-family: var(--body);
  font-size: 1rem;
  color: #333a44;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 600;
}
blockquote {
  padding: 18px 26px;
  background: var(--pastel-lavender);
  border-left: 5px solid var(--secondary);
  border-radius: var(--border-radius);
  color: var(--primary);
  font-family: var(--heading);
  font-size: 1.15rem;
  margin: 24px 0;
}

/* ==== CONTAINER ==== */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--pastel-blue);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--heading);
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
  outline: none;
}
.cta-btn {
  background: var(--secondary);
  color: #fff;
  font-family: var(--heading);
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 30px;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.14s;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #40789A;
  color: #fff;
  box-shadow: 0 4px 16px rgba(40, 50, 60, 0.11);
  transform: translateY(-1.5px) scale(1.03);
  outline: none;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  display: none;
  cursor: pointer;
  margin-left: 14px;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248,250,253,0.96);
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  z-index: 4000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.6,0,0.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--primary);
  padding: 32px 24px 10px 18px;
  align-self: flex-end;
  cursor: pointer;
  margin-right: 0.5em;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0 0 0 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: var(--heading);
  padding: 10px 0;
  color: var(--primary);
  transition: color 0.16s, background 0.17s;
  border-radius: 7px;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--pastel-lavender);
  outline: none;
}

@media (max-width: 950px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    padding: 11px 21px;
    font-size: 1rem;
  }
}

/* ==== MAIN CONTENT ====
   Spacing and section definitions
*/
.section,
.hero-section,
.features-section,
.about-section,
.services-section,
.benefits-section,
.testimonials-section,
.contact-section,
.contact-cta-section,
.confirmation-section,
.location-section,
.footer-cta-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero-section {
  background: var(--pastel-lavender);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: var(--shadow-soft);
}
.features-section {
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
}
.about-section {
  background: var(--pastel-sage);
  border-radius: var(--border-radius);
}
.services-section {
  background: var(--pastel-yellow);
  border-radius: var(--border-radius);
}
.benefits-section {
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
}
.contact-cta-section, .footer-cta-section {
  background: var(--accent);
  border-radius: var(--border-radius);
}
.confirmation-section {
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
}
.location-section {
  background: var(--pastel-lavender);
  border-radius: var(--border-radius);
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ==== CARD & FEATURE GRIDS ==== */
.card-container, .feature-grid, .service-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li,
.service-list li {
  background: var(--accent);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius);
  padding: 28px 20px;
  width: 312px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.feature-grid li:hover,
.service-list li:hover {
  box-shadow: 0 6px 24px rgba(40, 50, 60, 0.13);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img,
.service-list img {
  height: 36px;
  width: 36px;
}
.card {
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.22s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(40, 50, 60, 0.18);
}

/* ==== TESTIMONIALS ==== */
.testimonials-section {
  background: var(--pastel-pink);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--border-radius);
  padding: 20px 30px;
  margin-bottom: 24px;
  margin-top: 8px;
  color: var(--primary);
  min-width: 260px;
  max-width: 650px;
}
.testimonials-section h2 {
  margin-bottom: 10px;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.12rem;
}
.testimonial-card strong {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 4px;
}

@media (max-width: 700px) {
  .testimonial-card {
    padding: 18px 14px;
    font-size: 1rem;
  }
}

/* ==== FOOTER ==== */
footer {
  background: var(--pastel-blue);
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  box-shadow: 0 -2px 16px rgba(130, 177, 201, 0.08);
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 38px 18px 18px 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.footer-nav a {
  font-family: var(--heading);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 7px;
  transition: color 0.18s, background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: var(--secondary);
}
address {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-style: normal;
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--primary);
}
address img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-family: var(--heading);
  font-weight: 600;
  opacity: 0.8;
}
.footer-branding img {
  height: 36px;
  width: auto;
}

/* ==== SPACING & ALIGNMENT (MANDATORY PATTERNS) ==== */
.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;
}

/* ==== LISTS INSIDE TEXT-SECTION ==== */
.text-section ul, .text-section ol {
  list-style: disc inside;
  margin-left: 20px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
  line-height: 1.55;
  font-size: 1rem;
  color: var(--primary);
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1200px) {
  .feature-grid li,
  .service-list li {
    width: 100%;
    min-width: 230px;
    max-width: 420px;
  }
}
@media (max-width: 950px) {
  .container {
    max-width: 97vw;
  }
  .feature-grid, .service-list, .footer-nav {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid, .service-list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature-grid li,
  .service-list li {
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
  .card-container, .footer-nav {
    gap: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  address {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 610px) {
  h1 {
    font-size: 1.42rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .section,
  .hero-section,
  .features-section,
  .about-section,
  .services-section,
  .benefits-section,
  .testimonials-section,
  .contact-section,
  .contact-cta-section,
  .confirmation-section,
  .location-section,
  .footer-cta-section{
    padding: 20px 7px;
    margin-bottom: 34px;
  }
  .container {
    padding: 0 5px;
  }
}

/* ==== BUTTONS ==== */
button,
input[type="submit"],
input[type="button"] {
  font-family: var(--heading);
  font-size: 1rem;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 11px 24px;
  border: none;
  margin-top: 4px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: background 0.18s, transform 0.14s, box-shadow 0.15s;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #40789A;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 3px 14px rgba(40,50,60,0.10);
  outline: none;
}

/* ==== LINKS ==== */
a {
  transition: color 0.19s, background 0.14s;
}
a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.main-nav a.active, .footer-nav a.active {
  color: var(--secondary);
  background: var(--pastel-pink);
}

/* ==== CARDS & SECTION EFFECTS ==== */
.card, .feature-grid li, .service-list li, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.13s;
}
.card:hover, .feature-grid li:hover, .service-list li:hover, .testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(130, 177, 201, 0.16);
  transform: translateY(-1px) scale(1.01);
}

/* ==== BADGE / PRICE ==== */
strong {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 8px;
  padding: 2px 9px;
  font-size: 0.97rem;
  font-weight: 600;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 5000;
  background: #fff7db;
  color: var(--primary);
  box-shadow: 0 -2px 20px rgba(40,50,60,0.09);
  padding: 18px 18px 18px 18px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  font-family: var(--body);
  animation: cookieBannerIn 0.9s cubic-bezier(0.4, 0.5, 0.25, 1) both;
}
@keyframes cookieBannerIn {
  0% {transform: translateY(20px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner button {
  margin: 0 2px 0 2px;
  padding: 9px 22px;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(130,177,201,0.09);
  background: var(--secondary);
  color: #fff;
  font-family: var(--heading);
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.16s, color 0.13s, box-shadow 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #40789A;
  color: #fff;
  outline: none;
}
.cookie-banner .cookie-btn-settings {
  background: var(--pastel-mint);
  color: var(--primary);
}
.cookie-banner .cookie-btn-settings:hover {
  background: var(--secondary);
  color: #fff;
}

/* ==== COOKIE BANNER MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40, 50, 60, 0.30);
  z-index: 9000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: cookieModalIn 0.8s cubic-bezier(0.5, 0.5, 0.2, 1) both;
}
@keyframes cookieModalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 38px 28px 28px 28px;
  max-width: 370px;
  width: 97vw;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  transform: translateY(20px);
  animation: cookieModalCardIn 0.86s cubic-bezier(0.5,.55,0.1,1) both;
}
@keyframes cookieModalCardIn {
  0% {transform: translateY(36px); opacity:0;}
  100% {transform: translateY(0);opacity:1;}
}
.cookie-modal h3 {
  font-family: var(--heading);
  font-size: 1.16rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal .toggle-switch {
  width: 40px;
  height: 22px;
  background: var(--pastel-blue);
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
}
.cookie-modal .toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 40px;
  height: 22px;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
}
.cookie-modal .toggle-switch span {
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--secondary);
  transition: left 0.19s, background 0.16s;
}
.cookie-modal .toggle-switch input:checked + span {
  left: 20.5px;
  background: #40789A;
}
.cookie-modal .category-desc {
  font-size: 0.98rem;
  color: #7A8690;
}
.cookie-modal .cookie-modal-btn-row {
  display: flex;
  gap: 9px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 1.35em;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--secondary);
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 8px 16px 12px;
    max-width: 98vw;
  }
}

/* ==== MISC UTILITIES ==== */
.hide { display: none !important; }
.show { display: flex !important; }

/* ==== SCROLLBAR STYLE ==== */
::-webkit-scrollbar {
  width: 8px;
  background: var(--pastel-mint);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-blue);
  border-radius: 7px;
}

/* ==== FORM ELEMENTS (if present) ==== */
input, textarea, select {
  font-family: var(--body);
  font-size: 1rem;
  padding: 10px 13px;
  border-radius: 8px;
  border: 1px solid #e9e9ed;
  margin-bottom: 14px;
  width: 100%;
  background: var(--accent);
  transition: border 0.17s, box-shadow 0.11s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
  box-shadow: 0 0 3px var(--pastel-blue);
}

/* ==== SPECIAL: CONFIRMATION SECTION ==== */
.confirmation-section h1 {
  color: var(--secondary);
}

/* ==== SPECIAL: ACCESSIBILITY ==== */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ==== SPECIAL: ANIMATION CLASSES ==== */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
}
@keyframes fadeIn {
  100% { opacity: 1; }
}

/* ==== Z-INDEX LAYERS: Prevent Overlap ==== */
header { z-index: 1000; }
.mobile-menu { z-index: 4000; }
.cookie-banner { z-index: 5000; }
.cookie-modal-overlay { z-index: 9000; }

/* ==== END ==== */
