/* ==========================================================================
   Kačky v klidu - Brand Stylesheet
   Brand manual colors:
   - ŽLUTÁ:    #FFC700 (CTA)
   - NAVY:     #0D1321 (text & trust)
   - TYRKYS:   #00BFA5 (akcent)
   - MINT:     #BDEEE6 (plocha)
   - OFF-WHITE:#F5F2EB (pozadí)
   Typography: Sora (Bold/SemiBold for headings, Regular/Medium for body)
   ========================================================================== */

/* 1. FONT DEFINITIONS */
@font-face {
  font-family: 'Sora';
  src: url('../../Sora/Sora-VariableFont_wght.ttf') format('truetype-variations'),
       url('../fonts/Sora-VariableFont_wght.ttf') format('truetype-variations'),
       url('../../Sora/static/Sora-Regular.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('../../Sora/static/Sora-Regular.ttf') format('truetype'),
       url('../fonts/static/Sora-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('../../Sora/static/Sora-Medium.ttf') format('truetype'),
       url('../fonts/static/Sora-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('../../Sora/static/Sora-SemiBold.ttf') format('truetype'),
       url('../fonts/static/Sora-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('../../Sora/static/Sora-Bold.ttf') format('truetype'),
       url('../fonts/static/Sora-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('../../Sora/static/Sora-ExtraBold.ttf') format('truetype'),
       url('../fonts/static/Sora-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* 2. ROOT VARIABLES */
:root {
  --color-yellow: #FFC700;
  --color-yellow-hover: #E6B300;
  --color-yellow-light: #FFF7D6;
  --color-navy: #0D1321;
  --color-navy-light: #1A2338;
  --color-navy-muted: #475569;
  --color-teal: #29aea5; /*#00BFA5;*/
  --color-teal-dark: #008F7C;
  --color-teal-light: #E0F7F4;
  --color-mint: #BDEEE6;
  --color-mint-light: #F0FAF8;
  --color-mint-dark: #8CE0D2;
  --color-offwhite: #F5F2EB;
  --color-offwhite-alt: #EAE6DC;
  --color-white: #FFFFFF;
  --color-border: #E2DDD3;
  --color-error: #E53935;
  --color-success: #2E7D32;

  --font-family: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(13, 19, 33, 0.05);
  --shadow-md: 0 8px 24px rgba(13, 19, 33, 0.08);
  --shadow-lg: 0 16px 36px rgba(13, 19, 33, 0.12);
  --shadow-yellow: 0 10px 24px rgba(255, 199, 0, 0.35);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1200px;
  --header-height: 100px;
}

/* 3. RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
  background-color: var(--color-white);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--color-white);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* 4. LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-spacing {
  padding-top: 96px;
  padding-bottom: 96px;
}

@media (max-width: 768px) {
  .section-spacing {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* 5. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--color-navy);
  line-height: 1.2;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 14px;
}

.eyebrow-navy {
  color: var(--color-navy);
  opacity: 0.75;
}

.heading-xl {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-lg {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.heading-lg-highlight {
  position: relative;
  display: inline-block;
  color: var(--color-teal);
}

.heading-lg::after {
  content: '';
  display: block;
  left: 0;
  bottom: 10px;
  width: 150px;
  height: 5px;
  background-color: var(--color-yellow);
  z-index: -1;
  border-radius: var(--radius-sm);
}

.heading-md {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 700;
}

.heading-sm {
  font-size: 1.15rem;
  font-weight: 600;
}

.subheading-text {
  font-size: 1.5rem;
  color: var(--color-navy);
  font-weight: 500;
  line-height: 1.65;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--color-navy-muted);
  line-height: 1.65;
}

/* 6. BUTTONS & INTERACTIVE */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  user-select: none;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-yellow {
  background-color: var(--color-yellow);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

.btn-yellow:hover {
  background-color: var(--color-yellow-hover);
  box-shadow: var(--shadow-yellow);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background-color: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline-navy:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-teal {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn-teal:hover {
  background-color: var(--color-teal-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* 7. HEADER & NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 221, 211, 0.6);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  margin-left: -50px; /*zarovnani loga doleva s ostatnim obsahem*/
}

.brand-logo-img {
  height: 150px;
  padding: 10px;
  width: auto;
  object-fit:contain;
  transition: transform var(--transition-normal);
  z-index: -1;
  background-color: transparent;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.05) rotate(-3deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-navy);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-teal);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-navy);
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--color-mint);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-fast);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .header-actions .btn-header-cta {
    display: none;
  }

  .nav-menu .mobile-only-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 12px;
  }
}

@media (min-width: 901px) {
  .mobile-only-cta {
    display: none;
  }
}

/* 8. HERO SECTION */
.hero-section {
  position: relative;
  padding-top: 48px;
  padding-bottom: 40px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-claim {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy-muted);
  margin-bottom: 16px;
}

.hero-title {
  margin-bottom: 24px;
  color: var(--color-navy);
}

.hero-title-highlight {
  position: relative;
  display: inline-block;
  color: var(--color-teal);
}

/* .hero-title-highlight::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: 8%;
  width: 104%;
  height: 28%;
  background-color: var(--color-mint);
  z-index: -1;
  border-radius: var(--radius-sm);
  transform: rotate(-1deg);
} */

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 8px 0px;
  /* background-color: var(--color-white); */
  /* border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); */
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
  /* box-shadow: var(--shadow-sm); */
  transition: all var(--transition-fast);
}

.hero-pill:hover {
  /* border-color: var(--color-teal); */
  transform: translateY(-2px);
  /* box-shadow: var(--shadow-md); */
  /* color: var(--color-yellow-hover); */
}

.hero-pill-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--color-yellow);
}

.hero-cta-group {
  display: flex;
  /* flex-direction: row; */
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-navy-muted);
  padding-left: 4px;
}

