/*
Theme Name:   Kavyadigiteck Child
Theme URI:    https://kavyadigiteck.in
Description:  Kavyadigiteck child theme for GeneratePress + GenerateBlocks.
Author:       Kavyadigiteck
Author URI:   https://kavyadigiteck.in
Template:     generatepress
Version:      1.0.0
Text Domain:  kavyadigiteck-child
*/

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  --kd-primary: #1E3A8A;
  --kd-navy: #0F172A;
  --kd-accent: #C026D3;
  --kd-bg: #FFFFFF;
  --kd-text: #000000;
  --kd-heading: #0B1220;
  --kd-text-soft: #475569;
  --kd-muted: #64748B;
  --kd-border: #E2E8F0;
  --kd-surface: #F8FAFC;
  --kd-whatsapp: #25D366;

  --kd-gradient-primary: linear-gradient(135deg, #1E3A8A, #0F172A);
  --kd-gradient-accent: linear-gradient(135deg, #C026D3, #7C3AED);
	

  --kd-radius-sm: 10px;
  --kd-radius-md: 16px;
  --kd-radius-lg: 24px;
  --kd-radius-pill: 999px;

  --kd-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --kd-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.1);
  --kd-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: var(--kd-text);
  background: var(--kd-bg);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--kd-heading);
  line-height: 1.2;
  font-weight: 700;
}

p {
  line-height: 1.7;
}

::selection {
  background: var(--kd-accent);
  color: #fff;
}

.grid-container {
  max-width: 1200px;
}

/* ==========================================================================
   3. Header & Navigation (native GeneratePress header)
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--kd-border);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.site-header .site-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.main-navigation .main-nav > ul > li > a {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--kd-navy);
  padding-left: 16px;
  padding-right: 16px;
}

.main-navigation .main-nav > ul > li > a:hover {
  color: var(--kd-accent);
}

.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
  color: var(--kd-accent);
  font-weight: 600;
}

/* "Get Free Consultation" — add to the menu as a Custom Link with CSS Class
   "menu-cta" (Appearance → Menus → Screen Options → CSS Classes). */
.main-navigation .main-nav > ul > li.menu-cta {
  margin-left: 14px;
}

.main-navigation .main-nav > ul > li.menu-cta > a {
  background: var(--kd-gradient-accent);
  color: #fff;
  border-radius: var(--kd-radius-pill);
  padding: 14px 26px;
  box-shadow: 0 10px 24px rgba(192, 38, 211, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-navigation .main-nav > ul > li.menu-cta > a:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(192, 38, 211, 0.42);
}


/* ==========================================================================
   4. Buttons (GenerateBlocks Button blocks + helper classes)
   ========================================================================== */
.gb-button {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--kd-radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gb-button:hover {
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--kd-radius-pill);
  font-family: "Poppins", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn--accent {
  background: var(--kd-gradient-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(192, 38, 211, 0.32);
}

.btn--accent:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(192, 38, 211, 0.42);
}

.btn--primary {
  background: var(--kd-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.28);
}

.btn--primary:hover {
  color: #fff;
  background: #16306e;
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--kd-whatsapp) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32) !important;
}

.btn--whatsapp:hover {
  color: #fff !important;
  filter: brightness(1.05) !important;
  transform: translateY(-2px) !important;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
}

.btn--outline {
  background: transparent;
  color: var(--kd-primary);
  border: 2px solid var(--kd-primary);
}

.btn--outline:hover {
  background: var(--kd-primary);
  color: #fff;
}

.btn--lg {
  padding: 16px 34px;
  font-size: 1.02rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   5. Hero Sections (background image + overlay)
   ========================================================================== */
.page-hero,
.hero {
  position: relative;
  padding: 110px 0 100px;
  text-align: center;
  color: #fff;
}

.hero {
  padding: 128px 0 120px;
}

.page-hero::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.84) 100%);
  opacity: 0.93;
  z-index: 0;
}

.page-hero > *,
.hero > * {
  position: relative;
  z-index: 1;
}

.hero__eyebrow,
.page-hero__crumb {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--kd-radius-pill);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.page-hero__crumb a {
  color: #fff;
  text-decoration: none;
}

