:root {
  --bg: #f5f6f8;
  --text: #2f353f;
  --muted: #6d7381;
  --brand-a: #52c1ad;
  --brand-b: #00b1d7;
  --brand-c: #ffd759;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(90deg, rgba(255, 250, 231, 0.94), rgba(243, 250, 255, 0.94));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7db;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand img {
  width: 102px;
  height: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-text {
  color: #191d23;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.brand-text em {
  font-style: normal;
  color: var(--brand-b);
  font-weight: 500;
  margin-left: 0.15rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

.menu a:hover {
  color: var(--brand-b);
}

.lang-btn {
  border: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand-a), var(--brand-b));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transition: opacity 900ms ease;
}

.hero-bg-a {
  opacity: 1;
}

.hero-bg-b {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(28, 33, 38, 0.34), rgba(28, 33, 38, 0.1));
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.hero-arrow-left {
  left: 12px;
}

.hero-arrow-right {
  right: 12px;
}

.hero-content {
  position: relative;
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
}

.hero p {
  max-width: 720px;
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-weight: 500;
  font-size: 0.88rem;
}

.section {
  padding: 4.5rem 0;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.speechcare-watermark .split {
  align-items: center;
}

.speechcare-watermark {
  position: relative;
  overflow: hidden;
}

.speechcare-watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/logo-clear.png");
  background-repeat: no-repeat;
  background-position: 96% 40%;
  background-size: min(440px, 45vw);
  opacity: 0.065;
  pointer-events: none;
}

.speechcare-watermark .container {
  position: relative;
  z-index: 1;
}

.highlights {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.2rem;
  margin-top: 0.3rem;
}

.highlights h3 {
  margin-top: 0;
}

.highlights ul {
  margin: 0;
  padding-left: 1.1rem;
}

.highlights li {
  margin-bottom: 0.8rem;
}

.enfoque-visual {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.enfoque-pill {
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  text-align: center;
  background: linear-gradient(120deg, #e8f7f4, #e7f5fb);
  color: #20657d;
  font-weight: 600;
}

.visual-section {
  padding-top: 0;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.visual-card {
  color: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 32, 38, 0.52), rgba(28, 32, 38, 0.08));
}

.visual-card h3,
.visual-card p {
  position: relative;
  margin: 0;
}

.visual-card p {
  margin-top: 0.5rem;
}

.visual-card.children {
  background-image: url("./assets/children-kid.jpg");
  background-position: 46% 30%;
}

.visual-card.teens {
  background-image: url("./assets/teens-main.jpg");
  background-position: center 40%;
}

.visual-card.adults {
  background-image: url("./assets/adults-main.jpg");
  background-position: center 35%;
}

.section-alt {
  background: #eef0f4;
}

.team-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.team-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.section-intro {
  color: var(--muted);
  margin-top: -0.3rem;
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: linear-gradient(140deg, var(--brand-a), var(--brand-b));
}

.team-card h3 {
  margin: 1rem 0 0.3rem;
  text-align: center;
}

.team-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.team-card details {
  margin-top: 0.8rem;
  border-top: 1px solid #e4e8ef;
  padding-top: 0.65rem;
  margin-top: auto;
}

.team-card summary {
  cursor: pointer;
  color: #2a7da2;
  font-weight: 600;
  list-style: none;
}

.team-card summary::-webkit-details-marker {
  display: none;
}

.team-card summary::before {
  content: "▸";
  margin-right: 0.4rem;
  color: var(--brand-b);
}

.team-card details[open] summary::before {
  content: "▾";
}

.team-card details p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #525a68;
}

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.geo-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.speechcare-copy p,
.experience-copy p {
  text-align: justify;
}

.hl-blue {
  color: #1d86ad;
  font-weight: 700;
}

.hl-yellow {
  color: #a9851e;
  font-weight: 700;
}

.experience-copy {
  padding: 1.35rem;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.experience-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/experience-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.experience-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.88),
    rgba(255, 255, 255, 0.9)
  );
}

.experience-copy h2,
.experience-copy p {
  position: relative;
  z-index: 1;
}

.geo-section {
  position: relative;
}

.geo-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.geo-visual {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dot {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.77rem;
  font-weight: 600;
}

.dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.dot.primary {
  background: #e8f7fb;
  color: #127f9f;
}

.dot.primary::before {
  background: #00b1d7;
}

.dot.secondary {
  background: #ebf8f3;
  color: #2a886d;
}

.dot.secondary::before {
  background: #52c1ad;
}

.dot.tertiary {
  background: #fff5e8;
  color: #b5792f;
}

.dot.tertiary::before {
  background: #f0a35b;
}

.geo-group {
  background: #f5f7fb;
  border-radius: 10px;
  padding: 0.9rem;
  margin-bottom: 0.9rem;
  border-left: 4px solid var(--brand-b);
}

.geo-group h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.geo-group p {
  margin: 0;
  color: var(--text);
}

.geo-group.tertiary {
  border-left-color: #f0a35b;
}

.cta-section {
  padding-top: 3.2rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.cta-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.cta-card h3 {
  margin-top: 0;
}

.cta-card p {
  margin-bottom: 0;
}

.footer {
  background: linear-gradient(90deg, #1f2631, #253143, #273849);
  color: #e7ebf2;
  padding: 2rem 0 1.8rem;
  border-top: 1px solid rgba(255, 232, 165, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 1.3rem;
  align-items: start;
}

.footer h3 {
  margin: 0 0 0.55rem;
  color: #ffffff;
  font-size: 1rem;
}

.footer p {
  margin: 0 0 0.35rem;
}

.footer a {
  color: #91dff0;
  text-decoration: none;
}

.footer-branding {
  justify-self: end;
  align-self: center;
}

.footer-branding img {
  width: 88px;
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(255, 231, 146, 0.22));
}

@media (max-width: 960px) {
  .split,
  .geo-layout,
  .cta-grid,
  .footer-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.6rem 0;
  }

  .menu {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: 50vh;
  }

  .brand img {
    width: 92px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
  }
}
