/* EAP — "route": warm cream, soft rounded forms, a drawn path with a travelling marker. */

.svc--eap {
    --bg: #F8F6FA;
    --line: #E8E2EF;
    --card: #F8F6FA;
    --accent: #673A89;
    --sage: #F0EBF5;
    --radius: 999px;
}
.svc--eap h1, .svc--eap h2, .svc--eap h3 { letter-spacing: -0.02em; }
.svc--eap h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.14; font-weight: 600; margin-top: 0.8rem; max-width: 22ch; }
.eap-split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .eap-split { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; } }

.eap-hero { padding: 8rem 0 3.5rem; position: relative; }
@media (min-width: 1024px) { .eap-hero { padding: 9.5rem 0 5rem; } }
.eap-hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .eap-hero__grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.eap-hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.07; font-weight: 600; margin: 1rem 0 1.4rem; }
.eap-hero .lead { margin-bottom: 2rem; }
.eap-hero .sb { border-radius: 999px; }

.eap-route { background: var(--sage); border-radius: 44% 56% 48% 52% / 40% 46% 54% 60%; padding: 1.5rem; }
.eap-route svg { display: block; width: 100%; height: auto; overflow: visible; }
.eap-route path { fill: none; stroke-linecap: round; }
.eap-route__ghost { stroke: rgba(78, 44, 104, 0.18); stroke-width: 3; stroke-dasharray: 2 9; }
#eap-path { stroke: var(--accent); stroke-width: 4; }
.eap-route__stops circle { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.eap-route__labels text { font-size: 15px; font-weight: 600; fill: #16131C; }
.eap-route__dot { fill: #C9B5E0; stroke: #fff; stroke-width: 3; }

.eap-why { background: var(--card); border-block: 1px solid var(--line); }

/* Tabs */
.eap-tabs { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .eap-tabs { grid-template-columns: 22rem 1fr; gap: 3rem; align-items: stretch; } }
.eap-tabs [role="tablist"] { display: grid; gap: 0.5rem; }
.eap-tabs [role="tab"] {
    display: flex; align-items: center; gap: 0.9rem; text-align: left; font: inherit; font-weight: 600; font-size: 1rem;
    padding: 0.95rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.eap-tabs [role="tab"] span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--sage); font-size: 0.78rem; flex: none; transition: inherit; }
.eap-tabs [role="tab"]:hover { transform: translateX(4px); }
.eap-tabs [role="tab"][aria-selected="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.eap-tabs [role="tab"][aria-selected="true"] span { background: rgba(255, 255, 255, 0.2); }
.eap-tabs__panels { background: var(--sage); border-radius: 2rem; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 16rem; }
@media (min-width: 900px) { .eap-tabs__panels { padding: 3rem; } }
.eap-tabs__panels [role="tabpanel"]:not([hidden]) { animation: eap-in 0.5s ease both; }
@keyframes eap-in { from { opacity: 0; transform: translateY(10px); } }
.eap-tabs__panels h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; margin-bottom: 1rem; }
.eap-tabs__panels [role="tabpanel"] p { font-size: 1.1rem; line-height: 1.65; color: #4A4454; max-width: 34rem; }
.eap-tabs__panels .svc-note { margin-top: 2rem; color: #4A4454; }

/* Access stations */
.eap-access { background: var(--card); border-block: 1px solid var(--line); }
.eap-stations { margin-top: 3rem; display: grid; gap: 2rem; position: relative; }
@media (min-width: 900px) {
    .eap-stations { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .eap-stations::before { content: ""; position: absolute; left: 1.2rem; right: 0; top: 1.2rem; height: 3px; background: var(--line); }
    .eap-stations::after { content: ""; position: absolute; left: 1.2rem; top: 1.2rem; height: 3px; width: var(--prog, 0%); background: var(--accent); transition: width 1.6s cubic-bezier(0.3, 0.7, 0.2, 1); max-width: calc(100% - 1.2rem); }
}
.eap-stations li { position: relative; }
.eap-stations__pin { position: relative; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--bg); border: 3px solid var(--line); font-weight: 600; font-size: 0.9rem; margin-bottom: 1.2rem; transition: border-color 0.4s ease, background-color 0.4s ease, color 0.4s ease; }
.eap-stations li.on .eap-stations__pin { border-color: var(--accent); background: var(--accent); color: #fff; }
.eap-stations h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 0.5rem; }
.eap-stations p { color: var(--muted); font-size: 0.93rem; line-height: 1.6; }
.eap-aside { margin-top: 2.5rem; padding: 1.1rem 1.5rem; background: var(--sage); border-radius: 1.2rem; max-width: 44rem; line-height: 1.6; }

/* Confidentiality layers */
.eap-layers { display: grid; gap: 0.7rem; align-content: start; }
.eap-layers__lead { font-weight: 600; margin-bottom: 0.3rem; }
.eap-layer { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-radius: 1.2rem; background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.eap-layer span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--sage); font-size: 0.78rem; font-weight: 600; flex: none; }
.eap-layer--sealed { background: #3F2254; color: #fff; border-color: #3F2254; margin-top: 0.8rem; position: relative; }
.eap-layer--sealed span { background: rgba(255, 255, 255, 0.18); }
.eap-layer--sealed svg { margin-left: auto; fill: none; stroke: #fff; stroke-width: 1.6; flex: none; }
.js .eap-layer--sealed svg { animation: eap-lock 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes eap-lock { 0%, 70%, 100% { transform: none; } 78% { transform: rotate(-8deg); } 86% { transform: rotate(8deg); } 94% { transform: none; } }

.eap-link { background: var(--card); border-top: 1px solid var(--line); }
.eap-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.eap-chips a { padding: 0.65rem 1.2rem; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: background-color 0.25s ease, color 0.25s ease; }
.eap-chips a:hover { background: var(--accent); color: #fff; }

.eap-cta { background: #3F2254; color: #fff; padding: 5rem 0 3rem; border-radius: 3rem 3rem 0 0; --bg: #3F2254; --fg: #fff; --muted: rgba(255,255,255,.75); --line: rgba(255,255,255,.18); --accent: #fff; --radius: 999px; }
.eap-cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.02em; max-width: 20ch; margin-bottom: 1.8rem; }
.eap-cta .more a { background: #3F2254; }
.eap-cta .more a:hover { background: #542E70; }
.eap-cta .more ul { border-radius: 1rem; overflow: hidden; }

/* hero upgrade */
.eap-hero { padding: 0; }
.eap-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.eap-route { padding: 2rem; }
.eap-route__stops circle { transform-box: fill-box; transform-origin: center; animation: eap-pulse 3.2s ease-in-out infinite; }
.eap-route__stops circle:nth-child(2) { animation-delay: .8s; } .eap-route__stops circle:nth-child(3) { animation-delay: 1.6s; } .eap-route__stops circle:nth-child(4) { animation-delay: 2.4s; }
@keyframes eap-pulse { 50% { transform: scale(1.35); } }
.eap-route::before { content: ""; position: absolute; inset: -1.2rem; border-radius: inherit; border: 1px dashed rgba(103,58,137,.3); animation: eap-spin 40s linear infinite; }
.eap-route { position: relative; }
@keyframes eap-spin { to { transform: rotate(360deg); } }

.svc--eap { --photo-radius: 1.5rem; }
