/* ============================================================
   Pulse Calidez – Modern Gradient CSS UI (Flexbox Only)
   Brand: Pulse Calidez | www.warm-pulse.com
   Main Colors: #32435C (primary), #F5A623 (secondary), #F3F3F3 (accent)
   Fonts: Montserrat (display), Open Sans (body)
   Last Updated: 2024 
   ============================================================ */
/* 1. RESET & BASE ---------------------------------------------------- */
footer span {
  color: white !important;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol { list-style: none; }
img { max-width: 100%; display: block; border: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { background: none; border: none; cursor: pointer; font: inherit; }
main { min-height: 60vh; }
:focus { outline-color: #F5A623; outline-width: 2px; outline-style: solid; }

/* 2. FONTS --------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.65;
  font-size: 1rem;
  background: linear-gradient(120deg, #f3f3f3 0%, #fcf7ed 100%);
  color: #32435C;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #283248;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
p, li, span, blockquote {
  font-size: 1rem;
  color: #32435C;
}

/* 3. LAYOUT CONTAINER & SPACING ------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:last-child {
  margin-bottom: 0;
}
/* Section background alternation */
section:nth-of-type(even) {
  background: linear-gradient(120deg, #fffbe5 0%, #f3f3f3 100%);
  border-radius: 20px;
}

/* 4. FLEXBOX CONTENT GRIDS ------------------------------------------ */
.feature-grid,
.service-list,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #FFF;
  box-shadow: 0 4px 16px rgba(50,67,92,0.07);
  margin-bottom: 20px;
  position: relative;
  flex-direction: column;
  color: #283248;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 5. HERO & SECTION STYLES ------------------------------------------ */
section:first-of-type {
  background: linear-gradient(105deg, #32435C 0%, #F5A623 120%);
  color: #fff;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 28px rgba(50,67,92,0.10);
}
section:first-of-type h1,
section:first-of-type h2,
section:first-of-type p {
  color: #fff;
}
section:first-of-type .cta-btn {
  background: #fff;
  color: #F5A623;
  border: 2px solid #fff;
}

/* 6. FEATURE AND SERVICE CARDS --------------------------------------- */
.feature-card,
.service-card {
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 350px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(50,67,92,0.08);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.25s;
}
.feature-card:hover, .service-card:hover {
  box-shadow: 0 10px 30px rgba(245,166,35,0.13);
  transform: translateY(-4px) scale(1.025);
}
.feature-card img, .service-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
}
.feature-card h3, .service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #32435C;
}
.price {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #F5A623;
  letter-spacing: 0.5px;
}

.features-icons {
  width: 100%;
  margin: 24px 0 0 0;
}
.features-icons ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.features-icons li {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #32435C;
  background: #f3f3f3;
  border-radius: 12px;
  padding: 7px 14px 7px 10px;
  font-weight: 500;
}
.features-icons img {
  width: 26px;
  height: 26px;
  display: inline-block;
}

.text-section {
  margin-top: 16px;
}
.text-section p {
  font-size: 1.05rem;
}

/* 7. TABLES --------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(50,67,92,0.06);
}
thead th {
  background: #32435C;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  padding: 14px 12px;
  font-size: 1.07rem;
  text-align: left;
}
tbody td {
  padding: 12px 10px;
  font-size: 1rem;
  border-bottom: 1px solid #F3F3F3;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* 8. CTA BUTTONS ---------------------------------------------------- */
.cta-btn {
  font-family: 'Montserrat', sans-serif;
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  border-radius: 25px;
  background: linear-gradient(90deg, #F5A623 40%, #FFDA7F 100%);
  color: #32435C;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 2px 12px rgba(245,166,35,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.22s;
  cursor: pointer;
  margin: 12px 0 0 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FFDA7F 20%, #F5A623 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(245,166,35,0.17);
  transform: scale(1.05);
  outline: 0;
}
nav .cta-btn {
  margin: 0 0 0 14px;
}

/* 9. NAVIGATION ----------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(50,67,92,0.09);
  position: relative;
  z-index: 40;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
header nav > a img {
  height: 38px;
  width: auto;
  vertical-align: middle;
}
header nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}
header nav ul li {
}
header nav ul li a {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  padding: 5px 11px;
  color: #32435C;
  position: relative;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #F3F3F3;
  color: #F5A623;
}
header nav ul li:last-child a.cta-btn { margin-left: 18px; }

/* 10. FOOTER --------------------------------------------------------- */
footer {
  background: linear-gradient(100deg, #32435C 70%, #F5A623 160%);
  color: #fff;
  padding: 42px 0 0 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -4px 24px rgba(50,67,92,0.10);
}
footer .container { padding: 0 20px 0 20px; }
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 1.07rem;
}
footer nav a {
  color: #fff;
  opacity: .90;
  transition: color 0.18s, opacity 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  color: #F5A623;
  opacity: 1;
}
footer .contact-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.98rem;
  opacity: .94;
}
footer a img {
  height: 36px; width: auto;
}

/* 11. STAR RATINGS --------------------------------------------------- */
.star-ratings {
  color: #F5A623;
  font-size: 1.14rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  margin-top: 10px;
}

/* 12. FAQ, ACCORDION, DETAILS ---------------------------------------- */
details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(50,67,92,0.06);
  margin-bottom: 10px;
  padding: 12px 16px 5px 16px;
  font-size: 1.01rem;
  transition: box-shadow 0.2s;
}
details[open] {
  box-shadow: 0 6px 20px rgba(245,166,35,0.08);
}
details summary {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  color: #32435C;
  cursor: pointer;
  font-weight: 700;
  padding: 0 0 8px 0;
  transition: color 0.18s;
  outline: none;
}
details[open] summary { color: #F5A623; }
details div {
  padding: 2px 0 13px 0;
  color: #32435C;
}

/* 13. BLOCKQUOTE / TESTIMONIALS -------------------------------------- */
.testimonial-card blockquote {
  font-size: 1.17rem;
  line-height: 1.55;
  font-style: italic;
  color: #283248;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 4px solid #F5A623;
}
.testimonial-card span {
  color: #32435C;
  font-size: 1.02rem;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
}

/* 14. OL, UL, LI ----------------------------------------------------- */
ol {
  margin-left: 20px;
  padding-left: 8px;
}
li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: #32435C;
}
ul li {
  list-style-type: disc;
  margin-left: 19px;
}

/* 15. MODAL & OVERLAY (Cookie Prefs) -------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(50,67,92,0.47);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinModalBg 0.28s;
}
@keyframes fadeinModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 40px rgba(50,67,92,0.13);
  padding: 34px 30px 26px 30px;
  min-width: 320px;
  max-width: 96vw;
  color: #32435C;
  animation: slideinModal 0.37s cubic-bezier(0.4,1.4,0.7,1.01);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes slideinModal {
  from { transform: translateY(60px) scale(.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #32435C;
  font-size: 1.34rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
}
.cookie-category-toggle input[type='checkbox'] {
  accent-color: #F5A623;
  width: 19px; height: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* 16. COOKIE BANNER FIXED -------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 70;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 32px rgba(50,67,92,0.14);
  padding: 28px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: slideinCookie 0.45s cubic-bezier(0.4,1.4,0.7,1.01);
  max-width: 440px;
}
@keyframes slideinCookie {
  from { transform: translateY(44px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1;  }
}
.cookie-banner p { color: #32435C; font-size: 1.04rem; margin-bottom: 8px; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 20px;
  border: none;
  border-radius: 18px;
  background: #F5A623;
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  transition: background 0.18s, color 0.15s, box-shadow 0.20s;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(245,166,35,0.08);
}
.cookie-btn:hover { background: #32435C; color: #fff; }
.cookie-btn.reject { background: #32435C; color: #fff; }
.cookie-btn.reject:hover { background: #F5A623; color: #32435C; }
.cookie-btn.settings { background: #F3F3F3; color: #32435C; }
.cookie-btn.settings:hover { background: #F5A623; color: #fff; }

/* 17. MOBILE NAVIGATION/MENU ----------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 25px; top: 19px;
  z-index: 45;
  font-size: 2.1rem;
  color: #32435C;
  background: #fff;
  border-radius: 8px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  box-shadow: 0 1px 8px rgba(245,166,35,0.07);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F5A623;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.45,1.13,.51,1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(50,67,92,0.15);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 18px 0 auto;
  font-size: 2rem;
  color: #32435C;
  background: #f3f3f3;
  border-radius: 8px;
  width: 44px; height: 44px;
  text-align: center; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F5A623;
  color: #fff;
}
.mobile-nav {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 34px 34px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.25rem;
  color: #32435C;
  padding: 10px 10px 10px 2px;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
  min-width: 170px;
  margin-bottom: 3px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F5A623;
  color: #fff;
}

/* 18. RESPONSIVE DESIGN --------------------------------------------- */
@media (max-width: 1080px) {
  .feature-grid, .service-list, .testimonial-grid {
    gap: 16px;
  }
  .service-card, .feature-card {
    min-width: 200px;
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid, .service-list, .testimonial-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature-card, .service-card {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  body { font-size: 0.97rem; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.27rem; }
  .section {
    margin-bottom: 36px;
    padding: 28px 10px;
  }
  .feature-grid, .service-list, .testimonial-grid { gap: 14px; }
  .content-grid { gap: 13px; }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .content-wrapper {
    gap: 13px;
  }
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .content-wrapper { gap: 16px; }
  .footer nav { gap: 8px; font-size: .99rem; }
  .cookie-banner { left: 5vw; right: 5vw; padding: 15px 14px 16px 14px; }
}
@media (max-width: 500px) {
  .container {
    padding: 0 7px;
  }
  section {
    padding: 18px 2px;
    margin-bottom: 28px;
  }
  .feature-card, .service-card {
    padding: 15px 10px 14px 10px;
  }
  .cookie-banner { max-width: 96vw; left: 2vw; right: 2vw; }
  .cookie-modal { padding: 18px 9px 14px 9px; min-width: unset; }
}

/* 19. ANIMATION SUPPORT --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation-duration: 0s !important;
  }
}

/* 20. MISC UTILITY -------------------------------------------------- */
.d-none { display: none !important; }
.d-flex { display: flex !important; }

/* 21. PRINT --------------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container, main { box-shadow: none !important; background: #fff!important; color:#212121!important; }
  body { background: #fff !important; color: #212121 !important; }
}
