/*
Theme Name: GF Enterprise
Theme URI: https://gfenterprise.net
Author: Sysmak Group
Author URI: https://sysmakgroup.com
Description: Custom WordPress theme for GF Enterprise.
Version: 0.3.1
Text Domain: gf-enterprise
*/


/* =========================================================
   01. GLOBAL VARIABLES
   ========================================================= */

   :root {

    /* Brand colors */
    --gf-blue: #0d63b8;
    --gf-blue-light: #1680df;
    --gf-blue-dark: #073f78;
    --gf-navy: #082b52;

    /* Text colors */
    --gf-text: #132238;
    --gf-muted: #66768a;

    /* UI colors */
    --gf-border: #e4eaf1;
    --gf-soft: #f3f8fd;
    --gf-white: #ffffff;

    /* WhatsApp */
    --gf-green: #25d366;

    /* Main page width */
    --container: 1240px;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 26px;

    /* Shadows */
    --shadow-sm:
        0 8px 28px rgba(10, 53, 96, 0.08);

    --shadow-md:
        0 20px 55px rgba(10, 53, 96, 0.14);
}


/* =========================================================
   02. RESET / GLOBAL
   ========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    color: var(--gf-text);
    background: var(--gf-white);

    font-family:
        "Poppins",
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    overflow-x: hidden;
}


body,
button,
input,
select,
textarea {

    font-family:
        "Poppins",
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;
}


img {
    display: block;
    max-width: 100%;
}


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


button {
    border: 0;
    font: inherit;
}


svg {
    display: block;
}


/* Main content container */

.container {

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

    margin-inline: auto;
}


/* Standard page section spacing */

.section {
    padding: 96px 0;
}


/* =========================================================
   03. TYPOGRAPHY
   ========================================================= */

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

    margin-top: 0;

    font-family:
        "Poppins",
        "Montserrat",
        Arial,
        sans-serif;

    color: var(--gf-navy);
}


.section-heading {
    margin-bottom: 40px;
}


.section-heading h2 {

    margin: 0 0 10px;

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

    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.035em;
}


.section-heading p {

    max-width: 640px;

    margin: 0;

    color: var(--gf-muted);
}


.section-heading-row {

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;
}


.section-kicker {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--gf-blue);

    font-size: 0.74rem;
    font-weight: 700;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}


.section-kicker.light {
    color: rgba(255, 255, 255, .72);
}


.centered {
    text-align: center;
}


.centered p {
    margin-inline: auto;
}


.text-link {

    color: var(--gf-blue);

    font-size: .88rem;
    font-weight: 600;
}


.text-link:hover {
    color: var(--gf-blue-dark);
}


/* =========================================================
   04. TOP INFORMATION BAR
   ========================================================= */