.hero-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-teal);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.hero-duck-container {
  position: relative;
  z-index: 2;
  animation: floatDuck 4.5s ease-in-out infinite;
}

.hero-duck-img {
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(13, 19, 33, 0.15));
}

.hero-backdrop-circle {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-mint) 0%, rgba(189, 238, 230, 0.2) 70%, transparent 100%);
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(8px);
}

.hero-coin-float {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 3;
  animation: floatCoin 5s ease-in-out infinite alternate;
}

.hero-coin-1 {
  top: 10%;
  right: 5%;
  animation-delay: -1s;
}

.hero-coin-2 {
  bottom: 8%;
  left: 5%;
  animation-delay: -2.5s;
  width: 68px;
  height: 68px;
}

@keyframes floatDuck {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

@keyframes floatCoin {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  100% {
    transform: translateY(-16px) rotate(8deg) scale(1.05);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  /* Brand manual mobile rule: Text and CTA first, illustration after */
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 2;
    min-height: 320px;
  }
  .hero-duck-img {
    max-width: 300px;
  }
  .hero-backdrop-circle {
    width: 300px;
    height: 300px;
  }
}

/* 9. PHILOSOPHY SECTION */
.philosophy-section {
  background-color: var(--color-mint-light);
  position: relative;
  border-top: 0px solid var(--color-border);
  border-bottom: 0px solid var(--color-border);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1.35fr;
  gap: 56px;
  align-items: center;
}

.philosophy-left {
  position: relative;
  padding-top: 0%;
}

.philosophy-center {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.philosophy-quote {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-navy);
}

.philosophy-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 28px;
  border-left: 5px solid var(--color-mint);
}

.philosophy-text {
  font-size: 1.12rem;
  color: var(--color-navy);
  line-height: 1.7;
}

.philosophy-text-lead {
  font-weight: 600;
  color: var(--color-navy);
}

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .philosophy-left {
    display:none;
  }
  .philosophy-center {
    padding-left: 20px;
    border-left-width: 4px;
  }
}

/* 10. SERVICES SECTION */
.services-section {
  position: relative;
  background-color: var(--color-offwhite);
}

