/* ==========================================================================
   Kadence Child (AAFT Cleaning) — homepage styles
   All classes are prefixed "aaft-" so they never collide with Kadence's
   own classes on other pages/templates across the site.
   ========================================================================== */

:root {
  --aaft-primary: #3667d8;
  --aaft-primary-dark: #2951b3;
  --aaft-ink: #0f172a;
  --aaft-body: #55607a;
  --aaft-body-light: #7c869b;
  --aaft-bg-alt: #eef1f7;
  --aaft-bg-card: #ffffff;
  --aaft-badge-bg: #e3ebfc;
  --aaft-border: #e6e9f0;
  --aaft-shadow-card: 0 10px 30px rgba(15, 23, 42, 0.07);
  --aaft-shadow-card-hover: 0 16px 40px rgba(15, 23, 42, 0.12);
  --aaft-radius-lg: 20px;
  --aaft-radius-md: 12px;
  --aaft-radius-sm: 8px;
  --aaft-container-w: 1200px;
  --aaft-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.aaft-container {
  width: 100%;
  max-width: var(--aaft-container-w);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.aaft-section h1, .aaft-hero h1,
.aaft-section h2, .aaft-banner h2, .aaft-cta h2,
.aaft-section h3, .aaft-card h3 {
  color: var(--aaft-ink);
  margin: 0 0 16px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-family: var(--aaft-font-sans);
}

.aaft-section, .aaft-hero, .aaft-banner, .aaft-cta, .aaft-site-footer, .aaft-site-header {
  font-family: var(--aaft-font-sans);
  color: var(--aaft-body);
}

.aaft-section { padding: 96px 0; }
.aaft-section--alt { background: var(--aaft-bg-alt); }
.aaft-section--tight { padding: 72px 0; }

.aaft-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.aaft-section-head h2 { font-size: 40px; }
.aaft-section-head p { font-size: 18px; color: var(--aaft-body); margin: 0; }

/* Buttons -------------------------------------------------------------- */

.aaft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--aaft-radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.aaft-btn:hover { transform: translateY(-2px); }

.aaft-btn--primary {
  background: var(--aaft-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(54, 103, 216, 0.35);
}
.aaft-btn--primary:hover { background: var(--aaft-primary-dark); color: #fff; }

.aaft-btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.aaft-btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* Header ----------------------------------------------------------------- */

.aaft-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--aaft-border);
}

.aaft-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.aaft-site-logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--aaft-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.aaft-site-logo strong { color: var(--aaft-primary); }

.aaft-site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.aaft-site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.aaft-site-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--aaft-ink);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.aaft-site-nav a:hover { color: var(--aaft-primary); border-color: var(--aaft-primary); }

.aaft-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.aaft-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--aaft-ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero --------------------------------------------------------------------*/

.aaft-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.aaft-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.5));
}
.aaft-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.aaft-hero h1 {
  color: #fff;
  font-size: 52px;
  margin-bottom: 20px;
}
.aaft-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  margin-bottom: 32px;
}
.aaft-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Card grids ----------------------------------------------------------- */

.aaft-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.aaft-cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

.aaft-card {
  background: var(--aaft-bg-card);
  border-radius: var(--aaft-radius-lg);
  padding: 32px;
  box-shadow: var(--aaft-shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.aaft-card:hover { box-shadow: var(--aaft-shadow-card-hover); transform: translateY(-4px); }

.aaft-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--aaft-radius-md);
  background: var(--aaft-badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aaft-primary);
  margin-bottom: 20px;
}
.aaft-card__icon svg { width: 26px; height: 26px; }

.aaft-card h3 { font-size: 19px; margin-bottom: 10px; }
.aaft-card p { font-size: 15px; margin: 0; color: var(--aaft-body); }

.aaft-card--photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.aaft-card--photo .aaft-card__media {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.aaft-card--photo .aaft-card__body { padding: 28px; }
.aaft-card--photo .aaft-card__icon { margin-top: -48px; position: relative; z-index: 1; border: 4px solid #fff; }

.aaft-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--aaft-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.aaft-card__link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.aaft-card__link:hover svg { transform: translateX(3px); }

.aaft-section--alt .aaft-card { background: #fff; }

/* Banner ----------------------------------------------------------------- */

.aaft-banner {
  background: var(--aaft-primary);
  background-image: linear-gradient(120deg, var(--aaft-primary), var(--aaft-primary-dark));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.aaft-banner h2 { color: #fff; font-size: 34px; }
.aaft-banner p { color: rgba(255, 255, 255, 0.9); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* Video / photo block ----------------------------------------------------*/

.aaft-media-block {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--aaft-radius-lg);
  overflow: hidden;
  box-shadow: var(--aaft-shadow-card);
  position: relative;
}
.aaft-media-block__frame {
  position: relative;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
}
.aaft-media-block__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.12);
  border: none;
  cursor: pointer;
}
.aaft-media-block__play span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.aaft-media-block__play:hover span { transform: scale(1.06); }
.aaft-media-block__play svg { width: 26px; height: 26px; color: var(--aaft-primary); margin-left: 4px; }
.aaft-media-block iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Final CTA ---------------------------------------------------------------*/

.aaft-cta {
  text-align: center;
  padding: 96px 0;
}
.aaft-cta h2 { font-size: 34px; }
.aaft-cta p { max-width: 620px; margin: 0 auto 32px; font-size: 17px; }

/* Footer ------------------------------------------------------------------*/

.aaft-site-footer {
  background: var(--aaft-bg-alt);
  padding-top: 64px;
}
.aaft-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.aaft-footer-grid h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: var(--aaft-ink);
}
.aaft-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.aaft-footer-grid li { margin-bottom: 10px; }
.aaft-footer-grid a { color: var(--aaft-body); font-size: 15px; text-decoration: none; }
.aaft-footer-grid a:hover { color: var(--aaft-primary); }
.aaft-footer-about p { font-size: 15px; margin-top: 12px; }

.aaft-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--aaft-body);
  font-size: 15px;
}
.aaft-footer-contact svg { width: 18px; height: 18px; color: var(--aaft-primary); flex-shrink: 0; margin-top: 2px; }

.aaft-footer-bottom {
  border-top: 1px solid var(--aaft-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--aaft-body-light);
}
.aaft-footer-bottom nav a { margin-left: 24px; }

/* Responsive ----------------------------------------------------------- */

@media (max-width: 900px) {
  .aaft-site-nav ul, .aaft-site-nav .aaft-btn { display: none; }
  .aaft-nav-toggle { display: block; }
  .aaft-site-nav.is-open {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--aaft-border);
    flex-direction: column;
    padding: 16px 24px 24px;
  }
  .aaft-site-nav.is-open ul { display: flex; flex-direction: column; gap: 18px; }
  .aaft-site-nav.is-open .aaft-btn { display: inline-flex; margin-top: 8px; }

  .aaft-cards-grid, .aaft-cards-grid--3 { grid-template-columns: 1fr; }
  .aaft-hero h1 { font-size: 36px; }
  .aaft-footer-grid { grid-template-columns: 1fr 1fr; }
  .aaft-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .aaft-footer-bottom nav a { margin: 0 8px; }
}

@media (max-width: 520px) {
  .aaft-section { padding: 64px 0; }
  .aaft-footer-grid { grid-template-columns: 1fr; }
  .aaft-hero { min-height: 560px; }
}
