/* homepage.css */

body {
    background-color: #fff;
}

/**************
*****************
*************** HERO ── 
****************
******************/

.hero {
    padding: 60px 60px 0;
    max-width: 1440px;
    margin: 0 auto;
    align-items: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero .img-cards{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero .img-cards img{
    object-fit: contain;
    width: 36%;
}

.hero .img-cards img:nth-child(2){
    position: absolute;
    bottom: -18px;
    width: 31%;
}

.hero-overlay{
    position: relative;
    padding-top: 80px;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(0.8rem, 4vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #181819;
    margin-bottom: 24px;
}

.hero-overlay .blurry-bar{
    height: 70px;
}

.hero-tag span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-tag .sep {
    color: #181819;
}

.hero-headline {
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: clamp(72px, 9vw, 120px);
    line-height: 0.80;
    text-transform: uppercase;
    color: var(--text-primary);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 10px;
    text-align: center;
}

.hero-headline .text{
    overflow: hidden;
    display: inline-block;
}

.hero-headline .gold {
    background-image: linear-gradient(to left, #A16C16, #E6B554);
    background-clip: text;
    color: transparent;
}

.hero-headline > div{
    display: flex;
    gap: 20px;
}

.hero-pill {
    background: #fff;
    border-radius: 16px;
    margin: 0 6px;
    height: 100px;
    width: fit-content;
    overflow: hidden;
}

.hero-pill img{
    object-fit: cover;
    width: 150px;
}

.hero-pill-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.hero-badge {
    border-radius: 16px;
    padding: 4px 10px;
    gap: 6px;
    background: #fff;
    margin: 0 6px;
    height: 99px;
    overflow: hidden;
    width: 200px;
}

.hero-badge-company-images{
    display: flex;
    position: relative;
}

.hero-badge-company-images .img{
    object-fit: contain;
    position: absolute;
    right: -150px;
    width: 150px;
}

.hero-badge-company-images .c-image-1{
    margin-top: 25px;
}

.hero-sub {
    font-size: clamp(0.8rem, 4vw, 1.55rem);
    color: #8D8D8D;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0;
    font-weight: 500;
    width: 55%;
    line-height: 1.6;
    text-transform: uppercase;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    margin-bottom: 50px;
}

.hero-ctas .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #A16C16, #E6B554);
    border: 2px solid #A16C16;
    color: #fff;
    padding: 10px 14px 10px 34px;
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 55px;
    transition: all .2s;
    height: fit-content;
}

.hero-ctas .btn-primary:hover {
    background: var(--text-primary);
    color: var(--white);
    border-color: #000;
}

.hero-ctas .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #A16C16;
    color: var(--text-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all .2s;
    background: transparent;
    color: #000;
    padding: 10px 14px 10px 34px;
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    font-weight: 700;
    border-radius: 55px;
    height: fit-content;
}

.hero-ctas .btn-outline:hover {
    background: var(--text-primary);
    color: var(--white);
    background: linear-gradient(45deg, #A16C16, #E6B554);
}

.hero-ctas .btn-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    padding: 7px;
    background-color: #fff;
}

.hero-ctas .btn-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-ctas .btn-primary:hover .btn-icon {
    background: var(--white);
    color: var(--text-primary);
}

/* ── HERO GALLERY ── */
.hero-gallery {
    display: flex;
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 20px 0px;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.hero-gallery-item {
    overflow: hidden;
    background: var(--gray-bg);
    max-width: 450px;
    flex-shrink: 0;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    position: relative;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.19);
    transform: translateX(-10px);
}

.hero-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/**************
*****************
*************** Services Section ── 
****************
******************/

/* ── SERVICES SECTION ── */
.section {
    padding: 80px 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-full {
    padding: 80px 60px;
}

.section-full-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--secondary-font);
    font-size: clamp(42px, 5vw, 100px);
    text-transform: uppercase;
    line-height: 1;
    color: var(--text-primary);
    font-weight: 400;
}

.section-desc {
    max-width: 34%;
    text-align: left;
    font-size: clamp(0.9rem, 5vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── SERVICES GRID ── */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 100;
}

.services-grid .row{
    display: flex;
    gap: 20px;
}

.service-card {
    border: 1.5px solid var(--border);
    border-radius: 31.45px;
    padding: 32px 28px;
    background: var(--white);
    transition: all .25s;
    cursor: pointer;
    box-shadow: 0 0 35px 0 rgba(0, 0, 0, 0.09);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(200, 168, 75, 0.12);
    transform: translateY(-4px);
}

.service-card.featured {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 8px 32px rgba(200, 168, 75, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 55px;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 27px;
    font-size: 22px;
    padding: 16px;
}

.service-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-card.featured .service-icon {
    background: var(--golden-gradient);
    color: var(--white);
}

.service-card h3 {
    font-size: clamp(0.9rem, 5vw, 1.1rem);
    font-family: var(--accent-font);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-primary);
    border-top: 1.3px solid #E6E6E6;
    padding-top: 27px;
}

.service-card p {
    font-size: clamp(0.7rem, 5vw, 0.82rem);
    color: var(--text-secondary);
    line-height: 1.65;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: clamp(0.7rem, 5vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: transparent;
    background: var(--golden-gradient);
    background-clip: text;
}

.service-link:hover {
    color: var(--text-primary);
}

/**************
*****************
*************** Stats ── 
****************
******************/

/* ── STATS ── */
.stats-bar {
    padding: 50px 60px;
    position: relative;
    z-index: 999;
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 100px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: var(--secondary-font);
    font-size: 7rem;
    line-height: 1;
    color: var(--text-primary);
}

.stat-label {
    font-size: clamp(0.8rem, 5vw, 1rem);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 6px;
}

.stats-bar .sep-line {
    width: 2px;
    height: auto;
    background-color: #E5E5E5;
}

/**************
*****************
*************** Portfolio Section ── 
****************
******************/

/* ── PORTFOLIO FILTERS (premium pill style) ── */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.portfolio-filters .filter-btn {
    font-size: 0.82rem;
    color: #6B7280;
    font-weight: 600;
    background: transparent;
    padding: 10px 22px;
    border-radius: 50px;
    border: 1.5px solid #E5E5E5;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.portfolio-filters .filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-left: 6px;
    padding: 0 5px;
    background: rgba(0,0,0,0.06);
    color: #999;
    transition: all 0.3s;
}

.portfolio-filters .filter-btn.active {
    color: #fff;
    background: var(--golden-gradient);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(161, 108, 22, 0.3);
}

.portfolio-filters .filter-btn.active .filter-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.portfolio-filters .filter-btn:hover:not(.active) {
    color: #181819;
    border-color: #A16C16;
    background: rgba(161, 108, 22, 0.05);
}

/* ── PORTFOLIO GRID ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── PORTFOLIO CARD (image-only with hover overlay) ── */
a.portfolio-item {
    text-decoration: none;
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

a.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Card image fills entire card */
.portfolio-item .proj-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    transform: none;
    margin: 0;
    background: #f0f0f0;
}

.portfolio-item .proj-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .proj-img img {
    transform: scale(1.08);
}

/* Category pill (top-left) */
.portfolio-item .card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255,255,255,0.9);
    color: #333;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.3s;
}

/* Gradient overlay — always visible, stronger at bottom */
.portfolio-item .card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        transparent 25%,
        rgba(0,0,0,0.15) 50%,
        rgba(0,0,0,0.7) 75%,
        rgba(0,0,0,0.92) 100%
    );
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.portfolio-item:hover .card-overlay {
    background: linear-gradient(
        to bottom,
        transparent 15%,
        rgba(0,0,0,0.2) 40%,
        rgba(0,0,0,0.8) 70%,
        rgba(0,0,0,0.95) 100%
    );
}

/* Card content (bottom) */
.portfolio-item .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 16px;
}

