/* ======================================================
   Sage School of Dallas Homepage
====================================================== */

/* ======================================================
   Sage Homepage Hero
====================================================== */

.sage-home-hero {
	position: relative;
	min-height: 560px;
	overflow: hidden;
	background-color: #faf8f1;
	background-image:
		url("https://sage418stg.wpenginepowered.com/wp-content/uploads/2026/08/Hero2.webp");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.sage-home-hero__inner {
	display: flex;
	width: min(1500px, calc(100% - 60px));
	min-height: 560px;
	align-items: center;
	margin: 0 auto;
}

.sage-home-hero__content {
	position: relative;
	z-index: 2;
	width: 58%;
	max-width: 900px;
	padding: 35px 0 40px;
	transform: translateY(-35px);
}


/* ======================================================
   Heading
====================================================== */

.sage-home-hero__title {
	margin: 0;
	color: var(--sage-green-dark);
	font-family: var(--sage-heading-font);
	font-size: clamp(44px, 4vw, 64px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.sage-home-hero__title span,
.sage-home-hero__title em {
	display: block;
}

.sage-home-hero__title em {
	margin-top: 8px;
	font-style: italic;
	font-weight: 700;
	white-space: nowrap;
}


/* ======================================================
   Gold Line
====================================================== */

.sage-home-hero__divider {
	display: block;
	width: 270px;
	max-width: 45%;
	height: auto;
	margin: 24px 0 26px;
}


/* ======================================================
   Description
====================================================== */

.sage-home-hero__description {
	max-width: 800px;
	margin: 0 0 28px;
	color: var(--sage-text);
	font-family: var(--sage-body-font);
	font-size: clamp(17px, 1.25vw, 21px);
	line-height: 1.65;
}

.sage-home-hero__description span {
	display: block;
}


/* ======================================================
   Button
====================================================== */

.sage-home-hero__button,
.sage-home-hero__button:link,
.sage-home-hero__button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 13px 26px;
	border-radius: 8px;
	background: var(--sage-green-dark);
	color: #ffffff !important;
	font-family: var(--sage-body-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}

.sage-home-hero__button:hover,
.sage-home-hero__button:focus,
.sage-home-hero__button:focus-visible {
	background: var(--sage-green);
	color: #ffffff !important;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgb(31 49 39 / 16%);
	transform: translateY(-2px);
}


/* ======================================================
   Tablet
====================================================== */

@media (max-width: 1100px) {

	.sage-home-hero,
	.sage-home-hero__inner {
		min-height: 540px;
	}

	.sage-home-hero__content {
		width: 60%;
		max-width: 720px;
		padding: 32px 0 36px;
	}

	.sage-home-hero__title {
		font-size: clamp(40px, 4.8vw, 56px);
	}

	.sage-home-hero__title em {
		white-space: normal;
	}

	.sage-home-hero__divider {
		margin: 22px 0 24px;
	}

	.sage-home-hero__description {
		font-size: 18px;
		line-height: 1.6;
	}
}


/* ======================================================
   Mobile
====================================================== */

@media (max-width: 767px) {

	.sage-home-hero {
		min-height: 600px;
		background-position: 64% center;
	}

	.sage-home-hero::before {
		position: absolute;
		inset: 0;
		background:
			linear-gradient(
				90deg,
				rgb(250 248 241 / 96%) 0%,
				rgb(250 248 241 / 92%) 48%,
				rgb(250 248 241 / 35%) 100%
			);
		content: "";
	}

	.sage-home-hero__inner {
		width: calc(100% - 40px);
		min-height: 600px;
		align-items: flex-start;
	}

	.sage-home-hero__content {
		width: 100%;
		max-width: 520px;
		padding: 48px 0 42px;
	}

	.sage-home-hero__title {
		font-size: clamp(36px, 10vw, 46px);
		line-height: 1.08;
	}

	.sage-home-hero__title em {
		margin-top: 7px;
		white-space: normal;
	}

	.sage-home-hero__divider {
		width: 190px;
		margin: 22px 0 24px;
	}

	.sage-home-hero__description {
		max-width: 440px;
		margin-bottom: 26px;
		font-size: 17px;
		line-height: 1.6;
	}

	.sage-home-hero__description span {
		display: inline;
	}

	.sage-home-hero__description span + span::before {
		content: " ";
	}

	.sage-home-hero__button,
	.sage-home-hero__button:link,
	.sage-home-hero__button:visited {
		min-height: 50px;
		padding: 12px 22px;
		font-size: 16px;
	}
}






/* ======================================================
   Why Sage Exists
====================================================== */

.why-row {
  position: relative;
  background: var(--sage-white);
}

.why-copy {
  padding-right: 45px;
}

.why-copy h2 {
  margin-bottom: 22px;
  color: var(--sage-green-dark);
  font-family: var(--sage-heading-font);
  font-size: 34px;
  line-height: 1.2;
}

.why-copy p {
  max-width: 420px;
  margin-bottom: 24px;
  color: var(--sage-charcoal);
  font-size: 17px;
  line-height: 1.7;
}

.why-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 767px) {
  .why-copy {
    padding-right: 0;
    margin-bottom: 35px;
  }

  .why-copy h2 {
    font-size: 30px;
  }

  .why-image img {
    height: 260px;
  }
}

/* ======================================================
   The Sage Difference
====================================================== */

.sage-difference {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 70px 4% 90px;
  background: var(--sage-white);
}

.sage-difference__header {
  margin: 0 auto 42px;
  text-align: center;
}

.sage-difference__header h2 {
  margin: 0;
}

.sage-difference__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1500px;
  margin: 0 auto;
}

.sage-difference__item {
  position: relative;
  padding: 0 28px;
  text-align: center;
}

.sage-difference__item:not(:last-child) {
  border-right: 1px solid
    color-mix(
      in srgb,
      var(--sage-green-dark) 18%,
      transparent
    );
}

.sage-difference__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  color: var(--sage-green-dark);
}

.sage-difference__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sage-difference__item h3 {
  margin: 0 0 16px;
  font-size: 19px;
  line-height: 1.35;
}

.sage-difference__item p {
  max-width: 190px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
}

/* Smaller Desktop and Tablet */
@media (max-width: 1199px) {
  .sage-difference__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 0;
  }

  .sage-difference__item:nth-child(3) {
    border-right: 0;
  }

  .sage-difference__item:nth-child(n + 4) {
    padding-top: 12px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .sage-difference {
    padding: 75px 24px;
  }

  .sage-difference__header {
    margin-bottom: 42px;
  }

  .sage-difference__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sage-difference__item {
    padding: 34px 0;
    border-right: 0 !important;
    border-bottom: 1px solid
      color-mix(
        in srgb,
        var(--sage-green-dark) 18%,
        transparent
      );
  }

  .sage-difference__item:first-child {
    padding-top: 0;
  }

  .sage-difference__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .sage-difference__item p {
    max-width: 300px;
  }
}

/* ======================================================
   Sage Testimonial - in testimonial.css
====================================================== */

/* ======================================================
   Sage Tour CTA - in interior-pages.css
====================================================== */