/* ================================================================
   SES — Vitrine ESN — Helpline-inspired Edition
   Clean white · Coral accent · Human imagery
================================================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F5F2EC;
  --bg-2: #EDE8DC;
  --bg-3: #FAF7F0;
  --ink: #0A1F44;
  --ink-2: #1E3358;
  --muted: #5A6781;
  --muted-2: #8A93A8;
  --line: rgba(10, 31, 68, 0.12);
  --line-strong: rgba(10, 31, 68, 0.25);
  --accent: #E8453B;
  --accent-deep: #C9342B;
  --accent-soft: #F8DDD9;
  --dark: #0A1F44;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn svg { transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(232, 69, 59, 0.5);
}

.btn-primary-light {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn-primary-light:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-lg { padding: 18px 34px; font-size: 15px; }

/* ============== Top bar ============== */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 38px;
  white-space: nowrap;
  overflow: hidden;
}
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-link { color: #fff; transition: color 0.2s ease; }
.topbar-link:hover { color: var(--accent); }
.topbar-sep { color: rgba(255, 255, 255, 0.25); }
@media (max-width: 700px) {
  .topbar-item:first-child { display: none; }
  .topbar-inner { justify-content: center; }
}

/* ============== Navbar ============== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.logo { display: flex; flex-direction: column; gap: 0; }
.logo-mark {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.logo-mark::after {
  content: ".";
  color: var(--accent);
}
.logo-tag {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links { display: none; gap: 32px; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  position: relative;
  padding: 6px 0;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--accent); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after { width: 100%; }

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.8px;
  background: var(--ink);
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

.mobile-link {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.mobile-cta { margin-top: 16px; }

/* ============== Hero ============== */
.hero {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
@media (min-width: 1024px) {
  .hero { padding: 80px 0 120px; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
@media (min-width: 1024px) {
  .hero-sub { font-size: 18px; }
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero media */
.hero-media { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  background: var(--bg-2);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--bg-3);
  padding: 20px 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 50px -15px rgba(10, 31, 68, 0.28);
  border: 1px solid var(--line);
}
.hero-badge-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-badge-num span { font-size: 24px; }
.hero-badge-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
  max-width: 100px;
}

/* ============== Trust strip ============== */
.trust {
  background: var(--bg);
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.trust-label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
}
.trust-items span {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--muted-2);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.trust-items span:hover { color: var(--ink); }

/* ============== Block (Vision/Mission) ============== */
.block { padding: 100px 0; }
@media (min-width: 1024px) { .block { padding: 140px 0; } }

.block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .block-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.block-reverse .block-media { order: 2; }
@media (max-width: 899px) {
  .block-reverse .block-media { order: -1; }
}

.block-media {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--bg-2);
}
.block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.block-eyebrow.light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.block-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.block-text p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
}
.block-text p strong { color: var(--ink); font-weight: 600; }

.check-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}
.link-arrow:hover { gap: 14px; }
.link-arrow .arrow { transition: transform 0.3s ease; }

/* ============== Stats section ============== */
.stats-section {
  background: var(--dark);
  color: #fff;
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
@media (min-width: 768px) {
  .stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
  }
}
.stat-num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.stat-num span { color: var(--accent); font-size: 0.7em; }
.stat-lbl {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ============== Services ============== */
.services-section {
  padding: 100px 0;
  background: var(--bg-2);
}
@media (min-width: 1024px) { .services-section { padding: 140px 0; } }

.services-head {
  max-width: 800px;
  margin-bottom: 64px;
}
.services-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.services-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px -20px rgba(10, 31, 68, 0.18);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-5deg);
}

.service-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
}
.service-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}
.service-card .link-arrow { margin-top: auto; }

/* ============== CTA / Engagement block ============== */
.cta-block { padding: 100px 0; background: var(--bg); }
@media (min-width: 1024px) { .cta-block { padding: 140px 0; } }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
}

.cta-media {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 640px;
}
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commitments {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.commitment {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}
.commitment-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.commitment h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.commitment p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ============== Contact ============== */
.contact-section {
  background: var(--accent);
  color: #fff;
  padding: 100px 0;
}
@media (min-width: 1024px) { .contact-section { padding: 140px 0; } }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1024px) {
  .contact-inner { grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
}

.contact-title {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 24px;
}
.contact-title em { color: #fff; font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

.contact-lead {
  max-width: 540px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  overflow: hidden;
}
.contact-card {
  background: var(--accent);
  padding: 28px 30px;
}
.contact-card-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}
.contact-card-value {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  line-height: 1.3;
  word-break: break-word;
  font-style: normal;
}
a.contact-card-value { transition: opacity 0.2s ease; }
a.contact-card-value:hover { opacity: 0.85; }
.contact-card-value-sm { font-size: 15px; line-height: 1.6; font-weight: 500; }

/* ============== Footer ============== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.2fr 2fr; gap: 64px; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.footer-logo::after { content: "."; color: var(--accent); }
.footer-baseline {
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
}
.footer-col h5 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col li { font-size: 14px; color: rgba(255, 255, 255, 0.65); line-height: 1.6; }
.footer-col a { color: inherit; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============== Reveal ============== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.d-1 { transition-delay: 0.12s; }
.reveal.d-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
