/*
==========================================================
DIANTER
Main Stylesheet
Version: 0.4.2
Sprint 4.1
==========================================================
*/

/* ==========================================================
   RESET
========================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:#1f2937;
    background:#ffffff;
    line-height:1.7;
    overflow-x:hidden;
}

/* ==========================================================
   VARIABLES
========================================================== */

:root{

    /*
    --------------------------------------------------
    Compatibility aliases
    These map the old Sprint variables to the
    DIANTER Brand System in brand.css.
    --------------------------------------------------
    */

    --primary:var(--primary-color);

    --primary-dark:var(--primary-dark);

    --secondary:var(--accent-color);

    --accent:var(--accent-color);

    --dark:var(--heading-color);

    --text:var(--text-color);

    --light:var(--background-color);

    --white:var(--surface-color);

    --border:var(--border-color);

    --radius:var(--radius-md);

    --shadow:var(--shadow-medium);

    --transition:var(--transition-normal);

    --container:var(--container-width);

}
/*==================================================
GLOBAL
Sprint 5.3F
==================================================*/

html{

    scroll-behavior:smooth;

}

body{

    margin:0;

    padding:0;

    background:var(--background-color);

    color:var(--text-color);

    font-family:var(--font-primary);

    font-size:16px;

    line-height:1.7;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}

*,
*::before,
*::after{

    box-sizing:border-box;

}

.container{

    width:min(100% - 40px,var(--container-width));

    margin-inline:auto;

}

section{

    position:relative;

    padding:var(--section-space) 0;

}

img{

    display:block;

    max-width:100%;

    height:auto;

}

a{

    color:inherit;

    text-decoration:none;

}

.site-main{

    overflow:hidden;

}

h1,
h2,
h3,
h4,
h5,
h6{

    margin:0;

    color:var(--heading-color);

    font-family:var(--font-primary);

    font-weight:800;

    line-height:1.2;

}

p{

    margin:0;

    color:var(--text-color);

}
/*==================================================
BUTTONS
Sprint 5.3F
==================================================*/

.btn-primary,
.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 34px;

    border:none;

    border-radius:999px;

    font-family:var(--font-primary);

    font-size:1rem;

    font-weight:700;

    line-height:1;

    cursor:pointer;

    text-decoration:none;

    transition:

        background-color var(--transition-normal),

        color var(--transition-normal),

        border-color var(--transition-normal),

        transform var(--transition-normal),

        box-shadow var(--transition-normal);

}

/*==================================================
UNIVERSAL PRIMARY BUTTON
Sprint 5.4A Part 1
==================================================*/

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 34px;

    border:none;

    border-radius:999px;

    background:var(--primary-color);

    color:#ffffff;

    font-family:var(--font-primary);

    font-size:1rem;

    font-weight:700;

    line-height:1;

    text-decoration:none;

    cursor:pointer;

    box-shadow:var(--shadow-medium);

    transition:
        background-color .35s ease,
        color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;

}

.btn-primary:hover{

    background:var(--primary-dark);

    color:#ffffff;

    text-decoration:none;

    transform:translateY(-4px);

    box-shadow:var(--shadow-large);

}

.btn-primary:visited{

    color:#ffffff;

}

.btn-primary:focus-visible{

    outline:3px solid rgba(30,125,58,.25);

    outline-offset:4px;

}

/*----------------------------------
Secondary Button
----------------------------------*/

.btn-secondary,
.hero-secondary{

    background:var(--surface-color);

    color:var(--primary-color);

    border:2px solid var(--primary-color);

    box-shadow:none;

}

.btn-secondary:hover,
.hero-secondary:hover{

    background:var(--primary-color);

    color:#ffffff;

    border-color:var(--primary-color);

    transform:translateY(-4px);

}

/*----------------------------------
CTA Button Override
----------------------------------*/

.cta-section .btn-primary{

    background:var(--accent-color);

    color:#ffffff;

}

.cta-section .btn-primary:hover{

    background:var(--primary-dark);

    color:#ffffff;

}

/*----------------------------------
Accessibility
----------------------------------*/

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.hero-secondary:focus-visible{

    outline:3px solid rgba(30,125,58,.25);

    outline-offset:4px;

}

@media(max-width:768px){

    .btn-primary,
    .btn-secondary,
    .hero-secondary{

        width:100%;

        max-width:320px;

    }

}
/* ==========================================================
   HERO
========================================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    background:
        radial-gradient(circle at top right,#dbeafe 0%,transparent 35%),
        radial-gradient(circle at bottom left,#ccfbf1 0%,transparent 40%),
        #ffffff;

}

.hero-background{

    position:absolute;

    inset:0;

    overflow:hidden;

    pointer-events:none;

}

.hero-gradient{

    position:absolute;

    width:900px;

    height:900px;

    right:-350px;

    top:-300px;

    background:rgba(13,110,253,.08);

    border-radius:50%;

    filter:blur(80px);

}

.hero-grid-pattern{

    position:absolute;

    inset:0;

    opacity:.05;

    background-image:
        linear-gradient(#000 1px,transparent 1px),
        linear-gradient(90deg,#000 1px,transparent 1px);

    background-size:60px 60px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

    position:relative;

    z-index:2;

}

.hero-content{

    max-width:620px;

}

.hero-subtitle{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:#e0f2fe;

    color:var(--primary);

    font-weight:700;

    margin-bottom:24px;

}

.hero-content h1{

    font-size:clamp(3rem,6vw,5rem);

    line-height:1.05;

    color:var(--dark);

    margin-bottom:24px;

}

.hero-content p{

    font-size:1.15rem;

    color:var(--text);

    margin-bottom:36px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

    margin-bottom:40px;

}

.hero-highlights{

    list-style:none;

    display:grid;

    gap:14px;

}

.hero-highlights li{

    font-weight:600;

    color:var(--dark);

}
/* ==========================================================
   HERO VISUAL
========================================================== */

.hero-visual{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:650px;

}

.hero-image{

    position:relative;

    width:100%;

    max-width:560px;

    aspect-ratio:4/5;

    border-radius:32px;

    overflow:hidden;

    background:linear-gradient(135deg,#0d6efd,#14b8a6);

    box-shadow:0 30px 80px rgba(15,23,42,.18);

}

.hero-image-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,.08),
            rgba(0,0,0,.12)
        );

}

.hero-image-placeholder{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#ffffff;

    font-size:1.35rem;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

/* ==========================================================
   FLOATING CARDS
========================================================== */

.hero-stat{

    position:absolute;

    min-width:210px;

    padding:22px;

    border-radius:22px;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.45);

    box-shadow:0 18px 45px rgba(15,23,42,.12);

    transition:transform .35s ease;

}

.hero-stat:hover{

    transform:translateY(-8px);

}

.hero-stat strong{

    display:block;

    font-size:2rem;

    font-weight:800;

    color:var(--primary);

    margin-bottom:6px;

}

.hero-stat span{

    display:block;

    color:var(--text);

    font-size:.95rem;

    line-height:1.5;

}

.hero-stat-top{

    top:70px;

    left:-40px;

}

.hero-stat-bottom{

    right:-40px;

    bottom:60px;

}

/* ==========================================================
   HERO SCROLL INDICATOR
========================================================== */

.hero-scroll{

    display:flex;

    justify-content:center;

    margin-top:60px;

}

.hero-scroll span{

    position:relative;

    display:block;

    width:34px;

    height:58px;

    border:2px solid rgba(15,23,42,.18);

    border-radius:999px;

}

.hero-scroll span::before{

    content:"";

    position:absolute;

    left:50%;

    top:10px;

    width:6px;

    height:10px;

    margin-left:-3px;

    border-radius:999px;

    background:var(--primary);

    animation:scrollIndicator 2s infinite;

}

@keyframes scrollIndicator{

    0%{

        opacity:0;

        transform:translateY(0);

    }

    30%{

        opacity:1;

    }

    100%{

        opacity:0;

        transform:translateY(24px);

    }

}

/* ==========================================================
   SECTION HEADERS
========================================================== */

.section-header{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 20px;

    border-radius:999px;

    background:#e0f2fe;

    color:var(--primary);

    font-size:.9rem;

    font-weight:700;

    margin-bottom:20px;

}

.section-header h2{

    font-size:clamp(2rem,4vw,3.3rem);

    color:var(--dark);

    margin-bottom:18px;

    line-height:1.15;

}

.section-header p{

    font-size:1.08rem;

    color:var(--text);

    line-height:1.8;

}

/* ==========================================================
   SERVICES
========================================================== */

.services{

    background:#ffffff;

}

.service-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-card{

    position:relative;

    padding:42px 34px;

    background:#ffffff;

    border:1px solid var(--border);

    border-radius:24px;

    transition:all .35s ease;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:4px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    transform:scaleX(0);

    transform-origin:left;

    transition:transform .35s ease;

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 22px 50px rgba(15,23,42,.10);

}

.service-card:hover::before{

    transform:scaleX(1);

}

.service-card h3{

    font-size:1.45rem;

    margin-bottom:18px;

    color:var(--dark);

}

.service-card p{

    color:var(--text);

    line-height:1.8;

}
/*==================================================
TRUSTED BY CLIENTS
Sprint 5.3E Part 1
==================================================*/

.stats-section{

    position:relative;

    padding:var(--section-space) 0;

    background:var(--background-color);

    overflow:hidden;

}

.stats-section::before{

    content:"";

    position:absolute;

    top:-180px;

    right:-180px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:radial-gradient(

        circle,

        rgba(30,125,58,.08),

        transparent 70%

    );

}