.section-header {
  text-align: left;
  max-width: 680px;
  margin: 0 auto 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-teal);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-mint);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background-color: var(--color-mint-light);
  color: var(--color-teal-dark);
}

/* .service-icon::after {
  content: '';
  position: absolute;
  left: 10%;
  bottom: 10px;
  width: 50px;
  height: 5px;
  border-radius: var(--radius-lg);
  background-color: var(--color-mint);
  z-index: -1;
} */

.service-title::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background-color: var(--color-mint);
  border-radius: 4px;
  margin: 10px 0 14px 0;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--color-navy-muted);
  line-height: 1.6;
  margin-top: auto;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    padding: 24px 20px;
  }
}

/* 11. ONLINE & DIGITAL SECTION */
.online-section {
  background-color: var(--color-white);
  position: relative;
  border-top: 0px solid var(--color-border);
  border-bottom: 0px solid var(--color-border);
  background-image: url('../img/comp_pozadi.png'); 
  background-size: auto; 
  background-position: bottom; 
  background-repeat: no-repeat;
}

.online-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: center;
}

.online-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.online-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.online-bullet-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-yellow);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.online-bullet-icon svg {
  width: 16px;
  height: 16px;
}

.online-bullet-text {
  font-size: 1.05rem;
  color: var(--color-navy);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .online-section {
    background-image: none;
  }
  .online-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dashboard-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* 12. TARGET AUDIENCE SECTION */
.audience-section {
  position: relative;
  background-color: #E0F8F5;
  padding-top: 76px;
  padding-bottom: 100px;
  overflow: hidden;
}

/* .audience-main-title {
  color: var(--color-navy);
  font-weight: 800;
  text-align: center;
} */

.audience-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.audience-item {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.audience-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 52px;
  background-color: rgba(13, 19, 33, 0.22);
}

.audience-item-primary {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.3;
}

.audience-item-secondary {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.35;
  margin-top: 4px;
}

/* Modrá vlnka dole */
.audience-wave-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  width: 100%;
  height: 44px;
  pointer-events: none;
  overflow: hidden;
}

.audience-wave {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 960px) {
  .audience-section {
    padding-top: 54px;
    padding-bottom: 84px;
  }

  .audience-list {
    flex-wrap: wrap;
    row-gap: 28px;
  }

  .audience-item {
    flex: 0 0 50%;
  }

  .audience-item:nth-child(2)::after,
  .audience-item:nth-child(4)::after,
  .audience-item:last-child::after {
    display: none;
  }

  .audience-item:last-child {
    flex: 0 0 100%;
  }
}

@media (max-width: 600px) {
  .audience-list {
    flex-direction: column;
    row-gap: 22px;
  }

  .audience-item {
    flex: 0 0 100%;
    padding: 0 12px;
  }

  .audience-item:not(:last-child)::after {
    display: none;
  }

  .audience-item:not(:last-child) {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(13, 19, 33, 0.12);
  }
}

/* 13. CONTACT FORM SECTION */
.contact-section {
  background-color: var(--color-white);
  position: relative;
  border-top: 0px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.contact-direct-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all var(--transition-fast);
}

.contact-direct-card:hover {
  border-color: var(--color-teal);
  background-color: var(--color-mint-light);
  transform: translateX(4px);
}

.contact-direct-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-direct-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy-muted);
}

.contact-direct-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
}

.contact-duck-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: var(--color-mint-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-mint);
  margin-top: 12px;
}

.contact-duck-img {
  width: 60px;
  height: auto;
  flex-shrink: 0;
  animation: floatDuck 4.5s ease-in-out infinite;
}

.contact-duck-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* Contact Form Styling */
.form-card {
  background-color: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
}

.form-label .required-star {
  color: var(--color-error);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  font-size: 0.95rem;
  color: var(--color-navy);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.2);
}

.form-control.is-invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.form-error-msg {
  font-size: 0.8rem;
  color: var(--color-error);
  display: none;
  margin-top: 2px;
}

