/* AEA Service Details — dense editorial v5 */
body.aea-home.aea-service-details{
  --svd-red: #f62245;
  --svd-cyan: #5ec8ef;
  --svd-ink: #eef6fb;
  --svd-mute: #9fb6c6;
  --svd-line: rgba(120,190,220,.18);
  --svd-w: min(1120px, calc(100% - 48px));
  overflow-x: clip;
}
body.aea-home.aea-service-details .ambient{ display: none; }

.svd-page{
  position: relative;
  z-index: 1;
  padding-bottom: 8px;
}

[data-svd-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
[data-svd-reveal].is-in{
  opacity: 1;
  transform: none;
}

.svd-kicker{
  margin: 0 0 6px;
  color: var(--svd-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.svd-brand{
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* —— Hero —— */
.svd-hero{
  width: var(--svd-w) !important;
  margin: 0 auto 36px !important;
  padding-top: 10px;
}
.svd-crumb{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(180,200,214,.5);
}
.svd-crumb a{
  color: rgba(230,240,247,.85);
  text-decoration: none;
}
.svd-crumb a:hover{ color: var(--svd-red); }

.svd-hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(200px, 300px);
  gap: 28px 36px;
  align-items: center;
}
.svd-hero-copy h1{
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.svd-hero-lead{
  margin: 0 0 16px;
  max-width: 38em;
  color: #c8dae6;
  font-size: 15px;
  line-height: 1.65;
}
.svd-hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.svd-hero-media{
  margin: 0;
  position: relative;
  aspect-ratio: 1;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.svd-hero-media::before{ display: none; }
.svd-hero-media img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.35));
  transform: translateX(-40px);
}

/* —— Overview split —— */
.svd-overview{
  width: var(--svd-w) !important;
  margin: 0 auto 40px !important;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px 40px;
  align-items: start;
  padding: 22px 0 0;
  border-top: 1px solid var(--svd-line);
}
.svd-overview-copy h2{
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.15;
  max-width: 16ch;
}
.svd-overview-copy > p:not(.svd-kicker){
  margin: 0;
  color: #b8ccd8;
  font-size: 15px;
  line-height: 1.7;
  max-width: 42ch;
}
.svd-bullets{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--svd-line);
  background: linear-gradient(160deg, rgba(5,32,48,.55), rgba(2,16,28,.25));
}
.svd-bullets li{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--svd-line);
}
.svd-bullets li:last-child{ border-bottom: 0; }
.svd-bullets li span{
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  color: var(--svd-red);
  padding-top: 2px;
}
.svd-bullets li b{
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--svd-ink);
}

/* —— Features —— */
.svd-features{
  width: var(--svd-w) !important;
  margin: 0 auto 40px !important;
}
.svd-features-head{
  margin-bottom: 18px;
}
.svd-features-head h2{
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: -.035em;
}
.svd-feature-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.svd-feature-grid li{
  padding: 18px 16px;
  border-top: 2px solid var(--svd-red);
  background: linear-gradient(180deg, rgba(8,38,54,.5), transparent);
}
.svd-feature-ico{
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  color: var(--svd-cyan);
  border: 1px solid rgba(94,200,239,.28);
  background: rgba(94,200,239,.08);
}
.svd-feature-ico svg{ width: 16px; height: 16px; }
.svd-feature-grid h3{
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.02em;
}
.svd-feature-grid p{
  margin: 0;
  color: var(--svd-mute);
  font-size: 13.5px;
  line-height: 1.55;
}