.stats-section::after{

    content:"";

    position:absolute;

    bottom:-220px;

    left:-220px;

    width:460px;

    height:460px;

    border-radius:50%;

    background:radial-gradient(

        circle,

        rgba(217,164,65,.08),

        transparent 70%

    );

}

.stats-section .container{

    position:relative;

    z-index:2;

}

.stats-section .section-header{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.stats-section .section-header h2{

    margin-bottom:18px;

    color:var(--heading-color);

    font-size:clamp(2.4rem,5vw,3.8rem);

    font-weight:800;

}

.stats-section .section-header p{

    max-width:700px;

    margin:0 auto;

    color:var(--text-color);

    line-height:1.9;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

@media(max-width:1100px){

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .stats-grid{

        grid-template-columns:1fr;

    }

}
/* ==========================================================
   PRODUCTS
========================================================== */

.products-preview{

    background:#ffffff;

}

.placeholder-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:32px;

}

.placeholder-box{

    min-height:320px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#ffffff;

    border:1px solid var(--border);

    border-radius:24px;

    color:var(--dark);

    font-size:1.2rem;

    font-weight:700;

    transition:all .35s ease;

    box-shadow:0 12px 35px rgba(15,23,42,.05);

}

.placeholder-box:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(15,23,42,.10);

}

/* ==========================================================
   PROJECTS
========================================================== */

.projects-preview{

    background:#f8fafc;

}

.projects-preview .placeholder-box{

    min-height:360px;

    position:relative;

    overflow:hidden;

}

.projects-preview .placeholder-box::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(15,23,42,.55),
        transparent
    );

    opacity:0;

    transition:opacity .35s ease;

}

.projects-preview .placeholder-box:hover::after{

    opacity:1;

}

/* ==========================================================
   ABOUT
========================================================== */

.about-preview{

    background:#ffffff;

}

.about-preview p{

    max-width:900px;

    margin:0 auto;

    text-align:center;

    font-size:1.1rem;

    line-height:2;

    color:var(--text);

}

.cta-section .container{

    position:relative;

    z-index:2;

    max-width:920px;

}

/*==================================================
CALL TO ACTION
Sprint 5.4 Part 1
==================================================*/

.cta-section{

    position:relative;

    overflow:hidden;

    padding:140px 0;

    background:linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary-color) 55%,
        var(--primary-light) 100%
    );

    color:#ffffff;

    text-align:center;

}

/*----------------------------------
Decorative Background
----------------------------------*/

.cta-section::before{

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    top:-260px;

    right:-240px;

    border-radius:50%;

    background:radial-gradient(

        circle,

        rgba(255,255,255,.10),

        transparent 72%

    );

}

.cta-section::after{

    content:"";

    position:absolute;

    width:600px;

    height:600px;

    bottom:-260px;

    left:-220px;

    border-radius:50%;

    background:radial-gradient(

        circle,

        rgba(217,164,65,.14),

        transparent 72%

    );

}

.cta-section .container{

    position:relative;

    z-index:2;

    max-width:920px;

}

/*==================================================
CALL TO ACTION
Content & Typography
Sprint 5.4 Part 2
==================================================*/

.cta-section h2{

    margin-bottom:28px;

    color:#ffffff;

    font-size:clamp(2.8rem,5vw,4.2rem);

    font-weight:800;

    line-height:1.12;

    letter-spacing:-1px;

    text-wrap:balance;

}

.cta-section p{

    max-width:760px;

    margin:0 auto 50px;

    color:rgba(255,255,255,.92);

    font-size:1.15rem;

    font-weight:400;

    line-height:1.9;

    text-wrap:pretty;

}

/* ==========================================================
   GSAP READY CLASSES
========================================================== */

.hero-reveal,
.hero-reveal-delay{

    opacity:1;

    transform:translateY(0);

    will-change:transform,opacity;

}
/*==================================================
CALL TO ACTION
Premium Button
Sprint 5.4A Part 2
==================================================*/

.cta-section .btn-primary{

    background:var(--accent-color);

}

.cta-section .btn-primary:hover{

    background:var(--surface-color);

    color:var(--primary-dark);

}
/*==================================================
CALL TO ACTION
Responsive & Final Polish
Sprint 5.4 Part 4
==================================================*/

/*----------------------------------
Premium Polish
----------------------------------*/

.cta-section{

    isolation:isolate;

}

.cta-section h2,
.cta-section p{

    text-rendering:optimizeLegibility;

}

.cta-section .btn-primary{

    will-change:transform;

}

/*----------------------------------
Large Tablets
----------------------------------*/

@media(max-width:991px){

    .cta-section{

        padding:120px 0;

    }

    .cta-section h2{

        font-size:clamp(2.4rem,5vw,3.5rem);

    }

    .cta-section p{

        font-size:1.08rem;

    }

}

/*----------------------------------
Tablets
----------------------------------*/

@media(max-width:768px){

    .cta-section{

        padding:100px 0;

    }

    .cta-section h2{

        font-size:2.6rem;

    }

    .cta-section p{

        margin-bottom:42px;

        font-size:1rem;

    }

    .cta-section .btn-primary{

        width:100%;

        max-width:320px;

    }

}

/*----------------------------------
Mobile
----------------------------------*/

@media(max-width:576px){

    .cta-section{

        padding:80px 0;

    }

    .cta-section h2{

        font-size:2.1rem;

        line-height:1.2;

    }

    .cta-section p{

        font-size:.95rem;

        line-height:1.8;

    }

    .cta-section .btn-primary{

        padding:16px 28px;

        font-size:.95rem;

    }

}

/*----------------------------------
Accessibility
----------------------------------*/

@media(prefers-reduced-motion:reduce){

    .cta-section .btn-primary{

        transition:none;

    }

}
/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1200px){

    .hero-grid{

        gap:60px;

    }

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:992px){

    section{

        padding:90px 0;

    }

    .hero{

        min-height:auto;

        padding:120px 0 80px;

    }

    .hero-grid{

        grid-template-columns:1fr;

        gap:60px;

        text-align:center;

    }

    .hero-content{

        max-width:100%;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-highlights{

        justify-items:center;

    }

    .hero-visual{

        min-height:520px;

    }

    .hero-stat-top{

        left:10px;

    }

    .hero-stat-bottom{

        right:10px;

    }

    .service-grid,

    .placeholder-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:768px){

    section{

        padding:75px 0;

    }

    .container{

        width:min(100% - 28px,var(--container));

    }

    .hero-content h1{

        font-size:2.8rem;

    }

    .hero-content p{

        font-size:1rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:stretch;

    }

    .btn-primary{

        width:100%;

    }

    .hero-image{

        max-width:100%;

    }

    .hero-stat{

        position:relative;

        top:auto;

        left:auto;

        right:auto;

        bottom:auto;

        margin-top:20px;

    }

    .service-grid,

    .placeholder-grid,

    .stats-grid{

        grid-template-columns:1fr;

    }

    .section-header{

        margin-bottom:50px;

    }

    .section-header h2{

        font-size:2.2rem;

    }

}

@media (max-width:480px){

    .hero-subtitle{

        font-size:.85rem;

    }

    .hero-content h1{

        font-size:2.2rem;

    }

    .hero-scroll{

        display:none;

    }

}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

:focus-visible{

    outline:3px solid var(--primary);

    outline-offset:4px;

}

::selection{

    background:var(--primary);

    color:#ffffff;

}

/* ==========================================================
   MOTION PREFERENCES
========================================================== */

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}

/* ==========================================================
   UTILITIES
========================================================== */

.text-center{

    text-align:center;

}

.hidden{

    display:none !important;

}

.visually-hidden{

    position:absolute;

    width:1px;

    height:1px;

    padding:0;

    margin:-1px;

    overflow:hidden;

    clip:rect(0,0,0,0);

    white-space:nowrap;

    border:0;

}
/* ==========================================================
   SPRINT 5.3B
   HERO GRID LAYOUT
========================================================== */

.hero-grid{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:80px;

    position:relative;

}

.hero-content{

    position:relative;

    z-index:2;

}

.hero-visual{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-image{

    position:relative;

    width:100%;

    max-width:560px;

    overflow:hidden;

    border-radius:var(--radius-lg);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);

}

.hero-image:hover{

    transform:translateY(-8px);

}

.hero-image-element{

    display:block;

    width:100%;

    height:auto;

    object-fit:cover;

    border-radius:inherit;

    box-shadow:var(--shadow-large);

    transition:
        transform var(--transition-slow),
        box-shadow var(--transition-normal);

}

.hero-image:hover .hero-image-element{

    transform:scale(1.02);

    box-shadow:var(--shadow-large);

}

.hero-image-placeholder{

    position:relative;

    width:520px;

    height:520px;

    overflow:hidden;

    border-radius:var(--radius-lg);

    background:var(--surface-alt);

}

.hero-glow{

    position:absolute;

    inset:0;

    border-radius:inherit;

    background:
        radial-gradient(

            circle at center,

            rgba(217,164,65,.24) 0%,

            rgba(217,164,65,0) 72%

        );

    animation:heroGlow 6s ease-in-out infinite;

    pointer-events:none;

}

@keyframes heroGlow{

    0%{

        transform:scale(.95);

        opacity:.65;

    }

    50%{

        transform:scale(1.05);

        opacity:1;

    }

    100%{

        transform:scale(.95);

        opacity:.65;

    }

}
/* ==========================================================
   SPRINT 5.3B
   HERO CONTENT
========================================================== */

