.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero-copy { max-width: 620px; }
.eyebrow {
    width: max-content;
    max-width: 100%;
}
.hero-actions, .about-action, .cta-action {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 36px 0 0;
}
.stat dt {
    font-family: var(--heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
}
.stat dd { margin: 4px 0 0; color: var(--gray-500); font-size: 13px; line-height: 1.4; }
.hero-photo, .hero-art { min-height: 520px; }
.hero-photo {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(6, 26, 58, 0.16);
    height: 560px;
}
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-art { position: relative; }
.art-window {
    height: 520px;
    border-radius: 28px;
    background: linear-gradient(160deg, #0a244a, #1479ff 140%);
    box-shadow: 0 30px 70px rgba(6, 26, 58, 0.18);
    padding: 18px;
    color: #fff;
}
.art-top { display: flex; gap: 6px; margin-bottom: 16px; }
.art-top span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.art-body { display: grid; grid-template-columns: 72px 1fr; gap: 14px; height: calc(100% - 28px); }
.art-side, .art-main { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; }
.art-main { padding: 22px; }
.art-line { height: 12px; border-radius: 999px; background: rgba(255,255,255,.75); margin-bottom: 10px; width: 72%; }
.art-line-lg { width: 86%; height: 18px; }
.art-line-sm { width: 46%; }
.art-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.art-cards i { display: block; height: 92px; border-radius: 14px; background: rgba(255,255,255,.16); }
.art-float {
    position: absolute;
    background: #fff;
    color: var(--text);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 12px 14px;
    display: grid;
    min-width: 120px;
}
.art-float strong { font-size: 18px; }
.art-float span { color: var(--gray-500); font-size: 12px; }
.art-float-a { left: -18px; bottom: 54px; }
.art-float-b { right: -8px; top: 42px; }

.services-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 2.15fr);
    gap: 40px;
    align-items: start;
}
.services-intro { position: sticky; top: 110px; }
.service-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.service-card {
    padding: 22px 18px 18px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(7, 26, 56, 0.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(8, 104, 255, 0.1); }
.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}
.service-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 16px; letter-spacing: -0.02em; }
.service-card p { color: var(--gray-500); font-size: 14px; line-height: 1.55; flex: 1; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-600);
    font-weight: 700;
    font-size: 14px;
    margin-top: 6px;
}

