/* ========================================================
   TwinkleFlex Habits: style.css
   Geometric Structured Flexbox Design – Mobile First
   ======================================================== */
/* RESET & BASIC NORMALIZE ------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #291C5B;
  background: #F8FAE5;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #1F8A70;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #4C3F91;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* BRAND TYPOGRAPHY -------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.18;
  color: #1F8A70;
}
h1 {
  font-size: 2.125rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: #291C5B;
}
h4 {
  font-size: 1.05rem;
  color: #4C3F91;
}
p, li, blockquote, th, td {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #291C5B;
}
blockquote {
  font-style: italic;
  position: relative;
  padding-left: 22px;
  color: #291C5B;
}
blockquote:before {
  content: '“';
  color: #1F8A70;
  font-size: 2.2em;
  position: absolute;
  left: 0;
  top: -8px;
}

/* LAYOUT: CONTAINER & WRAPPERS -------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 16px;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44,44,72,0.10);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(44,44,72,0.18);
  transform: translateY(-4px) scale(1.02);
}
.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;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(44,44,72,0.09);
  margin-bottom: 20px;
  position: relative;
  border-left: 6px solid #1F8A70;
  min-height: 90px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* STRUCTURED GEOMETRIC ELEMENTS ------------------------- */
/* Geometric accent shapes for titles and icons */
.hero h1, .content-wrapper > h1, .content-wrapper > h2 {
  position: relative;
}
.hero h1:before, .content-wrapper > h1:before, .content-wrapper > h2:before {
  content: '';
  position: absolute;
  left: -32px;
  top: 8px;
  width: 18px;
  height: 18px;
  background: #1F8A70;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-radius: 2px;
  z-index: 1;
  display: none;
}
@media (min-width:520px) {
  .hero h1:before, .content-wrapper > h1:before, .content-wrapper > h2:before {
    display: block;
  }
}

/* HEADER & NAVIGATION ---------------------------------- */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 16px 0 16px 0;
  background: #fff;
  z-index: 201;
  border-bottom: 2.5px solid #F8FAE5;
}
.logo {
  margin-right: 16px;
  display: flex;
  align-items: center;
  height: 56px;
}
.logo img {
  max-height: 42px;
  width: auto;
}
.main-nav {
  display: none;
}
.cta-button.primary {
  display: inline-flex;
  align-items: center;
  background: #1F8A70;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.025rem;
  padding: 12px 28px;
  margin-left: auto;
  border: none;
  border-radius: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(31,138,112,0.13);
  transition: background .18s, transform .16s, box-shadow .18s;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #291C5B;
  color: #fff;
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 4px 16px rgba(44,44,72,0.13);
}

.mobile-menu-toggle {
  margin-left: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1F8A70;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 505;
  transition: background .16s, box-shadow .18s;
  box-shadow: 0 2px 9px rgba(31,138,112,0.09);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #291C5B;
  box-shadow: 0 4px 16px rgba(44,44,72,0.13);
}

