.blum-fittings {
  --eaa-navy: #020741;
  --eaa-blue: #159bd7;
  --eaa-ink: #222222;
  --eaa-muted: #5f6670;
  --eaa-line: #e0e4e8;
  --eaa-soft: #F5F6F8;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  line-height: 1.5;
}
.blum-fittings *,
.blum-fittings *::before,
.blum-fittings *::after { box-sizing: border-box; }
.eaa-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* FULL-WIDTH BLOCKS: break each section out of any parent container so its
   background spans the viewport, like the flatpacks landing page sections */
body { overflow-x: clip; }
/* drop Main.css's 5rem top padding so the hero sits flush under the page banner */
section.main .container:has(.blum-fittings) { padding-top: 0; }
.blum-fittings > section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* HERO */
.eaa-hero {
  /* light, airy backdrop so it doesn't compete with the dark photo banner above;
     blue tint picks up the header's ORDER ONLINE button colour */
  background:
    radial-gradient(circle at 80% 45%, rgba(25,108,180,0.16) 0%, rgba(25,108,180,0) 45%),
    radial-gradient(circle at 0% 100%, rgba(21,155,215,0.10) 0%, rgba(21,155,215,0) 40%),
    linear-gradient(180deg, #F5F6F8 0%, #ffffff 100%);
  color: var(--eaa-ink);
  padding: 70px 0 80px 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--eaa-line);
}
/* faint blueprint grid for a workshop / drawing feel */
.eaa-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(2,7,65,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,7,65,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%, #000 100%);
}
.eaa-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.eaa-phone-stage { position: relative; }
/* soft glow behind the phone */
.eaa-phone-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(25,108,180,0.22) 0%, rgba(25,108,180,0) 65%);
}
.eaa-phone { animation: eaa-float 5s ease-in-out infinite; }
@keyframes eaa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .eaa-phone { animation: none; } }
.eaa-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #196cb4; background: rgba(25,108,180,0.08); border: 1px solid rgba(25,108,180,0.25);
  padding: 6px 12px; border-radius: 20px; margin: 0 0 18px 0;
}
.eaa-hero h1 { font-size: 42px; line-height: 1.1; font-weight: 700; margin: 0 0 18px 0; padding: 0; color: var(--eaa-navy); }
.eaa-hero h1 span { color: #196cb4; }
.eaa-hero p { font-size: 17px; color: var(--eaa-muted); max-width: 560px; margin: 0 0 30px 0; }
.eaa-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.eaa-store {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important;
  background: var(--eaa-navy); color: #ffffff !important; border-radius: 10px; padding: 10px 18px;
  font-weight: 700; font-size: 15px; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.eaa-store small { display: block; font-weight: 400; font-size: 11px; color: rgba(255,255,255,0.7); line-height: 1.1; }
.eaa-store:hover { transform: translateY(-2px); background: #196cb4; box-shadow: 0 8px 20px rgba(2,7,65,0.25); }
.eaa-store svg { width: 26px; height: 26px; flex: 0 0 26px; }

/* CSS PHONE MOCKUP (iPhone with Dynamic Island) */
.eaa-phone {
  width: 250px; height: 516px; margin: 0 auto; border-radius: 46px; background: #0b0b0f;
  padding: 9px; position: relative;
  /* titanium frame: thin metallic edge around the black bezel */
  box-shadow:
    0 0 0 2px #8a8d96,
    0 0 0 3px #4a4d55,
    0 30px 60px rgba(0,0,0,0.45),
    inset 0 0 0 1px #1c1d22;
}
/* side buttons */
.eaa-btn { position: absolute; width: 3px; background: linear-gradient(90deg, #5a5d66, #9a9da6); }
.eaa-btn-action   { left: -5px;  top: 92px;  height: 22px; border-radius: 2px 0 0 2px; }
.eaa-btn-vol-up   { left: -5px;  top: 130px; height: 40px; border-radius: 2px 0 0 2px; }
.eaa-btn-vol-down { left: -5px;  top: 180px; height: 40px; border-radius: 2px 0 0 2px; }
.eaa-btn-power    { right: -5px; top: 150px; height: 64px; border-radius: 0 2px 2px 0; background: linear-gradient(90deg, #9a9da6, #5a5d66); }

.eaa-screen { width: 100%; height: 100%; border-radius: 38px; background: #ffffff; overflow: hidden; display: flex; flex-direction: column; position: relative; }
/* Dynamic Island */
.eaa-island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 22px; border-radius: 12px; background: #000000; z-index: 3;
}
.eaa-island i {
  position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2b3a5c 0%, #0d1222 60%, #000 100%);
}
/* status bar, either side of the island */
.eaa-status {
  background: var(--eaa-navy); color: #ffffff; display: flex; justify-content: space-between; align-items: center;
  height: 42px; padding: 0 22px 0 26px; font-size: 11px; font-weight: 700; flex: 0 0 auto;
}
.eaa-status-icons { display: flex; align-items: center; gap: 4px; }
.eaa-status-icons svg { height: 9px; width: auto; fill: #ffffff; }
.eaa-status-icons .eaa-wifi { fill: none; stroke: #ffffff; stroke-width: 1.8; stroke-linecap: round; }
.eaa-status-icons .eaa-wifi circle { fill: #ffffff; stroke: none; }
.eaa-battery {
  position: relative; width: 19px; height: 9px; border: 1px solid rgba(255,255,255,0.55); border-radius: 3px; padding: 1px; box-sizing: border-box;
}
.eaa-battery::after { content: ""; position: absolute; right: -3px; top: 2px; width: 1.5px; height: 3px; border-radius: 0 1px 1px 0; background: rgba(255,255,255,0.55); }
.eaa-battery i { display: block; width: 80%; height: 100%; border-radius: 1px; background: #ffffff; }
/* home indicator */
.eaa-home-bar { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 90px; height: 4px; border-radius: 3px; background: #0b0b0f; opacity: .85; }

.eaa-screen-top { background: var(--eaa-navy); color: #ffffff; padding: 6px 16px 14px 16px; font-size: 13px; font-weight: 700; }
.eaa-screen-top span { display: block; font-size: 10px; font-weight: 400; opacity: .7; margin-top: 2px; }
.eaa-screen-body { padding: 14px; display: grid; gap: 10px; flex: 1; }
.eaa-tile { border-radius: 10px; background: var(--eaa-soft); padding: 10px; display: flex; gap: 10px; align-items: center; }
.eaa-tile i { width: 34px; height: 34px; border-radius: 8px; background: var(--eaa-blue); flex: 0 0 34px; opacity: .9; }
.eaa-tile b { display: block; height: 7px; width: 90px; background: #c9d2db; border-radius: 4px; margin-bottom: 6px; }
.eaa-tile em { display: block; height: 6px; width: 60px; background: #dfe5eb; border-radius: 4px; }
.eaa-screen-nav { display: flex; justify-content: space-around; border-top: 1px solid var(--eaa-line); padding: 10px 0 20px 0; }
.eaa-screen-nav span { width: 18px; height: 18px; border-radius: 5px; background: #c9d2db; }
.eaa-screen-nav span:first-child { background: var(--eaa-blue); }

/* SECTIONS */
.eaa-section { padding: 70px 0; }
.eaa-section.alt { background: var(--eaa-soft); }
.eaa-head { text-align: center; max-width: 760px; margin: 0 auto 40px auto; }
.eaa-head h2 { font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--eaa-ink); margin: 0 0 12px 0; padding: 0; }
.eaa-head p { font-size: 16px; color: var(--eaa-muted); margin: 0; }

/* FEATURES */
.eaa-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: eaa-feature; }
.eaa-card {
  counter-increment: eaa-feature;
  position: relative; overflow: hidden;
  background: #ffffff; border: 1px solid var(--eaa-line); border-radius: 16px; padding: 32px 28px 30px 28px;
  box-shadow: 0 2px 6px rgba(2,7,65,0.04);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
/* short accent tab in the top-left corner */
.eaa-card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 4px; width: 48px;
  background: linear-gradient(90deg, #196cb4, var(--eaa-blue));
  border-radius: 0 0 4px 0;
}
/* large faint number in the corner: 01, 02, ... */
.eaa-card::after {
  content: "0" counter(eaa-feature);
  position: absolute; top: 14px; right: 20px;
  font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -1px;
  color: rgba(25,108,180,0.08); transition: color .25s ease;
}
.eaa-card:hover {
  transform: translateY(-6px); border-color: rgba(25,108,180,0.25);
  box-shadow: 0 20px 40px rgba(2,7,65,0.10);
}
.eaa-card:hover::after { color: rgba(25,108,180,0.16); }

.eaa-icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 0 20px 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--eaa-navy) 0%, #196cb4 100%);
  box-shadow: 0 8px 18px rgba(25,108,180,0.30);
  transition: transform .25s ease;
}
.eaa-card:hover .eaa-icon { transform: rotate(-6deg) scale(1.06); }
.eaa-icon svg { width: 26px; height: 26px; stroke: #ffffff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eaa-card h3 { font-size: 19px; font-weight: 700; color: var(--eaa-navy); margin: 0 0 10px 0; padding: 0; }
.eaa-card p { font-size: 15px; line-height: 1.6; color: var(--eaa-muted); margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .eaa-card, .eaa-icon { transition: none; }
  .eaa-card:hover, .eaa-card:hover .eaa-icon { transform: none; }
}

/* STEPS */
.eaa-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: eaa; position: relative; }
.eaa-step { text-align: center; padding: 0 20px; position: relative; }
.eaa-step::before {
  counter-increment: eaa; content: counter(eaa);
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 18px auto;
  border-radius: 50%; background: var(--eaa-navy); color: #ffffff; font-size: 20px; font-weight: 700;
  box-shadow: 0 0 0 8px rgba(2,7,65,0.08); position: relative; z-index: 1;
}
.eaa-step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--eaa-blue) 0 8px, transparent 8px 14px);
}
.eaa-step h3 { font-size: 18px; font-weight: 700; color: var(--eaa-ink); margin: 0 0 8px 0; padding: 0; }
.eaa-step p { font-size: 14px; color: var(--eaa-muted); margin: 0; }

/* FAQ */
.eaa-faq { width: 100%; }
.eaa-faq details { background: #ffffff; border: 1px solid var(--eaa-line); border-radius: 10px; margin: 0 0 12px 0; overflow: hidden; }
.eaa-faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-size: 16px; font-weight: 700;
  color: var(--eaa-ink); position: relative;
}
.eaa-faq summary::-webkit-details-marker { display: none; }
.eaa-faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--eaa-soft); color: var(--eaa-blue);
  font-size: 20px; line-height: 26px; text-align: center; transition: transform .2s ease;
}
.eaa-faq details[open] summary::after { content: "\2212"; background: var(--eaa-blue); color: #ffffff; }
.eaa-faq details p { margin: 0; padding: 0 22px 20px 22px; font-size: 15px; color: var(--eaa-muted); }

/* CTA BAND */
/* light band so the standard blue + navy buttons both stand out */
.eaa-cta-band { background: var(--eaa-soft); border-top: 1px solid var(--eaa-line); }
.eaa-cta { display: flex; align-items: center; justify-content: center; text-align: center; }

/* Trade Login button: same navy as the How to Install page (assembly-install.php) */
.blum-fittings .trade-login-btn {
  background-color: #020741;
  border-color: #020741;
}
.blum-fittings .trade-login-btn:hover,
.blum-fittings .trade-login-btn:focus {
  background-color: rgba(2, 7, 65, 0.9);
  border-color: rgba(2, 7, 65, 0.9);
}

/* Blum Fittings button: the site's light-blue accent (#159bd7), so it sits
   alongside the standard blue and navy buttons without matching either */
.blum-fittings .blum-fittings-btn {
  background-color: #159bd7;
  border-color: #159bd7;
  color: #ffffff;
}
.blum-fittings .blum-fittings-btn:hover,
.blum-fittings .blum-fittings-btn:focus {
  background-color: #1187bd;
  border-color: #1187bd;
  color: #ffffff;
}

/* RESPONSIVE */
@media screen and (max-width: 900px) {
  .eaa-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .eaa-hero p { margin-left: auto; margin-right: auto; }
  .eaa-stores { justify-content: center; }
  .eaa-features { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 640px) {
  .eaa-hero { padding: 50px 0 60px 0; }
  .eaa-hero h1 { font-size: 32px; }
  .eaa-phone { width: 214px; height: 442px; border-radius: 40px; }
  .eaa-screen { border-radius: 32px; }
  .eaa-island { width: 64px; height: 19px; }
  .eaa-section { padding: 50px 0; }
  .eaa-head h2 { font-size: 26px; }
  .eaa-features { grid-template-columns: 1fr; }
  .eaa-steps { grid-template-columns: 1fr; gap: 34px; }
  .eaa-step:not(:last-child)::after { display: none; }
  .eaa-cta { text-align: center; justify-content: center; }
}

/* SCROLL REVEAL: hidden state only; the rise-in itself is run in JS (Web Animations API)
   by the script at the end of blum-fittings.php, so content stays visible without JS */
.eaa-anim .eaa-reveal:not(.is-in) { opacity: 0; will-change: opacity, transform; }
