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

  :root {
    --gold: #c8963e;
    --gold-light: #e4b96a;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --white: #ffffff;
    --off-white: #f8f6f1;
    --gray: #6b7280;
    --light-gray: #e5e7eb;
    --text: #2d2d2d;
    --accent: #c8963e;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
  }

  /* ── HEADER ── */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15,15,26,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200,150,62,0.2);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.5px;
  }
  .logo span { color: var(--gold); }

  nav { display: flex; align-items: center; gap: 32px; }
  nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    position: relative;
  }
  nav a:hover { color: var(--gold); }

  .header-phone {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--gold);
    padding: 7px 16px;
    border-radius: 4px;
    transition: all 0.2s;
  }
  .header-phone:hover {
    background: var(--gold);
    color: var(--white);
  }

  /* ── HERO ── */
  .hero {
    min-height: 100svh;
    background: linear-gradient(120deg, #6e561a 60%, #fbeee6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 40px 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
  }

  /* Decorative SVG wave at the bottom of the hero section */
  .hero-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    z-index: 2;
    pointer-events: none;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 800px 600px at 70% 60%, rgba(200,150,62,0.08) 0%, transparent 70%),
      radial-gradient(ellipse 600px 400px at 20% 30%, rgba(200,150,62,0.05) 0%, transparent 60%);
    pointer-events: none;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,150,62,0.12);
    border: 1px solid rgba(200,150,62,0.3);
    color: var(--gold-light);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    text-align: center;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 900px;
  }
  .hero h1 span { color: var(--gold); }

  .hero-sub {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    text-align: center;
    letter-spacing: 0.5px;
  }
  .hero-rera {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 0.5px;
  }

  /* Search Box */
  .search-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,150,62,0.25);
    border-radius: 12px;
    padding: 28px 32px 32px;
    width: 100%;
    max-width: 860px;
    backdrop-filter: blur(16px);
  }

  .search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
  }

  .search-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .search-field select,
  .search-field input {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 11px 14px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .search-field select:focus,
  .search-field input:focus {
    outline: none;
    border-color: var(--gold);
  }
  .search-field select option { background: #1a1a2e; }

  .btn-search {
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .btn-search:hover { background: var(--gold-light); transform: translateY(-1px); }

  .hero-contact {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 0px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s;
  }
  .hero-contact-item:hover { color: var(--gold); }
  .hero-contact-item .icon {
    width: 36px; height: 36px;
    background: rgba(200,150,62,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
  }

  .hero-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    justify-content: center;
  }
  .hero-socials span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-right: 4px;
    FONT-WEIGHT: 600;
  }
  .social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
  }
  .social-link:hover { background: var(--gold); border-color: var(--gold); color: white; }

  /* ── SECTION COMMON ── */
  section { padding: 90px 40px; }
  .container { max-width: 1200px; margin: 0 auto; }

  .section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
  }
  .section-desc {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 700px;
  }

  /* ── ABOUT ── */
  .about-section { background: var(--off-white); }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
  .about-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .feature-dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
  }
  .feature-text strong { color: var(--dark); font-weight: 600; display: block; margin-bottom: 2px; }
  .feature-text p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
  }
  .stat-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  }
  .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat-label { color: var(--gray); font-size: 0.85rem; font-weight: 500; }

  /* ── CONTACT FORM ── */
  .contact-section { background: var(--dark); }
  .contact-section .section-title { color: var(--white); }
  .contact-section .section-label { color: var(--gold-light); }

  .contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    transition: border-color 0.2s;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { outline: none; border-color: var(--gold); }
  .form-group textarea { min-height: 100px; resize: vertical; }
  .form-group select option { background: var(--dark); }
  .btn-submit {
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
  }
  .btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

  /* ── LISTINGS ── */
  .listings-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .view-all-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.2s;
  }
  .view-all-link:hover { background: var(--gold); color: white; }

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

  .property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
  }
  .property-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

  .card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
  }
  .card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e4dc, #d4cfc5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
  }
  .card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 8px;
  }
  .badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  .badge-featured { background: var(--gold); color: white; }
  .badge-sale { background: var(--dark); color: white; }

  .card-body { padding: 20px; }
  .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
  }
  .card-meta span {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .card-meta span::before {
    content: '•';
    color: var(--gold);
    font-size: 1rem;
  }
  .card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
  }

  /* ── NEWSLETTER ── */
  .newsletter-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 70px 40px;
    text-align: center;
  }
  .newsletter-section .section-title { color: var(--white); margin-bottom: 8px; }
  .newsletter-section p { color: rgba(255,255,255,0.6); margin-bottom: 32px; }
  .newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  .newsletter-form input {
    flex: 1;
    min-width: 200px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
  }
  .newsletter-form input:focus { outline: none; border-color: var(--gold); }
  .newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }

  .community-bg:nth-child(odd) { background: linear-gradient(135deg, #16213e, #1a3a5e); }
  .community-name {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
  }
  .community-first .community-name { font-size: 1.4rem; }
  .community-explore {
    display: inline-block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    padding: 5px 14px;
    border-radius: 30px;
    transition: all 0.2s;
  }
  .community-card:hover .community-explore { background: var(--gold); color: white; }

  /* ── SERVICES ── */
  .services-section { background: var(--white); }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
  }
  .service-card {
    padding: 32px 28px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    transition: all 0.25s;
  }
  .service-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(200,150,62,0.1);
    transform: translateY(-3px);
  }
  .service-icon {
    width: 52px; height: 52px;
    background: rgba(200,150,62,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
  }
  .service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; }

  /* ── RATING BAR ── */
  .rating-bar {
    background: var(--gold);
    padding: 16px 40px;
    text-align: center;
  }
  .rating-bar p {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  .stars { color: var(--dark); font-size: 1.1rem; margin-right: 8px; }

  /* ── TESTIMONIALS ── */
  .testimonials-section { background: var(--off-white); }
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
  }
  .testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 28px;
    border: 1px solid var(--light-gray);
    position: relative;
  }
  .testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px; right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(200,150,62,0.15);
    line-height: 1;
  }
  .testimonial-text {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
  }
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .author-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .author-name { font-weight: 700; color: var(--dark); font-size: 0.9rem; }
  .author-role { color: var(--gray); font-size: 0.8rem; }

  /* ── DEVELOPERS ── */
  .developers-section { background: var(--white); padding: 80px 40px; }
  .developers-section .section-title { text-align: center; }
  .developers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 48px;
  }
  .dev-card {
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 0.3px;
    transition: all 0.2s;
    cursor: pointer;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .dev-card:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 4px 16px rgba(200,150,62,0.1);
  }

  /* ── BLOG ── */
  .blog-section { background: var(--off-white); }
  .blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap; gap: 16px;
  }
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
  }
  .blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.09); }
  .blog-img {
    height: 160px;
    background: linear-gradient(135deg, #1a1a2e, #2d3a5e);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
  }
  .blog-body { padding: 20px; }
  .blog-date { font-size: 0.75rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
  .blog-category {
    display: inline-block;
    background: rgba(200,150,62,0.1);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    margin-bottom: 10px;
  }
  .blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .read-more {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .read-more:hover { gap: 8px; }

  /* ── FOOTER ── */
  footer {
    background: var(--darker);
    padding: 70px 40px 30px;
    color: rgba(255,255,255,0.6);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
  }
  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    display: block;
  }
  .footer-logo span { color: var(--gold); }
  .footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
  .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 12px;
  }
  .footer-contact-icon { color: var(--gold); margin-top: 2px; }
  .footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
  }
  .footer-col ul li a:hover { color: var(--gold); }

  .footer-socials { display: flex; gap: 10px; margin-top: 20px; }
  .footer-social {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
  }
  .footer-social:hover { background: var(--gold); border-color: var(--gold); color: white; }
  .title-highlight {
    font-size: 18px;
    color: #FFF !important;
  }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
  }

  /* ── RESPONSIVE: TABLET (max 1024px) ── */
  @media (max-width: 1024px) {
    .listings-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .developers-grid { grid-template-columns: repeat(4, 1fr); }
    .communities-grid { grid-template-columns: repeat(3, 1fr); }
    .communities-grid .community-card:first-child { grid-column: span 2; }
  }

  /* ── RESPONSIVE: MOBILE (max 768px) ── */
  @media (max-width: 768px) {

    /* Header */
    header { padding: 0 20px; }
    nav { display: none; }

    /* Hero — full fix */
    .hero {
      min-height: 100svh;
      padding: 100px 20px 80px;
      text-align: center;
      align-items: center;
    }

    .hero h1 {
      font-size: clamp(2rem, 8vw, 2.8rem);
      text-align: center;
    }

    .hero-sub {
      font-size: 0.95rem;
      text-align: center;
      padding: 0 8px;
    }

    .hero-rera {
      font-size: 11px;
      text-align: center;
      padding: 0 8px;
      margin-bottom: 32px;
    }

    /* Search box — stack all fields */
    .search-box {
      padding: 20px 16px 24px;
      width: 100%;
    }

    .search-row {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .btn-search {
      width: 100%;
      padding: 13px 20px;
      text-align: center;
    }

    /* Hero contact links */
    .hero-contact {
      flex-direction: column;
      gap: 14px;
      align-items: center;
      margin-top: 24px;
    }

    /* Social links row */
    .hero-socials {
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 24px;
    }

    /* Sections */
    section { padding: 60px 20px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Listings */
    .listings-grid { grid-template-columns: 1fr; }

    /* Blog */
    .blog-grid { grid-template-columns: 1fr; }

    /* Developers */
    .developers-grid { grid-template-columns: repeat(3, 1fr); }

    /* Communities */
    .communities-grid { grid-template-columns: repeat(2, 1fr); }
    .communities-grid .community-card:first-child { grid-column: span 2; }

    /* Contact form */
    .form-row { grid-template-columns: 1fr; }
    .btn-submit { width: 100%; text-align: center; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    footer { padding: 50px 20px 24px; }

    /* Newsletter */
    .newsletter-section { padding: 50px 20px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { min-width: unset; width: 100%; }
  }

  /* ── RESPONSIVE: SMALL MOBILE (max 400px) ── */
  @media (max-width: 400px) {
    .hero h1 { font-size: 1.9rem; }
    .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .developers-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* scroll animation */
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .fade-in.visible { opacity: 1; transform: none; }