:root {
    --navy-950: #06142b;
    --navy-900: #0d2244;
    --navy-800: #17335e;
    --ink-primary: #1a2742;
    --ink-muted: #586581;
    --ink-light: #f8fbff;
    --gold-600: #b88c3f;
    --gold-500: #cda055;
    --gold-300: #e4cb9a;
    --surface-page: #f8f4ed;
    --surface-soft: #f2f6ff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-width: 320px;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: 1.5;
    color: var(--ink-primary);
    background:
        radial-gradient(circle at 10% 8%, rgba(205, 160, 85, 0.2), transparent 33%),
        radial-gradient(circle at 92% 12%, rgba(13, 34, 68, 0.14), transparent 30%),
        linear-gradient(180deg, #fffdf8 0%, #f8f4ed 43%, #f2f6ff 100%);
}

.page-home {
    color: #203352;
    background:
        radial-gradient(circle at top left, rgba(205, 160, 85, 0.18), transparent 20%),
        radial-gradient(circle at top right, rgba(103, 146, 197, 0.14), transparent 24%),
        linear-gradient(180deg, #fffdf8 0%, #fbf4e9 38%, #f4f7fb 100%);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell {
    position: relative;
    isolation: isolate;
    max-width: 1220px;
    margin: 0 auto;
    padding: 1.3rem 1.15rem 2.9rem;
}

.page-home .site-shell {
    max-width: none;
    width: 100%;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.page-home .site-main {
    gap: 1.5rem;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(14px);
    opacity: 0.5;
}

.site-shell::before {
    width: 340px;
    height: 340px;
    top: 40px;
    right: -120px;
    background: radial-gradient(circle, rgba(205, 160, 85, 0.4), transparent 72%);
}

.site-shell::after {
    width: 390px;
    height: 390px;
    left: -145px;
    bottom: 60px;
    background: radial-gradient(circle, rgba(13, 34, 68, 0.26), transparent 72%);
}

.top-nav {
    position: sticky;
    top: 0.7rem;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.65rem;
    padding: 0.78rem 0.95rem;
    border: 1px solid rgba(13, 34, 68, 0.14);
    border-radius: 14px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(245, 250, 255, 0.9));
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(8, 25, 49, 0.12);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    position: relative;
    z-index: 2;
}

.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 0.96rem;
    font-weight: 700;
    color: #fffaf2;
    background: linear-gradient(145deg, #0d2244, #17335e 62%, #cda055);
    box-shadow: 0 10px 20px rgba(11, 33, 65, 0.24);
    flex-shrink: 0;
}

.brand-text {
    display: grid;
}

.brand-name {
    color: #192849;
    font-size: 0.95rem;
    font-weight: 700;
}

.brand-subtitle {
    color: #62708a;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 2;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(13, 34, 68, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.76);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #1c3258;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-link {
    border-radius: 10px;
    padding: 0.46rem 0.74rem;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2b3b5f;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #1f2e51;
    background: rgba(13, 34, 68, 0.08);
    border-color: rgba(13, 34, 68, 0.16);
}

.nav-link.is-active {
    color: #1e2f53;
    background: linear-gradient(135deg, rgba(13, 34, 68, 0.12), rgba(205, 160, 85, 0.14));
    border-color: rgba(13, 34, 68, 0.22);
}

.nav-link.is-login {
    color: #fffaf2;
    background: linear-gradient(145deg, #b88c3f, #cda055);
    box-shadow: 0 8px 14px rgba(184, 140, 63, 0.3);
}

.nav-link.is-login:hover {
    color: #fffaf2;
    background: linear-gradient(145deg, #c1974d, #d7aa5f);
}

.site-main {
    min-height: 62vh;
    display: grid;
    gap: 1.2rem;
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(13, 34, 68, 0.14);
    padding: clamp(1.35rem, 3.5vw, 2.55rem);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.9)),
        repeating-linear-gradient(
            -35deg,
            rgba(255, 255, 255, 0.56),
            rgba(255, 255, 255, 0.56) 14px,
            rgba(255, 255, 255, 0.14) 14px,
            rgba(255, 255, 255, 0.14) 30px
        );
    box-shadow: 0 18px 32px rgba(11, 33, 65, 0.12);
}

.hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    top: -96px;
    right: -92px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 160, 85, 0.34), transparent 72%);
}

.eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #b88c3f;
}

.hero h1,
.page-hero h1 {
    max-width: 860px;
    font-size: clamp(2rem, 4.6vw, 3.55rem);
    line-height: 1.06;
    color: #13284d;
}

.hero-copy {
    margin: 1rem 0 1.2rem;
    max-width: 790px;
    font-size: clamp(0.96rem, 1.6vw, 1.08rem);
    color: #53607b;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
}

.btn {
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 0.73rem 1.12rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
    color: #fffaf2;
    background: linear-gradient(145deg, #0d2244, #17335e 62%, #b88c3f);
    box-shadow: 0 12px 24px rgba(11, 33, 65, 0.26);
}

.btn-secondary {
    color: #243559;
    background: linear-gradient(145deg, #ffffff, #f8f2e7);
    border-color: rgba(184, 140, 63, 0.28);
}

.metrics-grid,
.cards-three,
.timeline-grid,
.contact-grid-modern,
.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.metrics-grid {
    margin-top: 1.3rem;
}

.metrics-grid article {
    border: 1px solid rgba(13, 34, 68, 0.15);
    border-radius: 13px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(248, 242, 232, 0.92));
    padding: 0.88rem;
}

.metrics-grid h3 {
    font-size: 1.35rem;
    color: #153059;
}

.metrics-grid p {
    margin: 0.2rem 0 0;
    font-size: 0.84rem;
    color: #5a6987;
}

.panel {
    border: 1px solid rgba(13, 34, 68, 0.14);
    border-radius: 16px;
    padding: 1.28rem 1.08rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(242, 247, 255, 0.93));
    box-shadow: 0 12px 24px rgba(13, 34, 68, 0.08);
}

.panel-alt {
    background: linear-gradient(165deg, rgba(255, 250, 243, 0.95), rgba(243, 248, 255, 0.94));
}

.section-heading h2 {
    font-size: clamp(1.35rem, 2.2vw, 2.1rem);
    color: #1a2f56;
}

.section-copy {
    margin: 0.58rem 0 0;
    color: #566482;
}

.cards-three,
.timeline-grid,
.contact-grid-modern,
.gallery-grid-modern,
.blog-list {
    margin-top: 1rem;
}

.info-card,
.project-card,
.blog-card,
.timeline-card {
    border: 1px solid rgba(13, 34, 68, 0.13);
    border-radius: 13px;
    background: linear-gradient(160deg, #ffffff, #f8fbff);
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(13, 34, 68, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.info-card:hover,
.project-card:hover,
.blog-card:hover,
.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(13, 34, 68, 0.12);
    border-color: rgba(184, 140, 63, 0.26);
}

.info-card h3,
.project-card h3,
.blog-card h3 {
    margin-bottom: 0.42rem;
    color: #1d335c;
}

.info-card p,
.project-card p,
.blog-card p,
.timeline-card p {
    margin: 0;
    color: #566482;
}

.project-card {
    overflow: hidden;
    padding: 0;
}

.card-image {
    height: 154px;
    background:
        linear-gradient(140deg, rgba(13, 34, 68, 0.9), rgba(23, 51, 94, 0.8)),
        linear-gradient(220deg, rgba(205, 160, 85, 0.58), rgba(205, 160, 85, 0));
}

.card-content {
    padding: 1rem;
}

.tag {
    display: inline-flex;
    margin: 0 0 0.52rem;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #b88c3f;
}

.status-pill {
    display: inline-flex;
    margin-top: 0.7rem;
    border-radius: 999px;
    padding: 0.3rem 0.58rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #18335d;
    background: rgba(184, 140, 63, 0.16);
}

.timeline-year,
.blog-date {
    margin: 0 0 0.33rem;
    font-size: 0.77rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b88c3f;
}

.blog-list {
    display: grid;
    gap: 0.8rem;
}

.read-link {
    display: inline-flex;
    margin-top: 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f3a69;
}

.read-link:hover {
    color: #b88c3f;
}

.inquiry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.78rem;
}

.inquiry-form label {
    display: grid;
    gap: 0.34rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e3662;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    border: 1px solid rgba(13, 34, 68, 0.22);
    border-radius: 10px;
    padding: 0.62rem 0.7rem;
    background: #ffffff;
    font: inherit;
    color: #253a69;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: #b88c3f;
    box-shadow: 0 0 0 3px rgba(184, 140, 63, 0.16);
}

.inquiry-form .full-width {
    grid-column: 1 / -1;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.form-note {
    margin: 0;
    font-size: 0.84rem;
    color: #647392;
}

.site-footer {
    margin-top: 1.2rem;
    border: 1px solid rgba(13, 34, 68, 0.16);
    border-radius: 13px;
    padding: 0.86rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(242, 247, 255, 0.93));
    text-align: center;
}

.site-footer p {
    margin: 0;
    color: #5e6e8c;
    font-size: 0.86rem;
}

.site-footer-home {
    margin-top: 1.5rem;
    padding: clamp(1.1rem, 2.6vw, 1.75rem);
    text-align: left;
    color: #203352;
    background:
        radial-gradient(circle at top left, rgba(205, 160, 85, 0.16), transparent 22%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 242, 232, 0.94));
    border-color: rgba(13, 34, 68, 0.12);
    box-shadow: 0 14px 28px rgba(13, 34, 68, 0.08);
}

