/* ==========================================================================
   E-Therapy Network — site styles ("Playful & Warm" direction)
   ========================================================================== */
:root {
  --cream: #FFF8EE; --coral: #FF7A59; --coral-d: #E85F3E; --coral-l: #FFE1D8;
  --teal: #1FA2A6; --teal-d: #137C80; --teal-l: #D3F0F1;
  --sun: #FFC845; --sun-l: #FFF0C7; --sky: #BFE8F0;
  --plum: #3B2E5A; --plum-l: #E5DFF3;
  --ink: #2C2A3A; --muted: #5F5C74; --line: #EEE7DC; --white: #fff;
  --radius: 24px; --shadow: 0 14px 36px rgba(59, 46, 90, .10);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 17px; }
h1, h2, h3, h4 { font-family: 'Baloo 2', 'Nunito', sans-serif; line-height: 1.15; color: var(--plum); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, .text-link { color: var(--teal-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons & tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 800; font-family: inherit; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: .2s; text-align: center; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 6px 0 var(--coral-d); }
.btn-coral:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--coral-d); }
.btn-outline { border-color: var(--plum); color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: #fff; }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--sun); }
.tag { display: inline-block; background: var(--sun); color: var(--plum); font-weight: 800; padding: 6px 16px; border-radius: 999px; font-size: .8rem; letter-spacing: .6px; text-transform: uppercase; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-white { background: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-title { font-size: clamp(2rem, 4vw, 2.6rem); margin: 14px 0 12px; }
.lead { color: var(--muted); font-size: 1.12rem; }
.rounded-top { border-radius: 60px 60px 0 0; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--plum); color: #fff; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; padding: 8px 24px; flex-wrap: wrap; gap: 6px 20px; }
.topbar-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a:hover { color: var(--sun); }
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(59, 46, 90, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 20px; }
.logo img { height: 70px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > ul { display: flex; gap: 22px; list-style: none; font-weight: 700; }
.site-nav a { padding: 6px 0; position: relative; }
.site-nav > ul > li > a:hover, .site-nav a.active { color: var(--coral-d); }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--coral); }
.has-sub { position: relative; }
.has-sub > a::before { content: "▾"; position: absolute; right: -14px; font-size: .75rem; top: 9px; }
.has-sub > a { margin-right: 12px; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 240px; background: #fff; list-style: none; border-radius: 16px; padding: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 8px 12px; border-radius: 10px; font-weight: 600; }
.sub a:hover { background: var(--cream); color: var(--coral-d); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.nav-toggle span { display: block; height: 3px; background: var(--plum); border-radius: 3px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero { padding: 64px 0 100px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.7rem); margin: 18px 0; }
.hero h1 span, .accent { color: var(--coral); }
.hero p { font-size: 1.2rem; color: var(--muted); margin-bottom: 30px; }
.ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.trust { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; list-style: none; }
.trust li, .checks li { font-weight: 700; color: var(--plum); display: flex; align-items: center; gap: 8px; }
.trust li::before, .checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: -24px -24px 30px 40px; background: var(--sky); border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%; z-index: -1; }
.hero-photo img { border-radius: 36px; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); border: 8px solid #fff; }
.hero-photo .float { position: absolute; background: #fff; border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow); font-weight: 800; color: var(--plum); display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.hero-photo .float small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; }
.float .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.float-1 { left: -26px; bottom: 34px; }
.float-2 { right: -14px; top: 26px; }
.deco-star { position: absolute; width: 46px; z-index: 1; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 70px 0 80px; position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.2rem); margin: 14px 0; }
.page-hero p { color: var(--muted); font-size: 1.15rem; }
.page-hero .photo img { border-radius: 32px; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid #fff; box-shadow: var(--shadow); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.breadcrumb a { color: var(--teal-d); font-weight: 700; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 30px 26px; transition: .25s; }
.section-white .card { background: var(--cream); }
.card.on-white { background: #fff; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ic { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.7rem; }
.card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .98rem; }
.bg-coral-l { background: var(--coral-l); } .bg-teal-l { background: var(--teal-l); }
.bg-sun-l { background: var(--sun-l); } .bg-plum-l { background: var(--plum-l); }

/* Service photo cards */
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 20px rgba(59, 46, 90, .06); transition: .25s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.svc-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; border-top: 6px solid var(--accent, var(--coral)); }
.svc-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.svc-card p { color: var(--muted); flex: 1; }
.svc-card .more { margin-top: 14px; font-weight: 800; color: var(--accent, var(--coral)); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-img { order: 2; }
.split-img { position: relative; }
.split-img img { border-radius: 32px; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split-img::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 30px; background: var(--sun); right: -18px; bottom: -18px; z-index: -1; transform: rotate(8deg); }
.split.reverse .split-img::after { left: -18px; right: auto; background: var(--teal-l); transform: rotate(-8deg); }
.split h2 { font-size: clamp(1.9rem, 3.5vw, 2.4rem); margin: 14px 0; }
.split p { color: var(--muted); margin-bottom: 14px; }
.checks { list-style: none; display: grid; gap: 10px; margin: 18px 0 26px; }
.checks li { font-weight: 600; color: var(--ink); align-items: flex-start; }
.checks li::before { margin-top: 2px; }

/* ---------- Small steps banner ---------- */
.steps-banner { position: relative; border-radius: 40px; overflow: hidden; min-height: 360px; display: flex; align-items: center; }
.steps-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(59, 46, 90, .94) 0%, rgba(59, 46, 90, .8) 45%, rgba(59, 46, 90, 0) 75%); z-index: 1; }
.steps-banner .content { position: relative; z-index: 2; padding: 50px 56px; max-width: 560px; color: #fff; }
.steps-banner h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 14px 0; }
.steps-banner h2 span { color: var(--sun); }
.steps-banner p { opacity: .92; margin-bottom: 24px; }

/* ---------- Journey steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 34px 22px 26px; position: relative; border: 3px dashed var(--sky); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -21px; left: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; font-family: 'Baloo 2'; font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; }
.step:nth-child(2)::before { background: var(--coral); }
.step:nth-child(3)::before { background: #E9A800; }
.step:nth-child(4)::before { background: var(--plum); }
.step h3 { font-size: 1.2rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Insurance ---------- */
.insurance { background: var(--teal); color: #fff; }
.insurance .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.insurance h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.6rem); margin: 14px 0; }
.insurance p { opacity: .94; font-size: 1.08rem; margin-bottom: 12px; }
.ins-cards { display: grid; gap: 20px; }
.ins { background: #fff; color: var(--plum); border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; gap: 20px; box-shadow: 0 10px 0 var(--teal-d); }
.ins.light-shadow { box-shadow: 0 10px 0 var(--sky); }
.ins .badge { background: var(--sun); border-radius: 16px; width: 58px; height: 58px; display: grid; place-items: center; flex: none; font-size: 1.6rem; }
.ins h3 { font-size: 1.7rem; }
.ins span { font-weight: 800; color: var(--teal-d); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.tcard { background: #fff; border-radius: var(--radius); padding: 30px; }
.tcard .q { font-family: 'Baloo 2'; font-size: 4rem; color: var(--coral); line-height: .6; height: 30px; }
.tcard p { margin-bottom: 18px; }
.tcard .who { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.tcard .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: 'Baloo 2'; font-weight: 800; }
.stars { color: #E9A800; letter-spacing: 2px; }
.note { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 18px; }

/* ---------- Services page detail blocks ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.svc-nav a { background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; border: 2px solid var(--line); }
.svc-nav a:hover { border-color: var(--coral); color: var(--coral-d); }
.svc-detail { padding: 70px 0; }
.svc-detail:nth-of-type(even) { background: #fff; }
.who-for { background: var(--cream); border-radius: 18px; padding: 16px 20px; font-size: .96rem; margin-bottom: 20px; }
.svc-detail:nth-of-type(odd) .who-for { background: #fff; }
.who-for strong { color: var(--plum); }

/* ---------- Careers ---------- */
.roles { display: grid; gap: 16px; }
.role { background: #fff; border-radius: 20px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-left: 6px solid var(--accent, var(--coral)); }
.role h3 { font-size: 1.25rem; }
.role .meta { color: var(--muted); font-size: .92rem; }
.pill { display: inline-block; background: var(--teal-l); color: var(--teal-d); font-weight: 800; font-size: .8rem; padding: 3px 12px; border-radius: 999px; margin-right: 6px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-group h2 { font-size: 1.6rem; margin: 40px 0 16px; }
details { background: #fff; border-radius: 18px; padding: 20px 24px; border: 2px solid transparent; transition: .2s; }
details[open] { border-color: var(--sky); }
summary { font-weight: 800; font-size: 1.08rem; color: var(--plum); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--coral-l); color: var(--coral-d); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; background: var(--coral); color: #fff; }
details p, details ul { color: var(--muted); margin-top: 12px; }
details ul { padding-left: 20px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 700; font-size: .92rem; color: var(--plum); }
label .opt { font-weight: 600; color: var(--muted); }
input, select, textarea { display: block; margin-top: 6px; width: 100%; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--line); font-family: inherit; font-size: 1rem; background: var(--cream); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-hint { font-size: .85rem; color: var(--muted); }
.form-status { display: none; padding: 14px 18px; border-radius: 14px; background: var(--teal-l); color: var(--teal-d); font-weight: 700; }
.form-status.show { display: block; }
.info-item { display: flex; gap: 14px; margin: 18px 0; align-items: flex-start; }
.info-item .ic { width: 50px; height: 50px; border-radius: 16px; background: var(--sky); display: grid; place-items: center; flex: none; font-size: 1.3rem; }
.info-item strong { color: var(--plum); }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 48px; }
.prose h2 { font-size: 1.6rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; }
.prose ul { padding-left: 22px; }
.callout { background: var(--sun-l); border-radius: 16px; padding: 16px 20px; color: var(--plum); font-weight: 600; margin-bottom: 20px; }

/* ---------- CTA band & footer ---------- */
.cta-band { padding: 30px 0 90px; }
.cta-box { background: var(--plum); border-radius: 40px; padding: 54px 60px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; color: #fff; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 200, 69, .16); right: -60px; top: -80px; }
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.cta-box p { opacity: .9; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.site-footer { background: var(--plum); color: #D9D3EA; padding: 64px 0 24px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.fgrid img { height: 62px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1.15rem; }
.site-footer ul { list-style: none; display: grid; gap: 7px; }
.site-footer a:hover { color: var(--sun); }
.copy { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 40px; padding-top: 20px; font-size: .88rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch; padding: 100px 28px 30px; gap: 18px; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  .site-nav.open { transform: none; }
  .site-nav > ul { flex-direction: column; gap: 4px; }
  .site-nav > ul > li > a { display: block; padding: 10px 0; font-size: 1.1rem; }
  .site-nav a.active::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; }
  .has-sub > a::before { display: none; }
  .nav-toggle { position: relative; z-index: 60; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 960px) {
  .hero .wrap, .page-hero .wrap, .split, .insurance .wrap, .cta-box { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .cta-actions { justify-content: flex-start; }
  .hero-photo { margin: 10px 20px 0; }
  .steps-banner::before { background: rgba(59, 46, 90, .85); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .row-2, .fgrid { grid-template-columns: 1fr; }
  .steps { gap: 34px; }
  .logo img { height: 56px; }
  .site-header .wrap { height: 80px; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .cta-box, .prose, .form-card { padding: 32px 24px; }
  .steps-banner .content { padding: 36px 28px; }
  .hero-photo .float { display: none; }
  .rounded-top { border-radius: 36px 36px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Service detail pages ---------- */
.svc-layout { display: grid; grid-template-columns: 1fr 330px; gap: 50px; align-items: start; }
.svc-content h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 0 0 14px; }
.svc-content h2:not(:first-child) { margin-top: 44px; }
.svc-content > p { color: var(--muted); margin-bottom: 14px; }
.svc-content .grid-2 { margin-top: 10px; }
.svc-content .card { padding: 24px 22px; }
.svc-content .card h3 { font-size: 1.15rem; }
.svc-content .figure { margin: 30px 0 10px; }
.svc-content .figure img { border-radius: 28px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.svc-menu { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: 0 6px 20px rgba(59, 46, 90, .06); }
.svc-menu h3, .svc-help h3 { font-size: 1.3rem; margin-bottom: 12px; }
.svc-menu ul { list-style: none; display: grid; gap: 4px; }
.svc-menu ul a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-weight: 700; }
.svc-menu ul a:hover { background: var(--cream); }
.svc-menu ul a.active { background: var(--plum); color: #fff; }
.svc-menu .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.svc-menu .all { display: block; margin-top: 12px; padding: 0 12px; color: var(--teal-d); font-weight: 800; }
.svc-help { background: var(--plum); color: #E5DFF3; border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 12px; justify-items: start; }
.svc-help h3 { color: #fff; margin: 0; }
.svc-help .text-link { color: var(--sun); }
.grid-4 .svc-card h3 { font-size: 1.2rem; }
.grid-4 .svc-card p { font-size: .95rem; }
.svc-card.help-card { background: var(--plum); color: #fff; padding: 30px 26px; justify-content: center; gap: 14px; }
.svc-card.help-card h3 { color: #fff; }
.svc-card.help-card p { color: #E5DFF3; flex: 0; }

/* ---------- Insurance graphic ---------- */
.ins-graphic { background: #fff; border-radius: 36px; padding: 36px; box-shadow: var(--shadow); position: relative; display: grid; gap: 18px; }
.ins-graphic::before { content: ""; position: absolute; inset: 24px -20px -20px 24px; background: var(--sky); border-radius: 36px; z-index: -1; }
.ins-graphic h3 { font-size: 1.1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; font-family: 'Nunito'; }
.ins-graphic .ins { box-shadow: none; background: var(--cream); }
.ins-graphic .foot { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--plum); }

/* ---------- Careers job cards ---------- */
.job { background: #fff; border-radius: 28px; padding: 36px; border-top: 8px solid var(--accent, var(--coral)); box-shadow: 0 6px 20px rgba(59, 46, 90, .06); }
.job + .job { margin-top: 30px; }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.job h2 { font-size: 1.7rem; margin-bottom: 6px; }
.job .summary { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; }
.job h3 { font-size: 1.15rem; margin-bottom: 10px; }
.job .checks { margin: 0; gap: 8px; }
.job .checks li { font-size: .97rem; }

/* ---------- Forms (live) ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.error { background: var(--coral-l); color: var(--coral-d); }
button[disabled] { opacity: .7; cursor: wait; }

@media (max-width: 1080px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
}

/* ---------- Photo gallery (home) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery figure { position: relative; border-radius: 24px; overflow: hidden; margin: 0; }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--plum); color: #fff; font-weight: 800; font-size: .88rem; padding: 6px 14px; border-radius: 999px; }

/* ---------- Steps with photos ---------- */
.step .step-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }

/* ---------- Team cards with photos ---------- */
.photo-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.photo-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-card .body { padding: 24px 26px 28px; }
.photo-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.photo-card p { color: var(--muted); font-size: .97rem; }

/* ---------- Wide image banner ---------- */
.img-banner { position: relative; border-radius: 40px; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; }
.img-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(59, 46, 90, .85) 0%, rgba(59, 46, 90, .15) 60%); z-index: 1; }
.img-banner .content { position: relative; z-index: 2; padding: 40px 48px; color: #fff; max-width: 720px; }
.img-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 8px; }
.img-banner p { opacity: .92; }

@media (max-width: 960px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  .gallery { grid-auto-rows: 140px; gap: 10px; }
  .img-banner .content { padding: 28px 24px; }
}
.svc-content .grid-2.figure img { aspect-ratio: 4 / 3; }
