
/* =========================================================
   HOMEPRO — MAIN STYLESHEET
   ========================================================= */

:root {
  --dark: #171816;
  --dark-2: #11120f;
  --dark-3: #20211d;

  --cream: #f5f5ef;
  --white: #ffffff;

  --lime: #d9ff3f;
  --lime-dark: #bde526;

  --text: #f4f4ef;
  --muted: #a6a79f;
  --muted-dark: #6f706a;

  --line: rgba(255,255,255,0.12);

  --max: 1180px;

  --radius: 4px;

  --transition: 0.3s ease;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--lime);
  color: var(--dark);
}


/* =========================================================
   GLOBAL
   ========================================================= */

.nav-inner,
.hero-content,
.section-heading,
.service-grid,
.split-section,
.process-grid,
.professional-cta,
.testimonial-grid,
.home-contact,
.footer-top,
.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--lime);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.center {
  text-align: center;
}

.center .eyebrow {
  justify-content: center;
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading h2 {
  margin-top: 14px;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: -0.055em;
}

h2 em,
h1 em {
  color: var(--lime);
  font-style: normal;
}

p {
  color: var(--muted);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.navbar {
  position: relative;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.logo span {
  color: var(--lime);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--white);
}

.desktop-nav a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 5px;
  background: var(--lime);
}

.nav-button {
  padding: 12px 20px;

  color: var(--dark);
  background: var(--lime);

  font-size: 0.85rem;
  font-weight: 700;

  transition: var(--transition);
}

.nav-button:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;

  border: 0;
  background: transparent;
  color: var(--white);

  font-size: 1.5rem;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
  display: none;
  padding: 20px;

  border-top: 1px solid var(--line);
  background: var(--dark-2);
}

.mobile-menu a {
  display: block;
  padding: 14px 0;

  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a:hover {
  color: var(--lime);
}

.mobile-menu.active {
  display: block;
}

.mobile-cta {
  margin-top: 15px;
  padding: 14px 18px !important;

  color: var(--dark) !important;
  background: var(--lime);

  text-align: center;
  font-weight: 700;
}


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

.hero {
  position: relative;
  min-height: calc(100vh - 82px);

  display: flex;
  align-items: center;

  background:
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2000&q=90")
    center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(10,11,9,0.96) 0%,
      rgba(10,11,9,0.78) 45%,
      rgba(10,11,9,0.28) 100%
    );
}

.hero-content {
  position: relative;
  padding-block: 100px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--lime);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-label span {
  width: 25px;
  height: 1px;
  background: var(--lime);
}

.hero h1 {
  max-width: 850px;
  margin-top: 20px;

  font-size: clamp(3.5rem, 9vw, 7.5rem);
  letter-spacing: -0.075em;
}

.hero p {
  max-width: 570px;
  margin-top: 28px;

  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 24px;

  border: 1px solid transparent;

  font-size: 0.88rem;
  font-weight: 700;

  transition: var(--transition);
}

.button.primary {
  color: var(--dark);
  background: var(--lime);
}

.button.primary:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.15);
}

.button.secondary:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.button.dark {
  color: var(--dark);
  background: var(--white);
}

.button.dark:hover {
  background: var(--lime);
  transform: translateY(-3px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 50px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  margin-left: -7px;

  border: 2px solid var(--dark);

  border-radius: 50%;

  background: var(--cream);
  color: var(--dark);

  font-size: 0.65rem;
  font-weight: 800;
}

.avatars span:first-child {
  margin-left: 0;
}

.avatars span:nth-child(2) {
  background: #d6d8c8;
}

.avatars span:nth-child(3) {
  background: #aaa99f;
}

.avatars span:last-child {
  background: var(--lime);
}

.hero-trust strong,
.hero-trust small {
  display: block;
}

.hero-trust strong {
  font-size: 0.9rem;
}

.hero-trust small {
  color: var(--muted);
  font-size: 0.72rem;
}


/* =========================================================
   SERVICES
   ========================================================= */

.service-strip {
  padding: 120px 0;
  background: var(--cream);
  color: var(--dark);
}

.service-strip .section-heading {
  color: var(--dark);
}

.service-strip .eyebrow {
  color: #697522;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  overflow: hidden;
  background: var(--white);

  color: var(--dark);

  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-7px);
}

.service-image {
  height: 260px;
  overflow: hidden;
}

.service-image img {
  height: 100%;
  object-fit: cover;

  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-info {
  position: relative;
  padding: 24px;
}

.service-info > span {
  color: #85877f;
  font-size: 0.7rem;
  font-weight: 700;
}

.service-info h3 {
  margin: 5px 0;
  font-size: 1.35rem;
}

.service-info p {
  color: #777970;
  font-size: 0.85rem;
}

.service-info strong {
  position: absolute;
  right: 24px;
  bottom: 25px;

  font-size: 1.3rem;

  transition: var(--transition);
}

.service-card:hover .service-info strong {
  color: #788e00;
  transform: translateX(5px);
}

.center-button {
  margin-top: 45px;
  text-align: center;
}

.text-button {
  display: inline-block;

  color: inherit;

  font-size: 0.85rem;
  font-weight: 700;

  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;

  transition: var(--transition);
}

.text-button:hover {
  color: #829500;
}


/* =========================================================
   SPLIT SECTION
   ========================================================= */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;

  padding-block: 120px;
  gap: 80px;

  align-items: center;
}

