/* GLOBAL RESET & BODY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    min-height: 100%;
    background: radial-gradient(circle at top, #242424, #0a0a0a);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    color: #fff;
}

/* Global link reset (fixes purple underlined links) */
a,
a:visited {
    color: inherit;
    text-decoration: none;
}

    a:hover,
    a:focus {
        text-decoration: none;
    }

.page-content {
    flex: 1;
    padding-top: 80px; /* account for fixed header */
}

/* HOME MAIN */
.home-main {
    padding-bottom: 3rem;
}

/* HERO */
.home-hero {
    min-height: 78vh;
    background: linear-gradient(rgba(0,0,0,.68), rgba(0,0,0,.78)), var(--hero) center/cover no-repeat;
    display: grid;
    align-items: center;
    padding: 5.2rem 1.3rem 3.2rem;
}

.home-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.home-pill {
    display: inline-block;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    font-size: .92rem;
}

.home-title {
    margin-top: .9rem;
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
    line-height: 1.07;
}

.home-sub {
    margin-top: .8rem;
    max-width: 55ch;
    opacity: .9;
    font-size: 1.05rem;
}

.home-actions {
    display: flex;
    gap: .8rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.05rem;
    border-radius: 14px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.16);
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

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

    .home-btn.primary {
        background: #fff;
        color: #000;
        border-color: transparent;
    }

    .home-btn.ghost {
        background: rgba(255,255,255,.08);
        color: white;
    }

.home-hero-cards {
    margin-top: 2.5rem; /* more space from buttons */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-mini {
    min-height: 140px; /* ⬅️ BIGGER cards */
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.14);
    display: flex;
    align-items: center;
    gap: 18px;
}

    .home-mini img {
        width: 140px; /* ⬅️ MUCH bigger */
        height: 140px;
        object-fit: cover;
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,.25);
        background: #000;
    }

    .home-mini h3 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .home-mini p {
        font-size: .95rem;
        opacity: .9;
    }

/* SECTIONS */
.home-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.1rem 1.3rem;
}

.home-section-head h2 {
    font-size: 1.9rem;
}

.home-section-head p {
    opacity: .86;
    margin-top: .35rem;
}

/* SERVICES */
.home-service-tools {
    margin-top: 1.4rem;
    display: grid;
    gap: 1rem;
}

.home-search-field {
    display: grid;
    gap: .45rem;
    max-width: 420px;
}

.home-search-field span {
    font-weight: 700;
}

.home-search-field input {
    width: 100%;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 14px;
    padding: .9rem 1rem;
    outline: none;
}

.home-search-field input::placeholder {
    color: rgba(255,255,255,.62);
}

.home-search-field input:focus {
    border-color: rgba(255,255,255,.3);
    box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}

.home-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.home-category-pill {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color: #fff;
    border-radius: 999px;
    padding: .65rem .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.home-category-pill:hover,
.home-category-pill:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.24);
}

.home-category-pill.is-active {
    background: #fff;
    color: #000;
    border-color: transparent;
}

.home-service-status {
    margin-top: 1rem;
    opacity: .82;
}

.home-service-grid {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    align-items: stretch;
}

.home-service-card {
    display: flex;
    flex-direction: column;
    width: min(100%, 320px);
    flex: 0 1 min(100%, 320px);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    transition: transform .12s ease, border-color .12s ease;
}

    .home-service-card:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.22);
    }

.home-service-grid.service-count-1 .home-service-card {
    width: min(100%, 420px);
    flex-basis: min(100%, 420px);
}

.home-service-grid.service-count-2 .home-service-card {
    width: min(100%, 360px);
    flex-basis: min(100%, 360px);
}

.home-service-grid.service-count-3 .home-service-card,
.home-service-grid.service-count-5 .home-service-card {
    width: min(100%, 300px);
    flex-basis: min(100%, 300px);
}

.home-service-grid.service-count-4 .home-service-card {
    width: min(100%, 245px);
    flex-basis: min(100%, 245px);
}

    .home-service-card img {
        height: 170px;
        width: 100%;
        object-fit: cover;
    }

.home-service-body {
    padding: 14px;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1;
}

    .home-service-body h3 {
        font-size: 1.1rem;
    }

    .home-service-body p {
        opacity: .86;
        margin-top: .25rem;
        font-size: .95rem;
    }

.home-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.home-service-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .32rem .62rem;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.12);
    font-size: .78rem;
    font-weight: 700;
}

.home-service-cta {
    margin-top: auto;
    width: fit-content;
}

.home-service-empty {
    width: min(100%, 780px);
    margin: 0 auto;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
}

.home-service-empty h3 {
    font-size: 1.25rem;
}

.home-service-empty p {
    margin-top: .55rem;
    opacity: .86;
}

.home-service-empty .home-btn {
    margin-top: 1rem;
}

