/* --- CSS RESET --- */
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: #FFF9F5;
  color: #22313A;
}
ol,ul {
  list-style:none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .18s;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
button,
input,
select,
textarea {
  font-family:inherit;
  font-size:inherit;
}

/* --- CUSTOM PROPERTIES --- */
:root {
  --primary: #15627A;
  --primary-darker: #0D4660;
  --secondary: #E5E9F2;
  --accent: #F2B705;
  --bg: #FFF9F5;
  --header-bg: #FFFFFF;
  --card-bg: #FFFFFF;
  --text: #22313A;
  --muted: #5F6F7A;
  --rounded: 22px;
  --radius-sm: 12px;
  --radius-lg: 32px;
  --shadow: 0 3px 20px 0 rgba(21,98,122,0.10);
  --shadow-card: 0 2px 10px 0 rgba(246,176,5,.10);
  --shadow-lift: 0 6px 32px 0 rgba(21,98,122,0.12);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

@media(prefers-color-scheme: dark) {
  :root {
    --bg: #19232C;
    --header-bg: #16232E;
    --card-bg: #192D3E;
    --text: #FAFAFA;
    --muted: #A9B4C7;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight:400;
  min-height:100vh;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- HEADER / NAV ---------- */
header {
  background: var(--header-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1.5px solid #F1F1F1;
}
header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 0;
  display: block;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--primary-darker);
}
.cta-btn {
  font-family: var(--font-display);
  background: var(--accent);
  color: #1F242A;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 28px;
  border: none;
  outline: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  display: inline-block;
  letter-spacing:0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffcd43;
  color: var(--primary-darker);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px) scale(1.015);
}
.mobile-menu-toggle {
  display: none;
  font-size: 36px;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  height: 44px;
  width: 44px;
  padding: 0;
  margin-left: 10px;
  border-radius: var(--radius-sm);
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px dashed var(--primary-darker);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99;
  background: rgba(34,49,58,0.72);
  backdrop-filter: blur(3px);
  transform: translateX(-100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s cubic-bezier(.41,.98,.52,1), opacity .25s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 32px;
  margin: 32px 0 12px 26px;
  background: #FFF;
  color: var(--primary);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  box-shadow: var(--shadow);
  transition: background 0.19s, color 0.15s, transform 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--accent);
  transform: rotate(-8deg) scale(1.055);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--bg);
  background: #FFF;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  margin-bottom: 8px;
  width: 88vw;
  max-width: 418px;
  transition: background .19s, color .17s;
  box-shadow: var(--shadow);
  letter-spacing:0.01em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary-darker);
  outline: none;
}

/* --- SECTION & LAYOUT --- */
main {
  min-height: 60vh;
  margin-bottom: 60px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border-radius: var(--rounded);
  padding: 36px 28px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px) scale(1.015);
}
.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;
}

/* --- HERO --- */
.hero-section {
  background: var(--primary);
  color: #fff;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  padding: 52px 0 56px 0;
  margin-bottom: 56px;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-section .content-wrapper {
  gap: 20px;
  align-items: flex-start;
}
.hero-section h1 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.16;
  letter-spacing:0;  
}
.hero-section p {
  font-size: 1.12rem;
  max-width: 640px;
  margin-bottom: 14px;
  color: #EAF6F7;
}
.hero-section .cta-btn {
  background: var(--accent);
  color: var(--primary-darker);
  font-size: 18px;
  margin-top: 10px;
}
.hero-section .cta-btn:hover { background: #ffcd43; }

/* --- FEATURE & SERVICES --- */
.features-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.features-grid > div, .service-list > li {
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  border-radius: var(--rounded);
  padding: 32px 16px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.16s, transform 0.17s;
}
.features-grid > div:hover,
.service-list > li:hover {
  box-shadow: var(--shadow-lift);
  transform: scale(1.025);
}
.features-grid img, .service-list img {
  width: 40px;
  height: 40px;
  margin-bottom:4px;
}
.features-grid h3, .service-list h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 700;
}
.features-grid p, .service-list p {
  color: var(--muted);
  font-size: 0.98rem;
}

.ul, .usp-list, .customer-list {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.01rem;
}
.usp-list li, .customer-list li { 
  position: relative;
  padding-left: 18px;
  color: var(--text);
}
.usp-list li::before, .customer-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: middle;
  position:absolute; left:0; top:10px;
}


/* --- CTA SECTION --- */
.cta-section {
  background: var(--accent);
  color: #1F242A;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 50px 0 40px 0;
  text-align: center;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-darker);
  margin-bottom: 10px;
}
.cta-section p {
  max-width: 600px;
  color: #1F242A;
  font-size: 1.11rem;
}
.cta-section .cta-btn {
  background: var(--primary);
  color: #fff;
  font-size: 18px;
}
.cta-section .cta-btn:hover {background: #104055;}

/* --- TESTIMONIALS --- */
.testimonials-section {
  margin-bottom: 60px;
}
.testimonials-section .content-wrapper {
  gap: 28px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #fff8eb;
  color: #2A322E;
  border-radius: var(--rounded);
  box-shadow: var(--shadow-card);
  min-width: 210px;
  flex: 1 1 300px;
  max-width: 580px;
  font-size: 1.06rem;
  border-left: 5px solid var(--accent);
  transition: box-shadow 0.18s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lift);
  transform: scale(1.018);
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--primary);
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #151519;
}

