/* ED TECH INNOVATION LLC — mint / deep slate, full-bleed hero, card grid */
:root {
  --bg: #e6f4f2;
  --surface: #f8fffd;
  --ink: #0b1220;
  --muted: #3d4f5c;
  --line: rgba(11, 18, 32, 0.1);
  --mint: #5eead4;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --night: #0c1222;
  --shadow: 0 20px 48px rgba(12, 18, 34, 0.12);
  --radius: 8px;
  --radius-lg: 20px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--teal-dark);
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 18, 34, 0.94);
  border-bottom: 1px solid rgba(94, 234, 212, 0.2);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.site-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  color: #e2e8f0;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--mint);
  color: #fff;
}

/* Hero — full width band */
.hero-wrap {
  width: 100%;
  padding: 1rem 0 0;
}

.hero {
  position: relative;
  margin: 0 auto;
  width: min(var(--max), calc(100% - 2.5rem));
  min-height: min(620px, 86vh);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 680ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    rgba(12, 18, 34, 0.82) 0%,
    rgba(13, 148, 136, 0.35) 45%,
    rgba(11, 18, 32, 0.55) 100%
  );
}

.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(2rem, 5vw, 3.25rem);
  max-width: 620px;
  color: #fff;
}

.hero__slide:not(.is-active) .hero__caption {
  opacity: 0;
  pointer-events: none;
}

.hero__slide.is-active .hero__caption {
  opacity: 1;
  transition: opacity 460ms ease 100ms;
}

.hero__kicker {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(204, 251, 241, 0.95);
}

.hero__title {
  margin: 0 0 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.8vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 1.25rem;
  font-size: clamp(0.97rem, 1.5vw, 1.1rem);
  opacity: 0.93;
  max-width: 44ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.28rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.93rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--mint);
  color: var(--night);
  border-color: rgba(94, 234, 212, 0.5);
}

.btn--primary:hover {
  background: #99f6e4;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero__controls {
  position: absolute;
  right: clamp(1rem, 3vw, 1.65rem);
  bottom: clamp(1rem, 3vw, 1.65rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__arrow {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero__dots {
  display: flex;
  gap: 0.42rem;
  margin-left: 0.3rem;
  padding: 0.38rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero__dot.is-active {
  background: var(--mint);
  transform: scale(1.2);
}

/* Sections */
.section {
  padding: clamp(2.85rem, 5vw, 4.5rem) 0;
}

.section__head {
  margin-bottom: 1.45rem;
}

.section__head--center {
  text-align: center;
}

.section__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.section__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.35vw, 2.05rem);
  letter-spacing: -0.02em;
  color: var(--teal-dark);
}

.intro-split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.45rem;
  align-items: center;
}

.intro-split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 280px;
}

.intro-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-split__text {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.8vw, 1.85rem);
  box-shadow: var(--shadow);
}

.intro-split__text p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-split__text p:last-child {
  margin-bottom: 0;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 0.95rem 1rem 1.1rem;
  flex: 1;
}

.card__title {
  margin: 0 0 0.32rem;
  font-size: 1.03rem;
  letter-spacing: -0.01em;
}

.card__desc {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.05rem;
}

.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.15rem 1.05rem;
  box-shadow: var(--shadow);
}

.review__head {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 0.72rem;
}

.review__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.review__name {
  font-weight: 700;
}

.review__role {
  font-size: 0.87rem;
  color: var(--muted);
  margin-top: 0.08rem;
}

.review__stars {
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
}

.review__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 1.1rem;
  align-items: stretch;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 220px;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.form-panel {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.72rem;
}

.field {
  display: grid;
  gap: 0.28rem;
}

.field__label {
  font-size: 0.87rem;
  color: var(--muted);
}

.field__input,
.field__textarea {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0.74rem 0.88rem;
  font: inherit;
  background: #fff;
}

.field__textarea {
  resize: vertical;
  min-height: 136px;
}

.field__input:focus,
.field__textarea:focus {
  outline: 2px solid rgba(13, 148, 136, 0.35);
  border-color: transparent;
}

.form-hint {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 0.25rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(248, 255, 253, 0.65), rgba(230, 244, 242, 0.95));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.42fr 0.78fr 1.05fr;
  gap: 1.45rem;
  padding: 2.35rem 0 1.65rem;
  align-items: start;
}

.footer__logo img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 0.6rem;
}

.footer__desc {
  margin: 0 0 0.95rem;
  color: var(--muted);
  max-width: 42ch;
  font-size: 0.94rem;
}

.footer__title {
  margin: 0 0 0.6rem;
  font-size: 0.93rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer__list a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
}

.footer__list a:hover {
  border-bottom-color: rgba(13, 148, 136, 0.35);
  color: var(--teal-dark);
}

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid var(--line);
  color: var(--teal-dark);
  text-decoration: none;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social:hover {
  background: rgba(94, 234, 212, 0.35);
}

.footer__bottom {
  padding: 0.95rem 0 1.45rem;
  text-align: center;
  font-size: 0.87rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* About */
.about-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 1.4rem;
}

.about-hero-img img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.about-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.8vw, 1.85rem);
  box-shadow: var(--shadow);
}

.about-copy p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-stack {
  display: grid;
  gap: 1.15rem;
}

/* Contact */
.contact-banner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 1rem auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-banner img {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
  padding-top: 0.45rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.28rem 1.35rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 0.72rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  color: var(--teal-dark);
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.contact-card dt {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.18rem;
}

.contact-card dd {
  margin: 0;
  font-size: 1.01rem;
}

.contact-card a {
  word-break: break-word;
}

.contact-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-media img {
  width: 100%;
  display: block;
  min-height: 280px;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .intro-split,
  .split,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
