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

:root {
    color-scheme: dark;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #e2e8f0;
    background-color: #030405;
}

body {
    background: radial-gradient(circle at top left, rgba(235, 50, 50, 0.16), transparent 26%),
                linear-gradient(180deg, #07090d 0%, #050608 100%);
    min-height: 100vh;
    line-height: 1.72;
}

.container {
    width: min(92%, 1200px);
    margin-inline: auto;
}

header {
    padding: 32px 0 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    max-height: 96px;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.3));
}

.hero {
    padding: 92px 0 64px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 16% 18%, rgba(255, 0, 0, 0.2), transparent 24%),
                radial-gradient(circle at 88% 34%, rgba(255, 255, 255, 0.06), transparent 18%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    text-align: center;
    padding: 0 12px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #f97316;
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 auto 24px;
    max-width: 760px;
    font-size: clamp(2.6rem, 4vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #f8fafc;
}

.hero p {
    margin: 0 auto;
    max-width: 680px;
    font-size: 1.15rem;
    color: #cbd5e1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
    padding: 16px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f43f5e 0%, #ef4444 42%, #dc2626 100%);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    box-shadow: 0 20px 42px rgba(220, 38, 38, 0.22);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(220, 38, 38, 0.28);
}

.servicios,
.contacto {
    padding: 88px 0;
}

.servicios h2,
.contacto h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 18px;
    color: #f8fafc;
}

.servicios {
    position: relative;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 42px;
}

.card {
    padding: 28px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.18rem;
    color: #f8fafc;
}

.card p {
    color: #cbd5e1;
    line-height: 1.8;
}

.contacto {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 12, 20, 0.98));
    text-align: center;
}

.contacto p {
    color: #b8c2d4;
    margin-bottom: 12px;
}

.contacto .btn {
    margin-top: 28px;
}

footer {
    padding: 28px 0 44px;
    text-align: center;
    color: #7c8797;
    font-size: 0.95rem;
}

/* Contact Form Styles */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-subtitle {
    color: #cbd5e1;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.contact-form {
    width: 100%;
    max-width: 680px;
    margin-bottom: 42px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #cbd5e1;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #e2e8f0;
    transition: border-color 0.24s ease, background-color 0.24s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #7c8797;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(244, 63, 94, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

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

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-submit {
    width: 100%;
    max-width: 300px;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    font-size: 0.95rem;
    text-align: center;
    min-height: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    text-align: center;
}

.contact-info p {
    margin: 0;
    color: #cbd5e1;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 20px 42px rgba(16, 185, 129, 0.18);
    margin-top: 8px;
}

.btn-whatsapp:hover {
    box-shadow: 0 24px 48px rgba(16, 185, 129, 0.24);
}

@media (max-width: 768px) {
    .hero {
        padding: 72px 0 58px;
    }

    .cards {
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .card {
        padding: 22px;
    }

    .contact-form {
        margin-bottom: 24px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .btn-submit {
        max-width: 100%;
    }
}