.form-control.is-invalid + .form-error-msg {
  display: block;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D1321' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-gdpr {
  font-size: 0.82rem;
  color: var(--color-navy-muted);
  line-height: 1.5;
  margin-top: 14px;
  margin-bottom: 24px;
}

.form-gdpr a {
  color: var(--color-navy);
  text-decoration: underline;
  font-weight: 600;
}

.form-gdpr a:hover {
  color: var(--color-teal);
}

.btn-submit {
  width: 100%;
  font-size: 1.05rem;
  padding: 18px 28px;
}

/* Form status feedback */
.form-status {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-status.success {
  display: block;
  background-color: #E8F5E9;
  color: var(--color-success);
  border: 1px solid #A5D6A7;
}

.form-status.error {
  display: block;
  background-color: #FFEBEE;
  color: var(--color-error);
  border: 1px solid #FFCDD2;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-card {
    padding: 24px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* 14. FOOTER */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-offwhite);
  padding-top: 80px;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(24px, 3.5vw, 48px);
}

.footer-brand {
  flex: 1 1 160px;
  max-width: 340px;
  display: flex;
  align-items: center;
}

.footer-brand a {
  display: inline-block;
  max-width: 100%;
}

.footer-logo-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  text-transform: uppercase;
}

.footer-divider {
  width: 1px;
  height: auto;
  background-color: var(--color-border);
  align-self: stretch;
  flex-shrink: 0;
}

.footer-nav {
  flex: 0 0 auto;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.footer-nav-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-mint);
  margin-bottom: 6px;
  font-weight: 700;
}

.footer-link {
  color: rgba(245, 242, 235, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-yellow);
  transform: translateX(3px);
}

/* Cookie consent */
.cookie-banner[hidden],
.cookie-banner__settings[hidden],
.cookie-banner__status[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  z-index: 1100;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 1040px;
  margin: 0 auto;
  color: var(--color-navy);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
  padding: 24px;
}

.cookie-banner__eyebrow {
  margin-bottom: 4px;
  color: var(--color-teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner__copy h2 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  line-height: 1.4;
}

.cookie-banner__copy > p:not(.cookie-banner__eyebrow) {
  max-width: 660px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.82rem;
}

.cookie-banner__links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
}

.cookie-button {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--color-navy);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.cookie-button:hover {
  background-color: var(--color-offwhite);
  border-color: var(--color-navy-muted);
}

.cookie-button--primary {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
}

.cookie-button--primary:hover {
  background: var(--color-yellow-hover);
  border-color: var(--color-yellow-hover);
}

.cookie-button--text {
  min-height: 36px;
  padding: 4px 8px;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__settings {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.cookie-banner__settings-intro {
  margin-bottom: 12px;
  color: var(--color-navy-muted);
  font-size: 0.85rem;
}

.cookie-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  cursor: pointer;
}

.cookie-preference strong,
.cookie-preference__description {
  display: block;
}

.cookie-preference__description,
.cookie-preference--required p {
  color: var(--color-navy-muted);
  font-size: 0.82rem;
}

.cookie-preference--required {
  cursor: default;
}

.cookie-preference__required {
  flex-shrink: 0;
  color: var(--color-teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.cookie-preference input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--color-teal-dark);
}

.cookie-banner__save {
  min-width: 170px;
  margin-top: 12px;
}

.cookie-banner__status {
  grid-column: 1 / -1;
  color: var(--color-error);
  font-size: 0.85rem;
}

.cookie-button:focus-visible,
.cookie-banner a:focus-visible,
.cookie-preference input:focus-visible {
  outline: 3px solid var(--color-teal-dark);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
  }

  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .cookie-banner__actions .cookie-button--text {
    grid-column: 1 / -1;
  }

  .cookie-banner__settings,
  .cookie-banner__status {
    grid-column: 1;
  }
}

