:root {
    --color-bg:         #f0ebe3;
    --color-bg-dark:    #2e3d4a;
    --color-text:       #1a1a18;
    --color-text-light: #4a4a45;
    --color-accent:     #c8713a;
    --color-accent-hover: #b05e28;
    --color-rule:       #c8713a;
  
    --font-main: 'Source Serif 4', Georgia, serif;
  
    --fs-nav:   16px;
    --fs-body:  18px;
    --fs-h1:    clamp(40px, 6vw, 72px);
    --fs-h2:    clamp(28px, 4vw, 48px);
    --fs-h3:    18px;
  
    --lh-body:  1.5;
    --max-w:    1200px;
    --section-gap: clamp(64px, 8vw, 120px);
    --img-radius: 4px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; }
  
  body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
  }
  
  img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--img-radius);
  }
  
  a { color: inherit; text-decoration: none; }
  .section-heading {
    font-family: var(--font-main);
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 28px;
  }
  .section-heading.underlined {
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 1px solid #D4956A;
  }
  
  .how__content .section-heading { margin-bottom: 32px; }
  .section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--section-gap) 40px;
  }
  
  .nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  
  .nav__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 0;
    margin-left: 50px;
  }
  
  
  .nav__links {
    display: flex;
    gap: 32px;
    font-size: var(--fs-nav);
    font-family: var(--font-main);
  }
  
  .nav__links a {
    position: relative;
    color: var(--color-text);
    opacity: 0.85;
    transition: opacity 0.2s;
  }
  .nav__links a:hover { opacity: 1; }
  .nav__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 1px;
    background: var(--color-accent);
    transition: width 0.25s ease;
  }
  .nav__links a:hover::after { width: 100%; }
  
  .nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
  }
  
  .hero {
    margin: 0 auto;
    padding: clamp(48px, 7vw, 96px) 40px clamp(48px, 7vw, 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    background-image: url('images/home.png');
    background-size: cover;
    background-position: center;
    background-color: #ede9e3;
  }
  
  .hero__title {
    font-size: var(--fs-h1);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 10px;
    margin-left: 50px;
  }
  
  .hero__tagline {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--color-text);
    margin-left: 50px;
  }
  
  .hero__body {
    max-width: 440px;
    margin-bottom: 36px;
    color: var(--color-text-light);
    margin-left: 50px;
  }
  
  .btn {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 400;
    border-radius: 4px;
    padding: 13px 40px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    margin-left: 50px;
  }
  .btn--primary {
    background: #D4956A;
    color: #1A1A18;
    border: none;
  }
  .btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
  }
  
  .hero__image {
    overflow: hidden;
    border-radius: var(--img-radius);
    max-height: 480px;
  }
  .hero__image img { height: 480px; object-fit: cover; }
  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }
  
  .about__text p { color: var(--color-text-light); max-width: 480px; }
  
  .about__image {
    overflow: hidden;
    border-radius: var(--img-radius);
    max-height: 380px;
  }
  .how {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }
  
  .how__image {
    overflow: hidden;
    border-radius: var(--img-radius);
    max-height: 380px;
  }
  
  .how__steps { display: flex; flex-direction: column; gap: 28px; }
  
  .how__step h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 6px;
  }
  .how__step p { color: var(--color-text-light); }
  .features {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--section-gap) 40px;
  }
  
  .features > .section-heading { margin-bottom: 48px; }
  
  .features__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 64px;
  }
  .features__row:last-child { margin-bottom: 0; }
  
  .features__image {
    overflow: hidden;
    border-radius: var(--img-radius);
    max-height: 340px;
  }
  
  .features__text {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  
  .feature-item h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
    margin-bottom: 6px;
  }
  .feature-item p { color: var(--color-text-light); }
 
  .cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(80px, 10vw, 140px) 40px;
    color: black;
  }
  
  .cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }
  
  .cta__content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
  }
  
  .cta__headline {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  
  .cta__sub {
    font-size: 17px;
    line-height: 1.5;
    opacity: 0.9;
  }
  
  .footer {
    background: var(--color-bg-dark);
    color: #F0EBE1;
    text-align: center;
    padding: 28px 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 18px;
  }
  
  .footer a {
    color: #F0EBE1;
    transition: color 0.2s;
  }
  .footer a:hover { color: #fff; }
  
  .footer__copy {
    font-size: 12px;
    margin-top: 2px;
  }
  
  @media (max-width: 900px) {
    .hero,
    .about,
    .how,
    .features__row {
      grid-template-columns: 1fr;
    }
  
    .hero__body { max-width: 100%; }
  }

  @media (max-width: 600px) {
    .nav { padding: 12px 20px; }
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
  
    .section,
    .features,
    .hero { padding-left: 20px; padding-right: 20px; }
  
    .hero__title { font-size: 42px; }
    .section-heading { font-size: 28px; }
  
    .features__row { gap: 32px; margin-bottom: 48px; }
  
    .cta { padding: 72px 20px; }
    .cta__headline { font-size: 30px; }
  
    .footer { padding: 24px 20px 20px; }
  .nav__links--open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    z-index: 1000;
  }
  .nav__hamburger--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__hamburger--active span:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero {
    grid-template-columns: 1fr;
    background-image: url('images/mobile-home.png');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px 40px;
    position: relative;
  }
  .hero__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
  }

  .hero__title {
    font-size: 64px;
    font-weight: 600;
    margin-left: 0;
    margin-bottom: 8px;
  }

  .hero__tagline {
    margin-left: 0;
    margin-bottom: 0;
    font-weight: 600;
  }

  .hero__body {
    margin-left: 0;
    margin-top: 20px;
    font-size: 16px;
  }

  .btn {
    margin-left: 0;
    margin-top: auto;
    align-self: stretch;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: clamp(220px, 40vw, 320px);
  }
  .about__image {
    overflow: hidden;
    order: 2;
    object-fit: contain !important;
  }
  .how__image {
    order: 2; 
  }
  .features__image{
    order: 2;
  }
  .cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/mob.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px; 
    min-height: 400px; 
    position: relative;
  }

  .cta__bg {
    display: none;
  }
  .cta__content {
    font-size: 36px;
  }
  
  .cta__sub{
    font-size: 16px;
    padding: 20px;
  }

  }