/* ===================================
   NUNCIO AUTO BODY — Custom Styles
   =================================== */

/* Color Palette */
:root {
    --green-900: #064E3B;
    --green-800: #065F46;
    --green-700: #047857;
    --green-600: #059669;
    --green-500: #10B981;
    --green-400: #34D399;
    --green-300: #6EE7B7;
    --green-200: #A7F3D0;
    --green-100: #D1FAE5;
    --green-50:  #ECFDF5;
    --off-white: #F5F5F0;
    --off-white-dark: #EDEDE8;
    --forest-950: #0A1F16;
    --forest-800: #1A3A2A;
    --forest-600: #2D5F4A;
    --forest-400: #5A9B7E;
    --forest-200: #B8D8C8;
    --forest-100: #D8ECDF;
    --forest-50:  #EFF8F3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--off-white);
    color: var(--forest-950);
}

.font-bebas {
    font-family: 'Bebas Neue', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Navbar */
.navbar {
    background: rgba(245, 245, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(6, 78, 59, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-600);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    background: rgba(245, 245, 240, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--forest-200);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--forest-100);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--green-700);
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid var(--green-700);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--forest-950);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid var(--forest-200);
    transition: all 0.25s ease;
}

.btn-outline:hover {
    border-color: var(--green-600);
    color: var(--green-700);
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--forest-950);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.25s ease;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #fff;
    color: var(--green-800);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid #fff;
    transition: all 0.25s ease;
}

.btn-white:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--green-50) 50%, #E8F5E9 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--green-100);
    color: var(--green-800);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    color: var(--forest-950);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.hero-title span {
    color: var(--green-700);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--forest-600);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest-800);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--green-500);
    border-radius: 20px;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 24px 48px rgba(6, 78, 59, 0.15);
}

.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hero-image-badge svg {
    color: var(--green-600);
}

.hero-image-badge span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--forest-950);
}

/* Hero Scroll */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

.hero-scroll-indicator svg {
    color: var(--green-600);
    opacity: 0.6;
}

/* Geometric Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo {
    position: absolute;
    opacity: 0.07;
}

.geo-1 {
    width: 400px;
    height: 400px;
    background: var(--green-600);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.geo-2 {
    width: 200px;
    height: 200px;
    background: var(--green-500);
    top: 30%;
    left: -60px;
    border-radius: 30px;
    transform: rotate(45deg);
}

.geo-3 {
    width: 120px;
    height: 120px;
    background: var(--green-700);
    bottom: 15%;
    right: 35%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.geo-4 {
    width: 80px;
    height: 80px;
    background: var(--green-400);
    top: 20%;
    right: 20%;
    border-radius: 50%;
}

.geo-5 {
    width: 60px;
    height: 60px;
    background: var(--green-800);
    bottom: 25%;
    left: 15%;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.dot-grid {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--green-400) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.3;
}

/* Section Styles */
.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-700);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    color: var(--forest-950);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.section-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--forest-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services {
    background: var(--off-white);
    position: relative;
}

.services-bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, var(--green-50) 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--forest-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-600), var(--green-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(6, 78, 59, 0.1);
    border-color: var(--green-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--green-50);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--green-700);
    color: #fff;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--forest-950);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--forest-600);
}

/* About */
.about {
    background: var(--green-50);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 0.85fr;
        gap: 4rem;
    }
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--forest-600);
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--forest-200);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--green-700);
    letter-spacing: 0.02em;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--forest-600);
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    background: var(--forest-200);
    align-self: stretch;
}

.about-image-wrapper {
    position: relative;
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 100px;
    height: 100px;
    background: var(--green-400);
    border-radius: 16px;
    z-index: -1;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.12);
}

.about-floating-card {
    position: absolute;
    bottom: -24px;
    right: -12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--green-700);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(6, 78, 59, 0.25);
    color: #fff;
}

.about-floating-card svg {
    flex-shrink: 0;
}

.floating-card-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.floating-card-address {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0.125rem;
}

/* Why Us */
.why-us {
    background: var(--green-900);
    position: relative;
    overflow: hidden;
}

.why-us-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.why-geo-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--green-800);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    opacity: 0.5;
}

.why-geo-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--green-700);
    border-radius: 50%;
    bottom: -100px;
    right: -50px;
    opacity: 0.4;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.2);
}

.why-card-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--green-400);
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.why-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.why-card-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--green-200);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 100%);
    position: relative;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--green-100);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Contact */
.contact {
    background: var(--off-white);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--forest-100);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--green-200);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.08);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--green-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
}

.contact-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--forest-400);
    margin-bottom: 0.25rem;
}

.contact-card-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--forest-950);
    line-height: 1.5;
}

.contact-map {
    margin-top: 0.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--forest-100);
    box-shadow: 0 8px 32px rgba(6, 78, 59, 0.06);
}

@media (min-width: 640px) {
    .contact-form-wrapper {
        padding: 2.5rem;
    }
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-950);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--forest-600);
    margin-bottom: 1.5rem;
}

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

@media (max-width: 639px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: 0.375rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--forest-200);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    color: var(--forest-950);
    background: var(--off-white);
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--green-600);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-input::placeholder {
    color: var(--forest-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A9B7E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success.hidden {
    display: none;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--green-700);
}

.success-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest-950);
    margin-bottom: 0.5rem;
}

.success-text {
    font-size: 0.9375rem;
    color: var(--forest-600);
}

/* Footer */
.footer {
    background: var(--forest-950);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 0;
}

.footer-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 2rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--green-700);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green-400);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-link {
    font-size: 0.9375rem;
    color: var(--green-200);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--green-200);
    line-height: 1.5;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--green-500);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--green-300);
    opacity: 0.7;
}

.footer-location {
    font-size: 0.8125rem;
    color: var(--green-300);
    opacity: 0.7;
}

/* Reveal Animations */
.reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .hero-scroll-indicator {
        animation: none;
    }
}