/* VIBE STRIP */
.home-vibe {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.3rem 1.2rem;
}

.home-vibe-inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.home-vibe-card {
    grid-column: span 4;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    gap: 12px;
}

    .home-vibe-card img {
        width: 86px;
        height: 86px;
        border-radius: 16px;
        object-fit: cover;
        border: 1px solid rgba(255,255,255,.14);
    }

    .home-vibe-card p {
        opacity: .86;
        margin-top: .25rem;
    }

/* GALLERY */
.home-gallery-grid {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

    .home-gallery-grid img {
        grid-column: span 4;
        width: 100%;
        height: 240px;
        object-fit: cover;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,.12);
        transition: transform .12s ease, border-color .12s ease;
    }

.home-center {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .home-hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-vibe-card {
        grid-column: span 6;
    }

    .home-gallery-grid img {
        grid-column: span 6;
    }
}

@media (max-width: 560px) {
    .home-hero-cards {
        grid-template-columns: 1fr;
    }

    .home-vibe-card {
        grid-column: span 12;
    }

    .home-gallery-grid img {
        grid-column: span 12;
        height: 220px;
    }
}

/*  RESPONSIVE DESIGN */

@media (max-width: 700px) {
    }


@media (max-width: 560px) {
  .home-mini img {
    width: 110px;
    height: 110px;
  }
}

/* =========================
   Mobile sizing tweaks (HOME only)
   Only affects small screens
========================= */
@media (max-width: 820px) {
  .home-hero{
    min-height: 62vh;
    padding: 4.4rem 1rem 2.2rem;
  }
  .home-pill{
    font-size: .82rem;
    padding: .28rem .6rem;
  }
  .home-title{
    font-size: clamp(1.65rem, 6.2vw, 2.35rem);
    line-height: 1.12;
  }
  .home-sub{
    font-size: .95rem;
    margin-top: .65rem;
  }
  .home-actions{
    gap: .55rem;
    margin-top: .95rem;
  }
  .home-btn{
    padding: .72rem .92rem;
    border-radius: 12px;
    font-weight: 800;
  }

  .home-hero-cards{
    gap: 14px;
    margin-top: 1.15rem;
  }
  .home-mini{
    min-height: 112px;
    padding: 12px 14px;
    border-radius: 18px;
    gap: 12px;
  }
  .home-mini img{
    width: 92px;
    height: 92px;
    border-radius: 14px;
  }
  .home-mini h3{
    font-size: 1rem;
  }
  .home-mini p{
    font-size: .84rem;
  }

  .home-section{
    padding: 2.2rem 1rem;
  }
  .home-section-head h2{
    font-size: 1.55rem;
  }
  .home-section-head p{
    font-size: .95rem;
  }

  .home-service-card,
  .home-vibe-card{
    padding: 16px;
    border-radius: 18px;
  }
  .home-service-card h3,
  .home-vibe-card h3{
    font-size: 1.05rem;
  }
  .home-service-card p,
  .home-vibe-card p{
    font-size: .92rem;
  }

  .home-gallery-grid{
    gap: 12px;
  }
  .home-gallery-grid img{
    border-radius: 16px;
  }
}


/* =========================
   POLISHED MOBILE HOME
========================= */
.home-main {
    overflow-x: hidden;
}