.topbar {

    background: var(--gf-navy);

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


.topbar-inner {

    min-height: 36px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.topbar-left,
.topbar-right {

    display: flex;

    align-items: center;

    gap: 24px;
}


.topbar-item {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    font-size: .74rem;
    font-weight: 500;
}


.topbar-item svg {

    width: 14px;
    height: 14px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
}


.topbar-right {

    font-size: .72rem;
    font-weight: 500;

    letter-spacing: .02em;
}


/* =========================================================
   05. MAIN HEADER
   ========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

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

    border-bottom:
        1px solid
        rgba(
            10,
            44,
            80,
            .06
        );

    transition:
        box-shadow .25s ease,
        background .25s ease,
        backdrop-filter .25s ease;
}


/* Header style after scrolling */

.site-header.is-scrolled {

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

    backdrop-filter:
        blur(16px);

    box-shadow:
        0 10px 35px
        rgba(
            10,
            50,
            90,
            .08
        );
}


/* Header horizontal layout */

.header-inner {

    min-height: 96px;

    display: flex;

    align-items: center;

    gap: 30px;
}


/* =========================================================
   06. GF ENTERPRISE LOGO
   ========================================================= */

/*
 * This is the REAL GF Enterprise PNG logo.
 *
 * Desktop:
 * height 78px.
 *
 * Tablet and mobile sizes are controlled
 * later inside RESPONSIVE sections.
 */

.site-brand {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
}


.site-logo {

    display: inline-flex;

    align-items: center;
}


.site-logo-image {

    display: block;

    width: auto;

    height: 78px;

    max-width: 310px;

    object-fit: contain;
}


/* =========================================================
   07. DESKTOP NAVIGATION
   ========================================================= */

.main-nav {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 27px;
}


.main-nav a {

    position: relative;

    padding: 34px 0;

    color: #30445b;

    font-size: .84rem;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color .2s ease;
}


/* Animated underline */

.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    right: 100%;

    bottom: 24px;

    height: 2px;

    border-radius: 20px;

    background:
        var(--gf-blue);

    transition:
        right .22s ease;
}


.main-nav a:hover,
.main-nav a.active {

    color:
        var(--gf-blue);
}


.main-nav a:hover::after,
.main-nav a.active::after {

    right: 0;
}


/* =========================================================
   08. HEADER "COMMANDER" BUTTON
   ========================================================= */

.header-order-button {

    min-height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 18px;

    border-radius: 10px;

    color: white;

    background:
        var(--gf-blue);

    font-size: .82rem;
    font-weight: 600;

    white-space: nowrap;

    box-shadow:
        0 10px 24px
        rgba(
            13,
            99,
            184,
            .18
        );

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.header-order-button:hover {

    background:
        var(--gf-blue-light);

    transform:
        translateY(-1px);

    box-shadow:
        0 14px 28px
        rgba(
            13,
            99,
            184,
            .24
        );
}


.header-order-button svg {

    width: 16px;
    height: 16px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   09. MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-toggle {

    display: none;

    width: 44px;
    height: 44px;

    margin-left: auto;

    padding: 9px;

    border-radius: 10px;

    background: transparent;

    cursor: pointer;
}


.mobile-menu-toggle span {

    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    border-radius: 20px;

    background:
        var(--gf-navy);

    transition:
        transform .2s ease,
        opacity .2s ease;
}


/* =========================================================
   10. GLOBAL BUTTONS
   ========================================================= */

.button {

    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 24px;

    border-radius: 10px;

    font-size: .88rem;
    font-weight: 600;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        border-color .22s ease;
}


.button:hover {
    transform:
        translateY(-2px);
}


/* Primary button */

.button-primary {

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--gf-blue),
            var(--gf-blue-light)
        );

    box-shadow:
        0 14px 30px
        rgba(
            13,
            99,
            184,
            .24
        );
}


.button-primary:hover {

    box-shadow:
        0 18px 36px
        rgba(
            13,
            99,
            184,
            .30
        );
}


/* Button icons */

.button-primary svg,
.button-ghost svg {

    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Transparent / light button */

.button-ghost {

    color:
        var(--gf-navy);

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

    border:
        1px solid
        rgba(
            10,
            55,
            100,
            .15
        );

    backdrop-filter:
        blur(8px);
}


.button-ghost:hover {

    border-color:
        rgba(
            13,
            99,
            184,
            .30
        );

    background:
        white;
}


/* Outline button */

.button-outline {

    color:
        var(--gf-blue);

    background:
        white;

    border:
        1px solid
        rgba(
            13,
            99,
            184,
            .30
        );
}


/* WhatsApp button */

.button-whatsapp {

    color: white;

    background:
        var(--gf-green);
}


/* =========================================================
   11. HERO / SLIDESHOW
   ========================================================= */

/*
 * Main slideshow container.
 *
 * Desktop height:
 * 670px.
 */

.hero {

    position: relative;

    height: 670px;

    overflow: hidden;

    background:
        #eaf3fb;
}


.hero-slider {

    position: relative;

    width: 100%;
    height: 100%;
}


/* =========================================================
   12. INDIVIDUAL HERO SLIDES
   ========================================================= */

.hero-slide {

    position: absolute;

    inset: 0;

    display: block;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    z-index: 0;

    transition:
        opacity 1.15s
        cubic-bezier(.4, 0, .2, 1),
        visibility 1.15s ease;
}


/*
 * Slide currently being displayed.
 */

.hero-slide.is-active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    z-index: 2;
}


/*
 * Text animation when a slide
 * is entering / leaving.
 */

.hero-slide:not(.is-active)
.hero-copy {

    opacity: 0;

    transform:
        translateY(18px);
}


.hero-slide.is-active
.hero-copy {

    opacity: 1;

    transform:
        translateY(0);

    transition:
        opacity .75s ease .18s,
        transform .75s ease .18s;
}


/* =========================================================
   13. HERO BACKGROUND IMAGES
   ========================================================= */

/*
 * Images come from --hero-image
 * inside front-page.php.
 *
 * Example:
 * hero-printing.png
 * hero-textile.png
 * hero-signage.png
 */

.hero-background {

    position: absolute;

    inset: 0;

    background-image:
        var(--hero-image);

    background-size:
        cover;

    background-repeat:
        no-repeat;

    background-position:
        center center;

    transform:
        scale(1.035);

    transition:
        transform 8s ease,
        opacity 1s ease;
}


/*
 * Very subtle slow zoom effect.
 */

.hero-slide.is-active
.hero-background {

    transform:
        scale(1);
}


/* =========================================================
   14. HERO IMAGE OVERLAY
   ========================================================= */

/*
 * White gradient on left gives
 * enough contrast for hero text.
 */

.hero-shade {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,

            rgba(
                255,
                255,
                255,
                .98
            ) 0%,

            rgba(
                255,
                255,
                255,
                .94
            ) 28%,

            rgba(
                255,
                255,
                255,
                .72
            ) 46%,

            rgba(
                255,
                255,
                255,
                .26
            ) 64%,

            rgba(
                255,
                255,
                255,
                .04
            ) 100%
        );
}


