/**
 * Early Creativity IT — clean site theme (logo palette)
 */

:root {
  /* Logo palette — extracted from logo.png */
  --ec-navy: #24303c;
  --ec-navy-mid: #243048;
  --ec-purple: #783cd8;
  --ec-purple-mid: #4848cc;
  --ec-blue-deep: #0c48b4;
  --ec-blue: #2490f0;
  --ec-blue-bright: #3090f0;
  --ec-cyan: #5cb8ff;
  --ec-sky: #3090f0;
  --ec-sky-light: #5cb8ff;
  --ec-blue-dark: #0c48b4;
  --ec-silver: #a8b8d0;
  --ec-white: #f8fbff;
  --ec-bg: #f0f4fa;
  --ec-text: #24303c;
  --ec-muted: #5c6b82;
  --ec-border: rgba(36, 48, 60, 0.1);
  --ec-gradient: linear-gradient(135deg, #783cd8 0%, #3c54d8 38%, #2490f0 100%);
  --ec-gradient-h: linear-gradient(90deg, #783cd8 0%, #2490f0 100%);
  --ec-mesh: radial-gradient(ellipse 70% 60% at 12% 18%, rgba(120, 60, 216, 0.38), transparent 55%),
    radial-gradient(ellipse 55% 50% at 88% 82%, rgba(36, 144, 240, 0.28), transparent 50%),
    linear-gradient(180deg, #24303c 0%, #243048 100%);
  --ec-shadow: 0 12px 40px rgba(36, 48, 60, 0.1);
  --ec-glow: 0 12px 36px rgba(120, 60, 216, 0.32);
  --ec-glow-blue: 0 12px 36px rgba(36, 144, 240, 0.28);
  --ec-radius: 16px;
  --ec-radius-lg: 24px;
  --ec-header: 80px;
}

/* ── Base overrides ── */
body.theme-elebdaa {
  background: var(--ec-bg);
  color: var(--ec-text);
}

/* ── Header ── */
.header {
  background: #fff;
  border-bottom: 1px solid var(--ec-border);
  box-shadow: none;
}

.is-home .header:not(.scrolled) {
  background: rgba(36, 48, 60, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(92, 184, 255, 0.15);
}

.is-home .header:not(.scrolled) .nav-link,
.is-home .header:not(.scrolled) .header-phone,
.is-home .header:not(.scrolled) .lang-switch {
  color: var(--ec-white) !important;
}

.is-home .header:not(.scrolled) .navbar-toggler {
  border-color: rgba(92, 184, 255, 0.35);
  color: #fff;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: var(--ec-shadow);
}

.header .logo-img {
  height: 56px !important;
  width: auto;
  max-height: 56px;
}

.header .nav-link::after {
  background: var(--ec-blue);
  border-radius: 99px;
}

.header .nav-link:hover,
.header .nav-link.active {
  color: var(--ec-blue) !important;
}

.header-cta {
  border-radius: 99px !important;
  background: var(--ec-gradient) !important;
  box-shadow: var(--ec-glow);
}

.lang-switch {
  border-radius: 99px !important;
}

.lang-switch i {
  border-radius: 50% !important;
  background: var(--ec-gradient) !important;
}

#mobileMenu {
  --bs-offcanvas-bg: var(--ec-navy);
}

/* ── Shared UI ── */
.ec-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(120, 60, 216, 0.1);
  color: var(--ec-blue-dark);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ec-label--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ec-sky-light);
}

.ec-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s ease;
}

.ec-btn--primary {
  background: var(--ec-gradient);
  color: #fff !important;
  box-shadow: var(--ec-glow);
}

.ec-btn--primary:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

.ec-btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.ec-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
}