.featured { position: relative; overflow: hidden; }
.featured::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -120px;
    top: -180px;
    background: radial-gradient(circle, rgba(20,121,255,.35), transparent 68%);
    pointer-events: none;
}
.featured-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: end;
    margin-bottom: 36px;
    position: relative;
}
.featured-side { display: grid; justify-items: start; gap: 18px; }
.project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    position: relative;
}
.project-card a { display: block; height: 100%; }
.project-cover {
    aspect-ratio: 16 / 11;
    border-radius: 16px;
    overflow: hidden;
    background: #0e3166;
}
.project-cover-img { width: 100%; height: 100%; object-fit: cover; }
.project-fallback {
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
}
.tone-1 .project-fallback { background: linear-gradient(160deg, #0868ff, #0a244a); }
.tone-2 .project-fallback { background: linear-gradient(160deg, #1479ff, #04142f); }
.tone-3 .project-fallback { background: linear-gradient(160deg, #0e3166, #4192ff); }
.tone-4 .project-fallback { background: linear-gradient(160deg, #061a3a, #0868ff); }
.project-meta { padding: 14px 2px 0; color: var(--text); }
.featured .project-meta { color: #fff; }
.project-cat { color: #8ebeff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-meta h3 { margin-top: 6px; font-size: 18px; }
.project-meta p { margin-top: 6px; color: var(--gray-500); font-size: 14px; }
.featured .project-meta p { color: #c5d4ea; }
.project-card { transition: transform .2s ease; }
.project-card:hover { transform: translateY(-4px); }

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.25fr 0.9fr;
    gap: 36px;
    align-items: center;
}
.about-photo, .about-fallback { min-height: 460px; border-radius: 24px; overflow: hidden; }
.about-image { width: 100%; height: 460px; object-fit: cover; }
.about-fallback {
    background: linear-gradient(165deg, #061a3a, #0868ff);
    color: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
}
.about-fallback span { font-size: 92px; font-weight: 800; line-height: .8; }
.about-fallback small { letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.diff-list { display: grid; gap: 18px; }
.diff-list li { display: flex; gap: 12px; align-items: flex-start; }
.diff-icon {
    width: 40px; height: 40px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600);
    display: grid; place-items: center; flex: none;
}
.diff-icon svg { width: 18px; height: 18px; }
.diff-list strong, .diff-list em { display: block; font-style: normal; }
.diff-list strong { color: var(--text); }
.diff-list em { color: var(--gray-500); font-size: 14px; margin-top: 2px; }

.cta-final { position: relative; overflow: hidden; }
.cta-final::before {
    content: "";
    position: absolute;
    inset: auto -10% -40% 40%;
    height: 420px;
    background: radial-gradient(circle, rgba(20,121,255,.28), transparent 65%);
}
.cta-inner { position: relative; max-width: 760px; display: grid; justify-items: center; text-align: center; }
.cta-inner .eyebrow, .cta-inner h2, .cta-inner p { margin-inline: auto; }

.site-footer { position: relative; border-top: 1px solid var(--gray-200); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr .8fr; gap: 32px; }
.site-footer h2 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: var(--blue-600); }
.footer-phrase { max-width: 280px; }
.social-list a { display: inline-flex; align-items: center; gap: 8px; }
.social-list svg { width: 16px; height: 16px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 36px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
    font-size: 13px;
    position: relative;
}
.admin-lock {
    width: 16px;
    height: 16px;
    opacity: .28;
    color: var(--gray-500);
    display: inline-flex;
}
.admin-lock svg { width: 16px; height: 16px; }
.admin-lock:hover { opacity: .7; }
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { color: #fff; background: #1ebe57; }

.home-featured-projects { padding: 56px 0 60px; }
.home-featured-container {
    width: 100%;
    max-width: 1320px;
    padding-inline: 32px;
    margin-inline: auto;
    box-sizing: border-box;
}
.home-featured-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.home-featured-heading-left { max-width: 680px; min-width: 0; }
.home-featured-heading-right { flex: 0 0 auto; }
.home-featured-eyebrow { display: block; margin-bottom: 10px; }
.home-featured-title { margin: 0; line-height: 1.15; font-size: clamp(28px, 3vw, 40px); }
.home-featured-description {
    max-width: 640px;
    margin: 12px 0 0;
    text-align: left;
}
.home-featured-button { width: fit-content; }
.home-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    align-items: stretch;
}
.home-project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .25s ease;
}
@media (hover: hover) {
    .home-project-card:hover { transform: translateY(-4px); }
}
.home-project-cover {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8eef6;
}
.home-project-cover img,
.home-project-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.home-project-fallback {
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: 700;
    color: #174c9c;
}
.home-project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 10px;
    padding: 13px 14px;
    background: #ffffff;
}
.home-project-text { min-width: 0; }
.home-project-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
    color: #0b1930;
    overflow-wrap: anywhere;
}
.home-project-categories { display: flex; flex-wrap: wrap; gap: 4px; }
.home-project-tag {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 20px;
    background: #eaf2ff;
    color: #174c9c;
    font-size: 11px;
}
.home-project-arrow {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #0866ff;
    text-decoration: none;
}
.home-project-arrow:hover { background: #0866ff; color: #ffffff; }
.hero, .home-featured-projects { overflow-x: clip; }
.hero-stat-wrap { margin-top: 28px; }
.project-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.project-stats-home {
    background: linear-gradient(180deg, rgba(8, 24, 45, .96), #0b2343);
    border: 1px solid rgba(56, 189, 248, .45);
    border-radius: 16px;
    overflow: hidden;
}
.project-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 18px 20px;
}
.project-stats-home .project-stat + .project-stat { border-left: 1px solid rgba(148, 196, 255, .22); }
.project-stat svg { width: 22px; height: 22px; color: #38bdf8; }
.project-stat strong {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
}
.project-stat span { color: #c5d4ea; font-size: 13px; line-height: 1.35; }
.project-stats-portfolio { margin-top: 22px; }
.project-stats-portfolio .project-stat { padding: 0 14px 0 0; }
.project-stats-portfolio .project-stat + .project-stat {
    border-left: 1px solid rgba(148, 196, 255, .28);
    padding-left: 14px;
}
.project-stats-portfolio .project-stat strong { font-size: 24px; }
.project-stats-portfolio .project-stat span { font-size: 12px; }
@media (max-width: 760px) {
    .project-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-stats-home .project-stat,
    .project-stats-portfolio .project-stat { border-left: 0; }
    .project-stats-home .project-stat:nth-child(even),
    .project-stats-portfolio .project-stat:nth-child(even) { border-left: 1px solid rgba(148, 196, 255, .24); }
    .project-stats-home .project-stat:nth-child(n+3),
    .project-stats-portfolio .project-stat:nth-child(n+3) { border-top: 1px solid rgba(148, 196, 255, .24); }
    .project-stats-portfolio .project-stat { padding: 12px; }
}
@media (max-width: 1024px) {
    .home-featured-container { padding-inline: 24px; }
    .home-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .home-featured-container { padding-inline: 16px; }
    .home-featured-projects { padding-block: 36px; }
    .home-featured-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
    .home-featured-grid { grid-template-columns: minmax(0, 1fr); }
}
