/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
  padding-left: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #31A0F3;
  outline-offset: 2px;
}

/* FONT FACE */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F9FBFF;
  color: #202435;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* BRAND COLORS -- add helper variables */
:root {
  --primary: #202435;
  --secondary: #31A0F3;
  --accent: #F9FBFF;
  --vibrant-magenta: #FF2E8E;
  --vibrant-yellow: #FFE850;
  --vibrant-cyan: #08FFE6;
  --shadow-blue: rgba(49,160,243,0.13);
  --card-shadow: 0 4px 24px var(--shadow-blue);
}

/* TYPOGRAPHY SCALE */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--primary);
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--secondary);
  letter-spacing: -0.2px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
p {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
}
strong {
  color: var(--vibrant-magenta);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* LAYOUT & SPACING UTILS */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 680px;
  margin: 0 auto;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s cubic-bezier(.4,2,.4,1);
  border-left: 6px solid var(--secondary);
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 36px 0 rgba(255,46,142,0.11), 0 10px 60px 0 rgba(49,160,243,0.22);
  border-left: 6px solid var(--vibrant-magenta);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(49,160,243, 0.10);
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.22s cubic-bezier(.4,2,.4,1);
  border-left: 5px solid var(--secondary);
  /* Ensure high contrast always for testimonials */
  color: #21243b;
}
.testimonial-card:hover {
  box-shadow: 0 6px 34px 0 rgba(255,46,142,0.13), 0 16px 72px 0 rgba(49,160,243,0.10);
  border-left: 5px solid var(--vibrant-cyan);
}
.testimonial-meta {
  font-size: 1rem;
  color: var(--vibrant-magenta);
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: right;
  font-weight: 600;
  margin-top: 6px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid li {
  background: #fff;
  border-radius: 17px;
  box-shadow: var(--card-shadow);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 295px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s cubic-bezier(.41,1.2,.6,1), transform 0.16s;
  border-left: 5px solid var(--vibrant-yellow);
}
.feature-grid li:hover {
  box-shadow: 0 8px 40px 0 rgba(8,255,230,0.09), 0 14px 64px 0 rgba(49,160,243,0.10);
  border-left: 5px solid var(--vibrant-magenta);
  transform: translateY(-2px) scale(1.025);
}
.feature-grid img {
  width: 43px;
  height: 43px;
  margin-bottom: 12px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* HERO, CTA, ACCENT SECTIONS */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 48px 0;
  min-height: 280px;
  margin-bottom: 12px;
  background: var(--accent);
}
.hero .container, .hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta, .callout, .blog-overview, .contact-cta, .contact-form, .thank_you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
}
.cta-btn {
  background: var(--vibrant-magenta);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  border-radius: 28px;
  padding: 13px 40px;
  font-size: 1.13rem;
  margin-top: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px 0 rgba(255,46,142,0.18);
  border: none;
  transition: background .20s, box-shadow .20s, color .16s;
  position: relative;
  z-index: 2;
  cursor: pointer;
  display: inline-block;
}
.cta-btn.primary {
  background: linear-gradient(90deg, var(--secondary) 65%, var(--vibrant-cyan) 100%);
  color: var(--primary);
  box-shadow: 0 4px 16px 0 rgba(49,160,243,0.18);
}
.cta-btn.secondary {
  background: linear-gradient(90deg, var(--vibrant-magenta) 80%, var(--vibrant-yellow) 100%);
  color: #202435;
  font-weight: 700;
  box-shadow: 0 4px 22px 0 rgba(255,46,142,0.12);
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(100deg, var(--vibrant-magenta) 50%, var(--secondary) 100%);
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(49,160,243,0.13), 0 14px 52px 0 rgba(255,46,142,0.13);
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: linear-gradient(90deg, var(--vibrant-cyan) 60%, var(--secondary) 100%);
  color: var(--primary);
}
.cta-btn.secondary:hover {
  background: linear-gradient(90deg, var(--secondary) 30%, var(--vibrant-magenta) 100%);
  color: #fff;
}

