/* ==========================================================================
   School Drive — public site v2 ("SaaS limpio")
   Design layer loaded AFTER the purchased theme (style.css / responsive.css)
   only when APP::frontV2() is on (body.sd-v2). Builder content in the DB is
   not touched: every block is restyled through its existing classes.
   ========================================================================== */

:root {
  --sf-g50: #eef6f0; --sf-g100: #d9ecdf; --sf-g200: #b6d9c0; --sf-g400: #75b383;
  --sf-g500: #5a9e6e; --sf-g600: #478857; --sf-g700: #396e47; --sf-g800: #2f5739;
  --sf-teal: #317589; --sf-teal-50: #e5f0f2; --sf-teal-300: #7fb0bc;
  --sf-navy: #1d2a60; --sf-navy-900: #0b1533; --sf-navy-950: #070d22;
  --sf-amber: #ffc329; --sf-coral: #f0346e;
  --sf-ink: #17223a; --sf-body: #4a5563; --sf-muted: #6b7680; --sf-faint: #97a1a9;
  --sf-line: #e3e9e5; --sf-bg: #ffffff; --sf-soft: #f5f8f6; --sf-soft-2: #eef3ef;
  --sf-radius: 20px; --sf-radius-sm: 12px; --sf-radius-lg: 28px;
  --sf-shadow-sm: 0 1px 2px rgba(15, 25, 45, .05), 0 2px 8px rgba(15, 25, 45, .05);
  --sf-shadow-md: 0 12px 32px -12px rgba(12, 21, 51, .18);
  --sf-shadow-lg: 0 30px 60px -20px rgba(7, 13, 34, .35);
  --sf-font: 'Epilogue', 'Segoe UI', system-ui, sans-serif;
  --sf-header-h: 76px;
}

/* ---------- Base ---------- */
body.sd-v2 { font-family: var(--sf-font); color: var(--sf-body); background: var(--sf-bg); -webkit-font-smoothing: antialiased; }
body.sd-v2 p { font-size: 1.0625rem; line-height: 1.7; color: var(--sf-body); }
body.sd-v2 h1, body.sd-v2 h2, body.sd-v2 h3, body.sd-v2 h4, body.sd-v2 h5, body.sd-v2 h6 { font-family: var(--sf-font); color: var(--sf-ink); letter-spacing: -.02em; }
body.sd-v2 h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.06; font-weight: 800; }
body.sd-v2 h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); line-height: 1.15; font-weight: 800; }
body.sd-v2 h3 { font-size: 1.45rem; line-height: 1.3; font-weight: 700; }
body.sd-v2 h4 { font-size: 1.2rem; line-height: 1.35; font-weight: 700; }
body.sd-v2 h5 { font-size: 1.075rem; line-height: 1.45; font-weight: 700; }
body.sd-v2 a { transition: color .15s; }
body.sd-v2 ::selection { background: var(--sf-g200); color: var(--sf-ink); }
body.sd-v2 .container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
body.sd-v2 .gap { padding: clamp(64px, 8vw, 104px) 0; }
body.sd-v2 .gap.no-top { padding-top: 0; }
body.sd-v2 .gap.no-bottom { padding-bottom: 0; }

/* Purchased-theme decorations that clash with the clean look */
body.sd-v2 .preloader,
body.sd-v2 #progress,
body.sd-v2 img.dots-shaps,
body.sd-v2 img.shaps-1,
body.sd-v2 .shaps-hero,
body.sd-v2 .heading > img,
body.sd-v2 .hero-section-one .bottom { display: none !important; }
body.sd-v2 .hero-section-one:before, body.sd-v2 .hero-section-one:after,
body.sd-v2 .bannr:before, body.sd-v2 .intelligent:before,
body.sd-v2 .screenshots-slider:before { content: none !important; display: none !important; }

/* Google Translate floating switcher → moved into the v2 header */
body.sd-v2 .sd-gt-float { display: none !important; }
/* legal pages (CMS): the document name is the H1, styled as the eyebrow (h6) it replaced */
.heading h1.sd-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin: 0 0 18px; border-radius: 999px; background: #eef6f0;
    color: #396e47; font: 700 12.48px/12.48px Epilogue, 'Segoe UI', system-ui, sans-serif; letter-spacing: .9984px; text-transform: uppercase; }