.hero-subtitle{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-bottom:20px;

    padding:10px 20px;

    border-radius:999px;

    background:rgba(30,125,58,.10);

    color:var(--primary-color);

    font-size:.90rem;

    font-weight:700;

    letter-spacing:.04em;

    text-transform:uppercase;

}

.hero h1{

    margin-bottom:28px;

    color:var(--heading-color);

    line-height:1.08;

    font-weight:800;

}

.hero p{

    max-width:620px;

    margin-bottom:40px;

    color:var(--text-color);

    font-size:1.12rem;

    line-height:1.8;

}

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:18px;

    margin-bottom:50px;

}

.hero-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    border-radius:999px;

    background:transparent;

    color:var(--primary-color);

    border:2px solid var(--primary-color);

    font-weight:700;

    transition:var(--transition-normal);

}

.hero-secondary:hover{

    background:var(--primary-color);

    color:#ffffff;

    transform:translateY(-4px);

    box-shadow:var(--shadow-medium);

}

.hero-buttons .btn-primary{

    box-shadow:var(--shadow-medium);

}

.hero-buttons .btn-primary:hover{

    box-shadow:var(--shadow-large);

}
/* ==========================================================
   SPRINT 5.3B
   HERO HIGHLIGHTS
========================================================== */

.hero-highlights{

    display:flex;

    flex-wrap:wrap;

    gap:22px;

    align-items:stretch;

}

.hero-highlight-card{

    flex:1;

    min-width:180px;

    padding:26px 24px;

    border:1px solid var(--border-color);

    border-radius:var(--radius-md);

    background:var(--surface-color);

    box-shadow:var(--shadow-soft);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal),
        background-color var(--transition-normal);

}

.hero-highlight-card:hover{

    transform:translateY(-8px);

    border-color:var(--accent-color);

    box-shadow:var(--shadow-large);

}

.hero-highlight-card h3{

    margin-bottom:10px;

    font-size:2rem;

    font-weight:800;

    line-height:1;

    color:var(--primary-color);

}

.hero-highlight-card p{

    margin:0;

    color:var(--text-light);

    font-size:.95rem;

    line-height:1.7;

}
/* ==========================================================
   SPRINT 5.3B
   RESPONSIVE HERO
========================================================== */

@media (max-width:1200px){

    .hero-grid{

        gap:60px;

    }

    .hero h1{

        font-size:3.4rem;

    }

}

@media (max-width:992px){

    .hero{

        padding:100px 0;

    }

    .hero-grid{

        grid-template-columns:1fr;

        gap:60px;

        text-align:center;

    }

    .hero-content{

        order:2;

    }

    .hero-visual{

        order:1;

    }

    .hero p{

        margin-inline:auto;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-highlights{

        justify-content:center;

    }

    .hero-image{

        margin:auto;

        max-width:480px;

    }

}

@media (max-width:768px){

    .hero{

        padding:80px 0;

    }

    .hero h1{

        font-size:2.8rem;

    }

    .hero p{

        font-size:1rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .hero-buttons a{

        width:100%;

        max-width:320px;

    }

    .hero-highlight-card{

        width:100%;

        max-width:280px;

    }

}

@media (max-width:576px){

    .hero{

        padding:70px 0;

    }

    .hero h1{

        font-size:2.2rem;

        line-height:1.2;

    }

    .hero-subtitle{

        font-size:.85rem;

    }

    .hero-image{

        max-width:100%;

    }

    .hero-image-placeholder{

        width:100%;

        height:340px;

    }

}
/* ==========================================================
   SPRINT 5.3B
   HERO POLISH
========================================================== */

.hero-content,
.hero-visual,
.hero-image,
.hero-highlight-card,
.hero-buttons a{

    transition:

        transform var(--transition-normal),

        box-shadow var(--transition-normal),

        opacity var(--transition-normal),

        background-color var(--transition-normal),

        border-color var(--transition-normal),

        color var(--transition-normal);

}

.hero-image{

    overflow:hidden;

    border-radius:var(--radius-lg);

}

.hero h1,
.hero p,
.hero-subtitle{

    text-rendering:optimizeLegibility;

}

.hero-buttons a:focus-visible{

    outline:3px solid var(--accent-color);

    outline-offset:4px;

}

@media (prefers-reduced-motion:reduce){

    *,

    *::before,

    *::after{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}
/* ==========================================
   SPRINT 4.3
   Animation States
========================================== */

.hero-highlight-card.is-hover{

    transform:translateY(-10px) scale(1.03);

    border-color:var(--accent-color);

    box-shadow:var(--shadow-large);

}
/*==================================================
TRUSTED BY CLIENTS
Premium Statistics Cards
Sprint 5.3E Part 2
==================================================*/

.stat-card{

    position:relative;

    overflow:hidden;

    text-align:center;

    background:var(--surface-color);

    border:1px solid var(--border-color);

    border-radius:var(--radius-lg);

    padding:46px 34px;

    transition:

        transform var(--transition-normal),

        border-color var(--transition-normal),

        box-shadow var(--transition-normal);

    box-shadow:var(--shadow-soft);

}

.stat-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:linear-gradient(

        90deg,

        var(--primary-color),

        var(--accent-color)

    );

    transform:scaleX(0);

    transform-origin:left;

    transition:transform var(--transition-normal);

}

.stat-card:hover{

    transform:translateY(-12px);

    border-color:rgba(30,125,58,.18);

    box-shadow:var(--shadow-large);

}

.stat-card:hover::before{

    transform:scaleX(1);

}

/*----------------------------------
ICON
----------------------------------*/

.stat-icon{

    width:78px;

    height:78px;

    margin:0 auto 26px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(30,125,58,.10);

    color:var(--primary-color);

    font-size:32px;

    transition:

        transform var(--transition-normal),

        background-color var(--transition-normal),

        color var(--transition-normal),

        box-shadow var(--transition-normal);

}

.stat-card:hover .stat-icon{

    transform:translateY(-6px) rotate(-8deg);

    background:var(--accent-color);

    color:#ffffff;

    box-shadow:var(--shadow-medium);

}

/*----------------------------------
NUMBER
----------------------------------*/

.stat-card h3{

    margin-bottom:10px;

    font-size:clamp(2.4rem,4vw,3.4rem);

    font-weight:800;

    color:var(--primary-color);

    line-height:1;

    transition:color var(--transition-normal);

}

.stat-card:hover h3{

    color:var(--primary-dark);

}

/*----------------------------------
LABEL
----------------------------------*/

.stat-card p{

    margin:0;

    color:var(--text-color);

    line-height:1.7;

    font-size:1rem;

    font-weight:500;

}
/*==================================================
TRUSTED BY CLIENTS
Counter Animation & Hover
Sprint 5.3E Part 3
==================================================*/

.stat-card{

    opacity:0;

    transform:translateY(50px);

    transition:

        opacity .8s ease,

        transform .8s cubic-bezier(.22,.61,.36,1),

        box-shadow var(--transition-normal),

        border-color var(--transition-normal);

    will-change:transform,opacity;

}

.stat-card.is-visible{

    opacity:1;

    transform:translateY(0);

}

/*----------------------------------
Animation Delay
----------------------------------*/

.stat-card:nth-child(1){

    transition-delay:.08s;

}

.stat-card:nth-child(2){

    transition-delay:.16s;

}

.stat-card:nth-child(3){

    transition-delay:.24s;

}

.stat-card:nth-child(4){

    transition-delay:.32s;

}

/*----------------------------------
Counter Number
----------------------------------*/

.stat-card h3{

    letter-spacing:-1px;

    transition:

        color var(--transition-normal),

        transform var(--transition-normal);

}

.stat-card:hover h3{

    transform:scale(1.05);

}

/*----------------------------------
Description
----------------------------------*/

.stat-card p{

    transition:color var(--transition-normal);

}

.stat-card:hover p{

    color:var(--heading-color);

}

/*----------------------------------
Icon Animation
----------------------------------*/

.stat-icon i{

    transition:

        transform .45s ease,

        color var(--transition-normal);

}

.stat-card:hover .stat-icon i{

    transform:scale(1.15);

}

/*----------------------------------
Reduced Motion
----------------------------------*/

@media (prefers-reduced-motion:reduce){

    .stat-card{

        opacity:1 !important;

        transform:none !important;

        transition:none !important;

    }

}
/*==================================================
TRUSTED BY CLIENTS
Responsive & Final Polish
Sprint 5.3E Part 4
==================================================*/

/*----------------------------------
Large Tablets
----------------------------------*/

@media (max-width:991px){

    .stats-section{

        padding:100px 0;

    }

    .stats-grid{

        gap:24px;

    }

    .stat-card{

        padding:40px 28px;

    }

}

/*----------------------------------
Tablets
----------------------------------*/

@media (max-width:768px){

    .stats-section{

        padding:90px 0;

    }

    .stats-grid{

        grid-template-columns:1fr;

        gap:22px;

    }

    .stat-card{

        padding:36px 26px;

    }

    .stat-icon{

        width:72px;

        height:72px;

        font-size:30px;

        margin-bottom:22px;

    }

    .stat-card h3{

        font-size:2.8rem;

    }

}

/*----------------------------------
Mobile
----------------------------------*/

@media (max-width:576px){

    .stats-section{

        padding:80px 0;

    }

    .stats-section .section-header{

        margin-bottom:50px;

    }

    .stat-card{

        padding:32px 22px;

        border-radius:var(--radius-md);

    }

    .stat-icon{

        width:66px;

        height:66px;

        font-size:28px;

        margin-bottom:20px;

    }

    .stat-card h3{

        font-size:2.4rem;

    }

    .stat-card p{

        font-size:.95rem;

        line-height:1.7;

    }

}

/*----------------------------------
Accessibility
----------------------------------*/

.stat-card:focus-within{

    outline:3px solid rgba(30,125,58,.25);

    outline-offset:4px;

}

/*----------------------------------
Performance
----------------------------------*/

.stat-card,
.stat-icon{

    backface-visibility:hidden;

    transform-style:preserve-3d;

}
/*==================================================
SERVICES PREMIUM ANIMATION
==================================================*/

.service-card{

    opacity:0;

    transform:translateY(70px);

    transition:

        opacity .8s ease,

        transform .8s cubic-bezier(.22,1,.36,1),

        box-shadow .35s ease,

        border-color .35s ease;

    will-change:transform,opacity;

}

.service-card.is-visible{

    opacity:1;

    transform:translateY(0);

}

.service-card:hover{

    transform:translateY(-12px);

}
.service-card.is-hover{

    box-shadow:0 30px 70px rgba(13,110,253,.15);

}
/*==================================================
SERVICES SECTION
Sprint 5.3C
==================================================*/

.services-section{

    position:relative;

    padding:var(--section-space) 0;

    background:var(--surface-color);

}

.services-section .section-heading{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.services-section .section-subtitle{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

    padding:10px 20px;

    border-radius:999px;

    background:rgba(30,125,58,.10);

    color:var(--primary-color);

    font-size:.90rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.services-section h2{

    margin-bottom:22px;

    color:var(--heading-color);

    font-size:clamp(2rem,5vw,3rem);

    line-height:1.15;

}

.services-section p{

    color:var(--text-color);

    line-height:1.8;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:32px;

}

@media(max-width:991px){

    .services-grid{

        grid-template-columns:1fr;

    }

}
/*==================================================
SERVICE CARD
Sprint 5.3C
==================================================*/

.service-card{

    position:relative;

    display:flex;

    flex-direction:column;

    overflow:hidden;

    padding:40px;

    background:var(--surface-color);

    border:1px solid var(--border-color);

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow-soft);

    transition:

        transform var(--transition-normal),

        box-shadow var(--transition-normal),

        border-color var(--transition-normal);

}

.service-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:6px;

    height:100%;

    background:linear-gradient(

        180deg,

        var(--primary-color),

        var(--accent-color)

    );

    transform:scaleY(0);

    transform-origin:top;

    transition:transform var(--transition-normal);

}

.service-card:hover{

    transform:translateY(-10px);

    border-color:var(--accent-color);

    box-shadow:var(--shadow-large);

}

.service-card:hover::before{

    transform:scaleY(1);

}

.service-card-content{

    display:flex;

    flex-direction:column;

    height:100%;

}

.service-card h3{

    margin-bottom:18px;

    color:var(--heading-color);

    font-size:1.45rem;

    font-weight:700;

    line-height:1.3;

}

.service-card p{

    flex-grow:1;

    margin-bottom:28px;

    color:var(--text-color);

    line-height:1.8;

}

.service-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    font-weight:700;

    color:var(--primary-color);

    text-decoration:none;

    transition:

        color var(--transition-fast),

        transform var(--transition-fast);

}

.service-link::after{

    content:"→";

    transition:transform var(--transition-fast);

}

.service-card:hover .service-link{

    color:var(--primary-dark);

}

.service-card:hover .service-link::after{

    transform:translateX(6px);

}
/*==================================================
SERVICE ICON
Sprint 5.3C
==================================================*/

.service-icon{

    width:72px;

    height:72px;

    margin-bottom:28px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:var(--radius-md);

    background:linear-gradient(

        135deg,

        rgba(30,125,58,.10),

        rgba(217,164,65,.12)

    );

    transition:

        transform var(--transition-normal),

        background var(--transition-normal),

        box-shadow var(--transition-normal);

}

.service-icon span{

    width:34px;

    height:34px;

    display:block;

    border-radius:50%;

    background:var(--primary-color);

    box-shadow:

        0 0 0 8px rgba(30,125,58,.08);

    transition:

        background var(--transition-normal),

        transform var(--transition-normal);

}

.service-card:hover .service-icon{

    transform:rotate(-6deg) scale(1.08);

    background:linear-gradient(

        135deg,

        rgba(30,125,58,.16),

        rgba(217,164,65,.18)

    );

}

.service-card:hover .service-icon span{

    background:var(--accent-color);

    transform:scale(1.05);

}
/*==================================================
SERVICES FOOTER
Sprint 5.3C
==================================================*/

.services-footer{

    margin-top:70px;

    text-align:center;

}

.services-footer .btn-primary{

    min-width:220px;

    justify-content:center;

    box-shadow:var(--shadow-medium);

    transition:

        transform var(--transition-normal),

        box-shadow var(--transition-normal),

        background-color var(--transition-normal);

}

.services-footer .btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow-large);

}
/*==================================================
WHY CHOOSE DIANTER
Sprint 5.2 Part 1
==================================================*/