.split-image {
  min-height: 650px;
  overflow: hidden;
}

.split-image img {
  height: 100%;
  object-fit: cover;
}

.split-content h2 {
  margin-top: 18px;
}

.split-content > p {
  max-width: 530px;
  margin-top: 28px;
}

.feature-list {
  margin: 45px 0;
}

.feature {
  display: grid;
  grid-template-columns: 45px 1fr;

  gap: 18px;

  padding: 22px 0;

  border-top: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

.feature > span {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
}

.feature h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.feature p {
  font-size: 0.82rem;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-section {
  padding: 120px 0;
  background: var(--dark-2);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;

  background: var(--line);
}

.process-card {
  min-height: 290px;
  padding: 40px;

  background: var(--dark-2);
}

.process-card > span {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
}

.process-card h3 {
  margin-top: 70px;
  font-size: 1.45rem;
}

.process-card p {
  margin-top: 12px;
  font-size: 0.88rem;
}


/* =========================================================
   PROFESSIONAL CTA
   ========================================================= */

.professional-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;

  margin-top: 100px;
  margin-bottom: 100px;

  background: var(--lime);
  color: var(--dark);
}

.professional-cta > div:first-child {
  padding: 70px;
}

.professional-cta .eyebrow {
  color: #536500;
}

.professional-cta h2 {
  margin-top: 15px;
}

.professional-cta h2 em {
  color: var(--dark);
}

.professional-cta p {
  max-width: 480px;
  margin: 25px 0 30px;

  color: #4d531d;
}

.cta-image {
  min-height: 430px;
}

.cta-image img {
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonial-section {
  padding: 120px 0;
  background: var(--cream);
  color: var(--dark);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial {
  padding: 40px;

  background: var(--white);
}

.featured-testimonial {
  background: var(--dark);
  color: var(--white);
}

.stars {
  color: #a8c700;
  letter-spacing: 4px;
}

.testimonial p {
  margin: 30px 0;
  color: inherit;

  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial strong {
  font-size: 0.85rem;
}

.testimonial span {
  margin-top: 2px;

  color: var(--muted-dark);
  font-size: 0.75rem;
}

.featured-testimonial span {
  color: var(--muted);
}


/* =========================================================
   HOME CONTACT
   ========================================================= */

.home-contact {
  padding-block: 140px;
  text-align: center;
}

.home-contact h2 {
  max-width: 800px;
  margin: 15px auto 20px;
}

.home-contact p {
  max-width: 500px;
  margin: 0 auto 30px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding-top: 80px;
  background: #0e0f0d;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;

  padding-bottom: 70px;
}

.footer-brand p {
  max-width: 400px;
  margin-top: 18px;

  font-size: 0.85rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-links h4 {
  margin-bottom: 15px;
  font-size: 0.8rem;
}

.footer-links a {
  display: block;

  margin: 9px 0;

  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  padding-block: 22px;

  border-top: 1px solid var(--line);

  color: #686963;
  font-size: 0.72rem;
}


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

@media (max-width: 900px) {

  .desktop-nav,
  .nav-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 11vw, 5.5rem);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .split-image {
    min-height: 500px;
  }

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

  .process-card {
    min-height: 230px;
  }

  .process-card h3 {
    margin-top: 45px;
  }

  .professional-cta {
    grid-template-columns: 1fr;
  }

  .cta-image {
    min-height: 350px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 600px) {

  .nav-inner,
  .hero-content,
  .section-heading,
  .service-grid,
  .split-section,
  .process-grid,
  .professional-cta,
  .testimonial-grid,
  .home-contact,
  .footer-top,
  .footer-bottom {
    width: min(100% - 30px, var(--max));
  }

  .nav-inner {
    min-height: 72px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-block: 70px;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .service-strip,
  .process-section,
  .testimonial-section {
    padding-block: 80px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  h2 {
    font-size: 2.7rem;
  }

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

  .service-image {
    height: 230px;
  }

  .split-section {
    padding-block: 80px;
  }

  .split-image {
    min-height: 400px;
  }

  .professional-cta {
    margin-block: 60px;
  }

  .professional-cta > div:first-child {
    padding: 40px 25px;
  }

  .cta-image {
    min-height: 280px;
  }

  .testimonial {
    padding: 30px;
  }

  .home-contact {
    padding-block: 90px;
  }

  .footer {
    padding-top: 60px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-links {
    gap: 20px;
  }
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