.portfolio-item h3 {
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.portfolio-item .card-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.portfolio-item .card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--golden-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item:hover .card-arrow {
    opacity: 1;
    transform: scale(1);
}

.portfolio-item .card-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

/* Filter animation: staggered fade-in */
.portfolio-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-item.filter-hidden {
    display: none !important;
}

.portfolio-item.filter-reveal {
    animation: filterIn 0.5s ease forwards;
}

@keyframes filterIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Legacy tags — hidden in grid, shown in detail pages */
.portfolio-tags, .portfolio-item-sub {
    display: none;
}

.tag {
    padding: 5px 16px;
    border: 1px solid #BCBCBC;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #BCBCBC;
}

.view-portfolio {
    text-align: right;
    padding: 50px 0 20px;
}

.view-portfolio a {
    font-family: var(--secondary-font);
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    transition: color .2s;
    background-image: var(--golden-gradient);
    -webkit-background-clip: text;  /* ✅ added */
    background-clip: text;
    -webkit-text-fill-color: transparent;  /* ✅ added */
    color: transparent; /* fallback */
}

.view-portfolio a:hover {
    color: var(--gold);
}

/* ── CLIENTS ── */
.clients-bar {
    padding: 40px 60px;
}

.clients-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    flex-wrap: wrap;
}

.client-logo {
    width: 165px;
    height: auto;
    background: var(--gray-bg);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: filter .2s;
}