.footer-shell {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(13, 34, 68, 0.1);
}

.footer-brand-block {
    max-width: 560px;
}

.footer-label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b88c3f;
}

.footer-brand-block h2 {
    color: #17335e;
    max-width: 580px;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.12;
}

.footer-copy {
    max-width: 520px;
    margin: 0.7rem 0 0;
    color: #5a6883;
}

.footer-actions,
.footer-bottom {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
}

.footer-links a,
.footer-bottom a {
    color: #2b4266;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(13, 34, 68, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #17335e;
}

.footer-links a:hover {
    transform: translateY(-1px);
    border-color: rgba(184, 140, 63, 0.24);
    background: #ffffff;
}

.footer-bottom {
    justify-content: space-between;
    margin-top: 0.95rem;
}

.site-footer-home p {
    color: #5a6883;
}

.footer-bottom a {
    font-size: 0.88rem;
    font-weight: 700;
}

.page-home .top-nav {
    top: 0.9rem;
    border-color: rgba(13, 34, 68, 0.1);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(250, 244, 235, 0.88)),
        linear-gradient(135deg, rgba(205, 160, 85, 0.08), rgba(255, 255, 255, 0));
    box-shadow: 0 16px 30px rgba(13, 34, 68, 0.1);
}

.page-home .top-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.36), transparent 28%, rgba(205, 160, 85, 0.08));
    pointer-events: none;
}

.page-home .nav-toggle {
    border-color: rgba(13, 34, 68, 0.12);
    background: rgba(255, 255, 255, 0.78);
}

.page-home .nav-toggle span {
    background: #1f3a69;
}

.page-home .brand-name {
    color: #17335e;
}

.page-home .brand-subtitle {
    color: #6b7893;
}

.page-home .nav-link {
    color: #304569;
}

.page-home .nav-link:hover {
    color: #17335e;
    background: rgba(13, 34, 68, 0.05);
    border-color: rgba(13, 34, 68, 0.1);
}

.page-home .nav-link.is-active {
    color: #17335e;
    background: linear-gradient(135deg, rgba(13, 34, 68, 0.08), rgba(205, 160, 85, 0.16));
    border-color: rgba(13, 34, 68, 0.14);
}

.page-home .hero-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: min(82svh, 760px);
    padding: clamp(1.2rem, 3vw, 2.2rem);
    background:
        radial-gradient(circle at top left, rgba(205, 160, 85, 0.22), transparent 28%),
        radial-gradient(circle at right center, rgba(147, 175, 214, 0.16), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(248, 242, 232, 0.94));
    border-color: rgba(13, 34, 68, 0.1);
    box-shadow: 0 20px 34px rgba(13, 34, 68, 0.1);
}

.page-home .hero-modern::after {
    content: "";
    position: absolute;
    inset: auto auto -120px -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 160, 85, 0.12), transparent 70%);
}

.page-home .hero-banner-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.02) 42%, rgba(13, 34, 68, 0.12));
    opacity: 0.8;
    transform: scale(1.04);
}

.page-home .hero-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.9fr);
    gap: 1.1rem;
    align-items: center;
}

.page-home .hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
}

.page-home .hero-content .metrics-grid-modern {
    margin-top: 1rem;
}

.page-home .hero-content .eyebrow {
    margin-bottom: 0.55rem;
}

