/* ============================================
   THE JOINER BOYZ — Styles
   Aesthetic: "Honest Craft" — Warm Industrial
   ============================================ */

/* --- Reset & Variables --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand: #F1592A;
    --brand-dark: #D94A1E;
    --brand-light: #F47550;
    --black: #1A1A1A;
    --black-mid: #2A2A2A;
    --grey-dark: #333333;
    --grey: #F5F5F5;
    --grey-mid: #EBEBEB;
    --whatsapp: #25D366;
    --whatsapp-dark: #1EBE5D;
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    --white: #FFFFFF;
    --text: #1A1A1A;
    --text-light: #666666;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.06);
    --shadow-lg: rgba(0, 0, 0, 0.12);

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

    --nav-height: 72px;
    --container: 1200px;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}


/* --- Screen reader only --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 2px;
    background: var(--brand);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--brand);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-desc {
    margin: 0 auto;
}

.section-header .section-label::before {
    display: none;
}

.section-header .section-label {
    padding-left: 0;
}


/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(241, 89, 42, 0.3);
}

.btn--primary:hover {
    background: var(--brand-dark);
    box-shadow: 0 6px 24px rgba(241, 89, 42, 0.4);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    background: var(--whatsapp-dark);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn--google {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px var(--shadow);
}

.btn--google:hover {
    border-color: var(--google-blue);
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.2);
    transform: translateY(-2px);
}

.btn--call {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--call:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}


/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    transition: opacity 0.3s;
}

.nav__logo:hover {
    opacity: 0.8;
}

.nav__logo-img {
    height: 36px;
    width: auto;
    transition: opacity 0.3s;
}

.nav.scrolled .nav__logo-img {
    filter: brightness(0) saturate(100%);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__links a {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: all 0.25s;
}

.nav:not(.scrolled) .nav__links a {
    color: rgba(255, 255, 255, 0.8);
}

.nav__links a:hover {
    color: var(--brand);
    background: rgba(241, 89, 42, 0.06);
}

.nav:not(.scrolled) .nav__links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav__cta {
    background: var(--brand) !important;
    color: var(--white) !important;
    border-radius: var(--radius) !important;
    padding: 10px 22px !important;
}

.nav__cta:hover {
    background: var(--brand-dark) !important;
}

/* Nav Google Badge */
.nav__google-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.nav.scrolled .nav__google-badge {
    background: var(--white);
    border-color: var(--border);
    color: var(--text);
    box-shadow: 0 2px 8px var(--shadow);
}

.nav__google-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-lg);
}

.nav.scrolled .nav__google-badge:hover {
    border-color: var(--brand);
}

.nav__google-stars {
    color: #FBBC05;
    letter-spacing: 1px;
    font-size: 0.7rem;
    line-height: 1;
}

.nav__google-text {
    line-height: 1;
}


.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav:not(.scrolled) .nav__burger span {
    background: var(--white);
}

.nav__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
}

.nav__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(165deg,
            rgba(26, 26, 26, 0.92) 0%,
            rgba(26, 26, 26, 0.82) 50%,
            rgba(26, 26, 26, 0.7) 100%
        );
    z-index: 1;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(241, 89, 42, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(241, 89, 42, 0.05) 0%, transparent 50%);
    z-index: 2;
}

.hero__grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    mix-blend-mode: overlay;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    animation: heroFadeIn 1s var(--ease-out) both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    margin-bottom: 28px;
    animation: heroFadeIn 1s 0.15s var(--ease-out) both;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
    animation: heroFadeIn 1s 0.25s var(--ease-out) both;
}

.hero__title em {
    font-style: italic;
    color: var(--brand);
}

.hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
    margin: 0 auto 36px;
    animation: heroFadeIn 1s 0.35s var(--ease-out) both;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: heroFadeIn 1s 0.45s var(--ease-out) both;
}

.hero__trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1s 0.55s var(--ease-out) both;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.hero__trust-item svg {
    color: var(--brand);
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}


/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    padding: 36px 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    border-color: var(--brand-light);
    box-shadow: 0 16px 48px var(--shadow);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--brand);
    transition: all 0.3s var(--ease-out);
}

.service-card:hover .service-card__icon {
    background: var(--brand);
    color: var(--white);
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-card__link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand);
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-card:hover .service-card__link {
    gap: 8px;
}


/* --- Projects --- */
.projects {
    padding: 100px 0;
    background: var(--grey);
}

.projects__filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.projects__filter {
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
}

.projects__filter:hover,
.projects__filter.active {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}

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

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.project-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background:
        linear-gradient(135deg, var(--grey-mid) 0%, var(--brand) 100%);
    color: var(--brand-light);
    font-size: 0.8rem;
    font-weight: 500;
    transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-card__placeholder {
    transform: scale(1.05);
}

.project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-card__img img {
    transform: scale(1.05);
}

.project-card__info {
    padding: 20px 24px;
}

.project-card__info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 4px;
}

.project-card__info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.project-card.hidden {
    display: none;
}


/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

.about__stat {
    text-align: center;
    padding: 24px 16px;
    background: var(--grey);
    border-radius: var(--radius);
}

.about__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--brand);
    margin-bottom: 4px;
}

.about__stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about__image {
    position: relative;
}