.why-section{

    position:relative;

    padding:var(--section-space) 0;

    background:var(--surface-alt);

    overflow:hidden;

}

.why-section::before{

    content:"";

    position:absolute;

    top:-180px;

    right:-180px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:radial-gradient(
        circle,
        rgba(30,125,58,.08),
        transparent 70%
    );

    pointer-events:none;

}

.why-section::after{

    content:"";

    position:absolute;

    bottom:-220px;

    left:-220px;

    width:520px;

    height:520px;

    border-radius:50%;

    background:radial-gradient(
        circle,
        rgba(217,164,65,.08),
        transparent 72%
    );

    pointer-events:none;

}

.why-section .container{

    position:relative;

    z-index:2;

}

.why-section .section-heading{

    max-width:760px;

    margin:0 auto 72px;

    text-align:center;

}

.why-section .section-subtitle{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 22px;

    margin-bottom:22px;

    border-radius:999px;

    background:rgba(30,125,58,.10);

    color:var(--primary-color);

    font-size:.90rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.why-section h2{

    margin-bottom:24px;

    color:var(--heading-color);

    font-size:clamp(2.5rem,5vw,4rem);

    font-weight:800;

    line-height:1.15;

}

.why-section p{

    margin:0;

    color:var(--text-light);

    font-size:1.08rem;

    line-height:1.9;

    max-width:720px;

    margin-inline:auto;

}
/*==================================================
WHY CHOOSE CARD
Sprint 5.2 Part 2
==================================================*/

.why-card{

    position:relative;

    overflow:hidden;

    border-radius:var(--radius-lg);

    background:var(--surface-color);

    border:1px solid var(--border-color);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);

    box-shadow:var(--shadow-soft);

}

.why-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:6px;

    height:100%;

    background:linear-gradient(

        180deg,

        var(--primary-color),

        var(--accent-color)

    );

    transform:scaleY(0);

    transform-origin:top;

    transition:transform var(--transition-normal);

}

.why-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary-light);

    box-shadow:var(--shadow-large);

}

.why-card:hover::before{

    transform:scaleY(1);

}

.why-card-content{

    display:flex;

    flex-direction:column;

    height:100%;

    padding:42px;

}

.why-icon{

    width:72px;

    height:72px;

    margin-bottom:26px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:var(--radius-md);

    background:linear-gradient(

        135deg,

        rgba(30,125,58,.10),

        rgba(217,164,65,.08)

    );

    transition:
        transform var(--transition-normal),
        background var(--transition-normal);

}

.why-icon i{

    font-size:32px;

    color:var(--primary-color);

    transition:

        transform .35s ease,

        color .35s ease;

}

.why-card:hover .why-icon i{

    color:var(--accent-color);

    transform:scale(1.12);

}

.why-card h3{

    margin-bottom:18px;

    color:var(--heading-color);

    font-size:1.45rem;

    font-weight:700;

    line-height:1.3;

}

.why-card p{

    margin:0;

    color:var(--text-light);

    line-height:1.8;

    flex-grow:1;

}
/*==================================================
WHY CHOOSE FOOTER
Sprint 5.2 Part 3
==================================================*/

.why-choose-footer{

    margin-top:70px;

    text-align:center;

}

.why-choose-footer .btn-primary{

    min-width:260px;

    justify-content:center;

    box-shadow:var(--shadow-medium);

    transition:

        transform var(--transition-normal),

        box-shadow var(--transition-normal),

        background-color var(--transition-normal);

}

.why-choose-footer .btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow-large);

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:991px){

    .why-card-content{

        padding:34px;

    }

}

@media(max-width:767px){

    .why-section,
    .why-choose-section{

        padding:90px 0;

    }

    .why-card-content{

        padding:30px;

    }

    .why-icon{

        width:64px;

        height:64px;

    }

    .why-icon span{

        width:30px;

        height:30px;

    }

}

/*==================================================
POLISH
==================================================*/

.why-card{

    will-change:transform;

}

.why-card:hover .why-icon{

    background:linear-gradient(

        135deg,

        rgba(30,125,58,.18),

        rgba(217,164,65,.14)

    );

}

.why-card:hover h3{

    color:var(--primary-color);

}
/*==================================================
DIANTER MOTION SYSTEM
Sprint 5.2.3 Part 4
==================================================*/

.reveal{

    opacity:0;

    transform:translateY(50px);

    transition:

        opacity .8s ease,

        transform .8s cubic-bezier(.22,.61,.36,1);

    will-change:opacity,transform;

}

.reveal.reveal-active{

    opacity:1;

    transform:translateY(0);

}
.reveal-delay-1{

    transition-delay:.10s;

}

