/* ===== SITE-WIDE MINIMALIST OVERRIDE ===== */
/* Extends the Antigravity hero aesthetic to all sections */

/* Kill all purple/blue remnants globally */
*:not(.hero__headline-accent) {
    --primary-color: #0f172a !important;
    --primary-gradient: none !important;
}

/* ========================================
   DESIGN TOKENS
   ======================================== */
:root {
    --bg-primary: #f8f9fa;
    --bg-white: #ffffff;
    --bg-subtle: #f1f3f5;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --border-light: #e5e7eb;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ========================================
   GLOBAL SECTION STYLES
   ======================================== */
.section {
    background: var(--bg-primary) !important;
    border: none !important;
    box-shadow: none !important;
}

/* Remove leftover purple/blue glows */
.section::before,
.section::after {
    display: none !important;
}

/* Section headers */
.section__title {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    letter-spacing: -0.5px !important;
    text-align: center !important;
}

.section__subtitle {
    font-size: 1.1rem !important;
    color: var(--text-muted) !important;
    text-align: center !important;
    max-width: 560px !important;
    margin: 0.5rem auto 0 !important;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--bg-primary) !important;
}

.services__pillars {
    gap: 2rem !important;
}

.services__pillar {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.services__pillar:hover {
    border-color: rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px) !important;
}

.pillar__icon {
    background: var(--bg-subtle) !important;
    border: none !important;
    box-shadow: none !important;
}

.pillar__icon i {
    color: var(--text-dark) !important;
}

.pillar__title {
    color: var(--text-dark) !important;
}

.pillar__accent {
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
}

.pillar__price-badge {
    background: var(--text-dark) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}

.pillar__description {
    color: var(--text-body) !important;
}