.about__image::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    bottom: 16px;
    left: 16px;
    border: 2px solid var(--brand);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.about__image-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background:
        linear-gradient(145deg, var(--grey-mid) 0%, var(--brand) 100%);
    border-radius: var(--radius-lg);
    color: var(--brand-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.about__image-real {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
}


/* --- Process --- */
.process {
    padding: 100px 0;
    background: var(--black);
    color: var(--white);
}

.process .section-label {
    color: var(--brand);
}

.process .section-label::before {
    display: none;
}

.process .section-header .section-label {
    padding-left: 0;
}

.process .section-title {
    color: var(--white);
}

.process__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.process__step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
}

.process__step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 197, 169, 0.2);
    transform: translateY(-4px);
}

.process__step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--brand-light);
    margin-bottom: 16px;
    line-height: 1;
}

.process__step-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.process__step-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
}

.process__step-arrow {
    display: flex;
    align-items: center;
    padding-top: 60px;
    color: rgba(255, 255, 255, 0.2);
}


/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--grey);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px var(--shadow);
    transform: translateY(-3px);
}

.testimonial-card__stars {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    color: #FBBC05;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card__google-icon {
    flex-shrink: 0;
}

.testimonial-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--google-green);
    background: rgba(52, 168, 83, 0.08);
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}

.testimonial-card__verified svg {
    color: var(--google-green);
}

.testimonial-card__text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
    flex: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-card__author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--black);
}

.testimonial-card__author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.testimonials__cta {
    text-align: center;
    margin-top: 48px;
}


/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--grey);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease-out);
    border: 1px solid transparent;
}

.contact__method:hover {
    border-color: var(--brand-light);
    transform: translateX(4px);
}

.contact__method svg {
    color: var(--brand);
    flex-shrink: 0;
}

.contact__method strong {
    display: block;
    font-size: 0.95rem;
    color: var(--black);
}

.contact__method span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Form --- */
.contact__form {
    padding: 40px;
    background: var(--grey);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(241, 89, 42, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237A7568' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* Form success state */
.form-success {
    text-align: center;
    padding: 60px 40px;
}

.form-success__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: var(--whatsapp);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
    font-size: 0.95rem;
}


/* --- Footer --- */
.footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    margin-bottom: 16px;
}

.footer__logo .nav__logo-the {
    color: var(--brand);
}

.footer__logo .nav__logo-main {
    color: var(--white);
}

.footer__logo-img {
    height: 36px;
    width: auto;
}

.footer__tagline {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s var(--ease-out);
}

.footer__social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-2px);
}

.footer__links h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 5px 0;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--brand);
}

.footer__areas {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
}
.footer__areas a {
    display: inline;
    padding: 0;
}
.grecaptcha-badge {
    visibility: hidden !important;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
}

.footer__bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.footer__bottom-links a:hover {
    color: var(--brand);
}


/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    box-shadow:
        0 4px 20px rgba(37, 211, 102, 0.35),
        0 0 0 0 rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease-out);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 0 0 12px rgba(37, 211, 102, 0); }
}


/* --- Mobile Sticky CTA --- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 8px 12px;
    gap: 8px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.35s var(--ease-out);
}

.mobile-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.mobile-cta__btn--call {
    background: var(--grey);
    color: var(--black);
}

.mobile-cta__btn--wa {
    background: var(--whatsapp);
    color: #fff;
}

.mobile-cta__btn--quote {
    background: var(--brand);
    color: var(--white);
}


/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


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

@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    /* Nav mobile */
    .nav__links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        z-index: 1000;
    }

    .nav__links.active {
        transform: translateX(0);
    }

    .nav__links li:not(.nav__mobile-badge) > a {
        font-size: 1.3rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 14px 32px !important;
    }

    .nav__links li:not(.nav__mobile-badge) > a:hover {
        color: var(--brand) !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }

    .nav__cta {
        margin-top: 24px;
        font-size: 1rem !important;
        padding: 12px 28px !important;
    }

    .nav__burger {
        display: flex;
    }

    .nav__google-badge {
        display: flex !important;
        font-size: 0.7rem;
        padding: 6px 10px;
        gap: 4px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .nav.scrolled .nav__google-badge {
        background: var(--white);
        border-color: var(--border);
    }

    .nav__google-badge .nav__google-text {
        display: none;
    }

    .nav__google-badge .nav__google-g {
        width: 14px;
        height: 14px;
    }

    .nav__google-stars {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .nav__burger.active span {
        background: #fff !important;
    }

    /* Hero mobile */
    .hero__title {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero__trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero__scroll {
        display: none;
    }

    /* Services */
    .services {
        padding: 72px 0;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 28px 24px;
    }

    /* Projects */
    .projects {
        padding: 72px 0;
    }

    .projects__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* About */
    .about {
        padding: 72px 0;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .about__stat {
        padding: 20px 12px;
    }

    .about__stat-number {
        font-size: 1.4rem;
    }

    .about__image::before {
        top: -8px;
        right: -8px;
        bottom: 8px;
        left: 8px;
    }

    /* Process */
    .process {
        padding: 72px 0;
    }

    .process__steps {
        flex-direction: column;
        align-items: center;
    }

    .process__step {
        max-width: 100%;
        width: 100%;
    }

    .process__step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    /* Testimonials */
    .testimonials {
        padding: 72px 0;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    /* Contact */
    .contact {
        padding: 72px 0;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact__form {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Footer */
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Mobile CTA bar */
    .mobile-cta {
        display: flex;
    }

    /* Adjust for bottom bar */
    .whatsapp-float {
        bottom: 84px;
    }

    .footer {
        padding-bottom: 72px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero__badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }
}