/* =========================================================
   FLORIDA PRODUCTS — PROFESSIONAL WEBSITE
   ========================================================= */


/* ==================== VARIABLES ==================== */

:root {
    --green: #176b4d;
    --dark-green: #0b3d2e;

    --light-green: #f4f8f5;
    --soft-green: #e8f1ec;

    --gold: #c8a96b;

    --white: #ffffff;

    --text: #1f2933;
    --muted: #68736f;

    --border: #e4ebe7;

    --shadow: 0 15px 40px rgba(11, 61, 46, 0.08);

    --radius: 18px;

    --container: 1180px;
}


/* ==================== RESET ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}


/* ==================== NAVBAR ==================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.95);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);

    animation: navEntrance 0.8s ease both;
}

.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;

    animation: logoEntrance 0.9s ease both;
}

.logo img {
    width: 135px;
    height: 55px;

    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 24px;
}

.nav-menu a {
    position: relative;

    font-size: 14px;
    font-weight: 600;

    color: var(--text);

    transition: color 0.25s ease;
}

.nav-menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--green);

    transition: width 0.25s ease;
}

.nav-menu a:hover {
    color: var(--green);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    color: var(--dark-green);

    font-size: 28px;

    cursor: pointer;
}


/* ==================== HERO ==================== */

.hero {
    position: relative;

    padding: 105px 0 90px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(23, 107, 77, 0.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7faf8 100%
        );

    overflow: hidden;
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 80px;
}


/* ==================== FIRST LOAD ANIMATION ==================== */

.hero-content {
    animation: heroContentEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-content .eyebrow {
    animation: fadeUp 0.8s ease 0.25s both;
}

.hero h1 {
    margin-bottom: 12px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: clamp(45px, 6vw, 76px);

    line-height: 1.05;

    letter-spacing: -2px;

    animation: fadeUp 0.9s ease 0.35s both;
}

.hero h1 span {
    color: var(--green);
}

.hero h2 {
    max-width: 680px;

    margin-bottom: 22px;

    color: #263c34;

    font-family: Georgia, serif;

    font-size: clamp(23px, 3vw, 34px);

    font-weight: 500;

    line-height: 1.3;

    animation: fadeUp 0.9s ease 0.45s both;
}

.hero-content > p {
    max-width: 650px;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 17px;

    animation: fadeUp 0.9s ease 0.55s both;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-bottom: 38px;

    animation: fadeUp 0.9s ease 0.65s both;
}


/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green);

    color: var(--white);

    box-shadow: 0 10px 25px rgba(23, 107, 77, 0.2);
}

.btn-primary:hover {
    background: var(--dark-green);

    box-shadow: 0 14px 30px rgba(23, 107, 77, 0.25);
}

.btn-secondary {
    background: var(--white);

    color: var(--green);

    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--green);

    box-shadow: var(--shadow);
}


/* ==================== HERO BADGES ==================== */

.hero-badges {
    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    animation: fadeUp 0.9s ease 0.75s both;
}

.hero-badge {
    display: flex;

    flex-direction: column;

    gap: 1px;
}

.hero-badge strong {
    color: var(--dark-green);

    font-size: 14px;
}

.hero-badge span {
    color: var(--muted);

    font-size: 12px;
}


/* ==================== HERO IMAGE ==================== */

.hero-image {
    position: relative;

    max-width: 510px;

    margin-left: auto;

    animation: heroImageEntrance 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-image-frame {
    position: relative;

    overflow: hidden;

    border-radius: 32px;

    background: var(--soft-green);

    box-shadow: 0 30px 70px rgba(11, 61, 46, 0.13);

    animation: imageReveal 1.2s ease 0.4s both;
}

.hero-image-frame::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        transparent 60%,
        rgba(11, 61, 46, 0.12)
    );

    pointer-events: none;
}

.hero-image-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;
}

