/* ==========================================================================
   Cleaner Network — "Cookies Policy" page
   Mobile-first CSS3, no framework. Font Awesome 6 icons, Poppins typeface.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES (Design tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #1e8e3e;
  --color-primary-dark: #176e30;
  --color-navy: #0b2343;
  --color-bg: #f8faf9;
  --color-white: #ffffff;
  --color-border: #e6e6e6;
  --color-heading: #101828;
  --color-body: #5a6470;
  --color-green-tint: #eaf7ee;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadow */
  --shadow-soft: 0 10px 30px rgba(11, 35, 67, 0.08);
  --shadow-hover: 0 18px 40px rgba(11, 35, 67, 0.14);

  /* Transition */
  --transition: 0.3s ease;

  /* Font */
  --font-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale — mobile defaults, overridden at desktop breakpoint */
  --fs-hero: 32px;
  --fs-section: 22px;
  --fs-card-title: 17px;
  --fs-body: 15px;

  /* Layout */
  --container-max: 1180px;
  --header-height: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-body);
  background-color: var(--color-white);
  line-height: 1.65;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.logo__icon {
    color: var(--color-green);
    font-size: 1.4rem;
    width: 139px;
    height: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  /* max-width: var(--container-max); */
  /* margin: 0 auto; */
  padding: 0 20px;
}

.section {
  padding: 32px 0;
}

.section-heading {
  font-size: var(--fs-section);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-heading);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Visually hidden (for accessibility labels) --------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--color-green-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 1rem;
  color: var(--color-heading);
  font-weight: 700;
}

.logo-text span {
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  color: var(--color-body);
  text-transform: uppercase;
}

/* Desktop nav (hidden on mobile) */
.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--color-heading);
  padding: 27px 0;
  transition: color var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-primary);
}

.header-actions {
  display: contents;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--color-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile slide-down nav panel */
.main-nav.open {
  display: block;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.main-nav.open .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 20px 20px;
}

.main-nav.open .nav-list a {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   4. BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: 18px 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--color-body);
}

.breadcrumb a {
  color: var(--color-body);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb li[aria-current="page"] {
  color: var(--color-heading);
  font-weight: 500;
}

.breadcrumb .sep {
  color: #c7ccd1;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding: 4px 0 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-content h1 {
  font-size: var(--fs-hero);
  margin-bottom: 12px;
}

.hero-subheading {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 14px;
}

.hero-content p {
  margin-bottom: 10px;
}

.hero-updated {
  font-size: 13px;
  color: var(--color-body);
  margin-top: 14px;
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-float-card {
  position: static;
  margin-top: 18px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  padding: 20px;
}

.hero-float-card .item-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-green-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.hero-float-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.hero-float-card p {
  font-size: 13.5px;
  color: var(--color-body);
}

/* --------------------------------------------------------------------------
   6. POLICY BODY SECTIONS
   -------------------------------------------------------------------------- */
.policy-body p {
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   7. COOKIE TYPE CARDS
   -------------------------------------------------------------------------- */
.cookie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 20px 0 24px;
}

.cookie-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.cookie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-primary);
}

.cookie-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-green-tint);
  color: var(--color-primary);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cookie-card h3 {
  font-size: var(--fs-card-title);
  margin-bottom: 4px;
}

.cookie-status {
  display: block;
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cookie-card p {
  font-size: 13.5px;
  color: var(--color-body);
}

/* --------------------------------------------------------------------------
   8. INFO / NOTICE BANNERS (third-party cookies, questions)
   -------------------------------------------------------------------------- */
.notice-banner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  margin: 24px 0;
}

.notice-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-green-tint);
  color: var(--color-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notice-banner h3 {
  font-size: 16px;
  color: var(--color-heading);
  margin-bottom: 6px;
}

.notice-banner p {
  font-size: 13.5px;
  color: var(--color-body);
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Questions banner extra layout for right-hand contact items */
.questions-banner {
  flex-direction: column;
}

.questions-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item .contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-green-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  color: var(--color-heading);
  font-weight: 600;
}

.contact-item span {
  font-size: 13px;
  color: var(--color-body);
}

/* --------------------------------------------------------------------------
   9. CHOICES BUTTON GROUP
   -------------------------------------------------------------------------- */
.choice-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   10. EXTERNAL LINK
   -------------------------------------------------------------------------- */
.external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
}

