/* =========================================================
   STAGIONEST
   PROFESSIONAL VIRTUAL STAGING WEBSITE
   FINAL REVISED CSS
   ========================================================= */


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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;

  background: #f8f7f4;
  color: #202522;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}


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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

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

.section {
  padding: 90px 0;
}

.section-label,
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5d7466;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 45px;
}

.section-heading h2,
.portfolio-intro h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: #202522;
}

.section-heading p,
.portfolio-intro p {
  margin-top: 18px;
  color: #66706a;
  font-size: 1.05rem;
}


/* =========================
   BUTTONS
   ========================= */

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

  min-height: 48px;
  padding: 12px 24px;

  border-radius: 999px;

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

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #344b3e;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(52, 75, 62, 0.18);
}

.btn-primary:hover {
  background: #26392f;
}

.btn-secondary {
  background: #ffffff;
  color: #344b3e;
  border: 1px solid #d6ddd7;
}

.btn-secondary:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-light {
  background: #ffffff;
  color: #344b3e;
}

.btn-light:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Green outlined button (regular packages) */
.btn-outline-green {
  background: transparent;
  color: #344b3e;
  border: 2px solid #5d7466;
}

.btn-outline-green:hover {
  background: #5d7466;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(93, 116, 102, 0.25);
}

/* Solid green button (best value package) */
.btn-solid-green {
  background: #5d7466;
  color: #ffffff;
  border: 2px solid #5d7466;
  box-shadow: 0 8px 20px rgba(93, 116, 102, 0.22);
}

.btn-solid-green:hover {
  background: #4a5e52;
  border-color: #4a5e52;
}


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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e5e8e5;

  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  position: relative;

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

  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 165px;
  height: 58px;
  max-width: 165px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 25px;
}

.main-nav a {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  color: #414a45;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #5d7466;
}

.menu-toggle {
  display: none;

  border: 0;
  background: transparent;

  font-size: 1.7rem;
  color: #344b3e;

  cursor: pointer;
}


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

.hero {
  position: relative;
  padding: 42px 0 55px;
  background: #202522;
}

.hero-grid {
  position: relative;
  min-height: 650px;

  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;

  overflow: hidden;
  border-radius: 28px;

  box-shadow: 0 25px 70px rgba(32, 37, 34, 0.22);
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;

  overflow: hidden;
  background: #d9ddd9;
}

.hero-image {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: 0;

  transition: transform 0.6s ease;
}

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

  background:
    linear-gradient(
      90deg,
      rgba(20, 27, 23, 0.88) 0%,
      rgba(20, 27, 23, 0.68) 38%,
      rgba(20, 27, 23, 0.28) 72%,
      rgba(20, 27, 23, 0.08) 100%
    );
}

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

  align-self: center;

  width: min(650px, 62%);
  padding: 65px 0 65px 65px;

  color: #ffffff;
}

.hero-content .eyebrow {
  color: #dce7df;
}

.hero-content h1 {
  margin-top: 16px;

  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;

  color: #ffffff;

  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
}

.hero-content h1 span {
  display: block;
  color: #dce7df;
}

.hero-text {
  max-width: 600px;
  margin-top: 24px;

  color: #f0f3f0;
  font-size: 1.08rem;

  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 30px;
}

.hero-buttons .btn-primary {
  background: #ffffff;
  color: #344b3e;
}

.hero-buttons .btn-primary:hover {
  background: #eef2ef;
}

.hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
  margin-top: 38px;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-feature strong {
  color: #ffffff;
  font-size: 0.88rem;
}

.hero-feature span {
  color: #d8dfda;
  font-size: 0.78rem;
}

.hero-image-label {
  position: absolute;

  right: 24px;
  bottom: 24px;
  z-index: 3;

  display: flex;
  flex-direction: column;

  padding: 12px 16px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.94);
  color: #202522;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-image-label span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #5d7466;
}

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


/* =========================
   PORTFOLIO INTRO
   ========================= */

.portfolio-intro {
  padding-top: 95px;
  padding-bottom: 48px;
  background: #ffffff;
}


/* =========================
   PORTFOLIO
   ========================= */

.portfolio-section {
  padding: 10px 0 105px;
  background: #ffffff;
}

.portfolio-slider {
  position: relative;
}

.portfolio-card {
  display: none;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #e2e6e2;
  border-radius: 22px;

  box-shadow:
    0 15px 45px rgba(32, 37, 34, 0.08);
}

.portfolio-card.active {
  display: block;
  animation: fadeIn 0.45s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;

  background: #e5e8e5;
}

.portfolio-image {
  position: relative;
  overflow: hidden;

  min-width: 0;
  background: #eeeeeb;
}