/* =========================================================
   15. HERO TEXT
   ========================================================= */

.hero-content {

    position: relative;

    z-index: 3;

    height: 100%;

    display: flex;

    align-items: center;
}


.hero-copy {

    width:
        min(
            610px,
            52%
        );
}


.hero-kicker {

    display: inline-block;

    margin-bottom: 18px;

    color:
        var(--gf-blue);

    font-size: .76rem;
    font-weight: 700;

    letter-spacing: .10em;

    text-transform:
        uppercase;
}


.hero h1,
.hero h2 {

    margin: 0;

    color:
        var(--gf-navy);

    font-size:
        clamp(
            3.2rem,
            5.5vw,
            5.5rem
        );

    font-weight: 700;

    line-height: .98;

    letter-spacing:
        -.055em;
}


.hero-copy > p {

    max-width: 590px;

    margin:
        26px 0 0;

    color:
        #455b72;

    font-size: 1.05rem;

    font-weight: 400;

    line-height: 1.72;
}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 30px;
}


/* =========================================================
   16. HERO CONTROLS
   Arrows + pagination dots
   ========================================================= */

.hero-controls {

    position: absolute;

    left: 50%;
    bottom: 30px;

    z-index: 8;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 14px;
}


/* Previous / next buttons */

.slider-arrow {

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    padding: 0;

    border-radius: 999px;

    color:
        var(--gf-blue);

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

    box-shadow:
        0 10px 28px
        rgba(
            10,
            50,
            90,
            .12
        );

    backdrop-filter:
        blur(8px);

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;
}


.slider-arrow:hover {

    background:
        white;

    transform:
        scale(1.06);
}