/* Footer Legal */
.footer-legal {
  flex: 1 1 160px;
  max-width: 420px;
  font-size: 0.78rem;
  color: rgba(245, 242, 235, 0.55);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.footer-legal-p {
  margin: 0;
}

.footer-copyright {
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(245, 242, 235, 0.4);
}

/* Fallback for pages where .footer-legal is outside .footer-top */
.site-footer > .container > .footer-legal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 100%;
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .footer-brand {
    max-width: 280px;
  }

  .footer-divider {
    width: 100%;
    height: 1px;
  }

  .footer-nav {
    min-width: 0;
  }

  .footer-legal {
    max-width: 100%;
  }
}

/* 15. SECONDARY PAGES SPECIFIC STYLING */
.subpage-hero {
  background: linear-gradient(180deg, var(--color-offwhite) 0%, var(--color-white) 100%);
  padding-top: 60px;
  padding-bottom: 50px;
  border-bottom: 0px solid var(--color-border);
}

.subpage-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy-muted);
  margin-bottom: 18px;
}

.subpage-breadcrumbs a {
  color: var(--color-navy);
}

.subpage-breadcrumbs a:hover {
  color: var(--color-teal);
}

.subpage-content {
  background-color: var(--color-white);
  padding-top: 60px;
  padding-bottom: 90px;
}

.subpage-article {
  /* max-width: 820px; */
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-navy);
  display: flow-root;
}

.subpage-article h2 {
  font-size: 1.6rem;
  margin-top: 36px;
  margin-bottom: 16px;
}

.subpage-article p {
  margin-bottom: 24px;
}

.subpage-article h3 {
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.cookie-table-wrapper {
  margin-bottom: 28px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.cookie-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.55;
}

.cookie-table th,
.cookie-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}

.cookie-table th {
  background-color: var(--color-offwhite);
  font-weight: 700;
}

.cookie-table tbody tr:last-child td {
  border-bottom: 0;
}

.cookie-table code {
  white-space: nowrap;
}

.cookie-table-wrapper:focus-visible {
  outline: 3px solid var(--color-teal-dark);
  outline-offset: 3px;
}

.onas-img {
  float: right;
  width: 100%;
  max-width: 280px;
  margin: 4px 0 20px 32px;
  border-radius: var(--radius-lg);
  display: block;
}

@media (max-width: 768px) {
  .onas-img {
    float: none;
    max-width: 100%;
    margin: 20px auto 24px;
  }
}

.subpage-back-cta {
  display: inline-flex;
  margin-top: 32px;
}

/* 16. ACCESSIBILITY & UTILITIES */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Subtle scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 17. HOW IT WORKS PAGE */
.process-hero {
  position: relative;
  padding-top: 0px;
  padding-bottom: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-offwhite) 0%, var(--color-white) 68%);
}

.process-hero-grid,
.process-digital-grid,
.process-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.process-hero-content {
  position: relative;
  z-index: 1;
}

.process-hero-content .heading-xl {
  margin-bottom: 24px;
}

.process-hero-content .subheading-text {
  margin-bottom: 16px;
}

.process-hero-content .lead-text {
  margin-bottom: 28px;
}

.process-hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  perspective: 900px;
}

.process-rain-coin {
  position: absolute;
  top: -35%;
  left: var(--coin-left);
  width: var(--coin-size);
  max-width: none;
  filter: drop-shadow(0 8px 8px rgba(13, 19, 33, 0.18));
  transform-style: preserve-3d;
  animation: process-coin-rain var(--coin-duration) linear var(--coin-delay) infinite;
  will-change: top, transform, opacity;
}

.process-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 62px;
  pointer-events: none;
}

.process-wave svg {
  width: 100%;
  height: 100%;
}

.process-hero-wave {
  bottom: -1px;
}

@keyframes process-coin-rain {
  0% {
    opacity: 0;
    top: -35%;
    transform: translateX(0) rotateY(0deg) rotateZ(-20deg);
  }
  10% {
    opacity: 1;
  }
  28% {
    transform: translateX(var(--coin-drift-mid)) rotateY(360deg) rotateZ(110deg);
  }
  56% {
    transform: translateX(var(--coin-drift-return)) rotateY(720deg) rotateZ(230deg);
  }
  90% {
    opacity: 1;
    transform: translateX(var(--coin-drift)) rotateY(1080deg) rotateZ(350deg);
  }
  100% {
    opacity: 0;
    top: 120%;
    transform: translateX(0) rotateY(1440deg) rotateZ(400deg);
  }
}

