/* ================================================
   DEV DOMAIN MASTERS - STYLES
   Landing Page CSS - Versión Estática
   ================================================ */


/* -------------------- RESET & BASE -------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Inter';
    src: url('./assets/fonts/inter-v20-latin-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./assets/fonts/inter-v20-latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
:root {
    /* Colors */
    --background: hsl(222, 47%, 6%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(222, 47%, 8%);
    --card-foreground: hsl(210, 40%, 98%);
    --primary: hsl(199, 89%, 48%);
    --primary-foreground: hsl(222, 47%, 6%);
    --secondary: hsl(217, 33%, 17%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(217, 33%, 14%);
    --muted-foreground: hsl(215, 20%, 55%);
    --accent: hsl(172, 66%, 50%);
    --accent-foreground: hsl(222, 47%, 6%);
    --border: hsl(217, 33%, 17%);
    --ring: hsl(199, 89%, 48%);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(222, 47%, 6%) 0%, hsl(217, 50%, 10%) 50%, hsl(222, 47%, 6%) 100%);
    --gradient-card: linear-gradient(180deg, hsl(217, 33%, 12%) 0%, hsl(222, 47%, 8%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(199, 89%, 48%) 0%, hsl(172, 66%, 50%) 100%);
    --gradient-text: linear-gradient(135deg, hsl(199, 89%, 60%) 0%, hsl(172, 66%, 60%) 100%);

    /* Shadows */
    --glow-primary: 0 0 40px hsla(199, 89%, 48%, 0.3);
    --glow-accent: 0 0 60px hsla(172, 66%, 50%, 0.2);
    --shadow-soft: 0 4px 20px hsla(0, 0%, 0%, 0.3);
    --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.4);

    /* Spacing */
    --radius: 0.75rem;

    /* Font */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -------------------- UTILITIES -------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-left {
    text-align: left;
}

.w-full {
    width: 100%;
}

.hidden {
    display: none !important;
}

a.withouta {
    text-decoration: none;
    color: inherit;
}

/* -------------------- BUTTONS -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--secondary);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-glow {
    box-shadow: var(--glow-primary);
}

.btn i {
    width: 1.25rem;
    height: 1.25rem;
}

/* -------------------- HEADER -------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsla(222, 47%, 6%, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .header-container {
        height: 5rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-header {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary-foreground);
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--foreground);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}
.nav-desktop a.active {
    color: var(--primary);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--foreground);
}


.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn i {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-mobile {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-mobile .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile a.active {
    color: var(--primary);
}

.nav-link-mobile {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.nav-link-mobile:hover {
    color: var(--foreground);
}

/* -------------------- HERO SECTION -------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 3rem;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: glow-pulse 3s ease-in-out infinite;
}

.hero-glow-1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: hsla(199, 89%, 48%, 0.1);
}

.hero-glow-2 {
    bottom: 25%;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background: hsla(172, 66%, 50%, 0.1);
    animation-delay: 1.5s;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem 0;
    max-width: 56rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}
.hero-location{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}


.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .trust-indicators {
        gap: 2.5rem;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

/* -------------------- SECTIONS -------------------- */
.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 7rem 0;
    }
}

.section-alt {
    background: var(--card);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.7;
}

/* -------------------- SERVICES -------------------- */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--gradient-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .service-card {
        padding: 2rem;
    }
}

.service-card:hover {
    border-color: hsla(199, 89%, 48%, 0.3);
    box-shadow: var(--shadow-card);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
}

.service-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--primary-foreground);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* -------------------- VALUE PROPOSITION -------------------- */
.value-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.value-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.value-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.value-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--foreground);
}

.value-check {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.value-cards {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .value-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--background);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
}

.value-card:hover {
    border-color: hsla(199, 89%, 48%, 0.3);
}

.value-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: hsla(199, 89%, 48%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-card-icon i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.value-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.value-card-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* -------------------- PROCESS -------------------- */
.process-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    text-align: center;
}

.process-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.process-icon-box {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.process-icon-box i {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

.process-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.process-description {
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* -------------------- ABOUT -------------------- */
.about-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }
}

.about-text {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--foreground);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--background);
    border: 1px solid var(--border);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* -------------------- FAQ SECTION -------------------- */
.container-narrow {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* -------------------- CONTACT -------------------- */
.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.contact-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.contact-item-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-item-value {
    color: var(--foreground);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item-value:hover {
    color: var(--primary);
}

.contact-form-wrapper {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--gradient-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px hsla(199, 89%, 48%, 0.15);
}

.form-input.error,
.form-textarea.error {
    border-color: hsl(0, 84%, 60%);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    font-size: 0.75rem;
    color: hsl(0, 84%, 60%);
    min-height: 1rem;
}

/* -------------------- FOOTER -------------------- */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-links li {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--foreground);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* -------------------- TOAST -------------------- */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    z-index: 100;
    animation: toast-in 0.3s ease;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
}

.toast-message {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 640px) {
    .hero-buttons .btn {
        width: 100%;
    }
    .hero-location {
        font-size: 1.5rem;
        font-weight: 600;
        line-height: 1;
        color: var(--muted-foreground);
        margin-bottom: 2rem;
        max-width: 42rem;
        margin-left: 10px;
        margin-right: 10px;
        line-height: 1.5;
    }


    .hero-subtitle {
        font-size: 1.125rem;
        color: var(--muted-foreground);
        margin-bottom: 2rem;
        max-width: 42rem;
        margin-left: 10px;
        margin-right: 10px;
        line-height: 1.7;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 3rem;
        margin-left: 20px;
        margin-right: 20px;
    }
}