.slider-arrow svg {

    width: 20px;
    height: 20px;

    fill: none;

    stroke:
        currentColor;

    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Pagination dots */

.slider-pagination {

    display: flex;

    align-items: center;

    gap: 8px;
}


.slider-dot {

    width: 8px;
    height: 8px;

    padding: 0;

    border-radius: 999px;

    background:
        rgba(
            13,
            99,
            184,
            .26
        );

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}


.slider-dot.is-active {

    width: 28px;

    background:
        var(--gf-blue);
}


/* =========================================================
   17. SERVICES
   ========================================================= */

.services-section {
    background: white;
}


.service-grid {

    display: grid;

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

    gap: 22px;
}


.service-card {

    overflow: hidden;

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

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

    background:
        white;

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

    transition:
        transform .28s ease,
        box-shadow .28s ease;
}


.service-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-md);
}


.service-image {

    min-height: 180px;

    display: grid;

    place-items: center;

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

    font-size: 1.9rem;
    font-weight: 700;
}


/* Temporary service image backgrounds */

.service-print {

    background:
        linear-gradient(
            145deg,
            #1c78cb,
            #124b80
        );
}


.service-promo {

    background:
        linear-gradient(
            145deg,
            #174a82,
            #246cb1
        );
}


.service-textile {

    background:
        linear-gradient(
            145deg,
            #0d5aa0,
            #0b355e
        );
}


.service-sign {

    background:
        linear-gradient(
            145deg,
            #2b82d1,
            #0e477b
        );
}


.service-embroidery {

    background:
        linear-gradient(
            145deg,
            #143f6b,
            #1c66aa
        );
}


.service-supply {

    background:
        linear-gradient(
            145deg,
            #0f5e9f,
            #0a335b
        );
}


.service-card-body {
    padding: 22px;
}


.service-card h3 {

    margin: 0;

    font-size: 1rem;
    font-weight: 600;
}


.service-card p {

    margin:
        9px 0 0;

    color:
        var(--gf-muted);

    font-size: .84rem;

    line-height: 1.55;
}


/* =========================================================
   18. STATS
   ========================================================= */

.stats-section {

    color: white;

    background:
        linear-gradient(
            100deg,
            var(--gf-blue-dark),
            var(--gf-blue)
        );
}


.stats-grid {

    min-height: 150px;

    display: grid;

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

    align-items: center;
}


.stat {

    min-height: 78px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding:
        15px 30px;

    border-right:
        1px solid
        rgba(
            255,
            255,
            255,
            .15
        );
}


.stat:last-child {
    border-right: 0;
}


.stat-icon {

    width: 52px;
    height: 52px;

    flex:
        0 0 52px;

    display: grid;

    place-items: center;

    border-radius: 999px;

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

    font-size: 1.2rem;
}


.stat strong,
.stat span {
    display: block;
}


.stat strong {

    color: white;

    font-size: 1.35rem;
    font-weight: 600;
}


.stat span {

    margin-top: 4px;

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

    font-size: .8rem;
}


/* =========================================================
   19. PROCESS
   ========================================================= */

.process-section {
    background: white;
}


