/* =======================================================
   CSS RESET & BASE LUXURY PREMIUM STYLE for RISER PERSE KLIMA
======================================================= */

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 {
  font-family: 'Roboto', Arial, sans-serif;
  scroll-behavior: smooth;
}
body {
  background: #F3F6F8;
  color: #1B2936;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #003C6C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AF8800;
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

::-webkit-input-placeholder { color:#A7B3C2; }
::-moz-placeholder { color:#A7B3C2; }
:-ms-input-placeholder { color:#A7B3C2; }
::placeholder { color:#A7B3C2; }

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

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #07203E;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height:1.18; }
h2 { font-size: 2rem; line-height:1.22; }
h3 { font-size: 1.45rem; line-height:1.3; font-weight:700;}
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/*=======================================
 LUXURY PREMIUM COLOR & ACCENTS
========================================*/
:root {
  --primary: #003C6C;
  --secondary: #37A2C2;
  --accent-bg: #F4F8FB;
  --lux-gold: #AF8800;
  --lux-gold-light: #EAD480;
  --deep-navy: #07203E;
  --neutral-light: #FBFCFE;
  --border-card: #E2E7EB;
  --shadow: rgba(64, 69, 92, 0.07);
}

/* Luxury subtle texture */
body {
  background-color: var(--accent-bg);
  background-image: linear-gradient(120deg, #FBFCFE 75%, #F4F8FB 100%); /* Subtle */
}

/* =======================================================
   HEADER & MAIN NAVIGATION (LUXURY PREMIUM)
======================================================= */
header {
  background: #fff;
  border-bottom: 1px solid #E7EBF1;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0px 14px;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.2s;
  position: relative;
  border-radius: 4px;
}
.main-nav > a:not(:first-child):hover,
.main-nav > a:not(:first-child):focus {
  color: var(--lux-gold);
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 14px;
  margin-left: 0;
}

.cta-primary {
  background: var(--lux-gold);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 26px;
  padding: 11px 32px;
  font-size: 1rem;
  box-shadow: 0 2px 10px var(--shadow);
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s, transform 0.15s;
  outline: none;
  border-bottom: 2px solid var(--lux-gold-light);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--deep-navy);
  color: var(--lux-gold);
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 10px 22px -4px rgba(175,136,0,0.13);
}

.cta-secondary {
  background: transparent;
  color: var(--deep-navy);
  border: 2px solid var(--lux-gold);
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 30px;
  font-size: 1rem;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--lux-gold);
  color: white;
  transform: scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  padding: 10px 16px;
  z-index: 160;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--lux-gold);
  background: #f2ede5;
  border-radius: 10px;
}

/* ---------------------
  MOBILE MENU OVERLAY
---------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12,16,30,0.88);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 48px;
  transition: transform 0.35s cubic-bezier(0.5,1.2,0.5,1), opacity 0.2s;
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex !important;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  background: transparent;
  border: none;
  color: #fff;
  margin: 12px 20px 28px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--lux-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  width: 100%;
  padding-left: 48px;
  max-width: 350px;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--lux-gold);
  background: rgba(252,244,217,0.06);
  border-radius: 5px;
  padding-left: 10px;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .main-nav > a:not(:first-child):not(.cta-primary) {
    display: none;
  }
  .cta-primary {
    margin-left: auto;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---------------------
 HERO 
---------------------- */
.hero {
  background: linear-gradient(105deg, #fff 65%, #FBFAF3 95%);
  border-bottom: 1px solid #F0E6D6;
  padding: 56px 0 64px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.35rem;
  color: var(--deep-navy);
}
.hero p {
  font-size: 1.1rem;
  color: #17425D;
  max-width: 600px;
}
.hero .cta-primary {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 32px 0;
    min-height: 220px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero .container {
    padding: 0 5vw;
  }
}

/*=======================================
   CARDS, GRIDS, FLEX SPACING (MANDATORY)
========================================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 44px -12px var(--shadow);
  border: 1px solid var(--border-card);
  position: relative;
  padding: 32px 28px 28px 28px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 375px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.21s, border-color 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 18px 54px -13px rgba(175, 136, 0,0.16);
  border-color: var(--lux-gold-light);
  transform: translateY(-4px) scale(1.018);
}

.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;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E2E7EB;
  box-shadow: 0 7px 32px -14px var(--shadow);
  margin: 22px 0 20px 0;
  flex-direction: column;
  align-items: flex-start;
  min-width: 248px;
  max-width: 540px;
  transition: box-shadow 0.21s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--lux-gold-light);
  box-shadow: 0 16px 46px -14px rgba(175, 136, 0,0.12);
}

.testimonial-card p {
  color: #222B2E;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--lux-gold);
  font-size: 1rem;
}
.star-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 5px;
}

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

/* Feature Grid (with LI or DIV) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 10px 0;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid > li,
.feature-grid > div {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #EFE9DB;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 24px 18px 22px 18px;
  min-width: 170px;
  max-width: 350px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.14s;
}
.feature-grid > li:hover, .feature-grid > div:hover {
  border-color: var(--lux-gold-light);
  box-shadow: 0 12px 32px -10px rgba(175, 136, 0,0.11);
}
.feature-grid img {
  height: 38px;
  width: 38px;
  background: #FAF6E5;
  border-radius: 50%;
  padding: 9px;
  border: 1px solid #E2E7EB;
  margin-bottom: 6px;
}

.benefit-highlights ul, .installation-benefits ul, .maintenance-benefits ul, .tips-for-users ul {
  margin-bottom: 0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.05rem;
  color: var(--deep-navy);
  margin-bottom: 18px;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-info-list img {
  height: 23px;
  width: 23px;
  margin-right: 3px;
}

.map-placeholder {
  margin-top: 22px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e9eB;
  padding: 18px;
  text-align:left;
}

/* Testimonial submission CTA */
.testimonial-submission {
  background: var(--neutral-light);
  border-radius: 13px;
  padding: 22px 22px 17px 22px;
  box-shadow: 0 3px 18px -6px var(--shadow);
  margin: 30px 0 10px 0;
}

/* Mandatory Spacing Enforcement */
section, .section {
  margin-bottom: 60px;
  padding: 40px 0px;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}

/*--------------------------------
  LEGAL/FOOTER NAVIGATION
---------------------------------*/
footer {
  background: #F4F8FB;
  border-top: 1px solid #E7EBF1;
  padding: 40px 0 15px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--deep-navy);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.footer-nav a:hover {
  color: var(--lux-gold);
}
.legal-nav {
  display: flex;
  gap: 22px;
  font-size: 0.97rem;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.legal-nav a {
  color: #7B7C87;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97rem;
  transition: color 0.12s;
}
.legal-nav a:hover{
  color: var(--lux-gold);
}
.footer-info {
  font-size: 0.93rem;
  color: #9A9DAA;
  margin-top: 7px;
}

/*--------------------------------
  FORM ELEMENTS (if present)
---------------------------------*/
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid #E5E9EB;
  padding: 10px 14px;
  margin-bottom: 16px;
}
button {
  cursor: pointer;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--lux-gold-light);
}

/* --------------------------------
  MODAL/Cookie Banner
---------------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fffef7;
  box-shadow: 0 -4px 22px -8px var(--shadow);
  border-top: 2px solid var(--lux-gold-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 12px;
  transition: transform 0.30s, opacity 0.2s;
  gap: 20px;
}
.cookie-consent-banner .cookie-text {
  max-width: 600px;
  color: #746118;
  font-size: 1.06rem;
  font-family: 'Roboto', Arial, sans-serif;
  flex: 2 1 400px;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent-banner button,
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 24px;
  font-weight: 600;
  border: 0;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.cookie-consent-banner button.accept {
  background: var(--lux-gold);
  color: #fff;
}
.cookie-consent-banner button.accept:hover,
.cookie-consent-banner button.accept:focus {
  background: var(--deep-navy);
  color: var(--lux-gold);
}
.cookie-consent-banner button.reject {
  background: #f2f2ef;
  color: #7b5e11;
  border: 1px solid var(--lux-gold);
}
.cookie-consent-banner button.reject:hover,
.cookie-consent-banner button.reject:focus {
  color: #fff;
  background: var(--lux-gold);
}
.cookie-consent-banner button.settings {
  background: transparent;
  color: var(--lux-gold);
  border: 1px solid var(--lux-gold);
}
.cookie-consent-banner button.settings:hover,
.cookie-consent-banner button.settings:focus {
  background: var(--lux-gold);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24, 21, 18, 0.86);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.31s cubic-bezier(.9,1.3,.6,1.1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fffefb;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 18px 52px -12px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 14px;
  background: transparent;
  border:none;
  font-size: 1.35rem;
  color: var(--lux-gold);
  cursor: pointer;
  width:36px; height:36px;
  z-index: 2;
}
.cookie-category {
  margin: 10px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  font-size: 1rem;
  color: #665500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-toggle {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 24px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E7E3DB;
  border-radius: 50px;
  transition: background 0.24s;
}
.cookie-toggle input:checked + .slider {
  background: var(--lux-gold);
}
.cookie-toggle .slider:before {
  content: "";
  position: absolute;
  left: 2px; top: 3px;
  height: 18px; width: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(17,17,20,0.10);
  transition: transform 0.24s;
}
.cookie-toggle input:checked + .slider:before {
  transform: translateX(18px);
}

.cookie-modal button.save {
  background: var(--lux-gold);
  color: #fff;
}
.cookie-modal button.save:hover, .cookie-modal button.save:focus {
  background: var(--deep-navy);
  color: var(--lux-gold);
}
.cookie-modal button.cancel {
  background: transparent;
  color: var(--lux-gold);
  border: 1px solid var(--lux-gold);
}
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  background: var(--lux-gold);
  color: #fff;
}

/* Category description */
.cookie-modal .category-desc {
  color: #a09a73;
  font-size: 0.97rem;
  margin-top: 2px;
}

/* =========================================
   ANIMATION UTILS
========================================= */
.fade-in { animation: fadeIn 0.32s cubic-bezier(.58,.1,.5,1.08); }
@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
.slide-up { animation: slideUp 0.32s cubic-bezier(.36,.7,.36,1.2); }
@keyframes slideUp {
  from {transform: translateY(38px); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.slide-in-menu { animation: slideInMenu 0.32s ease; }
@keyframes slideInMenu {
  from {transform: translateX(120vw); opacity:0;}
  to {transform: translateX(0); opacity:1;}
}

/* =============================================
 RESPONSIVE DESIGN (MOBILE-FIRST, FLEX ONLY!)
============================================= */
@media (max-width: 1080px) {
  .container {
    max-width: 900px;
    padding: 0 18px;
  }
  .content-grid, .feature-grid, .card-container{
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .footer-nav, .legal-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section,
  .content-grid,
  .feature-grid,
  .card-container,
  .footer-nav,
  .legal-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 16px !important;
  }
  .testimonial-card,
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 10px 16px 13px;
  }
}
@media (max-width: 650px) {
  .section, section {
    padding: 20px 0;
    margin-bottom: 32px;
  }
  h1 {
    font-size: 1.17rem;
  }
  h2 {
    font-size: 1rem;
  }
  .cta-primary, .cta-secondary {
    font-size: 0.97rem;
    padding: 11px 19px;
  }
}

/* Extra Small Devices */
@media (max-width: 450px) {
  .section, section {
    padding: 10px 0;
  }
  .hero {
    padding: 21px 0 19px 0;
  }
  .container {
    padding: 0 3vw;
  }
}

/*======================
  MICRO INTERACTIONS
=======================*/
.card, .testimonial-card,.feature-grid>li, .feature-grid>div {
  transition: box-shadow 0.21s, border-color 0.2s, transform 0.18s, background 0.2s, color 0.22s;
}
.card:active, .testimonial-card:active, .feature-grid>li:active, .feature-grid>div:active {
  transform: scale(0.97);
}
.cta-primary:active,
.cta-secondary:active {
  transform: scale(0.98);
}

/*======================
  VISUAL HIERARCHY (TYPOGRAPHY)
=======================*/
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--deep-navy);
}
h2 {
  font-size: 2rem;
  font-weight: 800;
}
h3 {
  font-size: 1.33rem;
  font-weight: 700;
}
h4, h5 {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  h1 { font-size: 1.45rem;}
  h2 { font-size: 1.09rem;}
  h3 { font-size: 1.05rem;}
}

/* === Table styling (if exist on Policy pages) === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}
thead td, thead th {
  font-weight: bold;
}
td, th {
  padding: 10px 7px;
  border: 1px solid #e9e5db;
  background: #fff;
}

/* ==========
  UTILITIES
=========== */
.hidden { display: none !important; }
.flex-center { display: flex !important; justify-content: center !important; align-items: center !important; }

/* ====== Stripe underline gold for luxury style (for headings) ====== */
.section h2, .content-wrapper > h2, .content-wrapper > h1 {
  position: relative;
  display: inline-block;
}
.section h2:after, .content-wrapper > h2:after, .content-wrapper > h1:after {
  content: '';
  display: block;
  height: 4px;
  width: 52px;
  background: var(--lux-gold);
  border-radius: 3px;
  margin: 9px 0 0 0;
  position: relative;
}

/* ======================================
            END OF CSS
   Luxury Premium Brand for RISER PERSE KLIMA
   (Flexbox Only — Responsive — High Contrast — Modern)
====================================== */