/* Feature Items */
.feature-item {
    background: var(--bg-subtle) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.feature-item i {
    color: var(--text-body) !important;
}

/* Service Module Items */
.module-item {
    background: var(--bg-subtle) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.module-item__icon {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-dark) !important;
}

.module-item__title {
    color: var(--text-dark) !important;
}

.module-item__description {
    color: var(--text-muted) !important;
}

/* Tech Stack */
.pillar__tech-stack span {
    color: var(--text-body) !important;
}

/* Service Buttons */
.pillar__actions .button--primary,
.services .button--primary {
    background: var(--text-dark) !important;
    border: none !important;
    border-radius: 100px !important;
    color: #fff !important;
    box-shadow: none !important;
}

.pillar__actions .button--primary:hover,
.services .button--primary:hover {
    background: #1e293b !important;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2) !important;
}

.pillar__actions .button--primary::before,
.services .button--primary::before {
    display: none !important;
}

.pillar__actions .button--outline,
.services .button--outline {
    background: transparent !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 100px !important;
    color: var(--text-dark) !important;
    box-shadow: none !important;
}

.pillar__actions .button--outline:hover,
.services .button--outline:hover {
    background: var(--bg-subtle) !important;
    border-color: var(--text-body) !important;
}

.pillar__actions .button--outline::before,
.services .button--outline::before {
    display: none !important;
}

/* Pillar Delivery/Meta */
.pillar__delivery span,
.pillar__meta span {
    color: var(--text-muted) !important;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio {
    background: var(--bg-white) !important;
}

.portfolio__card {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: none !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.portfolio__card:hover {
    border-color: rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-3px) !important;
}

.portfolio__card::before,
.portfolio__card::after {
    display: none !important;
}

.portfolio__image {
    border-radius: 0 !important;
}

.portfolio__title {
    color: var(--text-dark) !important;
}

.portfolio__description {
    color: var(--text-body) !important;
}

/* Tech badges */
.portfolio__tech-tag {
    background: var(--bg-subtle) !important;
    color: var(--text-body) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

/* View buttons */
.portfolio__link {
    border: 1px solid var(--border-light) !important;
    border-radius: 100px !important;
    color: var(--text-dark) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.portfolio__link:hover {
    background: var(--text-dark) !important;
    color: #fff !important;
    border-color: var(--text-dark) !important;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: var(--bg-primary) !important;
}

.testimonials__card,
.testimonial__card {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: none !important;
}

.testimonials__card:hover,
.testimonial__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.testimonial__text,
.testimonials__text {
    color: var(--text-body) !important;
    font-style: normal !important;
}

.testimonial__name,
.testimonials__name {
    color: var(--text-dark) !important;
}

.testimonial__role,
.testimonials__role {
    color: var(--text-muted) !important;
}

/* Stars */
.testimonial__stars i,
.testimonials__stars i {
    color: var(--accent) !important;
}

/* Avatar */
.testimonial__avatar,
.testimonials__avatar {
    background: var(--bg-subtle) !important;
    border: none !important;
    color: var(--text-muted) !important;
}

/* ========================================
   ABOUT / NOSOTROS SECTION
   ======================================== */
.about {
    background: var(--bg-white) !important;
    color: var(--text-body) !important;
}

.about__text {
    color: var(--text-body) !important;
}

.about__text strong {
    color: var(--text-dark) !important;
}

/* Process Card */
.process {
    background: var(--bg-subtle) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: none !important;
}

.process__title {
    color: var(--text-dark) !important;
}

.process__step-icon {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--accent) !important;
    box-shadow: none !important;
}

.process__step-title {
    color: var(--text-dark) !important;
}

.process__step-description {
    color: var(--text-muted) !important;
}

/* Process connector lines */
.process__step::before {
    background: var(--border-light) !important;
}

/* Values */
.about__values .value-item {
    background: var(--bg-subtle) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.value-item i {
    color: var(--accent) !important;
}

.value-item__title {
    color: var(--text-dark) !important;
}

/* About Stats */
.about__stats .stat,
.about .stat {
    background: var(--bg-subtle) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: none !important;
}

.stat__number {
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
}

.stat__label {
    color: var(--text-muted) !important;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    background: var(--bg-primary) !important;
}

.faq__item {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    margin-bottom: 0.75rem !important;
    overflow: hidden;
}

.faq__item.active {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.faq__question {
    color: var(--text-dark) !important;
}

.faq__question i,
.faq__icon {
    color: var(--text-muted) !important;
}

.faq__answer {
    color: var(--text-body) !important;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--bg-white) !important;
}

.contact__info-card,
.contact-info {
    background: var(--bg-subtle) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: none !important;
}

.contact__info-item i,
.contact-info__icon {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-dark) !important;
    box-shadow: none !important;
}

.contact__info-title {
    color: var(--text-dark) !important;
}

.contact__info-text {
    color: var(--text-body) !important;
}

/* Contact Form */
.contact__form-card,
.contact-form {
    background: var(--bg-white) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: none !important;
}

.contact__form input,
.contact__form select,
.contact__form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: var(--bg-primary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 12px !important;
    color: var(--text-dark) !important;
    box-shadow: none !important;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
}

.contact__form label,
.contact-form label {
    color: var(--text-muted) !important;
}

/* Submit button */
.contact__submit,
.contact-form .button,
.contact .button--primary {
    background: var(--text-dark) !important;
    border: none !important;
    border-radius: 100px !important;
    color: #fff !important;
    box-shadow: none !important;
}

.contact__submit:hover,
.contact-form .button:hover,
.contact .button--primary:hover {
    background: #1e293b !important;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2) !important;
}

.contact__submit::before,
.contact-form .button::before,
.contact .button--primary::before {
    display: none !important;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--text-dark) !important;
    border-top: none !important;
}

.footer::before,
.footer::after {
    display: none !important;
}

.footer__title {
    color: #fff !important;
}

.footer__description {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer__link {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer__link:hover {
    color: var(--accent) !important;
}

.footer__heading {
    color: #fff !important;
}

.footer__bottom {
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ========================================
   GLOBAL BUTTON RESETS
   ======================================== */
.button {
    box-shadow: none !important;
}

.button::before {
    display: none !important;
}

.button--primary {
    background: var(--text-dark) !important;
    border-radius: 100px !important;
    border: none !important;
}

.button--primary:hover {
    background: #1e293b !important;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.2) !important;
}

.button--outline {
    background: transparent !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 100px !important;
    color: var(--text-dark) !important;
}

.button--outline:hover {
    background: var(--bg-subtle) !important;
}

/* ========================================
   NAVBAR REFINEMENT
   ======================================== */
.header {
    background: rgba(248, 249, 250, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border-light) !important;
    box-shadow: none !important;
}

.header.scrolled {
    background: rgba(248, 249, 250, 0.95) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.nav__link {
    color: var(--text-body) !important;
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-dark) !important;
}

/* ========================================
   SCROLL-TO-TOP BUTTON
   ======================================== */
.scroll-top {
    background: var(--text-dark) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    border-radius: 100px !important;
}

.scroll-top:hover {
    background: #1e293b !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media screen and (max-width: 768px) {
    .section__title {
        font-size: 2rem !important;
    }

    .section__subtitle {
        font-size: 0.95rem !important;
    }
}