/* =========================================================
   GELOMATIC - STYLE.CSS
========================================================= */

:root {
    --primary: #008ee8;
    --primary-dark: #0048ad;
    --secondary: #071c35;
    --dark: #07111f;
    --text: #4d5968;
    --light: #f4f8fc;
    --white: #ffffff;
    --whatsapp: #25d366;
    --shadow: 0 15px 40px rgba(0, 45, 100, 0.12);
    --transition: 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.section {
    padding: 100px 0;
}


/* =========================================================
   PRELOADER
========================================================= */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-content > span {
    display: block;
    margin-top: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 2px;
}

.preloader-content > span span {
    color: var(--primary);
}

.loader {
    width: 55px;
    height: 55px;
    margin: auto;
    border: 5px solid #e4eef7;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loading 0.8s linear infinite;
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 5px 25px rgba(0, 30, 70, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    height: 72px;
    box-shadow: 0 8px 30px rgba(0, 30, 70, 0.12);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 190px;
    max-height: 70px;
    object-fit: contain;
}

.header.scrolled .logo img {
    max-height: 60px;
}

.navbar {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 27px;
    list-style: none;
}

.nav-link {
    position: relative;
    padding: 10px 0;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: 30px;
    padding: 13px 20px;
    color: var(--white);
    background: var(--whatsapp);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.28);
}

.header-button i {
    font-size: 19px;
}

.menu-toggle {
    display: none;
    width: 35px;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 6px 0;
    background: var(--secondary);
    border-radius: 5px;
    transition: var(--transition);
}


/* =========================================================
   HERO / BANNER
========================================================= */

.hero {
    position: relative;
    min-height: 760px;
    padding-top: 88px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(3, 25, 51, 0.98) 0%,
            rgba(3, 31, 62, 0.93) 30%,
            rgba(3, 31, 62, 0.58) 53%,
            rgba(3, 31, 62, 0.06) 100%
        ),
        url("../images/banner-gelomatic.png") center center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        0deg,
        rgba(1, 13, 28, 0.25),
        transparent 35%
    );
}

.hero-container {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 58%;
    max-width: 690px;
    padding: 70px 0;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #38e879;
    box-shadow: 0 0 0 rgba(56, 232, 121, 0.5);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 10px rgba(56, 232, 121, 0);
    }
}

.hero h1 {
    max-width: 650px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2.5px;
}

.hero h1 span {
    display: block;
    color: #16a8ff;
}

.hero h2 {
    margin: 12px 0 20px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(25px, 3vw, 38px);
    color: var(--white);
}

.hero-content > p {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.hero-content > p strong {
    color: var(--white);
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 25px;
    margin: 28px 0;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
}

.hero-benefit i {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--primary);
    font-size: 11px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.button {
    min-height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.button:hover {
    transform: translateY(-3px);
}

.button-whatsapp {
    color: var(--white);
    background: var(--whatsapp);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);
}

.button-whatsapp:hover {
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.38);
}

.button-secondary {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.button-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 30px rgba(0, 105, 210, 0.22);
}

.button-large {
    min-height: 60px;
    padding: 0 30px;
    font-size: 16px;
}

.hero-observation {
    display: block;
    margin-top: 17px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

.hero-card {
    display: none;
}

.scroll-indicator {
    position: absolute;
    z-index: 6;
    bottom: 25px;
    left: 50%;
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
}

.scroll-indicator span {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 10px;
    transform: translateX(-50%);
    animation: scroll 1.7s infinite;
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    40% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 14px);
    }
}


/* =========================================================
   QUICK BENEFITS
========================================================= */

.quick-benefits {
    position: relative;
    z-index: 10;
    background: var(--white);
    box-shadow: 0 10px 35px rgba(0, 40, 90, 0.08);
}

.quick-benefits-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.quick-benefit {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 25px;
    border-right: 1px solid #e8eef4;
}

.quick-benefit:last-child {
    border-right: none;
}

.quick-benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #eaf6ff;
    border-radius: 12px;
    font-size: 20px;
}

.quick-benefit strong,
.quick-benefit span {
    display: block;
}

.quick-benefit strong {
    margin-bottom: 5px;
    color: var(--secondary);
    font-size: 16px;
}

