/* ================================== */
/* Zodiac Klima - style.css           */
/* ================================== */

/* CSS RESET & NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, blockquote, pre, table, th, td, address {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-style: inherit;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
table,
th,
td {
  border-collapse: collapse;
  border-spacing: 0;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}
button {
  cursor: pointer;
}

/* ========================= */
/* COLOR VARIABLES & FONTS   */
:root {
  --color-primary: #12486B;
  --color-secondary: #42A5B3;
  --color-accent: #F3F8FF;
  --color-white: #fff;
  --color-black: #1c232c;
  --color-gray1: #f5f7fa;
  --color-gray2: #e3e7ee;
  --color-gray3: #8ea2b6;
  --color-gray4: #425064;
  --color-shadow: rgba(32,56,104,0.07);
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* FONTS (WEB FONTS FROM GOOGLE FONTS) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Roboto:wght@400;500;700&display=swap');


/* ========================= */
/* BODY & TYPOGRAPHY         */
body {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -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(--color-primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol, dl, address, blockquote {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.text-section p, .content-wrapper p, li, dd {
  color: var(--color-gray4);
}

/* Typography scale adjustments for desktops */
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}

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

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

/* ========================= */
/* NAVIGATION                */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 6px 16px -10px var(--color-shadow);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 0 0 0;
  min-height: 72px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.main-nav > a:first-child img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
  margin-right: auto;
}
.main-nav ul li a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-gray4);
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  color: var(--color-primary);
  background: var(--color-accent);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 28px;
  transition: background 0.18s, transform 0.15s;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px -3px var(--color-shadow);
  border: none;
  outline: none;
  display: inline-block;
  margin-left: 16px;
  text-align: center;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.025);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 2rem;
  border-radius: 6px;
  padding: 8px 14px;
  margin-left: 12px;
  border: none;
  z-index: 101;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: 0 4px 32px 0 var(--color-shadow), 0 0 0 100vw rgba(18,72,107,0.13);
  display: flex;
  flex-direction: column;
  z-index: 102;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.77,.2,.24,1);
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px;
  font-size: 2.1rem;
  background: transparent;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 44px;
  gap: 11px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.15rem;
  padding: 14px 20px;
  color: var(--color-primary);
  border-radius: 8px;
  width: 90%;
  text-align: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* Hide mobile menu toggle on desktop */
@media (min-width: 1100px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
/* Hide desktop nav on mobile */
@media (max-width: 1099px) {
  .main-nav ul, .main-nav .btn-primary { display: none; }
  .mobile-menu-toggle { display: flex !important; }
}

/* ========================= */
/* HERO + CTA + FEATURES    */
/* ========================= */
section {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 4px 30px -10px var(--color-shadow);
  margin-bottom: 39px;
  padding: 40px 0;
}

@media (max-width: 900px) {
  section {
    border-radius: 0;
    margin-bottom: 28px;
    padding: 32px 0;
  }
}

/* Features (icon + text list) */
section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 22px;
}
section ul li {
  background: var(--color-accent);
  border-radius: 12px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 290px;
  box-shadow: 0 2px 16px -8px var(--color-shadow);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.18s;
  border: 1px solid var(--color-gray2);
}
section ul li:hover {
  box-shadow: 0 6px 30px -12px var(--color-shadow);
  transform: translateY(-4px) scale(1.025);
}
section ul li img {
  width: 42px;
  margin-bottom: 8px;
}
section ul li strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
}

/* For feature lists with simple bullet points only (eg. faq, offers) */
.content-wrapper ul:not(:has(li img)),
.text-section ul {
  box-shadow: none;
  background: transparent;
  gap: 0;
  padding: 0;
  flex-wrap: wrap;
  flex-direction: column;
}
.content-wrapper ul:not(:has(li img)) li,
.text-section ul li {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--color-gray4);
  position: relative;
  padding-left: 18px;
}
.content-wrapper ul:not(:has(li img)) li:before,
.text-section ul li:before {
  content: "• ";
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ========================= */
/* CARDS & CONTAINERS        */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray2);
  border-radius: 12px;
  box-shadow: 0 2px 12px -7px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 7px 25px -10px var(--color-shadow);
  transform: translateY(-3px);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
}

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

/* ========================= */
/* TESTIMONIALS / REVIEWS    */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  border-radius: 11px;
  background: var(--color-accent);
  box-shadow: 0 2px 10px -8px var(--color-shadow);
  border: 1px solid var(--color-gray2);
  max-width: 590px;
  color: var(--color-primary);
}
.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--color-gray4);
  line-height: 1.6;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote:before { content: open-quote; color: var(--color-secondary); font-size: 2.2rem; line-height: 0;vertical-align:top; }
.testimonial-card blockquote:after { content: close-quote; color: var(--color-secondary); font-size: 2.2rem; line-height: 0;vertical-align:top; }
.testimonial-card p strong {
  color: var(--color-secondary);
  font-size: 1rem;
}

/* High contrast for testimonial text */
.testimonial-card,
.testimonial-card blockquote,
.testimonial-card p {
  color: #1c232c;
}

/* ========================= */
/* TABLES & FAQ              */
table {
  width: 100%;
  font-size: 1rem;
  border-radius: 9px;
  background: var(--color-accent);
  margin-bottom: 24px;
  border: 1px solid var(--color-gray2);
  box-shadow: 0 2px 13px -8px var(--color-shadow);
  overflow: hidden;
}
thead {
  background: var(--color-primary);
}
thead th {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px;
  font-size: 1.03rem;
}
tbody td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--color-gray2);
  color: var(--color-gray4);
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(even) td {
  background: var(--color-white);
}
table th, table td {
  text-align: left;
}

