@font-face {
  font-family: 'Paris Signature';
  src: url('../fonts/ParisSignature-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #757D88;
  --accent-hover: rgba(117, 125, 136, 0.8);
  --black: #000000;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --header-bg: #F9F8F8;
  --font-heading: 'Parisienne', cursive;
  --font-body: 'Montserrat', sans-serif;
  --font-signature: 'Paris Signature', 'Parisienne', cursive;
  --max-width: 1200px;
  --header-height: 80px;
  --header-height-shrunk: 60px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--black);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
}

h2 {
  font-size: 40px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 30px;
}

h3 {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 15px;
}

p {
  margin-bottom: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 12px 32px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
  text-transform: none;
  letter-spacing: 0.5px;
  text-align: center;
}

.btn:hover {
  background: var(--accent-hover);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== HEADER ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  height: var(--header-height);
  transition: height 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  height: var(--header-height-shrunk);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}

.header__logo img {
  height: 50px;
  transition: height 0.3s;
}

.header.scrolled .header__logo img {
  height: 38px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.3px;
  transition: color 0.3s;
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--black);
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--header-bg);
  padding: 20px 5%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  color: var(--accent);
  font-size: 16px;
  font-weight: 400;
  padding: 8px 0;
  border-bottom: 1px solid rgba(117, 125, 136, 0.15);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: var(--header-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 40px 20px;
}

.hero__title {
  font-family: var(--font-signature);
  font-size: 60px;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 35px;
  opacity: 0.95;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--off-white);
}

.section--accent {
  background: var(--accent);
  color: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: 50px;
}

.section__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}

/* ===== WHY CHOOSE US ===== */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.benefits--three {
  grid-template-columns: repeat(3, 1fr);
}

.benefit {
  text-align: center;
  padding: 20px;
}

.benefit__number {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 15px;
  line-height: 1;
}

.benefit__text {
  font-size: 15px;
  line-height: 1.7;
}

/* ===== QUOTE CTA ===== */

.quote-cta {
  padding: 80px 0;
  background: var(--off-white);
}

.quote-cta__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
}

.quote-cta__text {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--accent);
  line-height: 1.5;
  margin-bottom: 30px;
}

.quote-cta__image img {
  border-radius: 0;
  width: 100%;
}

/* ===== PROJECTS SLIDER ===== */

.slider-section {
  padding: 80px 0;
  overflow: hidden;
}

.slider-note {
  text-align: center;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 30px;
  display: none;
}

.slider {
  position: relative;
  overflow: clip;
  margin: 0 auto 40px;
  width: 100%;
}

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider__slide {
  flex: 1 0 0%;
  position: relative;
}

.slider__slide img {
  width: 100%;
  aspect-ratio: 1920 / 836;
  object-fit: cover;
  display: block;
}

.slider__slide-name {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 24px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s;
}

.slider__arrow:hover {
  background: #c0c0c0;
}

.slider__arrow svg {
  width: 18px;
  height: 18px;
  fill: var(--black);
}

.slider__arrow--prev {
  left: 15px;
}

.slider__arrow--next {
  right: 15px;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.slider__dot.active {
  background: var(--accent);
}

/* ===== PACKAGES ===== */

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.package {
  background: var(--white);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.package:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.package__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.package__content {
  padding: 30px 25px;
}

.package__title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 20px;
}

.package__list {
  list-style: none;
  padding: 0;
}

.package__list li {
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 16px;
  position: relative;
}

.package__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ===== ABOUT ===== */

.about__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 50px;
  align-items: center;
}

.about__image img {
  width: 100%;
  border-radius: 0;
}

.about__text h2 {
  text-align: left;
}

/* ===== SUPPLIERS ===== */

.suppliers__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}

.suppliers__label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}

.suppliers__list {
  font-size: 14px;
  line-height: 2;
  color: #555;
}

/* ===== HOW IT WORKS ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.step {
  text-align: center;
  padding: 25px 20px;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 15px;
  line-height: 1;
}

.step__text {
  font-size: 15px;
  line-height: 1.7;
}

.step__text a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== PRICING (Homeowners) ===== */

.pricing {
  padding: 80px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.pricing__main {
  background: var(--white);
  border: 1px solid #e8e8e8;
  padding: 40px;
}

.pricing__price {
  font-family: var(--font-heading);
  font-size: 56px;
  color: var(--accent);
  margin-bottom: 25px;
}

.pricing__list {
  list-style: none;
  padding: 0;
}

.pricing__list li {
  font-size: 15px;
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 16px;
  position: relative;
}

.pricing__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pricing__addons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.addon {
  background: var(--off-white);
  padding: 25px;
}

.addon__title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 8px;
}

.addon__price {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.addon__text {
  font-size: 14px;
  line-height: 1.7;
}

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

.contact {
  background: var(--accent);
  color: var(--white);
  padding: 80px 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact h2 {
  color: var(--white);
  text-align: left;
}

.contact__form {
  display: grid;
  gap: 0;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact__field {
  margin-bottom: 20px;
}

.contact__field label {
  display: block;
  font-weight: 300;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--white);
}

.contact__field input,
.contact__field textarea,
.contact__field select {
  width: 100%;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  outline: none;
  transition: border-color 0.3s;
}

.contact__field input:focus,
.contact__field textarea:focus,
.contact__field select:focus {
  border-bottom-color: var(--white);
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact__field select option {
  color: var(--black);
  background: var(--white);
}

.contact__field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__submit {
  margin-top: 10px;
}

.contact__submit .btn {
  background: var(--white);
  color: var(--accent);
  min-width: 169px;
}

.contact__submit .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.contact__info h2 {
  font-family: var(--font-signature);
  font-size: 40px;
}

.contact__info p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
}

.contact__info a {
  color: var(--white);
}

.contact__note {
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.8;
  font-style: italic;
}

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

.footer {
  background: var(--off-white);
  padding: 50px 0 0;
  text-align: center;
}

.footer__logo img {
  height: 50px;
  margin: 0 auto 25px;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.footer__nav a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 400;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--black);
  transition: color 0.3s;
}

.footer__social a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__copyright {
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  font-size: 13px;
  color: #888;
}

/* ===== BACK TO TOP ===== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* ===== QUOTE HERO (Homeowners) ===== */

.quote-hero {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.quote-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.quote-hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.quote-hero__title {
  font-family: var(--font-signature);
  font-size: 40px;
  color: var(--white);
  margin-bottom: 25px;
}

/* ===== TEXT CENTER UTILITY ===== */

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

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

@media (max-width: 980px) {
  .header__nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero__title {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

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

  .quote-cta__inner {
    grid-template-columns: 1fr;
  }

  .quote-cta__image {
    order: -1;
  }

  .packages {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .about__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__text h2 {
    text-align: center;
  }

  .about__image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .suppliers__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

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

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

@media (max-width: 767px) {
  :root {
    --header-height: 66px;
    --header-height-shrunk: 50px;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .section {
    padding: 50px 0;
  }

  h2 {
    font-size: 28px;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefits--three {
    grid-template-columns: 1fr;
  }

  .slider-note {
    display: block;
  }

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

  .quote-cta__text {
    font-size: 26px;
  }

  .pricing__main {
    padding: 25px;
  }

  .contact h2 {
    text-align: center;
  }

  .contact__info {
    text-align: center;
  }

  .footer__nav {
    flex-direction: column;
    gap: 12px;
  }
}