.page-home .hero-content h1 {
    max-width: 700px;
    font-size: clamp(1.95rem, 3.8vw, 3.15rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #13284d;
    text-shadow: none;
}

.page-home .hero-copy {
    margin: 0.85rem 0 1rem;
    max-width: 620px;
    font-size: clamp(0.96rem, 1.25vw, 1.04rem);
    line-height: 1.65;
    color: #566482;
}

.page-home .hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.95rem;
}

.page-home .hero-trust span,
.page-home .showcase-points span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(13, 34, 68, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: #23406a;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(13, 34, 68, 0.08);
}

.page-home .hero-showcase {
    position: relative;
    display: grid;
    align-content: stretch;
    gap: 0.8rem;
}

.page-home .hero-visual-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    margin: 0;
    border: 1px solid rgba(184, 140, 63, 0.28);
    border-radius: 22px;
    box-shadow: 0 18px 30px rgba(13, 34, 68, 0.12);
}

.page-home .hero-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(13, 34, 68, 0.58));
}

.page-home .hero-visual-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-home .hero-visual-caption {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    z-index: 1;
    display: grid;
    gap: 0.2rem;
}

.page-home .hero-visual-caption span {
    color: rgba(245, 232, 201, 0.88);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.page-home .hero-visual-caption strong {
    color: #fbfdff;
    font-size: 0.98rem;
    line-height: 1.3;
}

.page-home .hero-support {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
}

.page-home .showcase-card,
.page-home .showcase-floating {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 34, 68, 0.1);
    border-radius: 24px;
    box-shadow: 0 16px 28px rgba(13, 34, 68, 0.1);
}

.page-home .showcase-card {
    padding: 1.15rem 1.2rem;
    color: #203352;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
        linear-gradient(145deg, #fffaf2, #f7efe2 72%, #eef4fb 130%);
}

.page-home .showcase-card::before,
.page-home .showcase-floating::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 160, 85, 0.14), transparent 70%);
}

.page-home .showcase-card::before {
    top: -70px;
    right: -50px;
    width: 180px;
    height: 180px;
}

.page-home .showcase-label {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b88c3f;
}

.page-home .showcase-card h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
    line-height: 1.18;
    margin-bottom: 0.6rem;
}

.page-home .showcase-card p {
    margin: 0;
    color: #5d6a84;
    font-size: 0.94rem;
}

.page-home .showcase-card,
.page-home .showcase-floating,
.page-home .metrics-grid-modern {
    height: 100%;
}

.page-home .showcase-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.page-home .showcase-points span {
    border-color: rgba(13, 34, 68, 0.08);
    background: rgba(255, 255, 255, 0.78);
    color: #23406a;
    box-shadow: none;
}

.page-home .showcase-floating {
    max-width: 320px;
    margin-left: 0;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.page-home .showcase-floating::before {
    right: -55px;
    bottom: -65px;
    width: 160px;
    height: 160px;
}

.page-home .showcase-floating strong,
.page-home .showcase-floating span {
    display: block;
}

.page-home .showcase-floating strong {
    font-size: 0.95rem;
    color: #17335e;
}

.page-home .showcase-floating span {
    margin-top: 0.35rem;
    color: #5d6a84;
    font-size: 0.84rem;
}

.page-home .hero-main,
.page-home .hero-support,
.page-home .metrics-grid-modern,
.page-home .home-panel,
.page-home .home-cta,
.page-home .top-nav {
    animation: home-fade-up 0.8s ease both;
}

.page-home .top-nav {
    animation-duration: 0.65s;
}

.page-home .hero-main {
    animation-delay: 0.1s;
}

.page-home .hero-support {
    animation-delay: 0.18s;
}

.page-home .home-panel:nth-of-type(2) {
    animation-delay: 0.24s;
}

.page-home .home-panel:nth-of-type(3) {
    animation-delay: 0.32s;
}

.page-home .home-cta {
    animation-delay: 0.4s;
}

.page-home .metrics-grid-modern {
    gap: 0.75rem;
    margin-top: 0;
    align-content: stretch;
}

.page-home .metric-card {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 243, 234, 0.9));
    border: 1px solid rgba(13, 34, 68, 0.1);
    box-shadow: 0 14px 24px rgba(13, 34, 68, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .metric-card h3 {
    font-size: 1.18rem;
}

.page-home .metric-card p:last-child {
    font-size: 0.8rem;
}

.page-home .metric-label {
    margin: 0 0 0.3rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8b6a2b;
}

.page-home .metrics-grid h3,
.page-home .section-heading h2,
.page-home .feature-card h3,
.page-home .project-card-modern h3,
.page-home .home-signature-band h2,
.page-home .home-cta h2,
.page-home .hero h1 {
    color: #13284d;
}

.page-home .metrics-grid p,
.page-home .section-copy,
.page-home .feature-card p,
.page-home .project-location {
    color: #5d6a84;
}

.page-home .home-panel {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 22px;
    border-color: rgba(13, 34, 68, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 232, 0.92)),
        linear-gradient(160deg, rgba(237, 243, 251, 0.78), rgba(255, 255, 255, 0));
    box-shadow: 0 16px 30px rgba(13, 34, 68, 0.08);
}