.portfolio-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;

  object-fit: cover;
  object-position: center;

  transition: transform 0.5s ease;
}

.portfolio-image:hover img {
  transform: scale(1.025);
}

/* Prevent browser broken-image text/filename from becoming visible. */
.portfolio-image img.image-error {
  min-height: 280px;
  object-fit: contain;
  background: #eeeeeb;
  font-size: 0;
}

.image-badge {
  position: absolute;

  top: 15px;
  left: 15px;

  z-index: 2;

  padding: 6px 10px;

  border-radius: 999px;

  background: #ffffff;
  color: #344b3e;

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.image-badge.after {
  background: #344b3e;
  color: #ffffff;
}

.portfolio-info {
  padding: 25px 28px 30px;
}

.portfolio-info h3 {
  font-size: 1.35rem;
  color: #202522;
}

.portfolio-info p {
  margin-top: 8px;
  color: #69726c;
}

.slider-controls,
.style-controls {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 18px;

  margin-top: 25px;
}

.slider-btn {
  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #d7ded8;
  border-radius: 50%;

  background: #ffffff;
  color: #344b3e;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.slider-btn:hover {
  background: #344b3e;
  color: #ffffff;
  transform: translateY(-2px);
}

.slider-btn:focus-visible {
  outline: 3px solid rgba(93, 116, 102, 0.35);
  outline-offset: 3px;
}

#sliderCounter,
#styleCounter {
  min-width: 55px;

  text-align: center;

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

  color: #5d7466;
}


/* =========================
   DESIGN STYLES
   ========================= */

.styles-section {
  background: #f3f1eb;
}

.style-showcase {
  position: relative;

  max-width: 900px;
  margin: 0 auto;

  overflow: hidden;

  border-radius: 24px;

  background: #ffffff;

  box-shadow:
    0 18px 50px rgba(32, 37, 34, 0.12);
}

.style-slide {
  display: none;
  position: relative;
  background: #e9e9e5;
}

.style-slide.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.style-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;

  object-fit: cover;
  object-position: center;
}

.style-slide img.image-error {
  min-height: 450px;
  object-fit: contain;
  font-size: 0;
}

.style-caption {
  position: absolute;

  left: 22px;
  right: 22px;
  bottom: 22px;

  max-width: 440px;

  padding: 20px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.94);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.style-caption span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #5d7466;
}

.style-caption h3 {
  margin-top: 4px;
  font-size: 1.35rem;
}

.style-caption p {
  margin-top: 4px;
  color: #68716b;
}


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

.services-section {
  background: #ffffff;
}

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