.quick-benefit span {
    font-size: 12px;
    color: #7a8694;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-header h2,
.about-content h2,
.contact-content h2 {
    font-family: "Montserrat", sans-serif;
    color: var(--secondary);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.section-header h2 span,
.about-content h2 span,
.contact-content h2 span {
    color: var(--primary);
}

.section-header > p {
    max-width: 650px;
    margin: 18px auto 0;
    line-height: 1.8;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 25px;
}

.service-card {
    position: relative;
    min-height: 400px;
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid #e8eef4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 40, 90, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-card.featured {
    color: var(--white);
    border: none;
    background: linear-gradient(145deg, #052a57, #0069c9);
}

.service-featured-label {
    position: absolute;
    top: 20px;
    right: -37px;
    padding: 8px 45px;
    background: #16a8ff;
    font-size: 9px;
    font-weight: 800;
    transform: rotate(45deg);
}

.service-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 15px;
    color: var(--primary);
    background: #eaf6ff;
    font-size: 27px;
}

.service-card.featured .service-icon {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card p {
    margin-bottom: 22px;
    line-height: 1.75;
    font-size: 14px;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.78);
}

.service-card ul {
    margin: 20px 0;
    list-style: none;
}

.service-card li {
    margin: 11px 0;
    font-size: 13px;
}

.service-card li i {
    margin-right: 8px;
    color: #47e382;
}

.service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.service-card.featured > a {
    color: var(--white);
}


/* =========================================================
   PROBLEMS
========================================================= */

.problems {
    position: relative;
    color: var(--white);
    background: linear-gradient(135deg, #04162c, #073b70);
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light h2 span {
    color: #25aaff;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.problem-card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 170, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
}

.problem-card > i {
    margin-bottom: 20px;
    color: #24aaff;
    font-size: 29px;
}

.problem-card h3 {
    margin-bottom: 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
}

.problem-card p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.7;
}

.problems-cta {
    margin-top: 40px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
}

.problems-cta strong,
.problems-cta span {
    display: block;
}

.problems-cta strong {
    margin-bottom: 6px;
    font-size: 20px;
}

.problems-cta span {
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   ABOUT
========================================================= */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-placeholder {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: var(--white);
    border-radius: 20px;
    background: linear-gradient(145deg, #063260, #008be4);
    overflow: hidden;
}

.about-image-placeholder i {
    font-size: 95px;
    opacity: 0.9;
}

.about-image-placeholder span {
    max-width: 300px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.about-experience {
    position: absolute;
    right: -25px;
    bottom: 40px;
    width: 155px;
    height: 155px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    border: 7px solid var(--white);
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: var(--shadow);
}

.about-experience strong {
    font-family: "Montserrat", sans-serif;
    font-size: 39px;
}

.about-experience span {
    font-size: 11px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content > p {
    margin-bottom: 17px;
    line-height: 1.8;
}

.about-features {
    margin: 30px 0;
}

.about-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.about-feature > i {
    margin-top: 3px;
    color: var(--primary);
    font-size: 21px;
}

.about-feature strong,
.about-feature span {
    display: block;
}

.about-feature strong {
    margin-bottom: 5px;
    color: var(--secondary);
}

.about-feature span {
    font-size: 13px;
}


/* =========================================================
   ATTENDANCE
========================================================= */

.attendance {
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    background: linear-gradient(135deg, #007bd3, #00499d);
}

.attendance::before,
.attendance::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.attendance::before {
    width: 450px;
    height: 450px;
    top: -250px;
    left: -150px;
}

.attendance::after {
    width: 350px;
    height: 350px;
    right: -170px;
    bottom: -230px;
}

.attendance-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: auto;
}

.attendance-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--white);
    border-radius: 50%;
    font-size: 30px;
}

.attendance .section-subtitle {
    color: #a8ddff;
}

.attendance h2 {
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(35px, 5vw, 55px);
}

.attendance p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.attendance .button {
    margin-top: 25px;
}


/* =========================================================
   STEPS
========================================================= */

.steps {
    background: var(--white);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.step {
    width: 28%;
    text-align: center;
}

.step-number {
    margin-bottom: -20px;
    color: #edf3f8;
    font-family: "Montserrat", sans-serif;
    font-size: 70px;
    font-weight: 800;
}

.step-icon {
    position: relative;
    z-index: 2;
    width: 75px;
    height: 75px;
    margin: auto;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 7px solid var(--white);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: var(--shadow);
    font-size: 25px;
}

.step h3 {
    margin: 20px 0 10px;
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
}

.step p {
    font-size: 13px;
    line-height: 1.7;
}

.step-line {
    width: 12%;
    height: 2px;
    margin-top: 90px;
    background: #dbe7f1;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 65px 0;
    color: var(--white);
    background: var(--secondary);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content > span {
    color: #2aaeff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-content h2 {
    margin: 10px 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(27px, 4vw, 40px);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.contact-content h2 {
    margin-bottom: 25px;
}

.contact-content > p {
    max-width: 540px;
    line-height: 1.8;
}

.contact-info {
    margin-top: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 40, 90, 0.07);
    font-size: 20px;
}

.contact-item span,
.contact-item strong {
    display: block;
}

.contact-item span {
    margin-bottom: 4px;
    font-size: 11px;
    color: #8a95a2;
    text-transform: uppercase;
}

.contact-item strong {
    color: var(--secondary);
}

.contact-form-wrapper {
    padding: 38px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
    font-size: 23px;
}

.contact-form > p {
    margin: 8px 0 25px;
    font-size: 13px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 15px;
    color: var(--text);
    border: 1px solid #dce5ed;
    border-radius: 7px;
    outline: none;
    background: #fbfdff;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 142, 232, 0.1);
}

.form-button {
    width: 100%;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    color: rgba(255, 255, 255, 0.65);
    background: #04101e;
}

.footer-container {
    padding-top: 70px;
    padding-bottom: 55px;
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.9fr 1fr;
    gap: 50px;
}

.footer-brand img {
    width: 210px;
    margin-bottom: 20px;
    padding: 10px;
    background: var(--white);
    border-radius: 8px;
}

.footer-brand p {
    max-width: 310px;
    font-size: 13px;
    line-height: 1.8;
}

.footer h3 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: 15px;
}

.footer-links a,
.footer-services span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 13px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #45dd7d;
    font-size: 13px;
    font-weight: 700;
}

.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
    font-size: 12px;
}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {
    position: fixed;
    z-index: 900;
    right: 25px;
    bottom: 25px;
    min-height: 55px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    background: var(--whatsapp);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.38);
    font-size: 13px;
    font-weight: 800;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.03);
}

.floating-whatsapp i {
    font-size: 25px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    z-index: 800;
    right: 30px;
    bottom: 95px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .navbar,
    .header-button {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .navbar.active {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        display: block;
        padding: 40px;
        background: var(--white);
    }

    .navbar.active .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        font-size: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-card.featured {
        grid-column: 1 / -1;
    }

    .about-container,
    .contact-container {
        gap: 50px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 768px) {

    .section {
        padding: 75px 0;
    }

    .container {
        width: min(100% - 30px, 1180px);
    }

    .header {
        height: 72px;
    }

    .logo img {
        width: 165px;
        max-height: 58px;
    }

    .hero {
        min-height: 720px;
        padding-top: 72px;
        background:
            linear-gradient(
                90deg,
                rgba(3, 25, 51, 0.98) 0%,
                rgba(3, 25, 51, 0.88) 100%
            ),
            url("../images/banner-gelomatic.png") 63% center / cover no-repeat;
    }

    .hero-content {
        width: 100%;
        max-width: 620px;
        padding: 65px 0;
    }

    .hero h1 {
        font-size: clamp(38px, 9vw, 55px);
    }

    .hero h2 {
        font-size: 27px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .quick-benefits-container {
        grid-template-columns: 1fr 1fr;
    }

    .quick-benefit:nth-child(2) {
        border-right: none;
    }

    .quick-benefit {
        border-bottom: 1px solid #e8eef4;
    }

    .services-grid,
    .problems-grid,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        grid-column: auto;
    }

    .problems-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-visual {
        max-width: 600px;
        margin: auto;
    }

    .about-experience {
        right: 15px;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .step {
        width: 100%;
        max-width: 400px;
    }

    .step-line {
        display: none;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-container {
        gap: 45px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .hero {
        min-height: 750px;
        background:
            linear-gradient(
                rgba(3, 25, 51, 0.92),
                rgba(3, 25, 51, 0.95)
            ),
            url("../images/banner-gelomatic.png") 68% center / cover no-repeat;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .hero h2 {
        font-size: 23px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 11px;
    }

    .scroll-indicator {
        display: none;
    }

    .quick-benefits-container {
        grid-template-columns: 1fr;
    }

    .quick-benefit {
        justify-content: flex-start;
        border-right: none;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 31px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .problems-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .problems-cta .button {
        width: 100%;
    }

    .about-image-placeholder {
        min-height: 380px;
    }

    .about-experience {
        width: 125px;
        height: 125px;
    }

    .about-experience strong {
        font-size: 30px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 58px;
        height: 58px;
        min-height: 58px;
        padding: 0;
        justify-content: center;
    }

    .floating-whatsapp span {
        display: none;
    }

    .back-to-top {
        right: 23px;
        bottom: 85px;
    }
}