/* Desktop nav visible, mobile nav hidden by default */
@media (min-width: 900px) {
  header {
    padding: 22px 0 18px 0;
  }
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 26px;
    margin-left: 16px;
  }
  .main-nav a {
    color: #291C5B;
    font-weight: 500;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    padding: 6px 4px;
    border-bottom: 2.5px solid transparent;
    transition: color .18s, border-bottom .16s;
  }
  .main-nav a:hover, .main-nav a:focus {
    color: #1F8A70;
    border-bottom: 2.5px solid #1F8A70;
  }
  .cta-button.primary {
    margin-left: 38px;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU ---------------------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #1F8A70;
  color: #fff;
  z-index: 1000;
  transform: translateX(-110vw);
  transition: transform .37s cubic-bezier(.77,.26,.36,.78);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 44px 32px 24px 24px;
  box-shadow: 0 0 0 100vmax rgba(31,138,112,0.07), 0 18px 36px rgba(41,28,91,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 29px;
  top: 18px;
  width: 36px;
  height: 36px;
  color: #fff;
  background: #291C5B;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  z-index: 1002;
  transition: background .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #4C3F91;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 42px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 0 12px 0px;
  font-weight: 600;
  border-bottom: 2.5px solid transparent;
  border-radius: 2px;
  transition: color .19s, border-bottom .15s;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: #F8FAE5;
  border-bottom: 2.5px solid #F8FAE5;
}

/* HERO / INTRO -------------------------------------------- */
.hero {
  background: #1F8A70;
  color: #fff;
  border-bottom-right-radius: 72px;
  border-bottom-left-radius: 32px;
  padding: 54px 0 40px 0;
  display: flex;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  gap: 20px;
}
.hero h1 {
  color: #fff;
  font-size: 2.36rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
}
.hero p {
  color: #F8FAE5;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 18px;
}
.hero .cta-button.primary {
  background: #F8FAE5;
  color: #1F8A70;
}
.hero .cta-button.primary:hover, .hero .cta-button.primary:focus {
  background: #291C5B;
  color: #fff;
}

/* FEATURES GRID ------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid li {
  background: #fff;
  border-radius: 16px;
  flex: 1 1 260px;
  min-width: 220px;
  box-shadow: 0 2px 12px rgba(44,44,72,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 18px 22px 18px;
  transition: box-shadow .2s, transform .16s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 4px 24px rgba(44,44,72,0.16);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img {
  background: #F8FAE5;
  padding: 12px;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  box-shadow: 0 1.5px 6px rgba(31,138,112,0.09);
}
.feature-grid h3 {
  color: #1F8A70;
  font-size: 1.05rem;
}
.feature-grid p {
  font-size: 0.98rem;
  color: #291C5B;
}

/* SERVICE LIST ---------------------------------------------- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-list li {
  background: #fff;
  border-radius: 14px;
  flex: 1 1 230px;
  min-width: 200px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 2px 12px rgba(44,44,72,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .2s, transform .16s;
}
.service-list li:hover {
  box-shadow: 0 4px 20px rgba(31,138,112,0.14);
  transform: translateY(-2px) scale(1.03);
}
.service-list img {
  background: #F8FAE5;
  padding: 10px;
  border-radius: 8px;
  width: 42px;
  height: 42px;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #291C5B;
  font-weight: bold;
  background: #F8FAE5;
  border-radius: 6px;
  padding: 5px 10px;
  margin-top: 8px;
  font-size: 0.97rem;
}

/* SERVICE DETAIL for oferta.html ---------------------------- */
.service-detail {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44,44,72,0.12);
  padding: 32px 22px 20px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
  position: relative;
}
.service-detail h2 {
  margin-bottom: 0.5em;
  font-size: 1.16rem;
  color: #1F8A70;
}
.service-detail .price {
  color: #1F8A70;
  background: #F8FAE5;
  margin-top: 8px;
  display: inline-flex;
}

/* PRICING TABLE ---------------------------------------------- */
.pricing-table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border-collapse: collapse;
  box-shadow: 0 1.5px 9px rgba(44,44,72,0.11);
  margin-bottom: 16px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  text-align: left;
  padding: 13px 8px;
  color: #1F8A70;
}
.pricing-table th {
  background: #F8FAE5;
  font-weight: bold;
  border-bottom: 2px solid #1F8A70;
  text-transform: uppercase;
}
.pricing-table td {
  border-bottom: 1px solid #ECF0E8;
  color: #291C5B;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* BLOG LIST ------------------------------------------------- */
.blog-list .category-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4C3F91;
}
.category-filter span {
  background: #F8FAE5;
  border: 1.5px solid #1F8A70;
  color: #1F8A70;
  font-weight: 600;
  border-radius: 400px;
  padding: 5px 14px;
  font-size: 0.95rem;
  margin-right: 6px;
}
.latest-articles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.latest-articles article {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(44,44,72,0.10);
  padding: 20px 18px 16px 18px;
  transition: box-shadow .18s, transform .14s;
  border-left: 4.5px solid #4C3F91;
}
.latest-articles article:hover {
  box-shadow: 0 4px 16px rgba(44,44,72,0.12);
  transform: translateY(-2px) scale(1.01);
}
.latest-articles h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #4C3F91;
}
.latest-articles a {
  color: #1F8A70;
  font-weight: bold;
  font-size: 0.97rem;
  transition: color .15s;
}
.latest-articles a:hover, .latest-articles a:focus {
  color: #291C5B;
}
.featured-posts {
  margin-top: 26px;
  background: #F8FAE5;
  border-radius: 10px;
  padding: 16px 14px 14px 15px;
  box-shadow: 0 1px 5px rgba(44,44,72,0.05);
}
.featured-posts h3 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  color: #1F8A70;
}
.featured-posts ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.featured-posts a {
  color: #4C3F91;
  font-size: 0.99rem;
}
.featured-posts a:hover {
  color: #1F8A70;
}
/* CTA block ---------------------------------------------- */
.cta {
  background: #1F8A70;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  color: #fff;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #F8FAE5;
}
.cta .cta-button.primary {
  margin-top: 16px;
  background: #F8FAE5;
  color: #1F8A70;
}
.cta .cta-button.primary:hover {
  background: #291C5B;
  color: #fff;
}