@media (max-width: 820px) {
    .home-main {
        padding-bottom: 2rem;
    }

    .home-hero {
        min-height: auto;
        padding: 5.2rem 0.9rem 2rem;
        background-position: center top;
    }

    .home-hero-inner {
        max-width: 100%;
        padding: 1rem;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.66));
        border: 1px solid rgba(255,255,255,.10);
        box-shadow: 0 18px 48px rgba(0,0,0,.26);
        backdrop-filter: blur(3px);
    }

    .home-pill {
        font-size: 0.76rem;
        padding: 0.34rem 0.62rem;
        line-height: 1.2;
        letter-spacing: 0.01em;
        background: rgba(255,255,255,.14);
        border-color: rgba(255,255,255,.16);
    }

    .home-title {
        margin-top: 0.8rem;
        font-size: clamp(2rem, 8vw, 2.55rem);
        line-height: 1.05;
    }

    .home-sub {
        margin-top: 0.7rem;
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.45;
        color: rgba(255,255,255,.92);
    }

    .home-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
        margin-top: 1rem;
    }

    .home-btn {
        min-height: 52px;
        padding: 0.9rem 0.95rem;
        border-radius: 16px;
        font-size: 0.98rem;
    }

    .home-btn.ghost {
        background: rgba(255,255,255,.14);
        border-color: rgba(255,255,255,.18);
    }

    .home-hero-cards {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-top: 1.15rem;
    }

    .home-mini {
        min-height: 0;
        padding: 0.8rem;
        border-radius: 20px;
        gap: 0.8rem;
        background: rgba(8,8,8,.72);
        border: 1px solid rgba(255,255,255,.10);
        box-shadow: 0 10px 26px rgba(0,0,0,.18);
    }

    .home-mini img {
        width: 82px;
        height: 82px;
        flex: 0 0 82px;
        border-radius: 14px;
    }

    .home-mini h3 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .home-mini p {
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .home-section {
        padding: 1.7rem 0.9rem;
    }

    .home-section-head {
        margin-bottom: 0.2rem;
    }

    .home-section-head h2 {
        font-size: 1.7rem;
        line-height: 1.12;
    }

    .home-section-head p {
        margin-top: 0.35rem;
        font-size: 0.94rem;
        line-height: 1.45;
    }

    .home-search-field {
        max-width: none;
    }

    .home-service-grid,
    .home-vibe-inner,
    .home-gallery-grid {
        gap: 0.9rem;
    }

    .home-service-grid {
        justify-content: center;
    }

    .home-service-card,
    .home-vibe-card {
        border-radius: 20px;
        background: rgba(255,255,255,.065);
        border-color: rgba(255,255,255,.10);
    }

    .home-service-card img {
        height: 200px;
    }

    .home-service-grid.service-count-4 .home-service-card,
    .home-service-grid.service-count-5 .home-service-card,
    .home-service-grid.service-count-3 .home-service-card,
    .home-service-grid.service-count-2 .home-service-card,
    .home-service-grid.service-count-1 .home-service-card {
        width: min(100%, 320px);
        flex-basis: min(100%, 320px);
    }

    .home-service-body {
        padding: 0.95rem 0.95rem 1.05rem;
    }

    .home-service-body h3,
    .home-vibe-card h3 {
        font-size: 1.08rem;
        line-height: 1.2;
    }

    .home-service-body p,
    .home-vibe-card p {
        margin-top: 0.3rem;
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .home-service-empty {
        padding: 1.35rem;
    }

    .home-vibe {
        padding: 0 0.9rem 0.8rem;
    }

    .home-vibe-card {
        align-items: center;
        padding: 0.9rem;
        gap: 0.85rem;
    }

    .home-vibe-card img {
        width: 78px;
        height: 78px;
        flex: 0 0 78px;
    }

    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-gallery-grid img {
        grid-column: auto;
        height: 155px;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(0,0,0,.14);
    }

    .home-center {
        margin-top: 1rem;
    }
}

@media (max-width: 560px) {
    .home-hero {
        padding: 5rem 0.75rem 1.6rem;
    }

    .home-hero-inner {
        padding: 0.9rem;
        border-radius: 22px;
    }

    .home-title {
        font-size: 2.1rem;
    }

    .home-actions {
        grid-template-columns: 1fr;
    }

    .home-btn {
        width: 100%;
    }

    .home-mini {
        align-items: center;
    }

    .home-mini img {
        width: 74px;
        height: 74px;
        flex-basis: 74px;
    }

    .home-section,
    .home-vibe {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .home-service-card img {
        height: 185px;
    }

    .home-service-card,
    .home-service-grid.service-count-4 .home-service-card,
    .home-service-grid.service-count-5 .home-service-card,
    .home-service-grid.service-count-3 .home-service-card,
    .home-service-grid.service-count-2 .home-service-card,
    .home-service-grid.service-count-1 .home-service-card {
        width: 100%;
        flex-basis: 100%;
    }

    .home-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .home-gallery-grid img {
        height: 132px;
        border-radius: 16px;
    }
}


/* ===== MOBILE SPACING IMPROVEMENTS ===== */
@media (max-width: 820px){

.home-main{
padding:1.8rem 1.2rem 3rem;
display:flex;
flex-direction:column;
gap:2rem;
}

.home-hero{
padding:2.6rem 1.5rem;
margin-bottom:2rem;
border-radius:22px;
}

.home-hero h1{
margin-bottom:1rem;
line-height:1.3;
}

.home-hero p{
margin-bottom:1.5rem;
font-size:0.95rem;
}

.hero-buttons{
display:flex;
flex-direction:column;
gap:0.9rem;
margin-bottom:2rem;
}

.hero-buttons a,
.hero-buttons button{
padding:0.95rem 1rem;
border-radius:14px;
}

.feature-card{
padding:1rem;
margin-bottom:1rem;
border-radius:18px;
}

.feature-card img{
width:52px;
height:52px;
}

.home-section{
margin-top:2.5rem;
}

.home-section h2{
margin-bottom:0.5rem;
font-size:1.4rem;
}

.home-section p{
margin-bottom:1.3rem;
font-size:0.92rem;
}

.service-card{
margin-bottom:1.2rem;
border-radius:18px;
overflow:hidden;
}

.gallery-grid{
gap:0.8rem;
}

}