.hero__title,
.page-hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}

.page-hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

.hero__intro,
.page-hero__intro {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero__actions,
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: var(--kd-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

/* ==========================================================================
   6. Section Headers (center-aligned)
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--kd-surface);
}

.section--tight {
  padding: 64px 0;
}

.section__head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  color: var(--kd-accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 16px;
}

.section__intro {
  color: var(--kd-text-soft);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
}

.section__foot {
  text-align: center;
  margin-top: 48px;
}

/* ==========================================================================
   7. Card Grids & Cards
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--kd-border);
  border-radius: var(--kd-radius-md);
  padding: 32px 28px;
  box-shadow: var(--kd-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--kd-shadow-md);
  border-color: rgba(192, 38, 211, 0.35);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: #fff;
  background: var(--kd-gradient-primary);
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.24);
}

.card--feature .card__icon {
  background: var(--kd-gradient-accent);
  box-shadow: 0 8px 18px rgba(192, 38, 211, 0.26);
}

.card__title {
  font-size: 1.16rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.card__text {
  flex: 1;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--kd-text-soft);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--kd-accent);
  text-decoration: none;
}

/* ==========================================================================
   8. Tick List & Importance Split
   ========================================================================== */
.tick-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--kd-navy);
}

.tick-list__icon {
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--kd-accent);
  background: rgba(192, 38, 211, 0.12);
}

.importance {
  position: relative;
  padding: 96px 0;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.importance::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.93) 0%, rgba(30, 58, 138, 0.86) 100%);
  opacity: 0.94;
  z-index: 0;
}

.importance__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.importance__title {
  color: #fff;
}

.importance__text {
  margin: 18px 0 32px;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.86);
}

.importance__card {
  background: #fff;
  border-radius: var(--kd-radius-lg);
  padding: 38px 34px;
  color: var(--kd-navy);
  box-shadow: var(--kd-shadow-lg);
}

.importance__card-title {
  font-size: 1.28rem;
  margin: 0 0 22px;
  color: var(--kd-navy);
}

/* ==========================================================================
   9. Years / WordPress Badge
   ========================================================================== */
.years-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.years-badge__w {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  padding: 8px;
  object-fit: contain;
}

.years-badge__num {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--kd-accent);
}

.w-badge-img {
  display: inline-block;
  width: 52px;
  height: 52px;
  margin-right: 10px;
  vertical-align: -10px;
  padding: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--kd-shadow-sm);
  object-fit: contain;
}

.accent-num {
  color: var(--kd-accent);
  font-weight: 800;
}

/* ==========================================================================
   10. Demo Showcase Cards & Prototype Modal
   ========================================================================== */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.demo-card {
  background: #fff;
  border: 1px solid var(--kd-border);
  border-radius: var(--kd-radius-md);
  overflow: hidden;
  box-shadow: var(--kd-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--kd-shadow-lg);
}

.demo-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--kd-surface);
}

.demo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.demo-card:hover .demo-card__img {
  transform: scale(1.08);
}

.demo-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.68) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-card:hover .demo-card__overlay,
.demo-card:focus-within .demo-card__overlay {
  opacity: 1;
}

.demo-card__body {
  padding: 22px 24px 26px;
}

.demo-card__title {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.demo-card__text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--kd-text-soft);
}

.js-prototype-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(4px);
}

.js-prototype-modal.is-open {
  display: flex;
}

.js-prototype-modal__dialog {
  display: flex;
  flex-direction: column;
  width: min(880px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--kd-shadow-lg);
}

.js-prototype-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--kd-border);
}

.js-prototype-modal__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--kd-navy);
}

.js-prototype-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--kd-border);
  border-radius: 12px;
  background: var(--kd-surface);
  color: var(--kd-navy);
  cursor: pointer;
}

.js-prototype-close:hover {
  background: var(--kd-accent);
  color: #fff;
}

.js-prototype-modal__body {
  overflow-y: auto;
  padding: 22px;
  background: #E7EDF4;
}

.js-prototype-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   11. FAQ Accordion
   ========================================================================== */
.faq {
  max-width: 880px;
}