.process-grid {

    position: relative;

    display: grid;

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


.process-grid::before {

    content: "";

    position: absolute;

    top: 43px;
    left: 12%;
    right: 12%;

    height: 1px;

    background:
        var(--gf-border);
}


.process-item {

    position: relative;

    z-index: 2;

    padding:
        0 28px;

    text-align: center;
}


.process-icon {

    width: 82px;
    height: 82px;

    margin:
        0 auto 22px;

    display: grid;

    place-items: center;

    border-radius: 999px;

    color:
        var(--gf-blue);

    background:
        #edf6ff;

    border:
        8px solid white;

    box-shadow:
        0 0 0 1px
        rgba(
            13,
            99,
            184,
            .10
        );

    font-size: 1.5rem;
}


.process-number {

    position: absolute;

    top: -7px;

    right:
        calc(
            50% - 45px
        );

    width: 22px;
    height: 22px;

    display: grid;

    place-items: center;

    border-radius: 999px;

    color: white;

    background:
        var(--gf-blue);

    font-size: .67rem;
    font-weight: 600;
}


.process-item h3 {

    margin: 0;

    font-size: 1rem;
    font-weight: 600;
}


.process-item p {

    max-width: 230px;

    margin:
        9px auto 0;

    color:
        var(--gf-muted);

    font-size: .84rem;
}


/* =========================================================
   20. WHATSAPP SECTION
   ========================================================= */

.whatsapp-section {

    position: relative;

    overflow: hidden;

    color: white;

    background:
        linear-gradient(
            110deg,
            var(--gf-blue-dark),
            var(--gf-blue)
        );
}


.whatsapp-inner {

    min-height: 330px;

    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    align-items: center;

    gap: 70px;

    padding-top: 60px;
    padding-bottom: 60px;
}


.whatsapp-copy h2 {

    margin: 0;

    color: white;

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

    font-weight: 700;

    line-height: 1;

    letter-spacing: -.04em;
}


.whatsapp-copy p {

    margin:
        18px 0 26px;

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

    font-size: 1rem;
}


.support-card {

    padding: 28px;

    display: flex;

    align-items: center;

    gap: 22px;

    border-radius: 22px;

    color:
        var(--gf-text);

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

    box-shadow:
        0 28px 65px
        rgba(
            0,
            0,
            0,
            .15
        );
}


.support-avatar {

    width: 82px;
    height: 82px;

    flex:
        0 0 82px;

    display: grid;

    place-items: center;

    border-radius: 999px;

    color: white;

    background:
        linear-gradient(
            145deg,
            var(--gf-blue),
            var(--gf-blue-dark)
        );

    font-size: 1.5rem;
    font-weight: 700;
}


.support-card span,
.support-card strong {
    display: block;
}


.support-card span {

    color:
        var(--gf-blue);

    font-size: .72rem;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .08em;
}


.support-card strong {

    margin-top: 6px;

    color:
        var(--gf-navy);

    font-size: 1.15rem;

    line-height: 1.35;
}


/* =========================================================
   21. TESTIMONIALS
   ========================================================= */

.testimonials-section {

    background:
        var(--gf-soft);
}


.testimonial-grid {

    display: grid;

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

    gap: 22px;
}


.testimonial-card {

    padding: 30px;

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

    border-radius: 18px;

    background: white;

    box-shadow:
        var(--shadow-sm);
}


.quote {

    display: block;

    height: 26px;

    color:
        var(--gf-blue);

    font-size: 2.6rem;

    line-height: 1;
}


.testimonial-card > p {

    margin:
        14px 0 25px;

    color:
        #465c72;

    font-size: .9rem;

    line-height: 1.7;
}


.testimonial-author {

    display: flex;

    align-items: center;

    gap: 12px;
}


.avatar {

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border-radius: 999px;

    color: white;

    background:
        linear-gradient(
            145deg,
            var(--gf-blue),
            var(--gf-blue-dark)
        );

    font-size: .75rem;
    font-weight: 600;
}


.testimonial-author strong,
.testimonial-author span {
    display: block;
}


.testimonial-author strong {

    font-size: .85rem;
    font-weight: 600;
}


.testimonial-author span {

    margin-top: 2px;

    color:
        var(--gf-muted);

    font-size: .73rem;
}


/* =========================================================
   22. FOOTER
   ========================================================= */

.site-footer {

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

    background:
        #062846;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.4fr .8fr 1fr 1fr;

    gap: 60px;

    padding-top: 70px;
    padding-bottom: 55px;
}


.footer-brand p {

    max-width: 330px;

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

    font-size: .84rem;
}


.site-footer h3 {

    margin:
        0 0 18px;

    color: white;

    font-size: .88rem;
    font-weight: 600;
}


.footer-links,
.footer-contact {

    margin: 0;

    padding: 0;

    list-style: none;
}


.footer-links li,
.footer-contact li {

    margin:
        9px 0;

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

    font-size: .8rem;
}


.footer-links a:hover {
    color: white;
}


.footer-bottom {

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .10
        );
}


