:root {
    --primary: #0F172A;
    --secondary: #1E293B;
    --accent: #F97316;
    /* Ignis Orange */
    --accent-hover: #EA580C;
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.nav {
    display: none;
}

/* Mobile First: Hidden */
.burger {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    margin-bottom: 6px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--secondary);
    padding-top: 80px;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__list {
    text-align: center;
}

.mobile-link {
    display: block;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 1024px) {

    .burger,
    .mobile-menu {
        display: none;
    }

    .nav {
        display: block;
    }

    .nav__list {
        display: flex;
        gap: 30px;
    }

    .nav__link:hover {
        color: var(--accent);
    }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 1) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(249, 115, 28, 0.15);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--accent);
}

.hero__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero__note {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 3.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
}

.btn--full {
    width: 100%;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
}

.bg-dark {
    background-color: var(--secondary);
}

/* Features & Grid */
.features__grid,
.services__grid,
.testimonials__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {

    .features__grid,
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .span-2 {
        grid-column: span 2;
    }

    .span-3 {
        grid-column: span 3;
        text-align: center;
    }
}

.feature-card,
.service-card,
.review-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-card:hover,
.service-card:hover {
    border-color: var(--accent);
}

.review-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text);
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.review-author span {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
    transition: var(--transition);
}

.avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.feature-card {
    text-align: center;
}

.feature-card h3,
.service-card h3 {
    text-align: center;
    margin-bottom: 15px;
}

.feature-card p {
    text-align: center;
}

/* Contact Form */
.contact__container {
    display: grid;
    gap: 50px;
}

@media (min-width: 768px) {
    .contact__container {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--white);
    font-family: var(--font-heading);
}

.contact__info p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    transition: var(--transition);
}

.contact__info p:first-of-type {
    margin-top: 0;
}

.contact__info p i {
    color: var(--accent);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact__info p:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact__info p:hover i {
    color: var(--accent-hover);
}

.contact__info p.mt-2 {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.contact__info p.mt-2:before {
    display: none;
}

.contact__form {
    background: var(--primary);
    padding: 30px;
    border-radius: 12px;
}

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

.form-group input {
    width: 100%;
    padding: 15px;
    background: var(--secondary);
    border: 1px solid #334155;
    color: var(--white);
    border-radius: 6px;
}

.form-group input:focus {
    border-color: var(--accent);
    outline: none;
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
    min-height: 20px;
}

.captcha-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: nowrap;
}

#captchaQuestion {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

#captchaAnswer {
    flex: 0 0 auto;
    width: 80px;
    max-width: 80px;
}

.hidden {
    display: none;
}

.form-success {
    text-align: center;
    color: #22c55e;
    margin-top: 15px;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #020617;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer__logo {
    color: var(--accent);
    margin-bottom: 15px;
}

.footer__col h4 {
    margin-bottom: 20px;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul li a {
    color: var(--text-muted);
}

.footer__col ul li a:hover {
    color: var(--accent);
}


/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--secondary);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--accent);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal h4 {
    color: var(--white);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal p {
    margin-bottom: 15px;
    color: var(--text);
    line-height: 1.8;
}

.modal ul,
.modal ol {
    margin-bottom: 20px;
    padding-left: 25px;
    color: var(--text);
}

.modal ul li,
.modal ol li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text);
}

.modal a {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition);
}

.modal a:hover {
    color: var(--accent-hover);
}

.modal strong {
    color: var(--white);
    font-weight: 600;
}