/* -- ACCENT BACKGROUND SECTIONS -- */
.accent-bg {
  background: linear-gradient(100deg, var(--accent) 75%, var(--vibrant-cyan) 100%);
  border-radius: 0 0 38px 38px;
}

/* SERVICE CARDS (oferta.html) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-cards li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 18px 0 rgba(49,160,243, 0.11);
  padding: 26px 20px 24px 24px;
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 330px;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
  border-left: 5px solid var(--vibrant-magenta);
}
.service-cards li:hover {
  box-shadow: 0 8px 40px 0 rgba(49,160,243,0.11);
  border-left: 5px solid var(--vibrant-yellow);
}
.service-price {
  display: inline-block;
  background: var(--vibrant-cyan);
  color: var(--primary);
  font-weight: 700;
  border-radius: 12px;
  padding: 4px 16px;
  font-size: 1.09rem;
  margin-top: 10px;
}

/* NAVIGATION */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 10px 0 rgba(32,36,53,0.045), 0 0.5px 0 rgb(39 174 245 / 18%);
}
.main-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  justify-content: flex-start;
}
.main-nav .logo {
  margin-right: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  transition: color .16s;
  position: relative;
  padding: 5px 8px;
  border-radius: 6px;
}
.main-nav a:not(.logo):hover,
.main-nav a:not(.logo):focus {
  color: var(--vibrant-magenta);
  background: var(--accent);
}
.main-nav .cta-btn {
  margin-left: auto;
  margin-right: 8px;
  font-size: 1rem;
}

/* Hide main-nav and show burger on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--secondary);
  background: none;
  border: none;
  margin-left: auto;
  z-index: 102;
  padding: 8px 12px;
}
.mobile-menu {
  display: none;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 10px;
    font-size: 0.98rem;
  }
}
@media (max-width: 980px) {
  .main-nav .cta-btn {
    font-size: 0.95rem;
    padding: 11px 24px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 7px;
    font-size: 0.93rem;
    padding: 7px 0;
  }
  .main-nav .logo {
    margin-right: 16px;
  }
}
/* ------- RESPONSIVE MOBILE NAVIGATION ------ */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 21px;
    z-index: 102;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 110;
    transform: translateX(-100%);
    transition: transform 0.36s cubic-bezier(.8,.2,.3,1);
    box-shadow: 8px 0 30px 0 rgba(49,160,243,0.09);
    padding: 0 0 32px 0;
    will-change: transform;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    font-size: 2.3rem;
    background: none;
    border: none;
    color: var(--secondary);
    margin: 28px 28px 0 0;
    padding: 3px 9px;
    transition: color .13s;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    color: var(--vibrant-magenta);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    margin: 34px 0 0 28px;
    width: 90vw;
  }
  .mobile-nav a {
    color: var(--primary);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 9px 18px;
    border-radius: 7px;
    margin-bottom: 6px;
    transition: color .13s, background .16s;
    background: none;
    width: 80vw;
    max-width: 420px;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--accent);
    color: var(--vibrant-magenta);
  }
}