.reveal-delay-2{

    transition-delay:.20s;

}

.reveal-delay-3{

    transition-delay:.30s;

}

.reveal-delay-4{

    transition-delay:.40s;

}

.reveal-delay-5{

    transition-delay:.50s;

}

.reveal-delay-6{

    transition-delay:.60s;

}
.service-card,
.why-card{

    backface-visibility:hidden;

    transform-style:preserve-3d;

}
@media (prefers-reduced-motion:reduce){

    .reveal{

        opacity:1 !important;

        transform:none !important;

        transition:none !important;

    }

}
/* ==========================================================
   OUR PROCESS
   Sprint 5.3D Part 1
========================================================== */

.process-section{

    position:relative;

    padding:var(--section-space) 0;

    background:var(--background-color);

    overflow:hidden;

}

.process-section::before{

    content:"";

    position:absolute;

    top:-180px;

    right:-180px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:radial-gradient(

        circle,

        rgba(30,125,58,.08),

        transparent 70%

    );

}

.process-section::after{

    content:"";

    position:absolute;

    bottom:-220px;

    left:-220px;

    width:460px;

    height:460px;

    border-radius:50%;

    background:radial-gradient(

        circle,

        rgba(217,164,65,.08),

        transparent 70%

    );

}

.process-section .container{

    position:relative;

    z-index:2;

}

.process-section .section-heading{

    max-width:760px;

    margin:0 auto 80px;

    text-align:center;

}

.process-section .section-subtitle{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 24px;

    border-radius:999px;

    background:rgba(30,125,58,.10);

    color:var(--primary-color);

    font-weight:700;

    font-size:.95rem;

    letter-spacing:.08em;

    text-transform:uppercase;

    margin-bottom:24px;

}

.process-section .section-heading h2{

    margin-bottom:24px;

    color:var(--heading-color);

    font-size:clamp(2.6rem,5vw,4rem);

    font-weight:800;

    line-height:1.1;

}

.process-section .section-heading p{

    margin:0 auto;

    max-width:760px;

    color:var(--text-color);

    font-size:1.15rem;

    line-height:1.9;

}

.process-timeline{

    position:relative;

    max-width:900px;

    margin:0 auto;

    padding-left:70px;

}
/*==================================================
PROCESS TIMELINE
Sprint 5.3D Part 2
==================================================*/

.process-timeline::before{

    content:"";

    position:absolute;

    top:0;

    left:34px;

    width:4px;

    height:100%;

    border-radius:999px;

    background:linear-gradient(

        180deg,

        var(--primary-color),

        var(--accent-color)

    );

}

.process-step{

    position:relative;

    display:flex;

    align-items:flex-start;

    gap:32px;

    margin-bottom:48px;

}

.process-step:last-child{

    margin-bottom:0;

}

.process-number{

    position:relative;

    z-index:2;

    flex-shrink:0;

    width:72px;

    height:72px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--surface-color);

    border:4px solid var(--primary-color);

    color:var(--primary-color);

    font-size:1.2rem;

    font-weight:700;

    box-shadow:var(--shadow-medium);

    transition:

        transform var(--transition-normal),

        background-color var(--transition-normal),

        color var(--transition-normal),

        border-color var(--transition-normal),

        box-shadow var(--transition-normal);

}

.process-content{

    flex:1;

    padding:34px;

    background:var(--surface-color);

    border:1px solid var(--border-color);

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow-soft);

    transition:

        transform var(--transition-normal),

        box-shadow var(--transition-normal),

        border-color var(--transition-normal);

}

.process-content h3{

    margin-bottom:14px;

    color:var(--heading-color);

    font-size:1.45rem;

    font-weight:700;

    line-height:1.3;

}

.process-content p{

    margin:0;

    color:var(--text-color);

    line-height:1.8;

}

.process-step:hover .process-content{

    transform:translateY(-8px);

    border-color:var(--accent-color);

    box-shadow:var(--shadow-large);

}

.process-step:hover .process-number{

    transform:scale(1.08);

    background:var(--primary-color);

    border-color:var(--primary-color);

    color:var(--surface-color);

    box-shadow:var(--shadow-large);

}
/*==================================================
LATEST PROJECTS
Sprint 5.5.2 Part 2
Premium Imagery + Gallery + Carousel
==================================================*/

.projects-preview{

    position:relative;

    overflow:hidden;

    padding:120px 0;

    background:var(--background-color);

}

.projects-preview .container{

    position:relative;

    z-index:2;

}

.projects-preview .section-header{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.projects-preview .section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-bottom:18px;

    padding:9px 20px;

    border-radius:999px;

    background:rgba(30,125,58,.08);

    color:var(--primary-color);

    font-size:.85rem;

    font-weight:700;

    letter-spacing:.5px;

}

.projects-preview .section-header h2{

    margin-bottom:18px;

    color:var(--heading-color);

}

.projects-preview .section-header p{

    max-width:700px;

    margin:0 auto;

    color:var(--text-color);

}


/*==================================================
PROJECT SHOWCASE
==================================================*/

.projects-showcase{

    display:grid;

    grid-template-columns:
        minmax(0,1.25fr)
        minmax(0,1fr);

    gap:30px;

}


/*==================================================
PROJECT CARD
==================================================*/

.project-card{

    position:relative;

    display:flex;

    flex-direction:column;

    min-width:0;

    overflow:hidden;

    background:var(--surface-color);

    border:1px solid var(--border-color);

    border-radius:var(--radius-lg);

    box-shadow:var(--shadow-soft);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);

}

.project-card:hover{

    transform:translateY(-8px);

    border-color:rgba(30,125,58,.18);

    box-shadow:var(--shadow-large);

}

.project-card-featured{

    grid-row:span 2;

}


/*==================================================
PROJECT MEDIA
==================================================*/

.project-card-media{

    position:relative;

    overflow:hidden;

    min-height:300px;

    background:
        linear-gradient(
            135deg,
            var(--surface-alt),
            var(--background-color)
        );

}

.project-card-featured .project-card-media{

    min-height:430px;

}


/*==================================================
IMAGE
==================================================*/

.project-card-media img{

    display:block;

    width:100%;

    height:100%;

    min-height:inherit;

    object-fit:cover;

    transition:
        transform .8s cubic-bezier(.22,.61,.36,1),
        filter .5s ease;

}

.project-card:hover .project-card-media img{

    transform:scale(1.045);

}


/*==================================================
IMAGE PLACEHOLDER
==================================================*/

.project-image-placeholder{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    height:100%;

    min-height:inherit;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            rgba(30,125,58,.08),
            rgba(217,164,65,.10)
        );

    transition:
        transform .8s cubic-bezier(.22,.61,.36,1);

}

.project-card:hover .project-image-placeholder{

    transform:scale(1.035);

}

.project-image-placeholder::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        radial-gradient(
            circle at 25% 25%,
            rgba(255,255,255,.7),
            transparent 45%
        );

    pointer-events:none;

}

.project-image-label{

    position:relative;

    z-index:2;

    padding:11px 20px;

    border:1px solid rgba(30,125,58,.12);

    border-radius:999px;

    background:rgba(255,255,255,.78);

    color:var(--primary-color);

    font-size:.82rem;

    font-weight:700;

    backdrop-filter:blur(8px);

}


/*==================================================
PROJECT CATEGORY
==================================================*/

.project-category{

    position:absolute;

    top:22px;

    left:22px;

    z-index:5;

    padding:9px 16px;

    border-radius:999px;

    background:rgba(255,255,255,.94);

    color:var(--primary-color);

    font-size:.78rem;

    font-weight:700;

    box-shadow:0 8px 25px rgba(20,84,42,.10);

    backdrop-filter:blur(8px);

}


/*==================================================
PROJECT CONTENT
==================================================*/

.project-card-content{

    display:flex;

    flex:1;

    flex-direction:column;

    padding:30px;

}

.project-location{

    display:flex;

    align-items:center;

    gap:8px;

    margin-bottom:11px;

    color:var(--text-light);

    font-size:.84rem;

    font-weight:600;

}

.project-location i{

    color:var(--accent-color);

}

.project-card-content h3{

    margin-bottom:14px;

    color:var(--heading-color);

    font-size:1.45rem;

    line-height:1.3;

}

.project-card-featured .project-card-content h3{

    font-size:1.8rem;

}

.project-card-content p{

    margin-bottom:24px;

    color:var(--text-color);

    line-height:1.8;

}


/*==================================================
PROJECT LINK
==================================================*/

.project-link{

    display:inline-flex;

    align-items:center;

    gap:9px;

    align-self:flex-start;

    margin-top:auto;

    color:var(--primary-color);

    font-weight:700;

    text-decoration:none;

    transition:
        color var(--transition-fast),
        gap var(--transition-fast);

}

.project-link:hover{

    color:var(--primary-dark);

    gap:14px;

}

.project-link i{

    transition:
        transform var(--transition-fast);

}

.project-link:hover i{

    transform:translateX(3px);

}


/*==================================================
PROJECT FOOTER
==================================================*/

.projects-footer{

    display:flex;

    justify-content:center;

    margin-top:60px;

}


/*==================================================
GALLERY READY
==================================================*/

.project-gallery{

    position:relative;

    overflow:hidden;

}

.project-gallery img{

    display:block;

    width:100%;

    height:auto;

    cursor:zoom-in;

}


/*==================================================
CAROUSEL CONTROLS
==================================================*/

.projects-carousel-controls{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    margin-top:35px;

}