/* TESTIMONIALS ------------------------------------------- */
.testimonials {
  background: #F8FAE5;
  padding: 40px 0 20px 0;
  border-top: 2.5px solid #1F8A70;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 72px;
}
.testimonial-card {
  background: #fff;
  color: #291C5B;
  border-left: 8px solid #1F8A70;
  margin-top: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 9px rgba(31,138,112,0.07);
}
.testimonial-card blockquote {
  color: #291C5B;
  font-style: italic;
  font-size: 1.05rem;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: #4C3F91;
  margin-left: 18px;
}

/* FAQ ----------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 9px rgba(44,44,72,0.08);
  padding: 20px 16px 13px 16px;
  border-left: 4px solid #1F8A70;
  transition: box-shadow .14s;
}
.faq-list h3 {
  color: #1F8A70;
  font-size: 1.06rem;
  margin-bottom: 5px;
}
.faq-list p {
  font-size: 0.98rem;
  color: #291C5B;
}

/* FOOTER -------------------------------------------------- */
footer {
  background: #1F8A70;
  color: #fff;
  font-size: 0.97rem;
  padding: 38px 0 34px 0;
  margin-top: 36px;
  border-top-left-radius: 60px;
  border-top-right-radius: 16px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-logo img {
  max-height: 42px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #F8FAE5;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.98em;
  letter-spacing: 0.025em;
  transition: color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #291C5B;
}
.footer-contact {
  font-size: 0.97em;
  color: #F8FAE5;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 6px;
  line-height: 1.5;
}

/* Responsive footer alignment */
@media (min-width: 720px) {
  footer .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 38px;
  }
  .footer-logo {
    flex: 0 0 auto;
  }
  .footer-nav {
    flex: 1 1 320px;
    justify-content: center;
  }
  .footer-contact {
    flex: 0 1 300px;
    text-align: right;
  }
}

/* FORMS / TEXT SECTIONS ------------------------------------ */
.text-section {
  gap: 12px;
}
.text-section a {
  color: #4C3F91;
  border-bottom: 1.7px dashed #1F8A70;
  transition: color .12s, border-bottom .15s;
}
.text-section a:hover {
  color: #1F8A70;
  border-bottom: 1.7px solid #1F8A70;
}

/* CONFIRMATION PAGE ---------------------------------------- */
.confirmation {
  text-align: center;
  padding: 22px 6px 50px 6px;
}
.confirmation h1 {
  color: #1F8A70;
  margin-bottom: 20px;
}
.confirmation p {
  color: #291C5B;
}
.confirmation .cta-button.primary {
  margin: 26px auto 0 auto;
}