.faq-item {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--kd-border);
  border-radius: var(--kd-radius-md);
  overflow: hidden;
  box-shadow: var(--kd-shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--kd-navy);
  cursor: pointer;
}

.faq-question:hover {
  color: var(--kd-accent);
}

.faq-icon {
  flex: 0 0 auto;
  color: var(--kd-accent);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--kd-text-soft);
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
}

/* ==========================================================================
   12. Services Page
   ========================================================================== */
.service {
  padding: 60px 0;
}

.service + .service {
  border-top: 1px solid var(--kd-border);
}

.service__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  border-radius: 18px;
  color: #fff;
  background: var(--kd-gradient-primary);
  box-shadow: 0 12px 26px rgba(30, 58, 138, 0.28);
}

.service__title {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.service__text {
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
  color: var(--kd-text-soft);
}

.service__deliverables {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.service__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--kd-radius-pill);
  background: var(--kd-surface);
  border: 1px solid var(--kd-border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--kd-navy);
}

.service__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   13. Contact Page & Contact Form 7
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}

.contact-info__card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--kd-border);
  border-radius: var(--kd-radius-md);
  box-shadow: var(--kd-shadow-sm);
}

.contact-info__icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--kd-primary);
  background: rgba(30, 58, 138, 0.08);
}

.contact-info__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kd-muted);
}

.contact-info__value {
  font-weight: 600;
  color: var(--kd-navy);
}

.contact-info__value a {
  color: inherit;
  text-decoration: none;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--kd-navy);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: var(--kd-accent);
  color: #fff;
  transform: translateY(-3px);
}

/* Contact Form 7 — match the design system */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--kd-border);
  border-radius: 12px;
  background: var(--kd-surface);
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: var(--kd-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--kd-primary);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
}

.wpcf7 textarea {
  resize: vertical;
  min-height: 130px;
}

.wpcf7 input[type="submit"] {
  background: var(--kd-gradient-accent);
  color: #fff;
  border: 0;
  border-radius: var(--kd-radius-pill);
  padding: 16px 34px;
  font-family: "Poppins", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(192, 38, 211, 0.32);
}

.wpcf7 input[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.wpcf7 label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--kd-navy);
}

.wpcf7 form > p {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #DC2626;
  font-size: 0.82rem;
}

.wpcf7 form .wpcf7-response-output {
  border-radius: 12px;
  font-size: 0.94rem;
}

/* ==========================================================================
   14. CTA Band
   ========================================================================== */
.cta-band {
  position: relative;
  padding: 76px 0;
  text-align: center;
  color: #fff;
  background: var(--kd-navy);
  overflow: hidden;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
}

.cta-band__title {
  color: #fff;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  font-weight: 800;
  margin: 0 0 14px;
}

.cta-band__text {
  max-width: 640px;
  margin: 0 auto 30px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   15. Footer (native GeneratePress footer widgets)
   ========================================================================== */
.site-footer {
  background: var(--kd-navy);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-widgets-container {
  padding: 64px 0 48px;
}

.site-footer .widget-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--kd-accent);
}

.site-footer .site-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.site-footer .site-info {
  background: var(--kd-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

/* ==========================================================================
   16. Legal / Policies
   ========================================================================== */
.policies {
  max-width: 820px;
  margin: 0 auto;
}

.policy {
  margin-bottom: 40px;
}

.policy__title {
  font-size: 1.4rem;
  margin: 0 0 10px;
}

.policy__updated {
  display: block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--kd-muted);
}

.policy__text {
  font-weight: 300;
  line-height: 1.8;
  color: var(--kd-text-soft);
}

/* ==========================================================================
   17. Reveal Animation (JS-gated)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .importance__inner,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .demos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .site-header .site-logo img {
    width: 140px;
    height: 140px;
  }

  .main-navigation .main-nav > ul > li.menu-cta {
    margin-left: 0;
  }

  .main-navigation .main-nav > ul > li.menu-cta > a {
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .cards-grid--4,
  .demos-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 88px 0 84px;
  }

  .page-hero {
    padding: 84px 0 80px;
  }

  .wpcf7 form > p {
    grid-template-columns: 1fr;
  }

  .site-footer .site-logo img {
    width: 140px;
    height: 140px;
  }
}