.projects-carousel-button{

    display:flex;

    align-items:center;

    justify-content:center;

    width:48px;

    height:48px;

    padding:0;

    border:1px solid var(--border-color);

    border-radius:50%;

    background:var(--surface-color);

    color:var(--primary-color);

    cursor:pointer;

    box-shadow:var(--shadow-soft);

    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);

}

.projects-carousel-button:hover{

    background:var(--primary-color);

    color:#ffffff;

    transform:translateY(-3px);

    box-shadow:var(--shadow-medium);

}

.projects-carousel-button:focus-visible{

    outline:3px solid rgba(30,125,58,.25);

    outline-offset:3px;

}


/*==================================================
MOBILE
==================================================*/

@media (max-width:991px){

    .projects-preview{

        padding:100px 0;

    }

    .projects-showcase{

        grid-template-columns:1fr;

    }

    .project-card-featured{

        grid-row:auto;

    }

    .project-card-featured .project-card-media{

        min-height:360px;

    }

}

@media (max-width:767px){

    .projects-preview{

        padding:80px 0;

    }

    .projects-preview .section-header{

        margin-bottom:50px;

    }

    .project-card-media,
    .project-card-featured .project-card-media{

        min-height:260px;

    }

    .project-card-content{

        padding:25px;

    }

    .project-card-content h3,
    .project-card-featured .project-card-content h3{

        font-size:1.35rem;

    }

    .project-category{

        top:16px;

        left:16px;

    }

}


/*==================================================
REDUCED MOTION
==================================================*/

@media (prefers-reduced-motion:reduce){

    .project-card,
    .project-card-media img,
    .project-image-placeholder,
    .project-link,
    .project-link i,
    .projects-carousel-button{

        transition:none !important;

    }

    .project-card:hover{

        transform:none;

    }

    .project-card:hover .project-card-media img,
    .project-card:hover .project-image-placeholder{

        transform:none;

    }

}
/* ==========================================================
   END OF FILE
========================================================== */

/* ==========================================================
   DIANTER CLEAN PROJECT ARCHITECTURE
   Sprint 6 Cleanup — normal Posts + plugin-friendly Pages
   ========================================================== */

