@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
    --amber: #d28a3c;
    --dark-amber: #a8642a;
    --graphite: #1e1e1e;
    --dark-gray: #2a2a2a;
    --steel: #5f6368;
    --white-soft: #eaeaea;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BASE */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #1c1c1c, #111);
    color: var(--white-soft);
    line-height: 1.6;
}

/* NAV */
nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: var(--white-soft);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--amber);
}

/* HERO */
header {
    min-height: 60vh;
    background:
        radial-gradient(circle at 70% 20%, rgba(210,138,60,0.25), transparent 60%),
        linear-gradient(180deg, #262626, #121212);
    display: flex;
    align-items: center;
    padding: 4rem 8%;
}

.hero {
    max-width: 800px;
}

.hero .tagline {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--amber);
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3.6rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--amber);
}

.hero p {
    font-size: 1.35rem;
    color: #cfcfcf;
}

/* SECCIONES */
section {
    padding: 5rem 8%;
}

.section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--amber);
    display: block;
    margin-top: 0.5rem;
}

/* ABOUT */
.about p {
    max-width: 900px;
    font-size: 1.2rem;
    color: #c9c9c9;
}

/* SERVICIOS */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(180deg, #242424, #1a1a1a);
    border: 1px solid #2f2f2f;
    font-size: 1.3rem;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--amber);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--amber);
}

.service-card p {
    color: #bdbdbd;
    font-size: 1.1rem;
}

/* FOOTER */
footer {
    background: #0e0e0e;
    padding: 2rem 8%;
    border-top: 1px solid #2a2a2a;
}

footer p {
    font-size: 0.85rem;
    color: #8f8f8f;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }
}


@keyframes fadeIn{
    from{
    opacity: 0;
    transform: translateY(12px)
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-out{
    opacity: 0;
    transition: opacity 0.35s ease;
}

body{
    animation: fadeIn 0.60s ease;
}