.footer-bottom-inner {

    min-height: 62px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

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

    font-size: .72rem;
}


/* =========================================================
   23. FLOATING WHATSAPP BUTTON
   ========================================================= */

.floating-whatsapp {

    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 999;

    width: 56px;
    height: 56px;

    display: grid;

    place-items: center;

    border-radius: 999px;

    color: white;

    background:
        var(--gf-green);

    box-shadow:
        0 15px 35px
        rgba(
            37,
            211,
            102,
            .30
        );
}


/* =========================================================
   24. SCROLL REVEAL ANIMATIONS
   ========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(22px);

    transition:
        opacity .65s ease
        var(--reveal-delay, 0ms),

        transform .65s ease
        var(--reveal-delay, 0ms);
}


.reveal-visible {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   25. RESPONSIVE — SMALL DESKTOP
   Maximum width: 1180px
   ========================================================= */

@media (max-width: 1180px) {

    .main-nav {
        gap: 18px;
    }


    .main-nav a {
        font-size: .78rem;
    }


    .header-order-button {
        padding-inline: 15px;
    }


    .hero {
        height: 620px;
    }


    .hero-copy {
        width: 56%;
    }

}


/* =========================================================
   26. RESPONSIVE — TABLET
   Maximum width: 980px
   ========================================================= */