/* --- FEATURE ITEM --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- CARDS & TABLES --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* --- FORM & TABLE SIMPLIFIED --- */
input, textarea, select {
  background: var(--secondary);
  border-radius: var(--radius-sm);
  border: 1.1px solid #e4e4e4;
  padding: 10px 13px;
  font-size: 16px;
  margin-bottom: 14px;
  transition: border-color .17s, box-shadow .18s;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px #fae1a3;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.3rem; /* 37px */
    color: var(--primary);
    margin-bottom: 10px;
}
h2, .h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.7rem; /* 27px */
    color: var(--primary-darker);
    margin-bottom: 8px;
}
h3, .h3 {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight:600;
    color: var(--primary);
    margin-bottom: 5px;
}
h4, .h4 {
    font-size: 1.05rem;
    color: var(--muted);
}
p, ul, li, a {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.52;
    color: var(--text);
}
strong { font-weight: 700; color: var(--primary-darker);}
em { color: var(--muted); font-style:italic;}

/* --- FOOTER --- */
footer {
  background: var(--header-bg);
  border-top: 2px solid #EEE;
  box-shadow: var(--shadow-card);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  padding: 28px 0 20px 0;
  margin-top: 56px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px 36px;
  justify-content: space-between;
}
footer img {
  height: 60px;
  border-radius: 0;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  font-size: 15px;
  color: var(--primary-darker);
  padding: 6px 2px 6px 0;
  border-radius: var(--radius-sm);
  transition: color .18s, background .16s;
}
footer nav a:hover {
  color: var(--primary);
  background: var(--secondary);
}
.footer-contact{
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1em;
  color: var(--muted);
}
.footer-contact img{
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 0;
  display:inline-block;
}
.footer-contact p{
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size:14.5px;
  margin-bottom: 0;
}

/* --- COOKIES --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width:100vw;
  z-index: 200;
  background: #fff6dc;
  color: #1F242A;
  box-shadow: 0 -3px 20px 0 rgba(246,176,5,.10);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  gap: 14px;
  transition: transform .32s cubic-bezier(.62, .04, .62, 1), opacity .18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap:18px;
}
.cookie-btn {
  font-family: var(--font-display);
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-weight: 600;
  border-radius: var(--radius-lg);
  padding: 9px 22px;
  box-shadow: var(--shadow-card);
  margin-right: 0;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.15s, color .16s, transform .14s;
}
.cookie-btn:hover { background: var(--primary); color: #FFF; }
.cookie-btn.settings {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  font-weight: 500;
  margin-left: 12px;
}
.cookie-btn.settings:hover {
  background: #FFF9DB;
  color: var(--primary-darker);
}
.cookie-btn.reject {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid #e2c968;
}
.cookie-btn.reject:hover {
  background: #fff1d2;
  color: var(--primary-darker);
}
.cookie-preferences-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 420px;
  background: #fff;
  color: #22313A;
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 32px 0 rgba(34, 49, 58, 0.18);
  padding: 32px 26px 27px 26px;
  z-index: 400;
  transform: translate(-50%,-55%) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s,transform .22s;
}
.cookie-preferences-modal.open {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-preferences-modal h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.33rem;
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-size: 1em;
  color: var(--muted);
  font-family: var(--font-body);
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
}
.category-essential {
  font-weight: 600;
  color: var(--primary-darker);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 25px;
  background: none;
  border: none;
  color: var(--muted);
  cursor:pointer;
  transition: color .17s;
}
.cookie-modal-close:hover {
  color: var(--primary);
}

/* --- ANIMATIONS AND MICRO-INTERACTIONS --- */
.cta-btn, .cookie-btn, .mobile-menu-close, .mobile-nav a {
  transition: background .17s, color .17s, transform .15s, box-shadow .17s;
}

@media (hover: hover) {
  .cta-btn:hover, .cookie-btn:hover, .mobile-menu-close:hover, .mobile-nav a:hover {
    transform: translateY(-1.5px) scale(1.02);
    box-shadow: 0 4px 18px 0 rgba(242,183,5,.09);
  }
}

section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1020px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .features-grid, .service-list, .card-container, .content-grid {
    gap: 18px;
  }
  footer .container {
    gap: 24px 24px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    gap: 8px;
    padding-top: 7px; padding-bottom: 7px;
  }
  nav, header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn { margin-left: 0; }
  .footer-contact {
    font-size: 13px;
  }
  footer nav {
    gap:6px;
    font-size: 14px;
  }
  .features-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .card {
    padding: 24px 12px;
  }
  .section, section {
    padding: 26px 4vw;
    margin-bottom: 38px;
  }
  .hero-section {
    padding: 32px 0 38px 0;
    margin-bottom: 28px;
  }
  .cta-section {
    padding: 26px 0 21px 0;
  }
  .footer-contact img { width:14px; height:14px; }
  .testimonial-card {
    padding: 17px 10px;
    font-size: 1.01rem;
    margin-bottom: 15px;
    max-width: 98vw;
  }
  .cookie-preferences-modal { padding: 25px 8px; }
}
@media (max-width: 520px) {
  html { font-size: 97%; }
  h1 { font-size: 1.45rem; }
  .hero-section h1 { font-size: 1.24rem; }
  .cta-section h2 { font-size: 1.31rem; }
  .cta-section .cta-btn { font-size: 16px; }
  .content-wrapper { gap: 12px; }
  .footer-contact { font-size: 12.5px; }
  .features-grid > div, .service-list > li {max-width:100%; min-width:0; }
}

/* --- MISC UTILS --- */
.hide { display: none!important; }
.open { display: block!important; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }

/* --- SCROLLBAR STYLING (WEBKIT) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #f9f2de;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 8px;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::-moz-focus-inner { border: 0; }

/* --- END --- */