/* ------- COOKIE CONSENT BANNER ----------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--accent) 70%, var(--vibrant-cyan) 100%);
  box-shadow: 0 -2px 36px 0 rgba(49,160,243,0.15);
  padding: 28px 20px 22px 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  transition: transform 0.28s,
              opacity 0.22s;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  flex: 1 1 auto;
  font-size: 1.04rem;
  margin: 0 12px 0 0;
}
.cookie-banner .cookie-btn {
  margin-left: 0;
  margin-right: 8px;
  border-radius: 18px;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: color .14s, background .18s;
  background: var(--secondary);
  color: #fff;
  min-width: 115px;
}
.cookie-banner .cookie-btn.settings {
  background: var(--vibrant-magenta);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--vibrant-cyan);
  color: var(--primary);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 21px 14px 19px 13px;
    gap: 10px;
    font-size: 0.97rem;
  }
  .cookie-banner p {
    margin: 0 0 8px 0;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 400;
  background: rgba(49,160,243,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .20s, visibility .18s;
  visibility: hidden;
  opacity: 0;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 10px 56px 0 rgba(49,160,243,0.20);
  padding: 38px 30px 30px 30px;
  max-width: 430px;
  min-width: 260px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  animation: cookie-fade 0.33s cubic-bezier(.67,2.1,.4,1) both;
}
@keyframes cookie-fade {
  from { opacity: 0; transform: scale(0.97) translateY(22px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-content h3 {
  color: var(--secondary);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 6px 0 10px 0;
}
.cookie-category-label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  flex: 1 1 auto;
}
.cookie-category-toggle {
  background: var(--vibrant-yellow);
  border-radius: 15px;
  min-width: 40px;
  height: 24px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  margin-left: 6px;
}
.cookie-category-toggle input {
  display: none;
}
.cookie-category-toggle .toggle-circle {
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 7px 0 rgba(49,160,243,0.11);
  margin-left: 2px;
  transition: margin .2s;
  position: absolute;
}
.cookie-category-toggle input:checked + .toggle-circle {
  margin-left: 18px;
  background: var(--vibrant-cyan);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 105px;
  border-radius: 16px;
  padding: 8px 14px;
}
@media (max-width: 540px) {
  .cookie-modal-content {
    padding: 22px 6vw 20px 6vw;
    min-width: 0;
    width: 96vw;
  }
}

/* SECTIONS: BLOG LIST, ABOUT, POLICY */
.blog-list ul, .blog-overview ul, .about ul, .policy ul, .thank_you ul {
  margin: 18px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.featured-post {
  background: var(--vibrant-yellow);
  border-radius: 11px;
  padding: 18px 18px 12px 18px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px 0 rgba(255,46,142,.06);
}

/*-----------------------------------*/
/*     FOOTER                        */
/*-----------------------------------*/
footer {
  background: #fff;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 24px 0 rgba(49,160,243,0.07);
  margin-top: 60px;
  padding: 42px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  position: relative;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: center;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
}
.footer-menu a {
  color: var(--primary);
  transition: color .15s;
  padding: 5px 8px;
  border-radius: 8px;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--vibrant-magenta);
  background: var(--accent);
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 2px 19px 0 rgba(49,160,243,0.09);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
}
.footer-copyright {
  text-align: center;
  font-size: 0.97rem;
  color: #455;
  padding-top: 14px;
  letter-spacing: 0.02em;
}

/* --- Utility --- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* --- Responsive Layouts --- */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
  .container {
    padding: 0 9px;
  }
  .section {
    margin-bottom: 42px;
    padding: 28px 8px;
  }
  .content-wrapper, .card-container, .service-cards, .feature-grid, .content-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .feature-grid li, .service-cards li {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 24px 12px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
}

/* --------- Microinteractions & Animations ---------- */
.card, .service-cards li, .feature-grid li {
  transition: box-shadow 0.18s, border-color 0.16s,
              transform 0.18s;
}
.cta-btn, .mobile-nav a, .cookie-btn {
  transition: background .19s, color .16s, box-shadow .16s, transform 0.14s;
}
.cta-btn:active {
  transform: scale(0.97);
}
.card:active, .feature-grid li:active, .service-cards li:active {
  transform: scale(0.98);
}

/* --------- Icon overrides ----------- */
.features img[src*="icon-"] {
  background: var(--vibrant-yellow);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 10px;
}

/* ----------- Contact page icons ------------ */
.contact p img {
  width: 22px;
  height: 22px;
  margin: 0 8px -5px 0;
  vertical-align: middle;
  display: inline-block;
  background: var(--vibrant-cyan);
  border-radius: 6px;
  padding: 3px;
}

/* --------- Section Spacing 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;
}

/* Responsive spacing for sections */
@media (max-width: 480px) {
  .section {
    margin-bottom: 30px;
    padding: 18px 2vw;
  }
}

/* -- End of CSS -- */