.page-home .section-heading-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 1rem 1.5rem;
    align-items: end;
}

.page-home .cards-featured,
.page-home .cards-projects {
    gap: 1rem;
    margin-top: 1.25rem;
}

.page-home .feature-card {
    position: relative;
    min-height: 220px;
    padding: 1.2rem;
    border-radius: 18px;
    border-color: rgba(13, 34, 68, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 235, 0.94)),
        linear-gradient(160deg, rgba(238, 244, 251, 0.72), rgba(255, 255, 255, 0));
    box-shadow: 0 14px 24px rgba(13, 34, 68, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-home .feature-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 12px;
    color: #fffaf2;
    font-size: 0.88rem;
    font-weight: 700;
    background: linear-gradient(145deg, #17335e, #cda055);
    box-shadow: 0 10px 18px rgba(13, 34, 68, 0.12);
}

.page-home .project-card-modern {
    border-radius: 18px;
    border-color: rgba(13, 34, 68, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 241, 233, 0.97));
    box-shadow: 0 16px 28px rgba(13, 34, 68, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .project-card-modern .card-image {
    position: relative;
    height: 220px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(23, 51, 94, 0.18)),
        radial-gradient(circle at top right, rgba(205, 160, 85, 0.4), transparent 34%),
        linear-gradient(120deg, #dfe8f4, #c7d7ea 55%, #ead8ba 120%);
}

.page-home .project-card-visual .card-image {
    overflow: hidden;
}

.page-home .card-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
}

.page-home .project-card-visual .card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(0deg, rgba(13, 34, 68, 0.46), rgba(13, 34, 68, 0.05));
}

.page-home .project-card-modern .card-image::after {
    content: "PURODHA";
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: rgba(255, 250, 242, 0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.page-home .project-visual-1 .card-image {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(13, 34, 68, 0.06)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 8%, transparent 8% 18%),
        linear-gradient(180deg, #cfdceb 0%, #dce7f3 48%, #e8d4af 120%);
}

.page-home .project-visual-2 .card-image {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(13, 34, 68, 0.05)),
        linear-gradient(90deg, transparent 0 20%, rgba(255, 255, 255, 0.2) 20% 23%, transparent 23% 46%, rgba(255, 255, 255, 0.16) 46% 49%, transparent 49%),
        linear-gradient(180deg, #d6e1ef 0%, #dfe8f4 55%, #e4cfab 125%);
}

.page-home .project-visual-3 .card-image {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(13, 34, 68, 0.04)),
        radial-gradient(circle at 50% 78%, rgba(174, 196, 156, 0.45), transparent 22%),
        linear-gradient(180deg, #d9e2ec 0%, #d4dfeb 40%, #d7e2d2 68%, #e5cfab 125%);
}

.page-home .image-overlay {
    position: absolute;
    inset: auto 1rem 1rem 1rem;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

.page-home .image-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    color: #f8fbff;
    font-size: 0.78rem;
    font-weight: 600;
}

.page-home .image-overlay strong {
    color: #fff4dd;
    font-size: 0.88rem;
    font-weight: 700;
}

.page-home .project-location {
    margin-top: 0.35rem;
}

.page-home .project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.page-home .project-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: #17335e;
}

.page-home .project-link:hover {
    color: #b88c3f;
}

.page-home .metric-card:hover,
.page-home .feature-card:hover,
.page-home .project-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 34px rgba(13, 34, 68, 0.12);
}