.dianter-latest-projects {
    position: relative;
    padding: 120px 0;
    background: var(--d-bg, #0B0F14);
}

.dianter-latest-projects__header {
    max-width: 780px;
    margin: 0 auto 64px;
    text-align: center;
}

.dianter-latest-projects__header h2 {
    margin-bottom: 18px;
}

.dianter-latest-projects__header p {
    max-width: 720px;
    margin: 0 auto;
}

.dianter-latest-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.dianter-latest-project-card {
    min-width: 0;
    margin: 0;
    border: 1px solid var(--d-border, rgba(255,255,255,.10));
    border-radius: 22px;
    overflow: hidden;
    background: var(--d-surface, #121820);
    box-shadow: var(--d-shadow-soft, 0 16px 45px rgba(0,0,0,.22));
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.dianter-latest-project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(57,217,138,.35);
    box-shadow: var(--d-shadow, 0 24px 70px rgba(0,0,0,.30));
}

.dianter-latest-project-card__link {
    display: block;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

.dianter-latest-project-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--d-surface-2, #171E27);
}

.dianter-latest-project-card__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .45s ease;
}

.dianter-latest-project-card:hover .dianter-latest-project-card__image {
    transform: scale(1.035);
}

.dianter-latest-project-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--d-muted, #7F8B96);
    background: linear-gradient(135deg, var(--d-surface-2, #171E27), var(--d-surface-3, #1B232D));
}


/* Three-card Latest Projects layout — empty slots remain visually intentional. */
.dianter-latest-project-card--empty {
    border-style: dashed;
}

.dianter-latest-project-card--empty .dianter-latest-project-card__media {
    background: linear-gradient(135deg, rgba(57,217,138,.08), rgba(217,164,65,.10));
}

.dianter-latest-project-card--empty .dianter-latest-project-card__placeholder {
    color: var(--d-green, #39D98A);
}

.dianter-latest-project-card__placeholder span {
    padding: 10px 16px;
    border: 1px solid var(--d-border, rgba(255,255,255,.10));
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}

.dianter-latest-project-card__arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11,15,20,.78);
    color: var(--d-green, #39D98A);
    backdrop-filter: blur(10px);
}

.dianter-latest-project-card__content {
    padding: 28px 28px 30px;
}

.dianter-latest-project-card__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--d-green, #39D98A);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dianter-latest-project-card__content h3 {
    margin: 0 0 12px;
    color: var(--d-heading, #F7FAF8);
    font-size: 1.35rem;
    line-height: 1.25;
}

.dianter-latest-project-card__content p {
    margin: 0 0 22px;
    color: var(--d-text, #B7C1C9);
    line-height: 1.7;
}

.dianter-latest-project-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--d-green, #39D98A);
    font-weight: 800;
}

.dianter-latest-project-card__cta i {
    transition: transform .25s ease;
}

.dianter-latest-project-card:hover .dianter-latest-project-card__cta i {
    transform: translateX(4px);
}

.dianter-latest-projects__empty {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 32px;
    border: 1px dashed var(--d-border-strong, rgba(255,255,255,.16));
    border-radius: 22px;
    text-align: center;
    background: var(--d-surface, #121820);
}

.dianter-latest-projects__empty h3 {
    margin-bottom: 10px;
    color: var(--d-heading, #F7FAF8);
}

.dianter-latest-projects__empty p {
    margin: 0;
}

.dianter-latest-projects__footer {
    margin-top: 48px;
    text-align: center;
}

/* ==========================================================
   STANDARD PAGES / POSTS
   The theme supplies the visual shell only. WordPress content
   and third-party plugins control the actual page contents.
   ========================================================== */

.dianter-standard-page__hero,
.dianter-single-post__hero {
    padding: 96px 0 64px;
    background: var(--d-bg, #0B0F14);
}

.dianter-standard-page__hero h1,
.dianter-single-post__hero h1 {
    max-width: 980px;
    margin: 18px 0 0;
    color: var(--d-heading, #F7FAF8);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
}

.dianter-standard-page__excerpt,
.dianter-single-post__excerpt {
    max-width: 820px;
    margin-top: 24px;
    color: var(--d-text, #B7C1C9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.dianter-standard-page__content,
.dianter-single-post__content {
    padding: 20px 0 110px;
    background: var(--d-bg, #0B0F14);
}

.dianter-content-shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.dianter-entry-content {
    color: var(--d-text, #B7C1C9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.dianter-entry-content > * {
    max-width: 100%;
}

.dianter-entry-content h2,
.dianter-entry-content h3,
.dianter-entry-content h4 {
    color: var(--d-heading, #F7FAF8);
}

.dianter-entry-content a {
    color: var(--d-green, #39D98A);
}

.dianter-entry-content img {
    max-width: 100%;
    height: auto;
}

.dianter-entry-content figure {
    max-width: 100%;
}

.dianter-entry-content iframe,
.dianter-entry-content video {
    max-width: 100%;
}

.dianter-back-to-projects {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 30px;
    color: var(--d-green, #39D98A) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.dianter-back-to-projects:hover {
    color: var(--d-gold-light, #F0C96A) !important;
}

.dianter-single-post__footer {
    margin-top: 56px;
    text-align: center;
}

/* Keep third-party galleries inside the content area rather than
   allowing theme image rules to create an oversized dead-end page. */
.dianter-entry-content .gallery,
.dianter-entry-content .wp-block-gallery,
.dianter-entry-content .wp-block-image,
.dianter-entry-content .wp-block-embed,
.dianter-entry-content [class*="gallery"],
.dianter-entry-content [class*="carousel"] {
    max-width: 100%;
}

@media (max-width: 991px) {
    .dianter-latest-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .dianter-latest-projects {
        padding: 80px 0;
    }

    .dianter-latest-projects__header {
        margin-bottom: 44px;
    }

    .dianter-latest-project-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .dianter-latest-project-card__content {
        padding: 24px;
    }

    .dianter-standard-page__hero,
    .dianter-single-post__hero {
        padding: 72px 0 46px;
    }

    .dianter-standard-page__content,
    .dianter-single-post__content {
        padding-bottom: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dianter-latest-project-card,
    .dianter-latest-project-card__image,
    .dianter-latest-project-card__cta i {
        transition: none !important;
    }
}

/* ==========================================================
   DIANTER PRIMARY NAVIGATION — WORDPRESS MENU CONTROLLED
   Cleanup Phase 3

   The header contains no hardcoded page destinations.
   Projects / Services / FAQs / Request a Quote are ordinary
   WordPress Pages placed in Appearance > Menus.
   ========================================================== */

.site-header {
    position: relative;
    z-index: 100;
    background: #0B0F14;
    border-bottom: 1px solid rgba(217, 164, 65, .18);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 124px;
}

.site-branding {
    flex: 0 0 auto;
    min-width: 0;
}

.site-title {
    color: var(--d-heading, #F7FAF8);
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.site-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.site-navigation .primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation .primary-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-navigation .primary-menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #E8EFEB;
    background: transparent;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.site-navigation .primary-menu > li > a:hover,
.site-navigation .primary-menu > li.current-menu-item > a,
.site-navigation .primary-menu > li.current_page_item > a,
.site-navigation .primary-menu > li.current-menu-ancestor > a {
    color: var(--d-green, #39D98A);
    background: rgba(57, 217, 138, .075);
}

.site-navigation .primary-menu > li > a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: var(--d-gold, #D9A441);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.site-navigation .primary-menu > li > a:hover::after,
.site-navigation .primary-menu > li.current-menu-item > a::after,
.site-navigation .primary-menu > li.current_page_item > a::after,
.site-navigation .primary-menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
}

/* Menu items remain ordinary WordPress links. The upper-right Request a Quote
   button is rendered separately so its destination is independently editable. */
.site-navigation .primary-menu > li:last-child > a {
    background: transparent;
    color: #E8EFEB;
}

.site-navigation .primary-menu > li:last-child > a:hover,
.site-navigation .primary-menu > li:last-child.current-menu-item > a,
.site-navigation .primary-menu > li:last-child.current_page_item > a {
    background: rgba(57, 217, 138, .075);
    color: var(--d-green, #39D98A);
    transform: none;
}

/* Standalone editable header CTA. It is not tied to a Contact page or
   to the final item in the WordPress menu. */
.header-cta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 15px 26px;
    border: 1px solid rgba(217, 164, 65, .30);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--d-gold, #D9A441), #B98525);
    color: #0B0F14 !important;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(217, 164, 65, .16);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.header-cta__button:hover {
    background: linear-gradient(135deg, var(--d-gold-light, #F0C96A), var(--d-gold, #D9A441));
    color: #0B0F14 !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(217, 164, 65, .22);
}

/* Allow normal WordPress dropdown menus without hardcoding pages. */
.site-navigation .primary-menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 200;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: #111820;
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.site-navigation .primary-menu > li:hover > .sub-menu,
.site-navigation .primary-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-navigation .primary-menu .sub-menu a {
    display: block;
    padding: 10px 13px;
    border-radius: 10px;
    color: #E8EFEB;
    text-decoration: none;
}

.site-navigation .primary-menu .sub-menu a:hover {
    color: var(--d-green, #39D98A);
    background: rgba(57, 217, 138, .07);
}

@media (max-width: 900px) {
    .site-header-inner {
        min-height: 100px;
        gap: 18px;
    }

    .site-navigation .primary-menu {
        gap: 3px;
    }

    .site-navigation .primary-menu > li > a {
        padding-inline: 11px;
        font-size: .88rem;
    }

    .site-navigation .primary-menu > li:last-child > a {
        padding-inline: 17px;
    }
}

@media (max-width: 767px) {
    .site-header-inner {
        flex-wrap: wrap;
        min-height: 82px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-navigation {
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-navigation::-webkit-scrollbar {
        display: none;
    }

    .site-navigation .primary-menu {
        width: max-content;
        justify-content: flex-start;
    }

    .site-navigation .primary-menu > li > a {
        min-height: 40px;
        padding: 8px 12px;
    }

    .site-navigation .primary-menu > li:last-child > a {
        min-height: 44px;
        padding: 11px 16px;
    }

    .site-navigation .primary-menu .sub-menu {
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-navigation .primary-menu > li > a,
    .site-navigation .primary-menu > li > a::after,
    .site-navigation .primary-menu .sub-menu {
        transition: none !important;
    }
}


/* ==========================================================
   CLEANUP PHASE 4 — EDITABLE NAVIGATION / FOOTER SOCIALS
   ========================================================== */

/* Footer social widgets/plugins keep their own links; the theme
   only controls spacing so icons never collapse together. */
.site-footer .footer-social ul,
.site-footer .footer-social .social-links,
.site-footer .footer-social .social-icons,
.site-footer .footer-social .wp-block-social-links,
.site-footer .footer-social .wp-block-social-links.is-layout-flex {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-footer .footer-social li,
.site-footer .footer-social .wp-social-link {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-footer .footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Do not force navigation destinations from CSS or PHP.
   Request a Quote is styled only when it is actually the final
   item in the WordPress Primary Menu. */
.site-navigation .primary-menu > li:last-child > a {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .site-footer .footer-social ul,
    .site-footer .footer-social .social-links,
    .site-footer .footer-social .social-icons,
    .site-footer .footer-social .wp-block-social-links,
    .site-footer .footer-social .wp-block-social-links.is-layout-flex {
        gap: 12px !important;
    }
}

/* ==========================================================
   DIANTER CLEAN ARCHITECTURE — FINAL NAV / SOCIAL REPAIR
   ========================================================== */

/* Header: keep the native menu centered and the final menu item
   positioned as the upper-right Request a Quote CTA. */
.site-header-inner {
    display: grid !important;
    grid-template-columns: minmax(210px, 250px) 1fr auto !important;
    align-items: center !important;
    column-gap: 34px !important;
}

.site-navigation {
    min-width: 0 !important;
    justify-self: center !important;
    width: 100% !important;
}

.site-navigation .primary-menu {
    justify-content: center !important;
    flex-wrap: nowrap !important;
}


/* The menu fallback is intentionally destination-free. */
.dianter-menu-notice {
    color: #7F8B96;
    font-size: .78rem;
    white-space: nowrap;
    text-align: center;
}

/* Footer social widget: the actual widget outputs a DIV, not a UL.
   This is why the previous spacing rule did not affect the icons. */
.site-footer .dianter-social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
}

.site-footer .dianter-social-icon {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.site-footer .dianter-social-icon i {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Never allow the social column to compress its icon row. */
.site-footer .footer-social {
    min-width: 0 !important;
}

/* The homepage is the visual mother page; post content remains plugin-friendly. */
.dianter-single-post .dianter-entry-content img,
.dianter-single-post .dianter-entry-content figure,
.dianter-single-post .dianter-entry-content iframe,
.dianter-single-post .dianter-entry-content video {
    max-width: 100%;
}

.dianter-back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 30px;
    color: var(--d-green, #39D98A) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.dianter-back-to-home:hover {
    color: var(--d-gold-light, #F0C96A) !important;
}

@media (max-width: 1100px) {
    .site-header-inner {
        grid-template-columns: 200px 1fr auto !important;
        column-gap: 18px !important;
    }

    .site-navigation .primary-menu > li > a {
        padding-inline: 11px !important;
    }
}

@media (max-width: 900px) {
    .site-header-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 14px !important;
    }

    .site-navigation {
        order: 3;
        flex: 1 1 100% !important;
        justify-self: stretch !important;
        overflow-x: auto;
    }

    .site-navigation .primary-menu {
        width: max-content;
        justify-content: flex-start !important;
    }

    .header-cta {
        order: 2;
        margin-left: auto;
    }

    .header-cta__button {
        min-height: 46px;
        padding: 12px 16px;
        font-size: .88rem;
    }

    .site-footer .dianter-social-icons {
        gap: 14px !important;
    }
}


/* ==========================================================
   CREDENTIALS & ACCREDITATION
   Normal WordPress Page + Gallery showcase
========================================================== */

.credentials-section{
    position:relative;
    padding:var(--section-space) 0;
    background:var(--surface-color);
    overflow:hidden;
}

.credentials-section::before{
    content:"";
    position:absolute;
    top:-220px;
    right:-180px;
    width:520px;
    height:520px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(30,125,58,.10),transparent 70%);
    pointer-events:none;
}

.credentials-section .container{
    position:relative;
    z-index:2;
}

.credentials-heading{
    max-width:780px;
    margin:0 auto 56px;
    text-align:center;
}

.credentials-heading p{
    max-width:720px;
    margin:0 auto;
}

.credentials-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.credential-card{
    position:relative;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid var(--border-color);
    border-radius:var(--radius-lg);
    background:var(--surface-alt);
    box-shadow:var(--shadow-small);
    text-decoration:none;
    transition:transform var(--transition-normal),box-shadow var(--transition-normal),border-color var(--transition-normal);
}

.credential-card:hover{
    transform:translateY(-8px);
    border-color:rgba(30,125,58,.28);
    box-shadow:var(--shadow-large);
}

.credential-card-media{
    position:relative;
    aspect-ratio:4/3;
    overflow:hidden;
    background:linear-gradient(135deg,rgba(30,125,58,.08),rgba(217,164,65,.10));
}

.credential-image-link{
    display:block;
    color:inherit;
    text-decoration:none;
}

.credential-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
}

.credential-card:hover .credential-image{
    transform:scale(1.045);
}

.credential-placeholder{
    width:100%;
    height:100%;
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,rgba(30,125,58,.10),rgba(217,164,65,.12));
}

.credential-placeholder i{
    font-size:3.2rem;
    color:var(--accent-color);
    opacity:.78;
}

.credential-card-content{
    position:relative;
    padding:24px;
}

.credential-card-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    margin-bottom:14px;
    border-radius:12px;
    background:rgba(30,125,58,.10);
    color:var(--accent-color);
}

.credential-card-content h3{
    margin:0 0 18px;
    color:var(--heading-color);
    font-size:1.18rem;
}

.credential-card-link{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:var(--accent-color);
    font-weight:800;
    text-decoration:none;
}

.credential-card-link i{
    transition:transform .25s ease;
}

.credential-card:hover .credential-card-link i{
    transform:translateX(4px);
}

.credentials-footer{
    margin-top:42px;
    text-align:center;
}

@media (max-width:900px){
    .credentials-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:620px){
    .credentials-grid{
        grid-template-columns:1fr;
    }
}


/* ==========================================================
   DIANTER SOLAR ATMOSPHERE — FINAL VISUAL LAYER
   Layout-safe: no canvas, container, header or logo dimensions
   are changed here.
========================================================== */

.dianter-homepage,
.dianter-standard-page,
.dianter-single-post {
    position: relative;
    isolation: isolate;
}

.dianter-homepage::before,
.dianter-standard-page::before,
.dianter-single-post::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 12%, rgba(57,217,138,.09), transparent 26%),
        radial-gradient(circle at 88% 20%, rgba(75,168,209,.09), transparent 24%),
        radial-gradient(circle at 72% 78%, rgba(217,164,65,.07), transparent 28%),
        linear-gradient(135deg, #080D12 0%, #0B1118 45%, #0A1513 100%);
}

.dianter-homepage::after,
.dianter-standard-page::after,
.dianter-single-post::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .20;
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
}

/* Give every major homepage band a distinct renewable-energy glow. */
.projects-preview,
.services-section,
.credentials-section,
.why-section,
.why-choose-section,
.process-section,
.about-preview,
.products-preview,
.cta-section {
    position: relative;
    overflow: hidden;
}

.projects-preview::before,
.services-section::before,
.credentials-section::before,
.why-section::before,
.process-section::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -220px;
    right: -160px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle,
            rgba(57,217,138,.12) 0%,
            rgba(75,168,209,.055) 34%,
            transparent 70%);
    filter: blur(2px);
}

.projects-preview::after,
.services-section::after,
.credentials-section::after,
.why-section::after,
.process-section::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    bottom: -190px;
    left: -130px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(217,164,65,.09), transparent 70%);
}

/* Section content remains above the decorative layer. */
.projects-preview > .container,
.services-section > .container,
.credentials-section > .container,
.why-section > .container,
.process-section > .container {
    position: relative;
    z-index: 2;
}

/* ==========================================================
   ACCREDITATION CARDS — PNG FRIENDLY
========================================================== */

.credentials-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(57,217,138,.08), transparent 34%),
        linear-gradient(180deg, #101820 0%, #0B1118 100%) !important;
}

.credential-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
        #151D26 !important;
}

.credential-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.92), rgba(236,245,242,.86) 48%, rgba(207,225,220,.78) 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,.20);
}

.credential-image {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    padding: 8px;
    filter: drop-shadow(0 18px 24px rgba(6,18,14,.18));
}

.credential-placeholder {
    background:
        radial-gradient(circle at 50% 35%, rgba(255,255,255,.94), rgba(231,243,238,.86) 55%, rgba(211,226,222,.78) 100%) !important;
}

.credential-placeholder i {
    color: var(--accent-color) !important;
    text-shadow: 0 8px 20px rgba(217,164,65,.22);
}

/* ==========================================================
   SERVICE ICONS — LIGHT DISPLAY SURFACE
========================================================== */

.services-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(75,168,209,.08), transparent 28%),
        radial-gradient(circle at 86% 74%, rgba(57,217,138,.07), transparent 30%),
        #0C131A !important;
}

.service-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
        #151D26 !important;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 12%, rgba(75,168,209,.11), transparent 28%),
        radial-gradient(circle at 15% 88%, rgba(57,217,138,.08), transparent 26%);
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px;
    border-radius: 22px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, #F8FCFA 0%, #E2F0EB 58%, #D2E4DF 100%) !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    color: #168A55 !important;
    box-shadow:
        0 16px 34px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.95) !important;
}

.service-icon i {
    font-size: 1.75rem;
    color: #168A55 !important;
}

.service-card:hover .service-icon {
    background:
        linear-gradient(145deg, #FFFFFF 0%, #E8F8F0 55%, #DCEFE7 100%) !important;
    color: #0E7147 !important;
    transform: translateY(-3px);
}

/* ==========================================================
   NORMAL WORDPRESS PAGES — SOLAR ATMOSPHERE
========================================================== */

.dianter-standard-page {
    background: transparent !important;
}

.dianter-standard-page__hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 24%, rgba(57,217,138,.13), transparent 30%),
        radial-gradient(circle at 18% 68%, rgba(75,168,209,.10), transparent 28%),
        linear-gradient(135deg, #0A1117 0%, #101A20 52%, #0B1513 100%) !important;
}

.dianter-standard-page__hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -170px;
    top: -240px;
    border-radius: 50%;
    border: 1px solid rgba(57,217,138,.14);
    box-shadow:
        0 0 0 52px rgba(57,217,138,.025),
        0 0 0 104px rgba(75,168,209,.018);
    pointer-events: none;
}

.dianter-standard-page__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background:
        linear-gradient(120deg, transparent 0 46%, rgba(217,164,65,.20) 46.2%, transparent 46.5%),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: auto, 64px 64px, 64px 64px;
}

.dianter-standard-page__hero .container,
.dianter-standard-page__content .container {
    position: relative;
    z-index: 2;
}

.dianter-standard-page__content {
    background:
        radial-gradient(circle at 84% 18%, rgba(57,217,138,.055), transparent 26%),
        radial-gradient(circle at 10% 82%, rgba(217,164,65,.045), transparent 25%),
        linear-gradient(180deg, #0B1118 0%, #0A1016 100%) !important;
}

.dianter-page-content {
    position: relative;
}

.dianter-page-content::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: -1;
    pointer-events: none;
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 15%, rgba(57,217,138,.055), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(75,168,209,.045), transparent 30%);
}

.dianter-page-content__body {
    color: var(--text-color);
}

.dianter-page-content__body > p,
.dianter-page-content__body > h2,
.dianter-page-content__body > h3,
.dianter-page-content__body > h4,
.dianter-page-content__body > ul,
.dianter-page-content__body > ol,
.dianter-page-content__body > blockquote {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.dianter-page-content__body figure.wp-block-image,
.dianter-page-content__body figure.wp-block-gallery,
.dianter-page-content__body .wp-block-image,
.dianter-page-content__body .gallery {
    position: relative;
}

.dianter-page-content__body figure.wp-block-image img,
.dianter-page-content__body .wp-block-image img {
    border-radius: 20px;
    background:
        linear-gradient(145deg, #F8FCFA, #E5F0ED) !important;
    padding: 14px;
    box-shadow:
        0 22px 50px rgba(0,0,0,.24),
        0 0 0 1px rgba(255,255,255,.16);
}

/* PNG logos, certificates and transparent service icons look intentional
   instead of disappearing into the dark page background. */
.dianter-page-content__body img[src$=".png"],
.dianter-page-content__body img[src$=".PNG"] {
    background:
        radial-gradient(circle at 50% 45%, #FFFFFF 0%, #EFF7F4 58%, #DDEBE6 100%) !important;
    padding: 18px;
    border-radius: 20px;
    object-fit: contain;
}

/* Gallery thumbnails get a subtle light frame while preserving plugin layout. */
.dianter-page-content__body .wp-block-gallery figure,
.dianter-page-content__body .gallery-item {
    background:
        linear-gradient(145deg, #F8FCFA, #E7F0ED);
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.dianter-page-content__body .wp-block-gallery figure img,
.dianter-page-content__body .gallery-item img {
    border-radius: 11px;
}

/* Plugin galleries/carousels remain full-width and retain their own controls. */
.dianter-page-content__body [class*="modula"],
.dianter-page-content__body [class*="nextgen"],
.dianter-page-content__body [class*="ngg"],
.dianter-page-content__body [class*="imagely"],
.dianter-page-content__body [class*="carousel"],
.dianter-page-content__body [id*="modula"],
.dianter-page-content__body [id*="nextgen"],
.dianter-page-content__body [id*="carousel"] {
    position: relative;
    z-index: 2;
}

/* ==========================================================
   MOBILE — PRESERVE THE SAME VISUAL LANGUAGE
========================================================== */

@media (max-width: 767px) {
    .credential-card-media {
        padding: 16px;
    }

    .service-icon {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px;
        border-radius: 19px !important;
    }

    .dianter-page-content__body figure.wp-block-image img,
    .dianter-page-content__body .wp-block-image img {
        padding: 10px;
    }
}


/* ==========================================================
   DIANTER LOGO — SINGLE AUTHORITATIVE RULE
   One source of truth: main.css.
   250px desktop logo, proportional, never cropped.
   ========================================================== */
.site-header-inner{
    grid-template-columns:250px minmax(0,1fr) auto !important;
    align-items:center !important;
    min-height:104px !important;
    gap:26px !important;
    overflow:visible !important;
}
.site-branding,
.site-branding .custom-logo-link{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:250px !important;
    max-width:250px !important;
    min-width:0 !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
}
.site-branding .custom-logo,
.site-header .custom-logo,
.site-header .custom-logo-link img,
.custom-logo-link img.custom-logo{
    display:block !important;
    width:250px !important;
    max-width:250px !important;
    min-width:0 !important;
    height:auto !important;
    max-height:none !important;
    min-height:0 !important;
    object-fit:contain !important;
    object-position:left center !important;
    overflow:visible !important;
    clip:auto !important;
    clip-path:none !important;
}
@media (max-width:900px){
    .site-header-inner{
        grid-template-columns:minmax(0,250px) minmax(0,1fr) auto !important;
        min-height:100px !important;
    }
    .site-branding,
    .site-branding .custom-logo-link{
        width:250px !important;
        max-width:100% !important;
    }
    .site-branding .custom-logo,
    .site-header .custom-logo,
    .site-header .custom-logo-link img{
        width:250px !important;
        max-width:100% !important;
    }
}
@media (max-width:520px){
    .site-header-inner{
        grid-template-columns:minmax(0,1fr) auto !important;
    }
    .site-branding,
    .site-branding .custom-logo-link{
        width:250px !important;
        max-width:calc(100vw - 32px) !important;
    }
    .site-branding .custom-logo,
    .site-header .custom-logo,
    .site-header .custom-logo-link img{
        width:250px !important;
        max-width:100% !important;
    }
}
