/* =========================================
   EXPATTAXSAVVY HOMEPAGE TEST STYLES
========================================= */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fcfbf8;
  color: #2d3740;
  line-height: 1.7;
  font-size: 18px;
  margin: 0;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

h1 {
  font-family: 'EB Garamond', serif;
  font-size: 48px;
  line-height: 1.1;
  color: #16324f;
  margin-top: 40px;
  margin-bottom: 30px;
}

h2 {
  font-size: 30px;
  color: #16324f;
  margin-top: 60px;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  color: #16324f;
  margin-top: 0;
  margin-bottom: 14px;
}

p {
  max-width: 720px;
  margin-bottom: 24px;
}

a {
  color: #27496b;
  text-decoration: none;
}

a:hover {
  color: #c9785d;
}

.top-nav {
  padding-top: 30px;
  padding-bottom: 40px;
  font-size: 15px;
}


/* =========================================
   HOMEPAGE HERO
========================================= */

.home-hero {
  position: relative;
  min-height: 700px;
  border-radius: 32px;
  overflow: hidden;
  margin-bottom: 80px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    180deg,
    rgba(16, 37, 58, 0.24) 0%,
    rgba(16, 37, 58, 0.10) 42%,
    rgba(16, 37, 58, 0.34) 100%
  );
}

.home-hero-content {
  position: relative;
  z-index: 2;

  min-height: 700px;
  padding: 48px 70px 56px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: transparent;
  box-shadow: none;
  border: none;
}

.home-hero-top {
  max-width: 820px;
}

.home-hero-copy {
  max-width: 820px;
}

.home-hero-content h1 {
  font-family: 'EB Garamond', serif;
  font-size: 54px;
  line-height: 1.05;
  color: white;
  margin: 0 0 22px 0;
}

.home-hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
  font-size: 23px;
  line-height: 1.55;
  margin: 0;
}

.home-hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 0;
}

.home-hero-tile {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);

  color: white !important;
  text-decoration: none !important;

  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  backdrop-filter: blur(3px);

  transition: 0.25s ease;
}

.home-hero-tile:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  color: white !important;
}

.home-hero-tile span {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 3px;
  color: white;
}

.home-hero-tile small {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255,255,255,0.82);
}


/* =========================================
   HOMEPAGE SECTIONS
========================================= */

.intro-section {
  padding: 40px 0 70px;
}

.eyebrow {
  color: #c9785d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pathway-section {
  padding: 40px 0 80px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.step-card {
  background: white;
  padding: 34px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.step-number {
  display: inline-block;
  color: #c9785d;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.step-card p {
  font-size: 16px;
  color: #5f6b73;
  margin-bottom: 0;
}

.core-section {
  padding: 40px 0 80px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.info-card p {
  font-size: 16px;
  color: #5f6b73;
  margin-bottom: 0;
}

.link-card {
  text-decoration: none;
  color: inherit;
  transition: 0.25s ease;
}

.link-card:hover {
  transform: translateY(-4px);
}

.note-box {
  background: #eef4f7;
  padding: 48px;
  border-radius: 24px;
  margin-top: 50px;
}

.button {
  display: inline-block;
  background: #16324f;
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  margin-top: 12px;
}

.button:hover {
  background: #c9785d;
  color: white;
}

.ad-space {
  min-height: 120px;
  background: #eef2f5;
  border-radius: 20px;
  margin: 60px 0;
}

footer {
  padding: 60px 0 40px;
  font-size: 15px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {
  .home-hero-actions,
  .step-grid,
  .card-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .home-hero-content {
    padding: 42px 36px 42px;
  }

  .home-hero-content h1 {
    font-size: 48px;
  }

  .home-hero-subtitle {
    font-size: 21px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .container {
    width: 92%;
  }

  .top-nav {
    padding-bottom: 28px;
  }

  .home-hero {
    min-height: 780px;
    border-radius: 24px;
  }

  .home-hero-content {
    min-height: 780px;
    padding: 32px 24px;
  }

  .home-hero-content h1 {
    font-size: 40px;
  }

  .home-hero-subtitle {
    font-size: 18px;
  }

  .home-hero-actions,
  .step-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .note-box {
    padding: 34px 26px;
  }
}