.page-home .project-card-modern:hover .card-photo,
.page-home .hero-visual-card:hover .hero-visual-image {
    transform: scale(1.04);
}

.page-home .showcase-card {
    animation: home-float 7s ease-in-out infinite;
}

.page-home .showcase-floating {
    animation: home-float 6s ease-in-out infinite 0.4s;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .showcase-floating:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(13, 34, 68, 0.12);
}

.page-home .home-signature-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1rem 1.5rem;
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(13, 34, 68, 0.1);
    border-radius: 24px;
    background:
        radial-gradient(circle at left center, rgba(205, 160, 85, 0.16), transparent 20%),
        linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(241, 247, 255, 0.96));
    box-shadow: 0 16px 30px rgba(13, 34, 68, 0.08);
    animation: home-fade-up 0.8s ease both 0.36s;
}

.page-home .signature-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.page-home .signature-points span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.65rem 0.95rem;
    border: 1px solid rgba(13, 34, 68, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #31486d;
    font-size: 0.84rem;
    font-weight: 600;
}

.page-home .home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: clamp(1.4rem, 3.4vw, 2.3rem);
    border: 1px solid rgba(13, 34, 68, 0.14);
    border-radius: 24px;
    color: #203352;
    background:
        radial-gradient(circle at left center, rgba(205, 160, 85, 0.2), transparent 24%),
        linear-gradient(135deg, #fffaf2, #f5ede0 58%, #edf4fb);
    box-shadow: 0 16px 30px rgba(13, 34, 68, 0.08);
}

.page-home .home-cta h2 {
    font-size: clamp(1.45rem, 2.8vw, 2.35rem);
    margin-bottom: 0.55rem;
}

.page-home .home-cta p {
    margin: 0;
    color: #596784;
}

.page-home .home-cta .eyebrow {
    color: #b88c3f;
}

.page-home .home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

@keyframes home-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes home-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .top-nav,
    .page-home .hero-main,
    .page-home .hero-support,
    .page-home .metrics-grid-modern,
    .page-home .home-panel,
    .page-home .home-cta,
    .page-home .home-signature-band,
    .page-home .showcase-card,
    .page-home .showcase-floating {
        animation: none;
        transform: none;
    }

    .page-home .metric-card,
    .page-home .feature-card,
    .page-home .project-card-modern,
    .page-home .showcase-floating,
    .page-home .card-photo,
    .page-home .hero-visual-image {
        transition: none;
    }
}

@media (max-width: 1040px) {
    .cards-three,
    .timeline-grid,
    .contact-grid-modern,
    .gallery-grid-modern {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .hero-main,
    .page-home .section-heading-split,
    .page-home .home-signature-band,
    .page-home .home-cta {
        grid-template-columns: 1fr;
    }

    .footer-shell {
        align-items: flex-start;
    }

    .page-home .home-cta {
        justify-content: flex-start;
    }

    .page-home .signature-points {
        justify-content: flex-start;
    }

    .page-home .metrics-grid-modern {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .top-nav {
        flex-wrap: wrap;
        align-items: center;
    }

    .brand {
        margin-right: auto;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-links {
        display: none;
        width: 100%;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
        border-top: 1px solid rgba(13, 34, 68, 0.12);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.is-open {
        display: grid;
    }

    .nav-link {
        width: 100%;
        text-align: left;
    }

    .page-home .nav-links {
        border-top-color: rgba(13, 34, 68, 0.08);
    }

    .metrics-grid,
    .cards-three,
    .timeline-grid,
    .contact-grid-modern,
    .gallery-grid-modern,
    .inquiry-form {
        grid-template-columns: 1fr;
    }

    .page-home .hero-modern {
        min-height: auto;
        padding-block: clamp(1.25rem, 7vw, 2rem);
    }

    .page-home .metrics-grid-modern {
        grid-template-columns: 1fr;
    }

    .page-home .showcase-floating {
        max-width: 100%;
    }

    .page-home .hero-actions,
    .page-home .home-cta-actions,
    .page-home .project-meta,
    .footer-actions,
    .footer-bottom {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .site-footer-home {
        padding: 1.15rem;
    }

    .page-home .showcase-card,
    .page-home .showcase-floating,
    .page-home .hero-visual-card,
    .page-home .feature-card,
    .page-home .project-card-modern {
        border-radius: 18px;
    }
}