@media (max-width: 980px) {

    /*
     * Hide thin top bar on tablet/mobile.
     */
    .topbar {
        display: none;
    }


    /*
     * Tablet header height.
     */
    .header-inner {
        min-height: 78px;
    }


    /*
     * TABLET LOGO SIZE
     */
    .site-logo-image {

        width: auto;

        height: 62px;

        max-width: 240px;
    }


    /*
     * Show hamburger menu.
     */
    .mobile-menu-toggle {
        display: block;
    }


    /*
     * Mobile/tablet dropdown menu.
     */
    .main-nav {

        position: absolute;

        top: 78px;

        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        margin: 0;

        padding: 14px;

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

        border-radius: 16px;

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

        box-shadow:
            var(--shadow-md);
    }


    /*
     * JS adds .is-open.
     */
    .main-nav.is-open {
        display: flex;
    }


    .main-nav a {

        padding:
            12px 14px;

        border-radius: 9px;

        font-size: .88rem;
    }


    .main-nav a::after {
        display: none;
    }


    .main-nav a:hover,
    .main-nav a.active {

        background:
            var(--gf-soft);
    }


    .header-order-button {
        margin-left: 0;
    }


    /*
     * Tablet hero.
     */
    .hero {
        height: 610px;
    }


    .hero-shade {

        background:
            linear-gradient(
                90deg,

                rgba(
                    255,
                    255,
                    255,
                    .98
                ) 0%,

                rgba(
                    255,
                    255,
                    255,
                    .94
                ) 46%,

                rgba(
                    255,
                    255,
                    255,
                    .68
                ) 70%,

                rgba(
                    255,
                    255,
                    255,
                    .30
                ) 100%
            );
    }


    .hero-copy {
        width: 68%;
    }


    /*
     * Services: 2 columns.
     */
    .service-grid {

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


    /*
     * Stats: 2 columns.
     */
    .stats-grid {

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


    .stat {

        border-right: 0;

        border-bottom:
            1px solid
            rgba(
                255,
                255,
                255,
                .12
            );
    }


    /*
     * Process: 2 columns.
     */
    .process-grid {

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

        gap:
            46px 0;
    }


    .process-grid::before {
        display: none;
    }


    /*
     * WhatsApp section.
     */
    .whatsapp-inner {

        grid-template-columns:
            1fr;

        gap: 35px;
    }


    /*
     * Testimonials.
     */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }


    /*
     * Footer.
     */
    .footer-grid {

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

}


/* =========================================================
   27. RESPONSIVE — MOBILE
   Maximum width: 680px
   ========================================================= */

@media (max-width: 680px) {

    /*
     * Mobile page margins.
     */
    .container {

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


    .section {
        padding: 68px 0;
    }


    /*
     * MOBILE HEADER
     */
    .header-inner {

        min-height: 72px;

        gap: 14px;
    }


    /*
     * MOBILE LOGO SIZE
     *
     * Still large enough to clearly show
     * GF Enterprise branding.
     */
    .site-logo-image {

        width: auto;

        height: 55px;

        max-width: 205px;
    }


    /*
     * Hide desktop order CTA.
     *
     * We keep mobile navigation uncluttered.
     */
    .header-order-button {
        display: none;
    }


    /*
     * Dropdown menu position.
     */
    .main-nav {

        top: 72px;

        left: 14px;
        right: 14px;
    }


    /*
     * MOBILE HERO
     */
    .hero {
        height: 640px;
    }


    /*
     * Reposition hero photographs
     * so important products remain visible.
     */
    .hero-background {

        background-position:
            62% center;
    }


    /*
     * Stronger white overlay on mobile
     * for readable text.
     */
    .hero-shade {

        background:
            linear-gradient(
                90deg,

                rgba(
                    255,
                    255,
                    255,
                    .98
                ) 0%,

                rgba(
                    255,
                    255,
                    255,
                    .95
                ) 62%,

                rgba(
                    255,
                    255,
                    255,
                    .62
                ) 100%
            );
    }


    /*
     * Move hero text upward slightly.
     */
    .hero-content {

        align-items:
            flex-start;

        padding-top:
            90px;
    }


    .hero-copy {

        width: 100%;

        max-width: 94%;
    }


    .hero-kicker {

        margin-bottom: 14px;

        font-size: .68rem;

        letter-spacing: .08em;
    }


    .hero h1,
    .hero h2 {

        font-size:
            clamp(
                2.55rem,
                11vw,
                4rem
            );

        line-height: 1.02;
    }


    .hero-copy > p {

        max-width: 94%;

        margin-top: 20px;

        font-size: .92rem;

        line-height: 1.65;
    }


    /*
     * Hero buttons stack vertically.
     */
    .hero-actions {

        display: grid;

        grid-template-columns:
            1fr;

        width:
            min(
                100%,
                330px
            );

        margin-top: 24px;
    }


    .hero-actions .button {
        width: 100%;
    }


    /*
     * Slider controls closer to bottom.
     */
    .hero-controls {
        bottom: 18px;
    }


    .slider-arrow {

        width: 40px;
        height: 40px;
    }


    /*
     * Section titles.
     */
    .section-heading-row {

        flex-direction:
            column;

        align-items:
            flex-start;
    }


    /*
     * Services: 1 column.
     */
    .service-grid {
        grid-template-columns: 1fr;
    }


    /*
     * Stats: 1 column.
     */
    .stats-grid {
        grid-template-columns: 1fr;
    }


    .stat {

        padding:
            22px 10px;
    }


    /*
     * Process: 1 column.
     */
    .process-grid {
        grid-template-columns: 1fr;
    }


    .process-item {
        padding-inline: 10px;
    }


    /*
     * Support card.
     */
    .support-card {

        flex-direction:
            column;

        align-items:
            flex-start;
    }


    /*
     * Footer: 1 column.
     */
    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 34px;
    }


    .footer-bottom-inner {

        padding:
            18px 0;

        flex-direction:
            column;

        align-items:
            flex-start;
    }

}


/* =========================================================
   28. ACCESSIBILITY — REDUCED MOTION
   ========================================================= */

/*
 * Respect the operating system accessibility preference.
 *
 * This affects CSS animations only.
 * JavaScript slideshow navigation remains functional.
 */

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

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

        scroll-behavior:
            auto !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }

}