dl {
  margin-bottom: 24px;
}
dt {
  font-family: var(--font-display);
  font-weight: 500;
  margin-top: 12px;
  color: var(--color-primary);
  font-size: 1.04rem;
}
dd {
  color: var(--color-gray4);
  padding-left: 6px;
}

/* ========================= */
/* FOOTER                    */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 38px 0 18px 0;
  margin-top: 28px;
  border-radius: 17px 17px 0 0;
  box-shadow: 0 -4px 30px -10px var(--color-shadow);
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav ul li a {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  opacity: 0.88;
  transition: color 0.18s;
}
.footer-nav ul li a:hover,
.footer-nav ul li a:focus {
  color: var(--color-secondary);
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.footer-brand img {
  width: 30px !important;
  height: 30px !important;
}
.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.01rem;
  letter-spacing: 0.04em;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 8px;
}
.footer-contact address {
  color: #e5eefa;
  font-size: 0.97rem;
  line-height: 1.6;
  text-align: center;
}
.footer-contact a {
  color: var(--color-secondary);
  text-decoration: underline;
  transition: color 0.16s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: #fff;
}

@media (max-width: 600px) {
  .footer-nav ul {
    flex-direction: column;
    gap: 9px;
  }
  .footer-brand span {
    font-size: 0.95rem;
  }
}

/* ========================= */
/* RESPONSIVE: LAYOUT ADJUST */
@media (max-width: 900px) {
  .main-nav {
    max-width: 100%;
    padding: 0 8px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 13px;
  }
  section ul {
    gap: 17px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  .btn-primary {
    font-size: 0.97rem;
    padding: 10px 19px;
    margin-left: 0;
    margin-top: 9px;
  }
  .footer-brand, .footer-contact { flex-direction: column; gap: 5px; }
  .section, section {
    margin-bottom: 27px;
    padding: 22px 0;
  }
}

/* ========================= */
/* MICRO INTERACTIONS        */
section ul li, .card, .btn-primary {
  transition: box-shadow 0.18s, transform 0.18s, background 0.20s, color 0.15s;
}
a, button { transition: color 0.15s, background 0.16s; }

/* ========================= */
/* COOKIE CONSENT            */
/* ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1200;
  padding: 18px 12px 18px 24px;
  box-shadow: 0 -2px 22px -10px var(--color-shadow);
  font-size: 1.04rem;
  gap: 16px;
}
.cookie-banner__text {
  flex: 1 1 0%;
  font-size: 1.01rem;
  margin-right: 12px;
  color: #fff;
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  font-family: var(--font-body);
  border-radius: 22px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  margin: 0;
  outline: none;
  background: var(--color-secondary);
  color: #fff;
  transition: background 0.16s, color 0.14s, transform 0.12s;
  box-shadow: 0 1px 10px -6px var(--color-shadow);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #0f3651;
  color: #fff;
  transform: translateY(-1px) scale(1.05);
}
.cookie-btn.cookie-btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-btn.cookie-btn-secondary:hover {
  background: var(--color-gray2);
  color: var(--color-primary);
}
.cookie-btn.cookie-btn-text {
  background: none;
  color: #fff;
  box-shadow: none;
  border: none;
}
.cookie-btn.cookie-btn-text:hover {
  text-decoration: underline;
}

/* Cookie preference modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) scale(0.95);
  min-width: 330px;
  max-width: 98vw;
  background: #fff;
  color: var(--color-primary);
  border-radius: 18px;
  box-shadow: 0 12px 38px -14px var(--color-shadow);
  z-index: 1210;
  padding: 35px 32px 32px 32px;
  opacity: 0;
  pointer-events: none;
  max-height: 86vh;
  overflow-y: auto;
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}
.cookie-modal__header {
  font-family: var(--font-display);
  margin-bottom: 18px;
}
.cookie-modal__category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--color-secondary);
  border-radius: 22px;
  transition: background-color 0.15s;
}
.cookie-switch input:disabled + .cookie-slider {
  background: var(--color-gray2);
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s cubic-bezier(.46,.03,.52,.96);
  box-shadow: 0 1px 6px -4px var(--color-black);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal__footer {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal__description {
  font-size: 0.97rem;
  color: var(--color-gray3);
  margin-left: 5px;
}
.cookie-modal__close {
  position: absolute;
  right: 17px;
  top: 13px;
  font-size: 1.25rem;
  background: none;
  color: var(--color-secondary);
  border: none;
  cursor: pointer;
}
.cookie-modal__close:hover { color: var(--color-primary); }

/* Responsive cookie modal */
@media (max-width: 540px) {
  .cookie-modal {
    max-width: 92vw;
    padding: 22px 10px 22px 12px;
  }
}

/* ========================= */
/* ACCESSIBILITY: FOCUS      */
:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ========================= */
/* UTILITIES & HELPERS       */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center !important; }
.max-w-700 { max-width: 700px; margin: 0 auto; }

/* ========================= */
/* MISC                      */
::-webkit-scrollbar { width: 11px; background: var(--color-accent); }
::-webkit-scrollbar-thumb { background: var(--color-gray2); border-radius: 6px; }
@media (max-width: 600px) {
  ::-webkit-scrollbar { width: 7px; }
}

/* ==== END ==== */