/* ---------- Buttons ---------- */
body.sd-v2 .btn, body.sd-v2 a.btn, body.sd-v2 button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: auto; padding: 14px 26px; border: 1px solid transparent; border-radius: var(--sf-radius-sm);
  background: var(--sf-g600); background-image: none; color: #fff !important;
  font-family: var(--sf-font); font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  text-transform: none; box-shadow: 0 8px 20px -8px rgba(71, 136, 87, .55); transition: background .15s, transform .15s, box-shadow .15s;
}
body.sd-v2 .btn:hover, body.sd-v2 a.btn:hover { background: var(--sf-g700); color: #fff !important; transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(71, 136, 87, .6); }
body.sd-v2 .btn:focus-visible { outline: 3px solid var(--sf-g200); outline-offset: 2px; }

/* ---------- Section heading (eyebrow + title) ---------- */
body.sd-v2 .heading { width: 100%; max-width: 760px; padding-bottom: clamp(36px, 5vw, 56px); }
body.sd-v2 .heading h6, body.sd-v2 .sf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 18px;
  background: var(--sf-g50); color: var(--sf-g700); border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
body.sd-v2 .heading h2 { font-weight: 800; }
body.sd-v2 .heading p { margin-top: 14px; }
body.sd-v2 .heading.two { max-width: none; text-align: left; }

/* ---------- Owl carousel dots / nav ---------- */
body.sd-v2 .owl-theme .owl-dots { margin-top: 28px !important; }
body.sd-v2 .owl-theme .owl-dots .owl-dot span,
body.sd-v2 .owl-dots button.owl-dot { width: 8px; height: 8px; margin: 4px; background: var(--sf-line); border-radius: 999px; transition: width .2s, background .2s; }
body.sd-v2 .owl-theme .owl-dots .owl-dot.active span,
body.sd-v2 .owl-dots button.owl-dot.active { width: 24px; background: var(--sf-g600); }
body.sd-v2 .owl-dots button.owl-dot span { display: none; }

/* ==========================================================================
   Header v2 (headers/header_v2.html.twig)
   ========================================================================== */
.sdh { position: sticky; top: 0; z-index: 1000; height: var(--sf-header-h); background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.sdh.is-scrolled { border-bottom-color: var(--sf-line); box-shadow: 0 6px 24px -18px rgba(12, 21, 51, .35); }
.sdh-inner { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.sdh-logo { display: flex; align-items: center; flex: none; }
.sdh-logo img { height: 44px; width: auto; display: block; }
.sdh-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto 0 4px; padding: 0; list-style: none; }
.sdh-nav a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--sf-body) !important; font-size: .95rem; font-weight: 600; text-transform: none; white-space: nowrap; }
.sdh-nav a:hover { color: var(--sf-ink) !important; background: var(--sf-soft); }
.sdh-nav a.is-active { color: var(--sf-g700) !important; background: var(--sf-g50); }
.sdh-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.sdh-lang { appearance: none; -webkit-appearance: none; border: 1px solid var(--sf-line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236b7680' stroke-width='2'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 10px center;
  border-radius: 10px; padding: 8px 30px 8px 12px; font-family: var(--sf-font); font-size: .85rem; font-weight: 600; color: var(--sf-body); cursor: pointer; }
.sdh-actions > .sdh-lang { width: 64px; padding-left: 12px; padding-right: 26px; }
.sdh-login { padding: 10px 12px; border-radius: 10px; color: var(--sf-ink) !important; font-weight: 700; font-size: .95rem; }
.sdh-login:hover { background: var(--sf-soft); }
body.sd-v2 .sdh-cta.btn { padding: 11px 18px; font-size: .95rem; }
/* 1281-1440 px: with Instituciones + Iniciar sesion the header gets tight */
@media (max-width: 1440px) {
  .sdh-nav a { padding: 8px 7px; font-size: .92rem; }
  .sdh-actions { gap: 6px; }
  .sdh-login { padding: 10px 8px; }
  body.sd-v2 .sdh-cta.btn { padding: 11px 14px; }
}
.sdh-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--sf-line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; color: var(--sf-ink); }
.sdh-drawer { display: none; }

@media (max-width: 1280px) {
  .sdh-nav, .sdh-login, .sdh-actions .sdh-lang { display: none; }
  .sdh-burger { display: inline-flex; }
  .sdh-actions { margin-left: auto; }
  .sdh-drawer { display: block; position: fixed; inset: var(--sf-header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--sf-line);
    box-shadow: var(--sf-shadow-md); padding: 12px 20px 22px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - var(--sf-header-h)); overflow-y: auto; }
  .sdh.is-open .sdh-drawer { transform: none; opacity: 1; visibility: visible; }
  .sdh-drawer ul { list-style: none; margin: 0; padding: 0; }
  .sdh-drawer li a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--sf-soft-2); color: var(--sf-ink) !important; font-weight: 600; font-size: 1.05rem; }
  .sdh-drawer-foot { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
  .sdh-drawer-foot .sdh-lang { display: inline-block; }
}
@media (max-width: 520px) {
  body.sd-v2 .sdh-cta.btn { display: none; }
  .sdh-logo img { height: 38px; }
}

/* ==========================================================================
   Hero (.hero-section-one)
   ========================================================================== */
body.sd-v2 .hero-section-one {
  position: relative; overflow: hidden; margin-top: 0; padding: clamp(72px, 9vw, 120px) 0 clamp(72px, 9vw, 112px);
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(117, 179, 131, .35) 0%, rgba(117, 179, 131, 0) 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(49, 117, 137, .55) 0%, rgba(49, 117, 137, 0) 60%),
    linear-gradient(135deg, #2a6b7e 0%, var(--sf-navy) 55%, var(--sf-navy-900) 100%);
}
body.sd-v2 .hero-section-one .row { row-gap: 48px; }
body.sd-v2 .hero-one-text h4 {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .02em;
}
body.sd-v2 .hero-one-text h4:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sf-g400); box-shadow: 0 0 0 4px rgba(117, 179, 131, .25); }
body.sd-v2 .hero-one-text h1 { color: #fff; max-width: 15ch; }
body.sd-v2 .hero-one-text h5 { color: rgba(255, 255, 255, .8); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; font-weight: 400; padding: 22px 0 34px; max-width: 34rem; }
body.sd-v2 .hero-one-text .btn { margin: 0 10px 10px 0; }
body.sd-v2 .hero-one-text .btn + .btn, body.sd-v2 .hero-one-text .btn.two {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); box-shadow: none; }
body.sd-v2 .hero-one-text .btn + .btn:hover { background: rgba(255, 255, 255, .16); }

/* Right column: the builder's astronaut illustrations become an app mockup duo */
body.sd-v2 .hero-one-img { position: relative; min-height: 460px; }
body.sd-v2 .hero-one-img img { display: none !important; }
body.sd-v2 .hero-one-img:before, body.sd-v2 .hero-one-img:after {
  content: ""; position: absolute; width: 230px; aspect-ratio: 9 / 19.5; border-radius: 34px; background-color: #0b1533;
  background-size: cover; background-position: top center; border: 7px solid #0b1533; box-shadow: var(--sf-shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08);
}
body.sd-v2 .hero-one-img:before { background-image: url('/uploads/img/route.png'); right: 4%; top: 0; transform: rotate(6deg); animation: sf-float 7s ease-in-out infinite; }
body.sd-v2 .hero-one-img:after { background-image: url('/uploads/img/home.png'); right: 40%; top: 40px; transform: rotate(-5deg); animation: sf-float 7s ease-in-out -3.5s infinite; }
@keyframes sf-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { body.sd-v2 .hero-one-img:before, body.sd-v2 .hero-one-img:after { animation: none; } }
@media (max-width: 991px) {
  body.sd-v2 .hero-one-img { min-height: 400px; max-width: 460px; margin: 0 auto; }
  body.sd-v2 .hero-one-img:before, body.sd-v2 .hero-one-img:after { width: 190px; }
}