.ec-link {
  color: var(--ec-blue) !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ec-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.ec-section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ec-section-head h2,
.ec-about__text h2,
.ec-contact-v2__head h2,
.ec-why h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.ec-lead {
  font-size: 1.05rem;
  color: var(--ec-muted);
  line-height: 1.8;
  max-width: 56ch;
  margin-bottom: 40px;
}

/* ── Hero ── */
.ec-hero {
  position: relative;
  margin-top: calc(-1 * var(--ec-header));
}

.ec-hero__slider,
.ec-hero__slider .swiper-wrapper,
.ec-hero__slider .swiper-slide {
  height: 85vh;
  min-height: 520px;
  max-height: 760px;
}

.ec-hero__slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ec-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(36, 48, 60, 0.88) 0%, rgba(36, 48, 60, 0.55) 50%, rgba(36, 48, 60, 0.35) 100%);
}

[dir="ltr"] .ec-hero__overlay {
  background: linear-gradient(255deg, rgba(36, 48, 60, 0.88) 0%, rgba(36, 48, 60, 0.55) 50%, rgba(36, 48, 60, 0.35) 100%);
}

.ec-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--ec-header);
  padding-bottom: 80px;
  color: #fff;
  max-width: 640px;
}

.ec-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(120, 60, 216, 0.35);
  border: 1px solid rgba(92, 184, 255, 0.3);
  color: var(--ec-sky-light);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ec-hero__inner h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #fff;
}

.ec-hero__inner p {
  color: rgba(248, 251, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.ec-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ec-hero__bar {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  z-index: 5;
  padding: 0 0 24px;
}

.ec-hero__bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ec-hero__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.ec-hero__arrow:hover {
  background: var(--ec-blue);
  border-color: var(--ec-blue);
}

.ec-hero__dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* Override legacy hero-pager rules from style.css */
.ec-hero .hero-pager {
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.ec-hero .hero-pager-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  flex-shrink: 0;
  border-radius: 50% !important;
}

.ec-hero__dots .hero-pager-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.ec-hero__dots .hero-pager-item.is-active {
  background: var(--ec-gradient);
  border-color: transparent;
  color: #fff;
}

/* ── Features bar ── */
.ec-features {
  background: var(--ec-gradient);
  padding: 18px 0;
}

.ec-features__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ec-features__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.ec-features__list i {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ── About ── */
.ec-about {
  padding: 90px 0;
  background: #fff;
}

.ec-about--page .ec-about__grid {
  margin-bottom: 48px;
}

.ec-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ec-about__grid--reverse .ec-about__media {
  order: -1;
}

.ec-about__media {
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
  box-shadow: var(--ec-shadow);
}

.ec-about__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.ec-about__text p {
  color: var(--ec-muted);
  line-height: 1.85;
  margin-bottom: 12px;
}

.ec-about__text .ec-btn {
  margin-top: 16px;
}

.ec-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.ec-stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--ec-radius);
  background: var(--ec-navy-mid);
  color: #fff;
}

.ec-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ec-sky);
}

.ec-stat span {
  font-size: 13px;
  color: rgba(248, 251, 255, 0.7);
  font-weight: 600;
}

/* ── Services cards ── */
.ec-services {
  padding: 90px 0;
  background: var(--ec-bg);
}

.ec-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ec-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ec-border);
  box-shadow: var(--ec-shadow);
  transition: 0.3s ease;
  color: inherit !important;
}

.ec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(36, 48, 60, 0.14);
  border-color: rgba(120, 60, 216, 0.25);
}

.ec-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ec-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ec-card:hover .ec-card__img img {
  transform: scale(1.05);
}

.ec-card__icon {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ec-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ec-card__body {
  padding: 22px;
  flex: 1;
}

.ec-card__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(120, 60, 216, 0.1);
  color: var(--ec-blue-dark);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ec-card__body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.35;
}