.process-steps-section {
  background-color: var(--color-white);
}

.process-section-header {
  margin-bottom: 48px;
}

.process-section-header .eyebrow {
  margin-bottom: 10px;
}

.process-section-header .heading-lg::after {
  margin-top: 12px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.process-step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-mint);
  box-shadow: var(--shadow-lg);
}

.process-step-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--color-teal);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.process-step-number {
  display: inline-flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.process-step-card .service-title {
  margin-bottom: 12px;
}

.process-step-card .service-title::before {
  margin-top: 0;
}

.process-step-card .service-desc {
  margin-top: 0;
}

.process-digital-section {
  background: var(--color-mint-light);
  border-top: 0px solid var(--color-border);
  border-bottom: 0px solid var(--color-border);
}

.process-digital-copy .heading-lg {
  margin-bottom: 24px;
}

.process-digital-copy .lead-text + .lead-text {
  margin-top: 18px;
}

.process-video-wrap {
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.process-upload-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
}

.process-faq-section {
  position: relative;
  overflow: hidden;
  padding-top: 116px;
  padding-bottom: 128px;
  background: var(--color-white);
}

.process-faq-wave-top {
  top: 0;
}

.process-faq-wave-bottom {
  bottom: 0;
}

.process-faq-container {
  max-width: 920px;
}

.process-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-faq-item {
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.process-faq-item[open] {
  background: var(--color-white);
  border-color: var(--color-mint-dark);
}

.process-faq-item summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--color-navy);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.process-faq-item summary::-webkit-details-marker {
  display: none;
}

.process-faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--color-teal-dark);
  font-size: 1.35rem;
  content: "+";
  background: var(--color-mint-light);
  border-radius: 50%;
  transform: translateY(-50%);
}

.process-faq-item[open] summary::after {
  content: "−";
}

.process-faq-item summary:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: -4px;
  border-radius: var(--radius-md);
}

.process-faq-item p {
  padding: 0 22px 22px;
  color: var(--color-navy-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.process-cta-section {
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-offwhite) 0%, var(--color-mint-light) 100%);
}

.process-cta-copy .heading-lg {
  margin-bottom: 20px;
}

.process-cta-copy .lead-text {
  margin-bottom: 28px;
}

.process-water-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-water-visual img {
  width: min(50%, 235px);
  filter: drop-shadow(0 18px 22px rgba(13, 19, 33, 0.12));
  animation: process-water-float 4s ease-in-out infinite;
}

@keyframes process-water-float {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@media (max-width: 900px) {
  .process-hero-grid,
  .process-digital-grid,
  .process-cta-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .process-hero-grid {
    gap: 16px;
  }

  .process-hero-visual {
    min-height: 330px;
  }

  .process-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-video-wrap {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .process-hero {
    padding-top: 54px;
    padding-bottom: 100px;
  }

  .process-hero-visual {
    min-height: 260px;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
  }

  .process-step-card {
    padding: 24px 20px;
  }

  .process-section-header {
    margin-bottom: 32px;
  }

  .process-faq-section {
    padding-top: 92px;
    padding-bottom: 102px;
  }

  .process-faq-item summary {
    padding: 18px 52px 18px 18px;
    font-size: 0.96rem;
  }

  .process-faq-item summary::after {
    right: 16px;
  }

  .process-faq-item p {
    padding: 0 18px 18px;
    font-size: 0.93rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-rain-coin,
  .process-water-visual img {
    animation: none;
  }

  .process-rain-coin {
    top: var(--coin-rest-top);
    opacity: 1;
    transform: none;
  }

  .process-hero .animate-on-scroll,
  .process-steps-section .animate-on-scroll,
  .process-digital-section .animate-on-scroll,
  .process-faq-section .animate-on-scroll,
  .process-cta-section .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .process-step-card {
    transition: none;
  }
}