/* —— Focus tabs —— */
.svd-focus{
  width: var(--svd-w) !important;
  margin: 0 auto 40px !important;
}
.svd-focus-head{
  margin-bottom: 14px;
}
.svd-focus-head h2{
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: -.035em;
}
.svd-focus-body{
  border: 1px solid var(--svd-line);
  background: rgba(3,22,34,.45);
}
.svd-focus-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--svd-line);
}
.svd-tab{
  appearance: none;
  border: 0;
  border-inline-end: 1px solid var(--svd-line);
  background: transparent;
  color: var(--svd-mute);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.svd-tab:last-child{ border-inline-end: 0; }
.svd-tab:hover{ color: #fff; }
.svd-tab.is-active{
  color: #fff;
  background: rgba(246,34,69,.14);
  box-shadow: inset 0 -2px 0 var(--svd-red);
}
.svd-focus-panels{
  padding: 22px 22px;
  min-height: 110px;
}
.svd-panel.is-active{
  animation: svd-in .4s cubic-bezier(.22,1,.36,1) both;
}
@keyframes svd-in{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: none; }
}
.svd-panel p{
  margin: 0;
  max-width: 54ch;
  color: #d0e0ea;
  font-size: 15.5px;
  line-height: 1.7;
}

/* —— Other services —— */
.svd-more{
  width: var(--svd-w) !important;
  margin: 0 auto 36px !important;
}
.svd-more-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.svd-more-head h2{
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 850;
}
.svd-more-head a{
  color: var(--svd-red);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.svd-more-head a:hover{ text-decoration: underline; }
.svd-more-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.svd-more-item{
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--svd-line);
  background: rgba(4,24,36,.4);
  transition: border-color .2s ease, background .2s ease;
}
.svd-more-item:hover{
  border-color: rgba(246,34,69,.45);
  background: rgba(246,34,69,.08);
}
.svd-more-item span{
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  color: var(--svd-red);
}
.svd-more-item strong{
  color: #f2f7fb;
  font-size: 14px;
  font-weight: 800;
}
.svd-more-item small{
  color: #8fa8b8;
  font-size: 12px;
  line-height: 1.4;
}

/* —— CTA —— */
.svd-cta{
  margin: 0 0 28px;
  border-block: 1px solid rgba(246,34,69,.25);
  background:
    radial-gradient(ellipse 45% 90% at 100% 50%, rgba(246,34,69,.28), transparent 60%),
    linear-gradient(115deg, #031825, #062a3f 50%, #041926);
}
.svd-cta-inner{
  width: var(--svd-w) !important;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}
.svd-cta-inner h2{
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  letter-spacing: -.035em;
  max-width: 16ch;
}
.svd-cta-inner > div > p:not(.svd-brand){
  margin: 0 0 12px;
  color: #b8ccd8;
  font-size: 14px;
  max-width: 40ch;
  line-height: 1.55;
}
.svd-cta-meta{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: #9eb5c4;
  font-size: 12.5px;
}
.svd-cta-meta a{
  color: #e8f2f8;
  text-decoration: none;
}
.svd-cta-meta a:hover{ color: #ff8a98; }

/* —— Subscribe —— */
body.aea-home.aea-service-details .svd-sub.faq-sub,
.svd-sub.faq-sub{
  width: var(--svd-w) !important;
  margin: 0 auto 24px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(120,185,215,.28);
  background: linear-gradient(120deg, rgba(12,44,62,.9), rgba(5,22,34,.96));
}
body.aea-home.aea-service-details .svd-sub.faq-sub > img,
.svd-sub.faq-sub > img{
  width: 72px;
  height: 72px;
  object-fit: contain;
}
body.aea-home.aea-service-details .svd-sub.faq-sub h2,
.svd-sub.faq-sub h2{
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 900;
  line-height: 1.2;
}
body.aea-home.aea-service-details .svd-sub .faq-sub-form,
.svd-sub.faq-sub .faq-sub-form{
  display: flex;
  align-items: center;
  gap: 8px;
}
body.aea-home.aea-service-details .svd-sub .faq-sub-form input,
.svd-sub.faq-sub .faq-sub-form input{
  width: min(220px, 32vw);
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(120,185,215,.35);
  background: rgba(4,22,34,.7);
  color: #fff;
  padding: 0 14px;
}
body.aea-home.aea-service-details .svd-sub .faq-sub-form .btn,
.svd-sub.faq-sub .faq-sub-form .btn{
  height: 42px;
  padding: 0 14px;
  white-space: nowrap;
}
body.aea-home.aea-service-details .svd-sub.faq-sub > small,
.svd-sub.faq-sub > small{
  grid-column: 1 / -1;
}

/* —— RTL —— */
html[dir="rtl"] .svd-cta{
  background:
    radial-gradient(ellipse 45% 90% at 0% 50%, rgba(246,34,69,.28), transparent 60%),
    linear-gradient(245deg, #031825, #062a3f 50%, #041926);
}
html[dir="rtl"] .svd-tab.is-active{
  box-shadow: inset 0 -2px 0 var(--svd-red);
}

/* —— Responsive —— */
@media (max-width: 900px){
  .svd-hero-grid{
    grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
    gap: 18px;
  }
  .svd-feature-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px){
  body.aea-home.aea-service-details{
    --svd-w: calc(100% - 24px);
  }
  .svd-hero{ margin-bottom: 28px !important; padding-top: 8px; }
  .svd-hero-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .svd-hero-media{
    width: min(100%, 220px);
    margin-inline: auto;
  }
  .svd-hero-actions{
    display: grid;
    grid-template-columns: 1fr;
  }
  .svd-hero-actions .btn{
    width: 100%;
    justify-content: center;
  }
  .svd-overview{
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px !important;
  }
  .svd-features,
  .svd-focus,
  .svd-more{
    margin-bottom: 32px !important;
  }
  .svd-feature-grid{
    grid-template-columns: 1fr;
  }
  .svd-more-grid{
    grid-template-columns: 1fr;
  }
  .svd-focus-tabs{
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .svd-tab{
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .svd-cta-inner{
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 0;
  }
  .svd-cta-inner .btn{
    width: 100%;
    justify-content: center;
  }
  body.aea-home.aea-service-details .svd-sub.faq-sub,
  .svd-sub.faq-sub{
    grid-template-columns: 1fr !important;
    justify-items: center;
    text-align: center;
  }
  body.aea-home.aea-service-details .svd-sub .faq-sub-form,
  .svd-sub.faq-sub .faq-sub-form{
    flex-direction: column;
    width: 100%;
  }
  body.aea-home.aea-service-details .svd-sub .faq-sub-form input,
  .svd-sub.faq-sub .faq-sub-form input,
  body.aea-home.aea-service-details .svd-sub .faq-sub-form .btn,
  .svd-sub.faq-sub .faq-sub-form .btn{
    width: 100%;
  }
}

@media (max-width: 420px){
  .svd-hero-copy h1{ font-size: clamp(24px, 7.5vw, 30px); }
  .svd-hero-media{ width: min(100%, 170px); }
}

@media (prefers-reduced-motion: reduce){
  .svd-panel.is-active,
  [data-svd-reveal]{
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