.ec-card__body p {
  color: var(--ec-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Why ── */
.ec-why {
  padding: 90px 0;
  background: var(--ec-navy);
  color: #fff;
}

.ec-why h2 {
  color: #fff;
}

.ec-why__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.ec-why__photo {
  border-radius: var(--ec-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ec-why__photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ec-why__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ec-why__item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--ec-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(92, 184, 255, 0.15);
  transition: 0.25s ease;
}

.ec-why__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(92, 184, 255, 0.3);
}

.ec-why__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(120, 60, 216, 0.25);
  color: var(--ec-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ec-why__item h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
}

.ec-why__item p {
  margin: 0;
  color: rgba(248, 251, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── Contact v2 ── */
.ec-contact-v2 {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.ec-contact-v2__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(120, 60, 216, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 100%, rgba(36, 144, 240, 0.12), transparent 50%),
    linear-gradient(180deg, var(--ec-navy) 0%, var(--ec-navy-mid) 100%);
  pointer-events: none;
}

.ec-contact-v2 .container {
  position: relative;
  z-index: 1;
}

.ec-contact-v2__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  color: #fff;
}

.ec-contact-v2__head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}

.ec-contact-v2__head p {
  color: rgba(248, 251, 255, 0.72);
  line-height: 1.8;
  margin: 0;
}

.ec-contact-v2__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.ec-contact-v2__channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.ec-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--ec-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(92, 184, 255, 0.18);
  color: #fff !important;
  transition: 0.25s ease;
}

.ec-channel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(92, 184, 255, 0.35);
  transform: translateX(-4px);
}

[dir="ltr"] .ec-channel:hover {
  transform: translateX(4px);
}

.ec-channel--static {
  cursor: default;
}

.ec-channel__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(120, 60, 216, 0.35);
  color: var(--ec-sky-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ec-channel__icon--wa {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
}

.ec-channel__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ec-channel__body strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ec-sky-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ec-channel__body span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(248, 251, 255, 0.9);
  word-break: break-word;
}

.ec-contact-v2__perks {
  list-style: none;
  padding: 20px;
  margin: 0;
  border-radius: var(--ec-radius);
  background: rgba(120, 60, 216, 0.12);
  border: 1px solid rgba(92, 184, 255, 0.15);
}

.ec-contact-v2__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(248, 251, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
}

.ec-contact-v2__perks li:last-child {
  margin-bottom: 0;
}

.ec-contact-v2__perks i {
  color: var(--ec-sky);
  font-size: 12px;
}

.ec-contact-v2__card {
  padding: 36px;
  border-radius: var(--ec-radius-lg);
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ec-contact-v2__card-head {
  margin-bottom: 24px;
}

.ec-contact-v2__card-head h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ec-text);
}

.ec-contact-v2__card-head p {
  margin: 0;
  font-size: 13px;
  color: var(--ec-muted);
}

.ec-contact-v2__card .contact-card-form {
  border: 0;
  padding: 0;
}

.ec-contact-v2__card .form-control,
.ec-contact-v2__card .form-select {
  border-radius: 12px;
  border-color: var(--ec-border);
  min-height: 48px;
}

.ec-contact-v2__card .form-control:focus,
.ec-contact-v2__card .form-select:focus {
  border-color: var(--ec-blue);
  box-shadow: 0 0 0 4px rgba(120, 60, 216, 0.12);
}

.ec-contact-v2__card label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ec-muted);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.ec-contact-v2__card .contact-submit-button {
  width: 100%;
  min-height: 52px;
  border-radius: 99px !important;
  background: var(--ec-gradient) !important;
  box-shadow: var(--ec-glow);
  border: 0;
  font-weight: 800;
}

.ec-contact-v2__card .contact-disclaimer {
  display: none;
}

.ec-btn--white {
  background: #fff !important;
  color: var(--ec-blue-dark) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.ec-btn--white:hover {
  color: var(--ec-blue-dark) !important;
  transform: translateY(-2px);
}

/* ── Footer v2 ── */
.ec-footer {
  background: var(--ec-navy);
  color: rgba(248, 251, 255, 0.7);
}

.ec-footer__cta {
  padding: 0;
  margin-top: -1px;
}

.ec-footer__cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 48px;
  border-radius: var(--ec-radius-lg) var(--ec-radius-lg) 0 0;
  background: var(--ec-gradient);
  color: #fff;
  box-shadow: var(--ec-glow);
}

.ec-footer__cta-text span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 6px;
}

.ec-footer__cta-text h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  max-width: 22ch;
  color: #fff;
}

.ec-footer__body {
  padding: 56px 0 40px;
  border-top: 1px solid rgba(92, 184, 255, 0.1);
}

