/* ========================== */
/* Floxora Latch - style.css  */
/* Playful Dynamic, Flexbox Only, Responsive */
/* ========================== */
/* --- 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.4;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7F8FA;
  color: #222C35;
  min-width: 320px;
}
img {
  vertical-align: middle;
  max-width: 100%;
  border-style: none;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #222C35;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.3;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
/* ============================= */
/* --- Brand Colors as CSS Vars --- */
:root {
  --cl-primary: #222C35;
  --cl-secondary: #5EB3AF;
  --cl-accent: #F7F8FA;
  --cl-bright1: #FFB422;
  --cl-bright2: #FFD94D;
  --cl-bright3: #FF59A7;
  --cl-bright4: #5C6DF8;
  --cl-bright5: #36E8E7;
  --cl-btn-shadow: rgba(94,179,175,0.18);
  --radius: 18px;
  --radius-big: 32px;
  --section-pad: 40px 20px;
  --z-menu: 1000;
  --z-cookie: 1100;
}
/* ============================= */
/* --- Typography Scale --- */
h1 { font-size: 2.4rem; line-height: 1.14; margin-bottom: 12px; }
h2 { font-size: 1.8rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, blockquote, cite, table, th, td {
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.section strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  color: #222C35;
  background: none;
  margin-bottom: 8px;
  line-height: 1.4;
}
cite {
  font-style: normal;
  font-size: 0.97rem;
  color: var(--cl-bright4);
  display: block;
  margin-top: 10px;
}
/* ============================= */
/* --- Container + Page Layout --- */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
main {
  min-height: 60vh;
  background: var(--cl-accent);
}
/* ============================= */
/* --- Section, Cards, Flex Patterns --- */
.section {
  margin-bottom: 60px;
  padding: var(--section-pad);
  background: #fff;
  border-radius: var(--radius-big);
  box-shadow: 0 6px 24px -6px rgba(94, 179, 175, .07);
  transition: box-shadow 0.3s;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.card {
  background: #fff;
  padding: 28px 22px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px -4px var(--cl-btn-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 266px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 2.5px solid transparent;
}
.card:hover {
  transform: translateY(-4px) scale(1.017);
  box-shadow: 0 12px 32px -6px var(--cl-btn-shadow);
  border-color: var(--cl-bright1);
  z-index: 1;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px -7px var(--cl-btn-shadow), 0 0 0 3px var(--cl-bright4, #5C6DF8), 0 1.5px 0 0 var(--cl-bright2);
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  color: #222C35;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px -9px var(--cl-bright4), 0 0 0 6px var(--cl-bright1);
  transform: scale(1.022) rotate(-1deg);
}
.testimonial-card blockquote span {
  color: var(--cl-bright3);
  font-size: 0.96em;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container, .card-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 34px;
    border-radius: var(--radius);
  }
}
/* ============================= */
/* --- Header, Main Nav, Burger --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px -8px var(--cl-btn-shadow);
  position: sticky;
  top: 0;
  z-index: var(--z-menu);
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.main-nav .logo img {
  height: 44px;
  transition: transform 0.3s;
}
.main-nav .logo:hover img {
  transform: rotate(-6deg) scale(1.04);
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.04rem;
  color: var(--cl-primary);
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.16s, box-shadow 0.16s;
}
.main-nav a:hover, .main-nav li.active a {
  background: var(--cl-bright5);
  color: var(--cl-bright3);
  box-shadow: 0px 2px 8px var(--cl-btn-shadow);
}
.cta-primary {
  background: linear-gradient(90deg, var(--cl-bright2), var(--cl-bright3) 99%);
  color: #222C35;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px var(--cl-btn-shadow);
  border: none;
  margin-left: 16px;
  transition: background 0.13s, color 0.21s, transform 0.15s, box-shadow 0.18s;
  display: inline-block;
  outline: none;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--cl-bright3), var(--cl-bright2) 90%);
  color: var(--cl-bright5);
  transform: scale(1.055) rotate(-2deg);
  box-shadow: 0 6px 28px -7px var(--cl-bright3);
}
.cta-secondary {
  background: linear-gradient(90deg, var(--cl-secondary), var(--cl-bright5) 99%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 7px var(--cl-btn-shadow);
  margin-left: 6px;
  outline: none;
  display: inline-block;
  transition: background 0.14s, color 0.19s, transform 0.12s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: linear-gradient(90deg, var(--cl-bright4), var(--cl-bright2) 68%);
  color: var(--cl-primary);
  transform: scale(1.042);
}
/* Burger button */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 19px;
  right: 24px;
  font-size: 2rem;
  height: 48px;
  width: 48px;
  background: var(--cl-bright2);
  color: var(--cl-primary);
  border-radius: 12px;
  z-index: var(--z-menu);
  justify-content: center;
  align-items: center;
  box-shadow: 0 1.5px 7px var(--cl-bright2);
  transition: background 0.16s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  border: 2.5px solid var(--cl-bright4);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--cl-bright3);
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 5px 30px var(--cl-bright3);
}
/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(246, 247, 250, 0.96);
  box-shadow: 0 8px 32px -4px var(--cl-btn-shadow);
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(0.70,0.02,0.41,1.01);
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 28px; right: 26px;
  font-size: 2.1rem;
  background: var(--cl-bright3);
  color: #fff;
  border-radius: 50%;
  height: 45px;
  width: 45px;
  border: 2.5px solid var(--cl-bright2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: calc(var(--z-menu) + 2);
  transition: background 0.14s, color 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--cl-bright2);
  color: var(--cl-bright3);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 80px;
  width: 100%;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: var(--cl-primary);
  background: var(--cl-accent);
  border-radius: 10px;
  padding: 16px 12px 12px 12px;
  margin-bottom: 3px;
  box-shadow: 0 1.5px 4px var(--cl-bright5);
  transition: background 0.2s, color 0.16s, transform 0.13s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--cl-bright2);
  color: var(--cl-bright3);
  transform: scale(1.06) translateX(8px);
}
/* Show/hide mobile nav */
@media (max-width: 1024px) {
  .main-nav ul,
  .main-nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width:1025px) {
  .mobile-menu {
    display: none !important;
  }
}
/* ============================= */
/* --- Footer --- */
footer {
  background: #fff;
  box-shadow: 0 -2px 9px -7px var(--cl-btn-shadow);
  margin-top: 48px;
  padding: 34px 0 28px 0;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.logo-footer img {
  height: 40px;
  margin-bottom: 12px;
}
.footer-nav, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a, .footer-menu a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: var(--cl-secondary);
  margin-bottom: 3px;
  transition: color 0.17s, transform 0.17s;
}
.footer-nav a:hover, .footer-menu a:hover {
  color: var(--cl-bright3);
  transform: scale(1.055);
}
.company-info {
  font-size: 0.98rem;
  color: var(--cl-primary);
  margin-top: 10px;
}
.social-links {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 10px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 1.2px 2px var(--cl-bright5));
  transition: filter 0.18s, transform 0.17s;
  border-radius: 6px;
  background: var(--cl-accent);
}
.social-links a:hover img {
  filter: drop-shadow(0px 4px 12px var(--cl-bright3)) brightness(1.11);
  transform: scale(1.12) rotate(-7deg);
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .footer-nav, .footer-menu {
    flex-direction: row;
    gap: 14px;
    flex-wrap: wrap;
  }
}
/* ============================= */
/* --- Lists, Tables, Forms --- */
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0;
  position: relative;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 9px;
}
ul li img, .text-section li img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 7px;
  animation: iconBounce 1.25s cubic-bezier(0.56,0.04,0.68,0.93) infinite alternate;
}
@keyframes iconBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px) scale(1.12); }
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 10px 0;
  background: var(--cl-accent);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 1px 6px var(--cl-btn-shadow);
}
th, td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 2px solid #eaeaea;
}
th {
  color: var(--cl-bright3);
  background: var(--cl-bright2);
  font-size: 1.07rem;
  font-family: 'Montserrat',Arial,sans-serif;
}
tr:last-child td {
  border-bottom: none;
}
/* Forms basic styles */
input, textarea, select {
  padding: 10px 12px;
  border: 2px solid var(--cl-bright2);
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--cl-bright3);
  outline: none;
  box-shadow: 0 2px 16px -4px var(--cl-btn-shadow);
}
label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
/* ============================= */
/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fffbe7;
  color: #222C35;
  box-shadow: 0 -3px 22px -8px var(--cl-bright1);
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
  padding: 22px 16px 22px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  z-index: var(--z-cookie);
  flex-wrap: wrap;
  animation: cookieSlideIn 0.79s cubic-bezier(0.88,0.17,0.41,1.09);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.02rem;
  max-width: 540px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 19px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  outline: none;
  transition: background 0.17s, color 0.16s, box-shadow 0.17s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--cl-bright2);
  color: #222C35;
  box-shadow: 0 1.5px 8px var(--cl-bright2);
}
.cookie-btn.accept:hover {
  background: var(--cl-bright3);
  color: #fff;
  box-shadow: 0 7px 32px var(--cl-bright3);
}
.cookie-btn.reject {
  background: var(--cl-bright5);
  color: var(--cl-primary);
  box-shadow: 0 1.5px 8px var(--cl-bright5);
}
.cookie-btn.reject:hover {
  background: var(--cl-bright4);
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--cl-bright3);
  border: 2px solid var(--cl-bright3);
}
.cookie-btn.settings:hover {
  background: var(--cl-bright3);
  color: #fff;
}
/* Cookie modal */
.cookie-modal {
  position: fixed;
  z-index: calc(var(--z-cookie) + 10);
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,43,61,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: cookieModalIn 0.64s cubic-bezier(0.39,0.42,0.26,1.09);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.92) translateY(44px); }
  to { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-big);
  padding: 36px 30px 28px 30px;
  max-width: 430px;
  min-width: 300px;
  box-shadow: 0 6px 48px -10px var(--cl-bright4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--cl-bright3);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 46px;
  height: 26px;
  background: var(--cl-bright4);
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
  border: 2px solid #eaeafa;
}
.cookie-modal .cookie-switch:checked {
  background: var(--cl-bright3);
}
.cookie-modal .cookie-switch::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.23s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 2px 8px var(--cl-btn-shadow);
}
.cookie-modal .cookie-switch:checked::before {
  left: 23px;
  background: var(--cl-bright2);
}
.cookie-modal .cookie-category-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 20px; right: 18px;
  font-size: 2rem;
  color: var(--cl-bright3);
  background: none;
  border: none;
  border-radius: 50%;
  transition: color 0.13s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--cl-bright4);
}
@media (max-width: 600px) {
  .cookie-modal .cookie-modal-content {
    max-width: 98vw;
    min-width: unset;
    padding: 20px 6px 15px 7px;
    border-radius: var(--radius);
  }
}
/* ============================= */
/* --- Animations, Playful Touches --- */
h1, h2, h3 {
  animation: popEntry 1.0s cubic-bezier(0.57,0.1,0.43,1.08) both;
}
h1 { animation-delay: 0.05s; }
h2 { animation-delay: 0.11s; }
h3 { animation-delay: 0.19s; }
@keyframes popEntry {
  0% { opacity: 0; transform: scale(0.96) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.section {
  animation: sectionPop 0.86s cubic-bezier(.45,1.35,.45,1.02) both;
}
@keyframes sectionPop {
  0% { opacity:0; transform: scale(0.965) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cta-primary, .cta-secondary {
  animation: btnPop 0.48s cubic-bezier(.43,1.03,.42,1.01) both;
}
@keyframes btnPop {
  from { opacity:0; transform: scale(0.93) rotate(-8deg);} to {opacity:1; transform: scale(1) rotate(0);}
}
/* ============================= */
/* --- Utility/Playful Decorations --- */
@media (max-width: 420px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.22rem; }
  p, li, blockquote, cite { font-size: 0.98rem; }
  .content-wrapper, .text-section {
    gap: 10px !important;
  }
}
/* ============================= */
/* --- Accessibility & Focus States --- */
a, button, .cta-primary, .cta-secondary, .cookie-btn, .mobile-menu-close {
  outline-color: var(--cl-bright3);
  outline-width: 3px;
  outline-style: solid;
  outline-offset: 0.5px;
}
a:focus-visible, button:focus-visible {
  box-shadow: 0 0 0 2.5px var(--cl-bright3);
}
/* ============================= */
/* --- Misc --- */
::-webkit-selection, ::selection {
  background: var(--cl-bright3);
  color: #fff;
}
/* ============================= */
/* --- End --- */