/* COOKIE CONSENT BANNER ------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3.5px solid #1F8A70;
  color: #291C5B;
  z-index: 2850;
  box-shadow: 0 -4px 20px rgba(44,44,72,0.09);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  padding: 20px 14px 16px 14px;
}
.cookie-banner p {
  font-size: 1.01rem;
  color: #291C5B;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-top: 6px;
}
.cookie-banner button {
  padding: 9px 22px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  transition: background .17s, color .13s, box-shadow .13s;
}
.cookie-banner .cookie-accept {
  background: #1F8A70;
  color: #fff;
  box-shadow: 0 1px 4px rgba(31,138,112,0.13);
}
.cookie-banner .cookie-accept:hover {
  background: #291C5B;
}
.cookie-banner .cookie-reject {
  background: #F8FAE5;
  color: #291C5B;
  border: 1.5px solid #1F8A70;
}
.cookie-banner .cookie-reject:hover {
  background: #fff;
  color: #1F8A70;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #4C3F91;
  border: 1.5px solid #4C3F91;
}
.cookie-banner .cookie-settings:hover {
  background: #4C3F91;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL ------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,28,91, 0.22);
  z-index: 3852;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px 18px 0 0;
  border-top: 5px solid #1F8A70;
  box-shadow: 0 -4px 32px rgba(44,44,72,0.16);
  width: 100%;
  max-width: 480px;
  margin-bottom: 0;
  padding: 32px 18px 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .26s cubic-bezier(.59,.18,.33,1), box-shadow .17s;
}
.cookie-modal h2 {
  color: #1F8A70;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  font-size: 1.01rem;
}
.cookie-category label {
  font-weight: 500;
  color: #291C5B;
}
.cookie-toggle {
  width: 37px;
  height: 22px;
  background: #F8FAE5;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  border: 2px solid #1F8A70;
  transition: background .14s, border .14s;
  margin-right: 4px;
}
.cookie-toggle[aria-checked="true"] {
  background: #1F8A70;
}
.cookie-toggle-knob {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .18s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-knob {
  left: 15px;
}
/* Modal controls */
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-top: 6px;
}
.cookie-modal .cookie-accept {
  background: #1F8A70;
  color: #fff;
}
.cookie-modal .cookie-accept:hover {
  background: #291C5B;
}
.cookie-modal .cookie-cancel {
  background: #fff;
  color: #4C3F91;
  border: 1.5px solid #4C3F91;
}
.cookie-modal .cookie-cancel:hover {
  background: #4C3F91;
  color: #fff;
}

/* Geometric buttons in modals */
.cookie-modal .cookie-accept,
.cookie-modal .cookie-cancel {
  padding: 9px 22px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  transition: background .17s, color .13s, box-shadow .13s;
}

/* MEDIA QUERIES: RESPONSIVE SPACINGS & FLEX CHANGES ------- */
@media (min-width: 600px) {
  .container {
    padding-right: 32px;
    padding-left: 32px;
  }
  .feature-grid, .service-list {
    gap: 32px;
  }
  .content-wrapper {
    gap: 34px;
  }
}
@media (min-width: 900px) {
  .feature-grid, .service-list {
    gap: 36px;
    justify-content: space-between;
  }
  .container {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (min-width: 700px) {
  .content-wrapper {
    gap: 42px;
  }
}

/* Text-image section becomes row on desktop */
@media (min-width: 700px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .feature-grid, .service-list {
    flex-direction: column;
  }
  .content-grid {
    flex-direction: column;
  }
}
/* CARD/LIST responsive breakpoints */
@media (max-width: 600px) {
  .feature-grid li, .service-list li {
    min-width: 90vw;
    margin-right: 0;
    margin-left: 0;
  }
  .service-detail {
    min-width: 95vw;
  }
}


/* MICRO-INTERACTIONS & TRANSITIONS ------------------------ */
.cta-button,
button,
input[type=submit],
input[type=button] {
  transition: background .17s, color .13s, box-shadow .13s, border .13s;
}
input:focus,
textarea:focus {
  outline: 2px solid #1F8A70;
  border-radius: 5px;
}

/* ANIMATIONS ---------------------------------------------- */
@keyframes slideInMenu {
  from { transform: translateX(-100vw);}
  to { transform: translateX(0);}
}
@keyframes slideOutMenu {
  from { transform: translateX(0);}
  to { transform: translateX(-100vw);}
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-menu.open {
  animation: slideInMenu .37s cubic-bezier(.77,.26,.36,.78);
}
.mobile-menu.closing {
  animation: slideOutMenu .22s cubic-bezier(.77,.26,.36,.78);
}
.cookie-banner { 
  animation: fadeIn .32s cubic-bezier(.44,.13,.86,.52);
}
.cookie-modal {
  animation: fadeIn .23s cubic-bezier(.44,.13,.86,.52);
}

/* ACCESSIBILITY: FOCUS VISIBLE OUTLINE ------------------- */
:focus-visible {
  outline: 2px solid #4C3F91;
  outline-offset: 2px;
}

/* SCROLLBAR STYLING -------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #F8FAE5;
}
::-webkit-scrollbar-thumb {
  background: #1F8A70;
  border-radius: 6px;
}

/* MISCELLANEOUS ENHANCEMENTS ----------------------------- */
::-moz-selection { background: #1F8A70; color: #fff;}
::selection { background: #1F8A70; color: #fff;}

/*  Hide visually hidden elements (for accessibility)  */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* PRINT SUPPORT: SIMPLE --------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .container, .content-wrapper { padding: 0 !important; }
}