.ec-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.ec-footer__logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.ec-footer__logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.ec-footer__desc {
  line-height: 1.85;
  font-size: 14px;
  margin-bottom: 20px;
  max-width: 34ch;
  color: rgba(248, 251, 255, 0.65);
}

.ec-footer__social {
  display: flex;
  gap: 10px;
}

.ec-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(92, 184, 255, 0.15);
  color: var(--ec-sky-light) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: 0.25s ease;
}

.ec-footer__social a:hover {
  background: var(--ec-blue);
  border-color: var(--ec-blue);
  color: #fff !important;
  transform: translateY(-3px);
}

.ec-footer__col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
}

.ec-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ec-footer__col ul li {
  margin-bottom: 10px;
}

.ec-footer__col ul a {
  color: rgba(248, 251, 255, 0.65);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ec-footer__col ul a:hover {
  color: var(--ec-sky);
}

.ec-footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.ec-footer__contacts i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(120, 60, 216, 0.2);
  color: var(--ec-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.ec-footer__contacts a,
.ec-footer__contacts span {
  color: rgba(248, 251, 255, 0.75);
  font-size: 14px;
  line-height: 1.6;
  padding-top: 6px;
}

.ec-footer__contacts a:hover {
  color: var(--ec-sky);
}

.ec-footer__bar {
  padding: 20px 0;
  border-top: 1px solid rgba(92, 184, 255, 0.12);
  background: rgba(0, 0, 0, 0.15);
}

.ec-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ec-footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(248, 251, 255, 0.5);
}

.ec-footer__tagline {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(248, 251, 255, 0.45);
}

.ec-footer__tagline i {
  color: var(--ec-sky);
}

/* Hide legacy footer/contact */
.footer-cta-section,
.footer,
.ec-contact,
.ec-contact__wrap {
  display: none !important;
}

/* ── Page hero (inner pages) ── */
.ec-page-hero {
  padding: calc(var(--ec-header) + 48px) 0 48px;
  background: var(--ec-navy-mid);
  color: #fff;
}

.ec-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.ec-page-hero .breadcrumb a {
  color: rgba(248, 251, 255, 0.65);
}

.ec-page-hero .breadcrumb .active,
.ec-page-hero .breadcrumb a:hover {
  color: var(--ec-sky);
}

/* ── Details page ── */
.details-page {
  padding: 60px 0 90px;
  background: var(--ec-bg);
}

.details-article {
  border-radius: var(--ec-radius-lg) !important;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ec-shadow);
  border: 1px solid var(--ec-border);
}

.details-quote {
  border-radius: var(--ec-radius) !important;
  background: rgba(120, 60, 216, 0.08) !important;
  border-inline-start: 4px solid var(--ec-blue) !important;
}

.details-step,
.details-side-card {
  border-radius: var(--ec-radius) !important;
  border: 1px solid var(--ec-border);
}

.details-side-card .btn-learn-more-creative,
.btn-learn-more-creative {
  border-radius: 99px !important;
  background: var(--ec-gradient) !important;
  box-shadow: var(--ec-glow);
}

.btn-learn-more-creative .btn-icon-wrapper {
  border-radius: 50% !important;
  background: rgba(36, 48, 60, 0.2) !important;
  color: #fff !important;
}

/* ── Footer (legacy overrides removed — see ec-footer) ── */

.back-to-top-btn,
.floating-btn {
  border-radius: 50% !important;
  background: var(--ec-gradient) !important;
}

.loading {
  background: var(--ec-navy) !important;
}

