/* === 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, main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7FAFC;
  color: #223A5E;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
img {
  border: 0;
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* === ROOT VARIABLES === */
:root {
  --primary: #223A5E;
  --secondary: #FA8C16;
  --accent: #E7ECEF;
  --white: #fff;
  --gray-light: #F7FAFC;
  --gray-mid: #E7ECEF;
  --gray-dark: #7581A1;
  --danger: #E75454;
  --radius: 16px;
  --shadow-sm: 0 1px 8px 0 rgba(34,58,94,.07);
  --shadow-md: 0 8px 32px 0 rgba(34,58,94,.12);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* === TYPOGRAPHY === */
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #E7ECEF 0%, #F7FAFC 100%);
  font-size: 16px;
  color: var(--primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem;  margin-bottom: 20px; }
h3, h4 { font-size: 1.25rem; margin-bottom: 16px; }
h5, h6 { font-size: 1rem; }
p, ul, ol, li { font-size: 1rem; color: var(--primary); margin-bottom: 16px; }
ul, ol { padding-left: 20px; }
strong { font-weight: 700; }
.text-section ul, .text-section ol { margin-bottom: 24px; }

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3, h4 { font-size: 1.1rem; }
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === SPACING & SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  width: 100%;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 28px 0 0 0;
  }
}

/****
 * GRID & FLEX LAYOUTS
 */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 20px;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  transition: box-shadow 0.2s; 
}
.card:hover {
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/****
 * HEADER & NAV
 */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(34,58,94,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 28px;
}
header img { height: 40px; }
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 6px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--secondary);
  background: var(--accent);
}
.btn-primary {
  background: linear-gradient(90deg, #FA8C16 0%, #FFC46B 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px 30px;
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  outline: none;
  display: inline-block;
  letter-spacing: 0.05em;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #cf6a08 0%, #FA8C16 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 12px 30px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color .2s, box-shadow .2s, transform .15s;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.03);
}

@media (max-width: 1024px) {
  nav, header .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1025px) {
  .mobile-menu-toggle, .mobile-menu { display: none!important; }
}

/****
 * MOBILE NAVIGATION
 */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  z-index: 1201;
  box-shadow: var(--shadow-md);
  border: none;
  align-items: center;
  justify-content: center;
  transition: background .18s, box-shadow .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #cf6a08;
  box-shadow: 0 4px 24px 0 rgba(34, 58, 94, 0.10);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(34,58,94,0.12);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.77,0,.18,1); 
  padding: 0 26px;
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  margin: 32px 0 12px 0;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  border: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--danger);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  background: var(--gray-light);
  width: 100%;
  padding: 16px 8px;
  border-radius: 8px;
  margin-bottom: 2px;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}

/****
 * HERO & CTA
 */
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
  gap: 18px;
}
.text-section p {
  font-size: 1.1rem;
  color: var(--gray-dark);
  margin-bottom: 18px;
}
.text-section ul, .text-section ol {
  margin-bottom: 24px;
}

/****
 * FEATURES, CARDS, TESTIMONIALS
 */
.feature {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 24px;
  flex: 1 1 270px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .16s;
  position: relative;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.feature a {
  margin-top: 10px;
  color: var(--secondary);
  font-weight: 600;
  font-family: var(--font-display);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--accent);
  transition: background .18s, color .18s;
}
.feature a:hover, .feature a:focus {
  background: var(--secondary);
  color: var(--white);
}
.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 20px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 420px;
  transition: box-shadow .2s, transform .15s;
  border-left: 5px solid var(--secondary);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.025) translateY(-3px);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: var(--secondary);
}
.stars {
  color: #FA8C16;
  letter-spacing: 1.5px;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

/****
 * FOOTER
 */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 24px 0;
  width: 100%;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: .92;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact p, .footer-contact strong {
  color: var(--accent);
  font-size: .98rem;
}
footer .footer-nav, .footer-contact {
  min-width: 200px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-left: 0; 
    padding-right: 0;
  }
  .footer-logo img { margin-bottom: 4px; }
  .footer-contact p { margin-bottom: 10px; }
}

/****
 * FORMS & INPUTS (Minimal as per HTML)
 */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-mid);
  padding: 10px 14px;
  transition: border-color .16s, box-shadow .16s;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px #fa8c1622;
}

/****
 * COOKIE CONSENT BANNER & MODAL
 */

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--white);
  z-index: 2200;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 30px;
  box-shadow: 0 -2px 24px 0 rgba(34,58,94,0.11);
  font-size: 1rem;
  animation: fadein-bottom 0.5s cubic-bezier(.5,1.7,.13,.99);
}
.cookie-banner__text {
  flex: 1 1 60%;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--accent);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: background .2s, box-shadow .2s;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #cf6a08;
  box-shadow: var(--shadow-md);
}
.cookie-btn.secondary {
  background: var(--white);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--secondary);
  color: var(--white);
}

.cookie-modal__overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,58,94,0.55);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 32px 24px 32px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadein-scale .25s;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--danger);
  color: var(--white);
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal__category label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal__toggle {
  width: 36px;
  height: 20px;
  appearance: none;
  background: var(--gray-mid);
  border-radius: 999px;
  position: relative;
  outline: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .22s;
}
.cookie-modal__toggle:checked {
  background: var(--secondary);
}
.cookie-modal__toggle:before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(34,58,94,0.07);
  transition: left .20s;
}
.cookie-modal__toggle:checked:before {
  left: 18px;
}

@keyframes fadein-bottom {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadein-scale {
  from { opacity:0; transform: scale(.92); }
  to   { opacity:1; transform: scale(1); }
}

/****
 * RESPONSIVE & MOBILE ADJUSTMENTS
 */
@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 16px;
    padding: 14px 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
  .feature {
    min-width: 170px;
    padding: 22px 16px;
  }
  .testimonial-card {
    padding: 18px 18px 18px 14px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature, .card{
    width: 100%;
    min-width: unset;
  }
  .testimonial-card {
    width: 100%;
    min-width: unset;
    padding: 16px 10px 16px 18px;
  }
  footer {
    padding: 26px 0 14px 0;
  }
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 8px;
    font-size: .95rem;
  }
  .cookie-banner__actions{
    gap: 8px;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
  }
  .container{
    padding-left: 7px;
    padding-right: 7px;
  }
  .feature {
    padding: 16px 7px;
  }
}

/****
 * UTILITIES & EFFECTS
 */
.shadow {
  box-shadow: var(--shadow-md)!important;
}
.rounded {
  border-radius: var(--radius)!important;
}
.bg-primary {
  background: var(--primary)!important;
  color: var(--white)!important;
}
.bg-secondary {
  background: var(--secondary)!important;
  color: var(--white)!important;
}
.text-accent {
  color: var(--accent)!important;
}
.text-secondary {
  color: var(--secondary)!important;
}
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.gap-20 { gap: 20px !important; }

/**** END OF STYLE.CSS ****/