/* Simple page banner used by some pages */
body.sd-v2 .bannr { padding: clamp(56px, 7vw, 88px) 0; background: linear-gradient(135deg, #2a6b7e 0%, var(--sf-navy) 60%, var(--sf-navy-900) 100%); }
body.sd-v2 .bannr-text h2 { color: #fff; }
body.sd-v2 .bannr-text p { color: rgba(255, 255, 255, .78); }

/* ==========================================================================
   Cards: services / solutions / steps / propel
   ========================================================================== */
body.sd-v2 .services-slider .owl-stage { display: flex; }
body.sd-v2 .services-slider .owl-item { display: flex; }
body.sd-v2 .services-slider .owl-item > .item { width: 100%; padding: 10px 2px 18px; }
body.sd-v2 .services, body.sd-v2 .solutions {
  position: relative; height: 100%; padding: 30px 28px; margin: 0; text-align: left;
  background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); box-shadow: var(--sf-shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
body.sd-v2 .services:hover, body.sd-v2 .solutions:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow-md); border-color: var(--sf-g200); }
body.sd-v2 .services i, body.sd-v2 .solutions i {
  position: static; width: 64px; height: 64px; margin: 0 0 22px; border-radius: 16px; background: var(--sf-g50); background-image: none;
  display: flex; align-items: center; justify-content: center; border: none; box-shadow: none; }
body.sd-v2 .services i:before, body.sd-v2 .services i:after, body.sd-v2 .solutions i:before, body.sd-v2 .solutions i:after { content: none; display: none; }
body.sd-v2 .services i svg, body.sd-v2 .solutions i svg { width: 34px !important; height: 34px !important; fill: var(--sf-g700); }
body.sd-v2 .services i svg path, body.sd-v2 .solutions i svg path { fill: inherit; }
body.sd-v2 .services-slider .owl-item .services, body.sd-v2 .services-slider .owl-item.center .services { margin-top: 0; }
body.sd-v2 .services-slider .owl-item.center .services:not(:hover) { border-color: var(--sf-line); }
/* builder inline textures (style="background-image:...") -> flat soft sections */
body.sd-v2 section.gap[style*="background"] { background-image: none !important; background-color: var(--sf-soft) !important; }
body.sd-v2 .blog-section { background-color: var(--sf-soft); }
body.sd-v2 .services i img, body.sd-v2 .solutions i img { width: 30px; height: 30px; object-fit: contain; }
body.sd-v2 .services a, body.sd-v2 .solutions a { display: block; color: var(--sf-ink); font-size: 1.2rem; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 10px; padding: 0; }
body.sd-v2 .services a:hover, body.sd-v2 .solutions a:hover { color: var(--sf-g700); }
body.sd-v2 .services p, body.sd-v2 .solutions p { font-size: 1rem; line-height: 1.65; color: var(--sf-muted); padding: 0; }
body.sd-v2 .rtl .services, body.sd-v2.rtl .services { text-align: left; }
body.sd-v2.rtl .heading.two { text-align: left; }

body.sd-v2 .solutions.two i { background: var(--sf-teal-50); }
body.sd-v2 .solutions.two i svg { fill: var(--sf-teal); }
body.sd-v2 .solutions.three i { background: #fdf3e2; }
body.sd-v2 .solutions.three i svg { fill: #b7800f; }
body.sd-v2 .solutions.for i { background: #fde8ee; }
body.sd-v2 .solutions.for i svg { fill: none; stroke: var(--sf-coral); stroke-width: 2.4; }
body.sd-v2 .solutions.for i svg * { stroke: inherit; }
body.sd-v2 .blog-section .row { row-gap: 24px; }
body.sd-v2 .blog-section .col-lg-4 > .keditable { display: flex; flex-direction: column; gap: 24px; height: 100%; }
body.sd-v2 .blog-section .solutions { margin: 0 !important; flex: 1; }
body.sd-v2 .solutions-img { margin: 0; border-radius: var(--sf-radius); overflow: hidden; background: #fff; border: 1px solid var(--sf-line); box-shadow: var(--sf-shadow-sm); padding: 0; }
body.sd-v2 .solutions-img img { display: block; width: 100%; height: auto; }

/* Steps: numbered cards in a responsive grid */
body.sd-v2 .steps-run { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; counter-reset: sf-step; }
body.sd-v2 .steps {
  counter-increment: sf-step; position: relative; width: auto; margin: 0; padding: 28px 24px 26px; text-align: left;
  background: var(--sf-soft); border: 1px solid var(--sf-soft-2); border-radius: var(--sf-radius); transition: background .2s, box-shadow .2s, transform .2s; }
body.sd-v2 .steps:hover { background: #fff; box-shadow: var(--sf-shadow-md); transform: translateY(-3px); }
body.sd-v2 .steps:before { content: counter(sf-step, decimal-leading-zero); position: absolute; top: 22px; right: 22px; font-size: .85rem; font-weight: 800; color: var(--sf-g500); letter-spacing: .04em; }
body.sd-v2 .steps span { display: none; }
body.sd-v2 .steps i { width: 64px; height: 64px; margin: 0 0 18px; border-radius: 18px; background: #fff; box-shadow: var(--sf-shadow-sm); display: flex; align-items: center; justify-content: center; }
body.sd-v2 .steps i:before, body.sd-v2 .steps i:after { content: none; }
body.sd-v2 .steps img { max-width: 40px; max-height: 40px; object-fit: contain; }
body.sd-v2 .steps:hover img { transform: none; }
body.sd-v2 .steps h4 { padding: 0 0 8px; font-size: 1.08rem; line-height: 1.35; }
body.sd-v2 .steps p { font-size: .95rem; line-height: 1.6; color: var(--sf-muted); }
@media (max-width: 991px) { body.sd-v2 .steps-run { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body.sd-v2 .steps-run { grid-template-columns: 1fr; } }

/* About: propel list */
body.sd-v2 .propel-img img { border-radius: var(--sf-radius-lg); box-shadow: var(--sf-shadow-md); }
body.sd-v2 .propel-text > p { margin-bottom: 18px; font-weight: 600; color: var(--sf-ink); }
body.sd-v2 .propel { display: flex; gap: 16px; align-items: flex-start; padding: 18px; margin-bottom: 12px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; }
body.sd-v2 .propel i, body.sd-v2 .propel > div:first-child { flex: none; }
body.sd-v2 .propel img { width: 44px; height: 44px; object-fit: contain; }
body.sd-v2 .propel h5 { margin-bottom: 4px; }
body.sd-v2 .propel p { font-size: .97rem; color: var(--sf-muted); }

/* ==========================================================================
   Intelligent (text + image + video)
   ========================================================================== */
body.sd-v2 .intelligent h2 { padding-bottom: 32px; }
body.sd-v2 .intelligent > img:not(.dots-shaps):not(.shaps-1) { border-radius: var(--sf-radius-lg); background: var(--sf-g50); padding: 24px; box-shadow: none; }
body.sd-v2 .intelligent-text > p { margin-bottom: 26px; }
body.sd-v2 .intelligent-text .row { row-gap: 16px; margin-bottom: 26px; }
body.sd-v2 .intelligent-text .row > div > * { height: 100%; }
body.sd-v2 .intelligent-text h4 { font-size: 1.1rem; }
body.sd-v2 .intelligent-text .video { border-radius: var(--sf-radius); overflow: hidden; box-shadow: var(--sf-shadow-md); }
body.sd-v2 .intelligent-text .video img { width: 100%; display: block; }
body.sd-v2 .video a { z-index: 2; }

/* ==========================================================================
   Screenshots slider
   ========================================================================== */
body.sd-v2 .screenshots-slider { width: 100%; }
body.sd-v2 .screenshots-slider .owl-item { margin: 20px 0 30px; }
body.sd-v2 .screenshots-slider .item img { border: 6px solid var(--sf-navy-900); border-radius: 34px; box-shadow: var(--sf-shadow-md); max-width: 250px; }
body.sd-v2 .screenshots-slider .owl-item.active.center img { transform: scale(1.05); }
body.sd-v2 .screenshots-slider .owl-nav i { background: #fff !important; color: var(--sf-ink); border: 1px solid var(--sf-line); box-shadow: var(--sf-shadow-sm); }

/* ==========================================================================
   Client reviews
   ========================================================================== */
body.sd-v2 .client-reviews { background: var(--sf-soft); }
body.sd-v2 .client-reviews [class^="quote-"], body.sd-v2 .client-reviews [class*=" quote-"] { display: none !important; }
body.sd-v2 .client { max-width: 860px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); border-radius: var(--sf-radius-lg); background: #fff; border: 1px solid var(--sf-line); box-shadow: var(--sf-shadow-md); text-align: center; }
body.sd-v2 .client-text > i img, body.sd-v2 .client-text > img { width: 48px; height: auto; margin: 0 auto 18px; opacity: .85; }
body.sd-v2 .client-slider .item p, body.sd-v2 .client-slider .item h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.6; color: var(--sf-ink); font-weight: 500; }
body.sd-v2 .client-slider .item h4, body.sd-v2 .client-slider .item h5 { margin-top: 18px; font-size: 1rem; color: var(--sf-ink); }
body.sd-v2 .client-slider .item span, body.sd-v2 .client-slider .item h6 { color: var(--sf-muted); font-size: .9rem; font-weight: 600; }
body.sd-v2 .client-slider .item img { width: 56px !important; height: 56px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }

/* ==========================================================================
   Accordion (about / parents FAQ)
   ========================================================================== */
body.sd-v2 .accordion-item { margin-bottom: 12px; border: 1px solid var(--sf-line); border-radius: 16px !important; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
body.sd-v2 .accordion-item.active { border-color: var(--sf-g200); box-shadow: var(--sf-shadow-sm); }
body.sd-v2 .accordion-item .heading { display: flex; align-items: center; gap: 14px; padding: 18px 20px; width: 100%; max-width: none; text-align: left; cursor: pointer; }
body.sd-v2 .accordion-item .heading .title { font-size: 1.05rem; font-weight: 700; color: var(--sf-ink); line-height: 1.4; }
body.sd-v2 .accordion-item.active .title { color: var(--sf-g700); }
body.sd-v2 .accordion-item .heading .icon { flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--sf-g50); color: var(--sf-g700); display: flex; align-items: center; justify-content: center; order: 2; margin-left: auto; position: static; }
body.sd-v2 .accordion-item .heading .icon:before, body.sd-v2 .accordion-item .heading .icon:after { background-color: var(--sf-g600); }
body.sd-v2 .accordion-item .content { padding: 0 20px 18px; }
body.sd-v2 .accordion-item .content p { font-size: 1rem; color: var(--sf-muted); }
body.sd-v2 .accordio-img-style img.accordio-img-1, body.sd-v2 .accordio-img-style > img:first-child { border-radius: var(--sf-radius-lg); }
body.sd-v2 .accordio-img-style .accordio-img-2 { display: none; }

/* Parents page: download / contact row */
body.sd-v2 .phone { gap: 16px; flex-wrap: wrap; padding: 18px 20px; border: 1px solid var(--sf-line); border-radius: 16px; background: var(--sf-soft); }
body.sd-v2 .phone a:not(.btn) { color: var(--sf-ink); font-weight: 700; }

/* ==========================================================================
   Contact page
   ========================================================================== */
body.sd-v2 .meet-section-before, body.sd-v2 .meet-section .container { position: relative; }
body.sd-v2 .meet-section .pl-80 { padding-left: 0 !important; }
body.sd-v2 .meet-section .pt-80 { padding-top: clamp(48px, 6vw, 80px) !important; }
body.sd-v2 .meet-section .row:first-child { row-gap: 20px; }
body.sd-v2 .location { height: 100%; padding: 26px; margin: 0 !important; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); background: #fff; box-shadow: var(--sf-shadow-sm); }
body.sd-v2 .location i { width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: var(--sf-g50); display: flex; align-items: center; justify-content: center; position: static; }
body.sd-v2 .location i svg { width: 24px; height: 24px; fill: var(--sf-g600); }
body.sd-v2 .location h3 { font-size: 1.1rem; margin-bottom: 6px; }
body.sd-v2 .location a, body.sd-v2 .location p { color: var(--sf-muted); font-size: 1rem; word-break: break-word; }
body.sd-v2 .location a:hover { color: var(--sf-g700); }
body.sd-v2 ul.social-icon { display: flex; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
body.sd-v2 ul.social-icon a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--sf-line); display: flex; align-items: center; justify-content: center; color: var(--sf-ink); background: #fff; }
body.sd-v2 ul.social-icon a:hover { border-color: var(--sf-g400); color: var(--sf-g700); }

body.sd-v2 form.content-form { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--sf-line); border-radius: var(--sf-radius-lg); background: #fff; box-shadow: var(--sf-shadow-md); }
body.sd-v2 form.content-form input, body.sd-v2 form.content-form textarea,
body.sd-v2 .sf-input {
  width: 100%; height: auto; margin: 0 0 14px; padding: 13px 16px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-sm);
  background: var(--sf-soft); font-family: var(--sf-font); font-size: 1rem; color: var(--sf-ink); outline: none; box-shadow: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
body.sd-v2 form.content-form textarea { min-height: 140px; resize: vertical; }
body.sd-v2 form.content-form input:focus, body.sd-v2 form.content-form textarea:focus, body.sd-v2 .sf-input:focus { border-color: var(--sf-g400); background: #fff; box-shadow: 0 0 0 4px rgba(117, 179, 131, .2); }
body.sd-v2 form.content-form .btn { width: 100%; margin-top: 4px; }

body.sd-v2 .trusted-by { text-align: center; }
body.sd-v2 .partner img { max-height: 64px; width: auto !important; margin: 0 auto; filter: grayscale(1); opacity: .7; transition: .2s; border-radius: 12px; }
body.sd-v2 .partner img:hover { filter: none; opacity: 1; }

/* ==========================================================================
   Pricing
   ========================================================================== */
body.sd-v2 .together h2 { margin-bottom: 14px; }
body.sd-v2 ul.list { list-style: none; padding: 0; margin: 22px 0 28px; }
body.sd-v2 ul.list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 1rem; color: var(--sf-body); }
body.sd-v2 ul.list li img { width: 20px; height: 20px; flex: none; margin-top: 2px; order: -1; }
body.sd-v2 .together-img img { border-radius: var(--sf-radius-lg); }
body.sd-v2 .pricing-two { height: 100%; margin-bottom: 24px; padding: 0 0 30px; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-lg); background: #fff; box-shadow: var(--sf-shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .2s; }
body.sd-v2 .pricing-two:before { content: none; display: none; }
body.sd-v2 .pricing-two:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow-md); }
body.sd-v2 .pricing-two:hover ul.list li, body.sd-v2 .pricing-two:hover p { color: var(--sf-body); }
body.sd-v2 .pricing-two .month { padding: 28px 30px 22px; margin: 0 0 20px; background: var(--sf-soft); border-bottom: 1px solid var(--sf-line); text-align: left; }
body.sd-v2 .pricing-two .month h5 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sf-g700); margin-bottom: 10px; }
body.sd-v2 .pricing-two .month h4 { font-size: 2.6rem; font-weight: 800; color: var(--sf-ink); line-height: 1; }
body.sd-v2 .pricing-two .month sub { font-size: .95rem; font-weight: 600; color: var(--sf-muted); bottom: 0; }
body.sd-v2 .pricing-two-text { padding: 0 30px; }
body.sd-v2 .pricing-two-text .btn { width: 100%; }
body.sd-v2 .row > [class*="col-"]:nth-child(2) > .pricing-two { border-color: var(--sf-g400); box-shadow: 0 0 0 1px var(--sf-g400), var(--sf-shadow-md); }
body.sd-v2 .row > [class*="col-"]:nth-child(2) > .pricing-two .month { background: linear-gradient(135deg, #2a6b7e, var(--sf-navy)); }
body.sd-v2 .row > [class*="col-"]:nth-child(2) > .pricing-two .month h4,
body.sd-v2 .row > [class*="col-"]:nth-child(2) > .pricing-two .month sub { color: #fff; }
body.sd-v2 .row > [class*="col-"]:nth-child(2) > .pricing-two .month h5 { color: var(--sf-g200); }

/* ==========================================================================
   Legal pages (terms / privacy)
   ========================================================================== */
body.sd-v2 .tabs-text { max-width: 820px; padding-left: 0; }
body.sd-v2 .tabs-text h4, body.sd-v2 .tabs-text h5 { font-size: 1.3rem; padding: 34px 0 10px; }
body.sd-v2 .tabs-text p, body.sd-v2 .tabs-text li { font-size: 1.02rem; line-height: 1.75; color: var(--sf-body); }
body.sd-v2 .tabs-text ul { padding-left: 22px; margin: 10px 0; list-style: disc; }
body.sd-v2 .tabs-text li { padding: 3px 0; }
body.sd-v2 .tabs-text hr { border-color: var(--sf-line); opacity: 1; }
body.sd-v2 .tabs-text a { color: var(--sf-g700); font-weight: 600; }

/* ==========================================================================
   Footer v2 (footers/footer_v2.html.twig)
   ========================================================================== */
.sdf { background: var(--sf-navy-950); color: rgba(255, 255, 255, .72); padding: clamp(56px, 7vw, 88px) 0 0; position: relative; overflow: hidden; }
.sdf:before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(117, 179, 131, .5), transparent); }
.sdf-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sdf-news { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; margin-bottom: 56px; border-radius: var(--sf-radius-lg);
  background: linear-gradient(135deg, rgba(49, 117, 137, .35), rgba(29, 42, 96, .6)); border: 1px solid rgba(255, 255, 255, .08); }
.sdf-news h3 { color: #fff; font-size: 1.35rem; margin: 0 0 4px; }
.sdf-news p { color: rgba(255, 255, 255, .7) !important; font-size: .98rem !important; margin: 0; }
.sdf-news form { display: flex; gap: 10px; flex: 1; max-width: 460px; min-width: 260px; position: static; }
.sdf-news input[type=email] { flex: 1; min-width: 0; height: auto; padding: 13px 16px; border-radius: var(--sf-radius-sm); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font-family: var(--sf-font); font-size: .98rem; outline: none; }
.sdf-news input[type=email]::placeholder { color: rgba(255, 255, 255, .5); }
.sdf-news input[type=email]:focus { border-color: var(--sf-g400); }
body.sd-v2 .sdf-news button.btn { position: static; height: auto; }
.sdf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.sdf-brand img.sdf-logo { height: 48px; width: auto; margin-bottom: 18px; }
.sdf-brand p { color: rgba(255, 255, 255, .62) !important; font-size: .95rem !important; line-height: 1.65 !important; max-width: 300px; }
.sdf-social { display: flex; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.sdf-social a { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff !important; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.sdf-social a:hover { background: var(--sf-g600); border-color: var(--sf-g600); }
.sdf h4 { color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 6px 0 18px; }
.sdf-links { list-style: none; margin: 0; padding: 0; }
.sdf-links li { padding: 6px 0; }
.sdf-links a, .sdf-contact a { color: rgba(255, 255, 255, .72) !important; font-size: .97rem; font-weight: 500; }
.sdf-links a:hover, .sdf-contact a:hover { color: #fff !important; }
.sdf-contact p { color: rgba(255, 255, 255, .72) !important; font-size: .97rem !important; line-height: 1.6 !important; margin: 0 0 14px; display: flex; gap: 10px; align-items: flex-start; }
.sdf-contact i { color: var(--sf-g400); margin-top: 4px; width: 16px; }
.sdf-seal { display: inline-block; margin-top: 8px; padding: 8px; border-radius: 12px; background: #fff; }
.sdf-seal img { display: block; width: 74px; height: auto; }
.sdf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.sdf-bottom p { color: rgba(255, 255, 255, .55) !important; font-size: .9rem !important; margin: 0; }
.sdf-bottom a { color: rgba(255, 255, 255, .75) !important; }
.sdf-bottom select { appearance: none; -webkit-appearance: none; padding: 8px 30px 8px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-family: var(--sf-font); font-size: .85rem; cursor: pointer;
  background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 10px center; }
.sdf-bottom select option { color: var(--sf-ink); }
@media (max-width: 991px) { .sdf-grid { grid-template-columns: 1fr 1fr; } .sdf-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sdf-grid { grid-template-columns: 1fr; gap: 28px; } .sdf-news { padding: 22px; } .sdf-news form { flex-direction: column; } }

/* ==========================================================================
   Responsive tweaks for theme blocks
   ========================================================================== */
@media (max-width: 991px) {
  body.sd-v2 .hero-one-text { text-align: left; }
  body.sd-v2 .intelligent { margin-bottom: 32px; }
  body.sd-v2 .heading { max-width: 100%; }
}
@media (max-width: 575px) {
  body.sd-v2 .container { padding-left: 18px; padding-right: 18px; }
  body.sd-v2 .hero-one-text .btn { width: 100%; margin-right: 0; }
}

/* ---------- fixes after live review ---------- */
body.sd-v2 .client-text { background: transparent; border-radius: 0; width: auto; height: auto; padding: 0; margin: 0 auto; max-width: 680px; }
body.sd-v2 .client-text > i { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: var(--sf-g50); display: flex; align-items: center; justify-content: center; position: static; }
body.sd-v2 .client-slider .fa-star { color: var(--sf-amber); font-size: .95rem; }
body.sd-v2 .sdf h3, body.sd-v2 .sdf h4 { color: #fff; }
body.sd-v2 .sdf h4 { font-size: .8rem; letter-spacing: .1em; }
body.sd-v2 .propel { display: block; }
body.sd-v2 .propel > .keditable, body.sd-v2 .propel:not(:has(> .keditable)) { display: flex; gap: 16px; align-items: flex-start; }
body.sd-v2 .propel > .keditable > div:last-child { flex: 1; min-width: 0; }
body.sd-v2 .propel p, body.sd-v2 .propel h5 { width: auto; white-space: normal; }
body.sd-v2 .propel i { width: 52px; height: 52px; border-radius: 14px; background: var(--sf-g50); display: flex; align-items: center; justify-content: center; }
body.sd-v2 .propel i img { width: 30px; height: 30px; }
body.sd-v2 .accordion-item .heading .title { text-transform: none; border: 0; padding: 0; margin: 0; }
body.sd-v2 .meet-section-before:before, body.sd-v2 .meet-section-before:after { content: none !important; display: none !important; }
body.sd-v2 .meet-section .heading h6 { color: var(--sf-g700) !important; }
body.sd-v2 .meet-section .heading h2, body.sd-v2 .meet-section h6 { color: var(--sf-ink) !important; }
body.sd-v2 .meet-section .heading p, body.sd-v2 .meet-section p, body.sd-v2 .meet-section p * { color: var(--sf-body) !important; }
body.sd-v2 .meet-section h6:not(.heading h6) { margin-top: 28px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
body.sd-v2 .location i:before, body.sd-v2 .location i:after { content: none !important; display: none !important; }
body.sd-v2 .location i { border: 0; box-shadow: none; }
body.sd-v2 .location i svg g, body.sd-v2 .location i svg path { fill: var(--sf-g600) !important; }
body.sd-v2 .location { text-align: left; }
body.sd-v2 .location i svg { width: 24px !important; height: 24px !important; flex: none; }
body.sd-v2 .pricing-two { background: #fff !important; background-image: none !important; }
body.sd-v2 .pricing-two .month { border-radius: 0 !important; width: auto; box-shadow: none; }
body.sd-v2 .pricing-two .month:before, body.sd-v2 .pricing-two .month:after { content: none !important; display: none !important; }
body.sd-v2 .pricing-two p, body.sd-v2 .pricing-two ul.list li { color: var(--sf-body) !important; }
body.sd-v2 .pricing-two .month h5 { display: block; }
body.sd-v2 .accordion.two .accordion-item { border: 1px solid var(--sf-line) !important; box-shadow: none; padding: 0; }
body.sd-v2 .accordion.two .accordion-item.active { border-color: var(--sf-g200) !important; box-shadow: var(--sf-shadow-sm); }
body.sd-v2 .accordion-item .heading .icon { position: relative !important; transform: none; inset: auto; background: var(--sf-g50) !important; }
body.sd-v2 .accordion.two .accordion-item .heading .title { color: var(--sf-ink); }
body.sd-v2 .accordion.two .accordion-item.active .heading .title { color: var(--sf-g700); }
body.sd-v2 .accordion-item .heading .icon:before, body.sd-v2 .accordion-item .heading .icon:after {
  content: "" !important; position: absolute !important; left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important; margin: 0 !important;
  background: var(--sf-g700) !important; border-radius: 2px; transform: translate(-50%, -50%) !important; transition: height .2s; }
body.sd-v2 .accordion-item .heading .icon:before { width: 12px !important; height: 2px !important; }
body.sd-v2 .accordion-item .heading .icon:after { width: 2px !important; height: 12px !important; }
body.sd-v2 .accordion-item.active .heading .icon:after { height: 0 !important; }
body.sd-v2 .pricing-two { padding-top: 0 !important; margin-top: 0 !important; }
body.sd-v2 .pricing-two .month { position: relative !important; top: 0 !important; left: 0 !important; margin: 0 0 22px !important; transform: none !important; }
body.sd-v2 .location i { margin: 0 0 16px !important; }
body.sd-v2 .bannr { background: radial-gradient(60% 90% at 90% 0%, rgba(117, 179, 131, .3), rgba(117, 179, 131, 0) 60%), linear-gradient(135deg, #2a6b7e 0%, var(--sf-navy) 60%, var(--sf-navy-900) 100%) !important; }
body.sd-v2 .bannr-text h2 { text-transform: none; }
body.sd-v2 .bannr .breadcrumb { margin: 18px 0 0; padding: 0 !important; }
body.sd-v2 .bannr .breadcrumb-item, body.sd-v2 .bannr .breadcrumb-item a, body.sd-v2 .bannr .breadcrumb-item:before { color: rgba(255, 255, 255, .75) !important; font-size: .92rem; }

/* ==========================================================================
   Schools B2B landing (views/front/schools.html.twig) — .sfs-*
   ========================================================================== */
.sfs-draft { position: relative; z-index: 999; background: #fdf3e2; color: #8a5a00; border-bottom: 1px solid #f3dcb0; text-align: center; font: 600 .85rem/1.4 var(--sf-font); padding: 9px 16px; }
.sfs-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sf-g400); box-shadow: 0 0 0 4px rgba(117, 179, 131, .25); }

.sfs-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0;
  background: radial-gradient(55% 70% at 90% 10%, rgba(117, 179, 131, .32), rgba(117, 179, 131, 0) 60%),
              radial-gradient(45% 60% at 0% 100%, rgba(49, 117, 137, .5), rgba(49, 117, 137, 0) 60%),
              linear-gradient(135deg, #2a6b7e 0%, var(--sf-navy) 55%, var(--sf-navy-900) 100%); }
.sfs-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.sfs-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: 22px; }
body.sd-v2 .sfs-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.5rem); max-width: 17ch; }
body.sd-v2 .sfs-hero .sfs-lead { color: rgba(255, 255, 255, .82); font-size: clamp(1.05rem, 1.5vw, 1.18rem); margin: 20px 0 30px; max-width: 36rem; }
.sfs-cta { display: flex; flex-wrap: wrap; gap: 12px; }
body.sd-v2 .sfs-btn-ghost.btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); box-shadow: none; }
body.sd-v2 .sfs-btn-ghost.btn:hover { background: rgba(255, 255, 255, .16); }
.sfs-checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sfs-checks li { position: relative; padding-left: 26px; color: rgba(255, 255, 255, .85); font-size: .95rem; font-weight: 500; }
.sfs-checks li:before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--sf-g500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

.sfs-hero-visual { position: relative; min-height: 420px; }
.sfs-panel { position: relative; z-index: 1; margin-right: 150px; background: #fff; border-radius: 22px; box-shadow: var(--sf-shadow-lg); padding: 20px; }
.sfs-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sfs-panel-title { font-weight: 800; color: var(--sf-ink); letter-spacing: -.01em; }
.sfs-live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--sf-g700); background: var(--sf-g50); padding: 5px 10px; border-radius: 999px; }
.sfs-panel-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.sfs-panel-stats div { background: var(--sf-soft); border-radius: 14px; padding: 12px; }
.sfs-panel-stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--sf-ink); line-height: 1.1; }
.sfs-panel-stats span { font-size: .74rem; color: var(--sf-muted); font-weight: 600; }
.sfs-panel-map { height: 130px; border-radius: 14px; overflow: hidden; margin-bottom: 12px;
  background: repeating-linear-gradient(0deg, #eef3ef 0 1px, transparent 1px 26px), repeating-linear-gradient(90deg, #eef3ef 0 1px, transparent 1px 26px), #f7faf8; }
.sfs-panel-map svg { width: 100%; height: 100%; display: block; }
.sfs-panel-rows div { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--sf-soft-2); font-size: .85rem; }
.sfs-panel-rows b { color: var(--sf-ink); font-weight: 700; }
.sfs-panel-rows em { font-style: normal; color: var(--sf-muted); font-weight: 600; }
.sfs-tagc { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.sfs-ok { background: var(--sf-g50); color: var(--sf-g700); }
.sfs-info { background: var(--sf-teal-50); color: var(--sf-teal); }
.sfs-phone { position: absolute; z-index: 2; right: -6px; bottom: -48px; width: 160px; aspect-ratio: 9 / 19.5; border-radius: 28px; border: 6px solid #0b1533;
  background: #0b1533 url('/uploads/img/route.png') top center / cover; box-shadow: var(--sf-shadow-lg); transform: rotate(5deg); }

.sfs-soft { background: var(--sf-soft); }
body.sd-v2 .container.sfs-narrow { max-width: 860px; }

.sfs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sfs-compare-col { border-radius: var(--sf-radius-lg); padding: clamp(24px, 3vw, 34px); border: 1px solid var(--sf-line); }
.sfs-compare-col h3 { font-size: 1.15rem; margin-bottom: 16px; }
.sfs-compare-col ul { list-style: none; margin: 0; padding: 0; }
.sfs-compare-col li { position: relative; padding: 9px 0 9px 32px; color: var(--sf-body); font-size: 1rem; border-top: 1px solid var(--sf-soft-2); }
.sfs-compare-col li:first-child { border-top: 0; }
.sfs-compare-col li:before { position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.sfs-before { background: #fff; }
.sfs-before li:before { content: "\00d7"; background: #fde8ee; color: var(--sf-coral); }
.sfs-after { background: linear-gradient(160deg, var(--sf-g50), #fff 60%); border-color: var(--sf-g200); }
.sfs-after li:before { content: "\2713"; background: var(--sf-g600); color: #fff; }

.sfs-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sfs-feature { background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius); padding: 28px; box-shadow: var(--sf-shadow-sm); transition: transform .2s, box-shadow .2s; }
.sfs-feature:hover { transform: translateY(-3px); box-shadow: var(--sf-shadow-md); }
.sfs-feature > i { width: 52px; height: 52px; border-radius: 15px; background: var(--sf-g50); color: var(--sf-g700); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 18px; }
.sfs-feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
body.sd-v2 .sfs-feature p { font-size: .98rem; color: var(--sf-muted); }

.sfs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: sfs; }
.sfs-steps li { counter-increment: sfs; position: relative; padding: 64px 22px 24px; border-radius: var(--sf-radius); background: var(--sf-soft); border: 1px solid var(--sf-soft-2); }
.sfs-steps li:before { content: counter(sfs); position: absolute; top: 20px; left: 22px; width: 32px; height: 32px; border-radius: 10px; background: var(--sf-g600); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sfs-steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
body.sd-v2 .sfs-steps p { font-size: .95rem; color: var(--sf-muted); }

.sfs-audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sfs-audience { background: #fff; border: 1px solid var(--sf-line); border-radius: var(--sf-radius-lg); padding: 30px; }
.sfs-aud-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, var(--sf-g500), var(--sf-teal)); }
.sfs-audience h3 { font-size: 1.15rem; margin-bottom: 12px; }
.sfs-audience ul { margin: 0; padding-left: 18px; list-style: disc; color: var(--sf-body); }
.sfs-audience li { padding: 4px 0; font-size: .98rem; }

.sfs-faq details { border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.sfs-faq details[open] { border-color: var(--sf-g200); box-shadow: var(--sf-shadow-sm); }
.sfs-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; position: relative; font-weight: 700; color: var(--sf-ink); font-size: 1.05rem; }
.sfs-faq summary::-webkit-details-marker { display: none; }
.sfs-faq summary:after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 10px; background: var(--sf-g50); color: var(--sf-g700); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sfs-faq details[open] summary { color: var(--sf-g700); }
.sfs-faq details[open] summary:after { content: "\2013"; }
body.sd-v2 .sfs-faq p { padding: 0 20px 18px; color: var(--sf-muted); font-size: 1rem; }

.sfs-demo { padding: clamp(64px, 8vw, 104px) 0; background: radial-gradient(50% 70% at 100% 0%, rgba(117, 179, 131, .25), rgba(117, 179, 131, 0) 60%), linear-gradient(135deg, var(--sf-navy) 0%, var(--sf-navy-950) 100%); }
.sfs-demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
body.sd-v2 .sfs-demo h2 { color: #fff; }
body.sd-v2 .sfs-demo-text > p { color: rgba(255, 255, 255, .78); margin-top: 14px; }
body.sd-v2 .sfs-demo-text .sfs-checks li { color: rgba(255, 255, 255, .85); }
body.sd-v2 .sfs-demo-contact { margin-top: 28px !important; font-size: .95rem; }
.sfs-demo-contact a { color: #fff !important; font-weight: 600; }
.sfs-demo-contact i { color: var(--sf-g400); }
.sfs-form { background: #fff; border-radius: var(--sf-radius-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--sf-shadow-lg); }
.sfs-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.sfs-form label { display: block; font-size: .86rem; font-weight: 700; color: var(--sf-ink); }
body.sd-v2 .sfs-form .sf-input { margin-top: 6px; }
.sfs-full { grid-column: 1 / -1; }
body.sd-v2 .sfs-submit.btn { width: 100%; margin-top: 6px; padding: 15px; }
body.sd-v2 .sfs-legal { font-size: .82rem !important; color: var(--sf-muted) !important; margin-top: 12px; text-align: center; }
.sfs-legal a { color: var(--sf-g700); font-weight: 600; }
.sfs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* inline form feedback for every public form (handler in head.html.twig) */
.sf-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100000; transform: translate(-50%, 20px); opacity: 0; transition: .25s; max-width: min(92vw, 460px);
  padding: 14px 18px; border-radius: 14px; font: 600 .95rem/1.4 var(--sf-font); color: #fff; background: var(--sf-g700); box-shadow: var(--sf-shadow-lg); }
.sf-toast.is-error { background: #c62653; }
.sf-toast.is-show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 991px) {
  .sfs-hero-grid, .sfs-demo-grid { grid-template-columns: 1fr; }
  .sfs-hero-visual { min-height: 0; max-width: 520px; }
  .sfs-features, .sfs-audiences, .sfs-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sfs-compare, .sfs-features, .sfs-audiences, .sfs-steps, .sfs-form-grid { grid-template-columns: 1fr; }
  .sfs-panel { margin-right: 0; }
  .sfs-phone { display: none; }
  .sfs-panel-stats strong { font-size: 1.2rem; }
}