.service-card {
  padding: 32px;
  background: #f8f7f4;
  border: 1px solid #e4e7e3;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(32, 37, 34, 0.09);
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.service-card p {
  margin-top: 10px;
  color: #68716b;
}


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

.about-section {
  background: #f8f7f4;
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
  color: #4a524c;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-content p {
  margin-bottom: 18px;
}

.about-content p:last-child {
  margin-bottom: 0;
}


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

.process-section {
  background: #ffffff;
}

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

.process-step {
  padding: 30px 24px;
  background: #f8f7f4;
  border: 1px solid #e3e7e3;
  border-radius: 18px;
}

.process-step h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.process-step p {
  margin-top: 8px;
  color: #6c756f;
  font-size: 0.92rem;
}

.process-note {
  margin-top: 32px;
  text-align: center;
  color: #5d7466;
  font-size: 0.95rem;
  font-weight: 600;
}


/* =========================
   PRICING
   ========================= */

.pricing-section {
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  align-items: stretch;
}

.pricing-card {
  position: relative;

  display: flex;
  flex-direction: column;

  padding: 34px 25px;

  border: 1px solid #dfe4df;
  border-radius: 20px;

  background: #ffffff;

  text-align: center;

  box-shadow:
    0 10px 30px rgba(32, 37, 34, 0.05);
}

.pricing-card.featured {
  border: 2px solid #5d7466;
  transform: translateY(-8px);
}

.pricing-card h3 {
  font-size: 1.3rem;
}

.popular {
  position: absolute;

  top: -13px;
  left: 50%;

  transform: translateX(-50%);

  padding: 5px 12px;

  border-radius: 999px;

  background: #5d7466;
  color: #ffffff;

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.price {
  margin-top: 15px;

  font-size: 2rem;
  font-weight: 800;

  color: #344b3e;
  line-height: 1.1;
}

.price span {
  display: block;
  margin-top: 5px;

  font-size: 0.78rem;
  font-weight: 600;
  color: #7a837d;
}

.custom-price {
  font-size: 2rem;
}

.pricing-card > p {
  min-height: 48px;
  margin-top: 10px;
  color: #6d766f;
}

.pricing-card ul {
  margin: 22px 0;

  list-style: none;

  color: #58625b;

  font-size: 0.88rem;
}

.pricing-card li {
  margin: 8px 0;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin-top: 28px;

  text-align: center;

  color: #68716b;
  font-size: 0.92rem;
}


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

.cta-section {
  padding: 80px 0;

  background:
    linear-gradient(
      135deg,
      #344b3e,
      #50695a
    );

  color: #ffffff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.cta-content {
  max-width: 700px;
}

.cta-section .section-label {
  color: #dce7df;
}

.cta-section h2 {
  margin-top: 10px;

  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
}

.cta-section p {
  margin-top: 15px;

  color: #e1e9e3;

  font-size: 1.05rem;
}


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

.site-footer {
  background: #1f2924;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;

  gap: 50px;

  padding: 65px 0;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo {
  display: block;
  width: 165px;
  height: 58px;
  max-width: 165px;
  object-fit: contain;
  object-position: left center;
}

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

  color: #c4cec7;

  font-size: 0.92rem;
}

.footer-contact {
  margin-top: 18px;
}

.footer-contact p {
  margin: 6px 0;
  font-size: 0.92rem;
}

.footer-contact a {
  color: #dce7df;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links a {
  margin: 5px 0;

  color: #c4cec7;

  font-size: 0.9rem;

  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
  padding: 20px 0;
}

.footer-bottom p {
  color: #aeb9b1;
  font-size: 0.8rem;
}


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

@media (max-width: 1050px) {

  .header-inner {
    gap: 18px;
  }

  .brand img {
    width: 155px;
    max-width: 155px;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.84rem;
  }

  .hero-grid {
    min-height: 620px;
  }

  .hero-content {
    width: min(680px, 72%);
    padding-left: 50px;
  }

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

  .pricing-card.featured {
    transform: none;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


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

@media (max-width: 700px) {

  .section {
    padding: 65px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 145px;
    max-width: 145px;
    height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;

    top: 70px;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;

    padding: 18px 4%;

    background: #ffffff;

    border-bottom: 1px solid #e5e8e5;

    box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 0;
  }

  .hero {
    padding: 18px 0 30px;
  }

  .hero-grid {
    min-height: 680px;
    border-radius: 20px;
  }

  .hero-content {
    width: 100%;
    padding: 42px 28px 35px;
    text-align: center;
    align-self: center;
  }

  .hero-content h1 {
    font-size: 2.45rem;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .hero-image {
    object-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(20, 27, 23, 0.82) 0%,
        rgba(20, 27, 23, 0.60) 50%,
        rgba(20, 27, 23, 0.48) 100%
      );
  }

  .hero-image-label {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .portfolio-images {
    grid-template-columns: 1fr;
  }

  .portfolio-info {
    padding: 22px;
  }

  .style-slide img {
    aspect-ratio: 4 / 3;
  }

  .style-slide img.image-error {
    min-height: 300px;
  }

  .style-caption {
    position: relative;

    left: auto;
    right: auto;
    bottom: auto;

    margin: 0;

    border-radius: 0;
    box-shadow: none;
  }

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

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

  .pricing-card {
    padding: 32px 26px;
  }

  .footer-logo {
    width: 145px;
    max-width: 145px;
    height: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .cta-inner {
    text-align: center;
    align-items: center;
  }

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

}


/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 430px) {

  .brand img {
    width: 145px;
  }

  .hero-grid {
    min-height: 720px;
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-content h1 {
    font-size: 2.15rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .portfolio-info h3 {
    font-size: 1.15rem;
  }

  .style-caption h3 {
    font-size: 1.2rem;
  }

}


/* =========================
   FINAL STABILITY FIXES
   ========================= */

.site-header, .site-header * {
  max-width: 100%;
}

.header-inner {
  min-width: 0;
}

.brand {
  min-width: 0;
}

.hero-image-wrapper img,
.portfolio-image img,
.style-slide img,
.footer-logo {
  max-width: 100%;
}

.cta-inner .btn-light {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .main-nav {
    z-index: 1100;
  }

  .cta-inner .btn-light {
    width: 100%;
    max-width: 320px;
  }
}


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

.contact-section {
  background: #f8f7f4;
}

.contact-content {
  max-width: 640px;
  margin: 0 auto;
  color: #4a524c;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-content > p {
  margin-bottom: 24px;
}

.contact-details {
  margin: 28px 0;
}

.contact-details p {
  margin: 10px 0;
  font-size: 1.05rem;
}

.contact-details a {
  color: #344b3e;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: #5d7466;
}

.contact-note {
  margin-top: 20px;
  color: #5d7466;
  font-size: 0.98rem;
}

.sample-note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: #dce7df;
  line-height: 1.55;
  opacity: 0.95;
}