.client-logo:hover {
    filter: brightness(0.6);
}

/* ── PROVEN RESULTS SECTION ── */
.proven-section {
    padding: 80px 60px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.proven-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

.proven-header .section-title {
    max-width: 440px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero {
        padding: 40px 20px 0;
    }

    .section {
        padding: 60px 20px;
    }

    .section-full {
        padding: 60px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stats-inner {
        gap: 40px;
    }

    .hero-gallery {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   PORTFOLIO RESPONSIVE STYLES
   Breakpoints: 360, 390, 410, 430 (mobile portrait),
                768 landscape, tablet portrait (769–1024),
                tablet landscape (1025–1200)
   Link AFTER portfolio.css to override defaults.
   ============================================================ */


/* ──────────────────────────────────────────────────────────────
   TABLET LANDSCAPE  (1025px – 1200px)
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 1025px) and (max-width: 1200px) {

  /* Hero */
  .hero-overlay { padding-top: 96px; }
  .hero { padding: 48px 48px 0; }
  .hero-headline { font-size: clamp(60px, 7.5vw, 96px); }
  .hero-sub { font-size: 1.25rem; width: 60%; }
  .hero .img-cards img { width: 34%; }
  .hero .img-cards img:nth-child(2) { width: 29%; }

  /* Portfolio grid */
  .proven-section { padding: 70px 48px; }
  .portfolio-grid { gap: 36px; }
  .portfolio-item h3 { font-size: clamp(1.4rem, 3vw, 2.4rem); }

  /* Clients */
  .clients-bar { padding: 36px 48px; }
  .client-logo { width: 140px; }
}


/* ──────────────────────────────────────────────────────────────
   TABLET PORTRAIT  (769px – 1024px)
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  /* Hero */
  .hero-overlay { padding-top: 88px; }
  .hero { padding: 40px 36px 0; }
  .section-container { border-radius: 16px; }
  .hero-headline { font-size: clamp(52px, 7vw, 80px); gap: 6px 10px; }
  .hero-sub { font-size: 1.1rem; width: 68%; }
  .hero .img-cards img { width: 38%; }
  .hero .img-cards img:nth-child(2) { width: 33%; }
  .hero-overlay .blurry-bar { height: 50px; }

  /* Portfolio */
  .proven-section { padding: 60px 36px; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .portfolio-item h3 { font-size: clamp(1.3rem, 3vw, 2rem); }
  .portfolio-item p { font-size: 0.88rem; }
  .view-portfolio { padding: 36px 0 16px; }
  .view-portfolio a { font-size: clamp(1rem, 3vw, 1.6rem); }

  /* Clients */
  .clients-bar { padding: 30px 36px; }
  .clients-inner { gap: 18px; }
  .client-logo { width: 130px; }
}


/* ──────────────────────────────────────────────────────────────
   SHARED MOBILE BASE  (≤ 430px)
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 430px) {

  /* Hero section */
  .hero-section { margin: 0 6px; }
  .section-container { border-radius: 14px; }
  .hero-overlay { padding-top: 72px; }
  .hero { padding: 20px 16px 0; }
  .hero-headline {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 0.88;
    gap: 4px 8px;
    margin-bottom: 8px;
  }
  .hero-headline > div { gap: 10px; }
  .hero-sub {
    font-size: 0.7rem;
    width: 88%;
    line-height: 1.55;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
  }
  .hero .img-cards { margin-top: 16px; }
  .hero .img-cards img { width: 46%; }
  .hero .img-cards img:nth-child(2) { width: 40%; bottom: -12px; }
  .hero-overlay .blurry-bar { height: 40px; }

  /* Portfolio section */
  .proven-section { padding: 40px 14px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .proj-img-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .portfolio-item h3 { font-size: clamp(1.4rem, 7vw, 2rem); }
  .portfolio-item p { font-size: 0.85rem; line-height: 1.6; }
  .portfolio-item .proj-img { transform: none; border-radius: 10px; }
  .tag { font-size: 10px; padding: 4px 14px; }
  .view-portfolio { padding: 28px 0 12px; text-align: center; }
  .view-portfolio a { font-size: clamp(1rem, 5vw, 1.4rem); }

  /* Clients */
  .clients-bar { padding: 24px 14px; }
  .clients-inner { gap: 12px; }
  .client-logo { width: 100px; }
    .portfolio-filters .filter-btn {
        padding: 12px 14px;
        font-size: 1rem;
    }
    .portfolio-filters {
        gap: 7px;
    }

}


/* ──────────────────────────────────────────────────────────────
   430px fine-tune
   ────────────────────────────────────────────────────────────── */
@media screen and (min-width: 411px) and (max-width: 430px) {
  .hero-headline { font-size: clamp(38px, 10vw, 54px); }
  .hero-sub { font-size: 0.72rem; }
  .portfolio-item h3 { font-size: 1.8rem; }
  .cta-dark h2 { font-size: 2.1rem; }
}


/* ──────────────────────────────────────────────────────────────
   410px — Pixel 7 / Galaxy S23
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 410px) {
  .hero-headline { font-size: clamp(34px, 9.5vw, 48px); }
  .hero-sub { font-size: 0.68rem; width: 90%; }
  .hero .img-cards img { width: 48%; }
  .hero .img-cards img:nth-child(2) { width: 42%; }
  .proven-section { padding: 36px 12px; }
  .portfolio-grid { gap: 28px; }
  .portfolio-item h3 { font-size: 1.6rem; }
  .portfolio-item p { font-size: 0.82rem; }
}


/* ──────────────────────────────────────────────────────────────
   390px — iPhone 14/15 Pro
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 390px) {
  .hero-overlay { padding-top: 68px; }
  .hero { padding: 16px 12px 0; }
  .hero-headline { font-size: clamp(30px, 9vw, 44px); }
  .hero-sub { font-size: 0.64rem; width: 92%; }
  .hero .img-cards img { width: 50%; }
  .hero .img-cards img:nth-child(2) { width: 44%; bottom: -10px; }
  .proven-section { padding: 32px 10px; }
  .portfolio-item h3 { font-size: 1.45rem; }
  .portfolio-item p { font-size: 0.8rem; }
  .view-portfolio a { font-size: 1rem; }
  .tag { font-size: 9px; padding: 3px 12px; }
  .clients-bar { padding: 20px 10px; }
  .client-logo { width: 86px; }
  .cta-dark { padding: 38px 14px 22px; }
  .cta-dark h2 { font-size: 1.75rem; }
  .cta-dark p { font-size: 0.72rem; }
  .cta-btns .btn-primary,
  .cta-btns .btn-outline { max-width: 250px; font-size: 0.68rem; padding: 8px 8px 8px 18px; }
  .cta-btns .btn-icon { width: 30px; height: 30px; }
}


/* ──────────────────────────────────────────────────────────────
   360px — Galaxy A / smallest phones
   ────────────────────────────────────────────────────────────── */
@media screen and (max-width: 360px) {
  .hero-overlay { padding-top: 62px; }
  .hero { padding: 12px 10px 0; }
  .hero-headline { font-size: clamp(26px, 8.5vw, 38px); line-height: 0.9; }
  .hero-sub { font-size: 0.58rem; width: 95%; line-height: 1.5; }
  .hero .img-cards img { width: 52%; }
  .hero .img-cards img:nth-child(2) { width: 46%; bottom: -8px; }
  .hero-overlay .blurry-bar { height: 30px; }
  .proven-section { padding: 28px 8px; }
  .portfolio-grid { gap: 22px; }
  .portfolio-item h3 { font-size: 1.3rem; }
  .portfolio-item p { font-size: 0.76rem; }
  .tag { font-size: 8.5px; padding: 3px 10px; }
  .view-portfolio a { font-size: 0.95rem; }
  .clients-bar { padding: 18px 8px; }
  .client-logo { width: 76px; }
}


/* ──────────────────────────────────────────────────────────────
   MOBILE LANDSCAPE  (rotated phone, height ≤ 500px)
   ────────────────────────────────────────────────────────────── */
@media screen and (orientation: landscape) and (max-width: 900px) and (max-height: 500px) {

  /* Hero — wide layout, lower height */
  .hero-overlay { padding-top: 62px; }
  .section-container { border-radius: 14px; }
  .hero { padding: 24px 28px 0; }
  .hero-headline {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 0.85;
    margin-bottom: 8px;
  }
  .hero-sub { font-size: 0.8rem; width: 62%; }
  .hero .img-cards img { width: 32%; }
  .hero .img-cards img:nth-child(2) { width: 28%; bottom: -10px; }
  .hero-overlay .blurry-bar { height: 36px; }

  /* Portfolio — 2-col in landscape */
  .proven-section { padding: 44px 28px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .portfolio-item h3 { font-size: clamp(1.1rem, 3vw, 1.6rem); }
  .portfolio-item p { font-size: 0.8rem; }
  .portfolio-item .proj-img { transform: none; }
  .view-portfolio { padding: 24px 0 10px; }
  .view-portfolio a { font-size: 1.2rem; }

  /* Clients */
  .clients-bar { padding: 20px 28px; }
  .clients-inner { gap: 14px; }
  .client-logo { width: 110px; }
}