.hero-image-card {
    position: absolute;

    right: -25px;
    bottom: 28px;

    display: flex;
    flex-direction: column;

    gap: 3px;

    min-width: 220px;

    padding: 17px 20px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: var(--shadow);

    animation: cardEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.hero-image-card span {
    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.hero-image-card strong {
    color: var(--dark-green);

    font-size: 13px;
}


/* ==================== ENTRANCE KEYFRAMES ==================== */

@keyframes navEntrance {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: translateX(-18px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes heroContentEntrance {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroImageEntrance {
    from {
        opacity: 0;
        transform: translateX(35px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes imageReveal {
    from {
        clip-path: inset(0 0 100% 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ==================== SECTIONS ==================== */

.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background: var(--light-green);
}

.section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;

    text-align: center;
}

.section-heading > span {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin-bottom: 15px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: clamp(31px, 4vw, 46px);

    font-weight: 500;

    line-height: 1.2;
}

.section-heading p {
    color: var(--muted);

    font-size: 16px;
}


/* ==================== ABOUT ==================== */

.about-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 70px;
}

.about-image {
    overflow: hidden;

    border-radius: 24px;

    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content h3 {
    margin-bottom: 18px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: 31px;
    font-weight: 500;
}

.about-content > p {
    margin-bottom: 17px;

    color: var(--muted);

    font-size: 16px;
}

.about-points {
    display: grid;

    gap: 20px;

    margin-top: 30px;
}

.about-point {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.about-point > span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex-shrink: 0;

    margin-top: 2px;

    border-radius: 50%;

    background: var(--soft-green);

    color: var(--green);

    font-weight: 800;
}

.about-point strong {
    color: var(--dark-green);

    font-size: 15px;
}

.about-point p {
    margin-top: 2px;

    color: var(--muted);

    font-size: 14px;
}


/* ==================== EXPERTISE ==================== */

.expertise-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.expertise-card {
    padding: 30px 25px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: 0 8px 25px rgba(11, 61, 46, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.expertise-card:hover {
    transform: translateY(-6px);

    border-color: rgba(23, 107, 77, 0.25);

    box-shadow: var(--shadow);
}

.card-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 23px;

    border-radius: 14px;

    background: var(--soft-green);

    color: var(--green);

    font-size: 23px;
}

.expertise-card h3 {
    margin-bottom: 10px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: 22px;

    font-weight: 500;
}

.expertise-card > p {
    margin-bottom: 17px;

    color: var(--muted);

    font-size: 14px;
}

.expertise-card ul {
    display: grid;

    gap: 5px;

    padding-left: 17px;

    color: var(--green);

    font-size: 13px;
}


/* ==================== FORMATIONS ==================== */

.formations {
    background: var(--white) !important;
}

.formations-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.formation-card {
    display: flex;

    align-items: flex-start;

    gap: 22px;

    padding: 28px;

    background: var(--light-green);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.formation-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.formation-number {
    color: var(--gold);

    font-family: Georgia, serif;

    font-size: 25px;
    font-weight: 600;

    line-height: 1;
}

.formation-card h3 {
    margin-bottom: 8px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: 23px;

    font-weight: 500;
}

.formation-card p {
    color: var(--muted);

    font-size: 14px;
}

.training-highlight {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    align-items: center;

    gap: 40px;

    margin-top: 30px;

    padding: 32px;

    background: var(--dark-green);

    border-radius: var(--radius);

    color: var(--white);
}

.training-highlight span {
    color: #d9c28f;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.training-highlight h3 {
    margin-top: 5px;

    font-family: Georgia, serif;

    font-size: 27px;

    font-weight: 500;
}

.training-highlight p {
    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;
}


/* ==================== CERTIFICATIONS ==================== */

.certifications {
    background: var(--light-green) !important;
}

.certifications-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 65px;
}

.certifications-content {
    display: grid;

    gap: 20px;
}

.certification-item {
    display: flex;

    align-items: flex-start;

    gap: 17px;

    padding: 22px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 15px;
}

.certification-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--soft-green);

    color: var(--green);

    font-size: 14px;
    font-weight: 800;
}

.certification-item h3 {
    margin-bottom: 5px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: 19px;

    font-weight: 500;
}

.certification-item p {
    color: var(--muted);

    font-size: 14px;
}

.certificate-image {
    overflow: hidden;

    padding: 15px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);
}

.certificate-image img {
    width: 100%;

    max-height: 560px;

    object-fit: contain;

    border-radius: 10px;
}


/* ==================== OFFICIAL / OMPIC ==================== */

.official {
    background: var(--white) !important;
}

.official-card {
    display: grid;

    grid-template-columns: auto 1fr;

    gap: 28px;

    padding: 42px;

    background:
        linear-gradient(
            135deg,
            #f8fbf9,
            #ffffff
        );

    border: 1px solid var(--border);

    border-radius: 24px;

    box-shadow: var(--shadow);
}

.official-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    border-radius: 18px;

    background: var(--green);

    color: var(--white);

    font-size: 26px;
    font-weight: 800;

    box-shadow: 0 10px 25px rgba(23, 107, 77, 0.18);
}

.official-content h3 {
    margin-bottom: 17px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: 28px;

    font-weight: 500;
}

.official-content > p {
    max-width: 850px;

    margin-bottom: 13px;

    color: var(--muted);

    font-size: 15px;
}

.official-content strong {
    color: var(--dark-green);
}

.official-details {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin: 28px 0;
}

.official-details > div {
    display: flex;

    flex-direction: column;

    gap: 3px;

    padding: 17px;

    background: var(--soft-green);

    border-radius: 13px;
}

.official-details span {
    color: var(--muted);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}

.official-details strong {
    color: var(--green);

    font-size: 18px;
}

.official-link {
    display: inline-flex;

    color: var(--green);

    font-size: 14px;
    font-weight: 800;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.official-link:hover {
    color: var(--dark-green);

    transform: translateX(4px);
}


/* ==================== FLORIDA PRODUCTS ==================== */

.florida {
    background: var(--light-green) !important;
}

.florida-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 70px;
}

.florida-content h2 {
    margin-bottom: 20px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: clamp(38px, 5vw, 58px);

    font-weight: 500;

    line-height: 1;
}

.florida-content h2 span {
    color: var(--green);
}

.florida-content > p {
    max-width: 650px;

    margin-bottom: 17px;

    color: var(--muted);

    font-size: 16px;
}

.brand-features {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 30px;
}

.brand-features > div {
    display: flex;

    flex-direction: column;

    gap: 2px;

    padding: 17px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 13px;
}

.brand-features strong {
    color: var(--dark-green);

    font-size: 14px;
}

.brand-features span {
    color: var(--muted);

    font-size: 11px;
}

.florida-logo-card {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 350px;

    padding: 45px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 28px;

    box-shadow: var(--shadow);
}

.florida-logo-card img {
    width: min(100%, 330px);

    max-height: 250px;

    object-fit: contain;
}


/* ==================== GALLERY ==================== */

.gallery {
    background: var(--white) !important;
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-auto-rows: 230px;

    gap: 15px;
}

.gallery-item {
    overflow: hidden;

    border-radius: 18px;

    background: var(--soft-green);
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 20%;

    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}


/* ==================== CONTACT ==================== */

.contact {
    background: var(--light-green) !important;
}

.contact-box {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;

    padding: 55px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 25px;

    box-shadow: var(--shadow);
}

.contact-content h2 {
    margin-bottom: 18px;

    color: var(--dark-green);

    font-family: Georgia, serif;

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 500;

    line-height: 1.15;
}

.contact-content > p {
    max-width: 620px;

    margin-bottom: 28px;

    color: var(--muted);

    font-size: 15px;
}

.contact-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.contact-info {
    display: grid;

    gap: 12px;

    align-content: center;
}

.contact-item {
    display: flex;

    flex-direction: column;

    gap: 2px;

    padding: 17px 20px;

    background: var(--light-green);

    border-radius: 13px;
}

.contact-item span {
    color: var(--muted);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.contact-item strong {
    color: var(--dark-green);

    font-size: 14px;

    word-break: break-word;
}


/* ==================== FOOTER ==================== */

.footer {
    background: var(--dark-green);

    color: var(--white);
}

.footer-container {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px 0;
}

.footer-brand {
    max-width: 350px;
}


/* IMPORTANT:
   No invert filter here.
   The previous filter was causing the logo
   to appear as a white block in the footer.
*/

.footer-brand img {
    width: 130px;
    height: 55px;

    object-fit: contain;

    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 14px 22px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    padding: 20px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */


/* ==================== TABLET ==================== */

@media (max-width: 1050px) {

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .hero-grid {
        gap: 45px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .certifications-grid,
    .florida-grid {
        gap: 45px;
    }

}


/* ==================== MOBILE NAV ==================== */

@media (max-width: 850px) {

    .nav-container {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 4% 20px;

        background: var(--white);

        border-bottom: 1px solid var(--border);

        box-shadow: 0 15px 30px rgba(11, 61, 46, 0.08);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 13px 0;

        border-bottom: 1px solid var(--border);

        font-size: 14px;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a::after {
        display: none;
    }

    .hero {
        padding: 70px 0 65px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-image {
        width: min(100%, 500px);

        margin: 0 auto;
    }

    .hero-image-card {
        right: 15px;
        bottom: 20px;
    }

    .about-grid,
    .certifications-grid,
    .florida-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 550px;
    }

    .florida-logo-card {
        min-height: 300px;
    }

    .contact-box {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 38px;
    }

    .footer-container {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }

}


/* ==================== SMALL MOBILE ==================== */

@media (max-width: 600px) {

    .container {
        width: min(90%, var(--container));
    }

    .section {
        padding: 75px 0;
    }

    .hero {
        padding: 55px 0 60px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.5px;
    }

    .hero h2 {
        font-size: 23px;
    }

    .hero-content > p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-badges {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }

    .hero-badge:last-child {
        grid-column: span 2;
    }

    .hero-image-card {
        position: relative;

        right: auto;
        bottom: auto;

        min-width: auto;

        margin: -35px 15px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .formations-grid {
        grid-template-columns: 1fr;
    }

    .formation-card {
        padding: 23px;
    }

    .training-highlight {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 27px;
    }

    .certification-item {
        padding: 18px;
    }

    .official-card {
        grid-template-columns: 1fr;

        gap: 20px;

        padding: 27px;
    }

    .official-icon {
        width: 52px;
        height: 52px;
    }

    .official-content h3 {
        font-size: 25px;
    }

    .official-details {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .brand-features {
        grid-template-columns: 1fr;
    }

    .florida-logo-card {
        min-height: 250px;

        padding: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 190px;

        gap: 10px;
    }

    .gallery-item.large {
        grid-row: span 2;
    }

    .contact-box {
        padding: 28px 22px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .footer-container {
        padding: 40px 0;
    }

    .footer-links {
        display: grid;

        grid-template-columns: 1fr 1fr;

        width: 100%;

        gap: 10px;
    }

}


/* ==================== VERY SMALL MOBILE ==================== */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero h2 {
        font-size: 21px;
    }

    .hero-badges {
        grid-template-columns: 1fr;
    }

    .hero-badge:last-child {
        grid-column: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 250px;
    }

    .gallery-item.large {
        grid-row: span 1;
    }

}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* ==================== STAGGER EFFECT ==================== */

.expertise-card:nth-child(2),
.formation-card:nth-child(2),
.certification-item:nth-child(2),
.gallery-item:nth-child(2) {
    transition-delay: 0.08s;
}

.expertise-card:nth-child(3),
.formation-card:nth-child(3),
.certification-item:nth-child(3),
.gallery-item:nth-child(3) {
    transition-delay: 0.16s;
}

.expertise-card:nth-child(4),
.formation-card:nth-child(4),
.gallery-item:nth-child(4) {
    transition-delay: 0.24s;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}

/* =========================================================
   CERTIFICATIONS — 4 BADGES + OMPIC DOCUMENT
   ========================================================= */

.certifications-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 10px;
}

.certificate-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 26px;
    min-width: 0;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(11, 61, 46, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    border-color: #d5e4dc;
    box-shadow: 0 20px 42px rgba(11, 61, 46, 0.11);
}

.certificate-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 230px;
    padding: 6px;
    background: #fbfcfb;
    border-radius: 18px;
}

.certificate-badge img {
    display: block;
    width: 100%;
    max-width: 270px;
    height: auto;
    max-height: 270px;
    object-fit: contain;
    image-rendering: auto;
}

.certificate-info {
    min-width: 0;
}

.certificate-number {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.certificate-info h3 {
    margin: 0 0 20px;
    color: var(--dark-green);
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 500;
}

.certificate-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 11px;
    padding: 12px 14px;
    background: var(--light-green);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.certificate-detail span {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.certificate-detail strong {
    color: var(--dark-green);
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}


/* ==================== OMPIC DOCUMENT ==================== */

.certificate-ompic {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 42px;
    margin-top: 38px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(11, 61, 46, 0.07);
}

.certificate-ompic-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 18px;
    background: #fbfcfb;
    border-radius: 18px;
}

.certificate-ompic-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

.certificate-ompic-info {
    min-width: 0;
}

.certificate-ompic-info h3 {
    margin: 0 0 14px;
    color: var(--dark-green);
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: 500;
}

.certificate-ompic-info > p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.certificate-ompic-info .certificate-detail {
    max-width: 420px;
}


/* ==================== CERTIFICATIONS RESPONSIVE ==================== */

@media (max-width: 1050px) {

    .certifications-showcase {
        grid-template-columns: 1fr;
        max-width: 900px;
        margin-right: auto;
        margin-left: auto;
    }

    .certificate-card {
        grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
    }

    .certificate-ompic {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .certificate-ompic-image {
        min-height: 240px;
    }

}


@media (max-width: 600px) {

    .certifications-showcase {
        gap: 22px;
    }

    .certificate-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
        border-radius: 20px;
    }

    .certificate-badge {
        min-height: auto;
        padding: 6px;
    }

    .certificate-badge img {
        max-width: 290px;
        max-height: 290px;
    }

    .certificate-info h3 {
        margin-bottom: 16px;
        font-size: 21px;
    }

    .certificate-detail {
        padding: 11px 13px;
    }

    .certificate-ompic {
        gap: 20px;
        margin-top: 24px;
        padding: 20px;
        border-radius: 20px;
    }

    .certificate-ompic-image {
        min-height: auto;
        padding: 10px;
    }

    .certificate-ompic-image img {
        max-height: 360px;
    }

    .certificate-ompic-info h3 {
        font-size: 22px;
    }

    .certificate-ompic-info > p {
        font-size: 13px;
    }

}