.loading .spinner {
  border-color: rgba(92, 184, 255, 0.2) !important;
  border-top-color: var(--ec-sky) !important;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  :root {
    --ec-header: 72px;
  }

  .header .navbar {
    padding: 6px 0;
  }

  .header .logo-img {
    height: 48px !important;
  }

  .header .navbar-toggler,
  .header .lang-switch {
    min-height: 40px;
  }

  #mobileMenu .logo-img {
    height: 44px !important;
    width: auto;
  }

  .ec-hero__slider,
  .ec-hero__slider .swiper-wrapper,
  .ec-hero__slider .swiper-slide {
    height: 100svh;
    min-height: 100svh;
    max-height: none;
  }

  .ec-hero__slide {
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .ec-hero__inner {
    flex: 1;
    height: auto;
    min-height: 100%;
    justify-content: flex-end;
    padding-top: calc(var(--ec-header) + 16px);
    padding-bottom: 108px;
    max-width: 100%;
  }

  .ec-hero__inner p {
    font-size: 0.95rem;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ec-hero__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ec-hero__btns .ec-btn {
    justify-content: center;
    width: 100%;
    min-height: 46px;
    font-size: 14px;
  }

  .ec-hero__bar {
    padding-bottom: 14px;
  }

  .ec-hero__bar-inner {
    gap: 10px;
    padding-inline: 4px;
  }

  .ec-hero__dots {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: center;
    padding: 2px 4px;
  }

  .ec-hero__dots::-webkit-scrollbar {
    display: none;
  }

  .ec-hero__dots .hero-pager-item {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .ec-hero__arrow {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .ec-features {
    padding: 22px 0;
  }

  .ec-features__list {
    grid-template-columns: 1fr 1fr;
    gap: 16px 14px;
  }

  .ec-features__list li {
    font-size: 13px;
    line-height: 1.45;
    align-items: flex-start;
  }

  .ec-features__list i {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .ec-about,
  .ec-services,
  .ec-why,
  .ec-contact-v2 {
    padding: 64px 0;
  }

  .floating-actions {
    bottom: 18px;
    inset-inline-start: auto;
    inset-inline-end: 14px;
    gap: 10px !important;
  }

  .floating-btn,
  .back-to-top-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.05rem;
  }

  .back-to-top {
    bottom: 18px;
    inset-inline-end: auto;
    inset-inline-start: 14px;
  }

  .ec-about__grid,
  .ec-about__grid--reverse {
    grid-template-columns: 1fr;
  }

  .ec-about__grid--reverse .ec-about__media {
    order: 0;
  }

  .ec-stats {
    grid-template-columns: 1fr;
  }

  .ec-services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ec-why__grid {
    grid-template-columns: 1fr;
  }

  .ec-contact-v2__grid {
    grid-template-columns: 1fr;
  }

  .ec-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .ec-footer__cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }

  .ec-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .ec-hero__inner h1 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .ec-kicker {
    font-size: 12px;
    margin-bottom: 12px;
  }

  /* Compact dot pagination on small screens */
  .ec-hero__bar-inner {
    gap: 8px;
  }

  .ec-hero__arrow {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .ec-hero__dots {
    gap: 6px;
    overflow: visible;
    flex-wrap: wrap;
    max-width: calc(100% - 84px);
  }

  .ec-hero .hero-pager {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
  }

  .ec-hero__dots .hero-pager-item {
    width: 9px;
    height: 9px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    border: 0;
    background: rgba(255, 255, 255, 0.38) !important;
  }

  .ec-hero__dots .hero-pager-item.is-active {
    width: 22px;
    border-radius: 99px !important;
    background: var(--ec-gradient) !important;
  }

  .ec-features__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ec-features__list li {
    align-items: center;
    font-size: 14px;
  }

  .ec-services__grid {
    grid-template-columns: 1fr;
  }

  .ec-footer__grid {
    grid-template-columns: 1fr;
  }

  .ec-footer__bar-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .ec-contact-v2__card {
    padding: 28px 20px;
  }

  .ec-section-head h2,
  .ec-about__text h2,
  .ec-contact-v2__head h2,
  .ec-why h2 {
    font-size: 1.65rem;
  }

  .ec-card__body {
    padding: 18px;
  }

  .ec-why__item {
    padding: 18px;
  }

  .ec-channel {
    padding: 14px 16px;
  }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 991.98px) {
    .ec-hero__bar {
      padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .ec-hero__inner {
      padding-bottom: calc(108px + env(safe-area-inset-bottom));
    }

    .floating-actions {
      bottom: calc(18px + env(safe-area-inset-bottom));
    }

    .back-to-top {
      bottom: calc(18px + env(safe-area-inset-bottom));
    }
  }
}