.external-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy);
  padding: 15px 0 20px;
  /* margin-top: 56px; */
  color: var(--color-white);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  /* text-align: center; */
  padding-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo .logo-icon {
  background-color: rgba(30, 142, 62, 0.18);
  color: #4ade80;
}

.footer-logo .logo-text strong {
  color: var(--color-white);
}

.footer-logo .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 14px;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-col ul li a.active {
  color: #4ade80;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), border-color var(--transition);
}

.social-icons a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.app-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 7px 14px;
  min-width: 148px;
}

.app-badge i {
  font-size: 1.4rem;
}

.app-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-badge .badge-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
}

.app-badge .badge-main {
  font-size: 13px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
}

.nav-toggle{
    display:none;
}
/* ==========================================================================
   RESPONSIVE — MOBILE FIRST (min-width breakpoints)
   ========================================================================== */

/* --------------------------------------------------------------------------
   375px — Small mobile
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .container {
    padding: 0 22px;
  }
}

/* --------------------------------------------------------------------------
   480px — Mobile
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  :root {
    --fs-hero: 36px;
  }

  .choice-actions {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   576px — Large mobile: cookie cards 2-up, app badges row
   -------------------------------------------------------------------------- */
@media (min-width: 576px) {
  .cookie-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-badges {
    flex-direction: row;
    justify-content: center;
  }

  .questions-contacts {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   768px — Small tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root {
    --fs-hero: 42px;
    --fs-section: 24px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .notice-header {
    align-items: flex-start;
  }

  .footer-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }

  .footer-brand {
    align-items: flex-start;
    /* width: 100%; */
  }

  .footer-col {
    width: calc(50% - 16px);
  }

  .social-icons {
    justify-content: flex-start;
  }

  .app-badges {
    justify-content: flex-start;
  }

  .footer-brand p {
    max-width: 320px;
  }
}

/* Mobile */
@media (max-width:991px){

    .header-inner{
        position:relative;
    }

    .nav-toggle{
        display:flex;
        flex-direction:column;
        justify-content:center;
        gap:5px;
        width:42px;
        height:42px;
        background:none;
        border:none;
        cursor:pointer;
    }

    .nav-toggle span{
        width:24px;
        height:2px;
        background:#0B1F3A;
        display:block;
        transition:.3s;
    }

    .main-nav{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        box-shadow:0 10px 25px rgba(0,0,0,.15);
        z-index:999;
    }

    .main-nav.active{
        display:block;
    }

    .nav-list{
        display:flex;
        flex-direction:column;
        padding:20px;
        gap:18px;
    }

    .nav-list li{
        width:100%;
        list-style:none;
    }

    .nav-list li a{
        display:block;
        padding:10px 0;
    }
}
/* --------------------------------------------------------------------------
   992px — Tablet / small desktop: hero side-by-side, dropdown nav visible
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .main-nav .nav-list {
    flex-direction: row;
  }

  .main-nav .nav-list a {
    border-bottom: none !important;
  }

  .hero-inner {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-content {
    flex: 1.1;
  }

  .hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
  }

  .hero-image {
    height: 100%;
    min-height: 300px;
  }

  .hero-float-card {
    position: absolute;
    top: 24px;
    right: -20px;
    width: 240px;
    margin-top: 0;
  }

  .cookie-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .notice-header {
    flex: 1;
  }

  .questions-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .questions-contacts {
    flex: 1.2;
    justify-content: flex-end;
    gap: 40px;
  }

  .footer-col {
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   1024px — Laptop
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  :root {
    --fs-hero: 46px;
    --fs-section: 26px;
  }

  .section {
    padding: 40px 0;
  }
}

/* --------------------------------------------------------------------------
   1200px — Large laptop
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .footer-grid {
    flex-wrap: nowrap;
  }
}

/* --------------------------------------------------------------------------
   1440px — Desktop (final design)
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  :root {
    --fs-hero: 50px;
    --fs-body: 16px;
  }

  .hero-image {
    min-height: 340px;
  }
}
