:root {
    --nav-height: 72px;
    --marine: #050b16;
    --midnight: #0f172a;
    --accent: #ff7a18;
    --accent-soft: rgba(255, 122, 24, 0.2);
    --stone: #d9e3f0;
    --card: #111827;
    --surface: #121926;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
    background-color: var(--nav-height, #050b16);
    color: var(--stone);
    min-height: 100vh;
    background: linear-gradient(135deg, #050b16 0%, #0f172a 60%, #1e293b 100%);
}

.navbar {
    background: rgba(5, 11, 22, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand,
.nav-link {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
}

.nav-link:hover {
    color: #ffffff !important;
}

main {
    padding-top: 90px;
}

.hero {
    min-height: calc(100vh - 90px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem 3rem;
    align-items: center;
}

.hero__content h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__content p {
    color: rgba(255, 255, 255, 0.85);
}

.hero__eyebrow,
.hero__card .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero__cts {
    margin: 2rem 0 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__cts .btn {
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

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

.hero__stats strong {
    display: block;
    font-size: 1.75rem;
    color: #ffffff;
}

.hero__card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hero__card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero__card-meta {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero__card-meta span i {
    margin-right: 0.35rem;
    color: var(--accent);
}

.reveal {
    --reveal-x: 0;
    --reveal-y: 30px;
    opacity: 0;
    transform: translate(var(--reveal-x), var(--reveal-y));
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    --reveal-x: 0;
    --reveal-y: 0;
}

.hero__card.reveal {
    --reveal-x: 80px;
    opacity: 0.15;
    transition-duration: 0.95s;
}

.hero__card.reveal.is-visible {
    --reveal-x: 0;
    opacity: 1;
    transition-duration: 1s;
}

.hero__card::before {
    content: "Noticia destacada";
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.35rem;
}

.section {
    padding: 4rem 2rem;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 1rem;
}

.eyebrow {
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    font-size: 0.8rem;
}

.section-services,
.section-portfolio,
.section-process,
.section-contact {
    background: rgba(15, 23, 42, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(5, 11, 22, 0.45);
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-card ul {
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 24, 0.7);
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.portfolio-card div {
    padding: 1.5rem;
}

.portfolio-card h3 {
    margin-top: 0;
}

.portfolio-card a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.process-grid div {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(5, 11, 22, 0.4);
}

.process-step {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: start;
}

.contact-grid > div {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.2rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-meta {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-meta i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.contact-langs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
}

.contact-form {
    display: flex;
    flex-direction: column;
    background: rgba(5, 11, 22, 0.6);
    border-radius: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
}

.contact-form label {
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    color: #f8fafc;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.footer {
    padding: 2rem;
    text-align: center;
    background: rgba(5, 11, 22, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    margin-top: 0.75rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

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

@media (max-width: 768px) {
    .hero__stats {
        flex-direction: column;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .hero__cts {
        flex-direction: column;
        align-items: stretch;
    }
}
