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

body {
    font-family: 'Inter', sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAV */
header {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.logo {
    height: 50px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.btn-nav {
    padding: 8px 16px;
    background: #ff7a00;
    color: #fff;
    border-radius: 6px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #005bbb, #0099dd);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #ff7a00;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 20px;
}

/* SERVICIOS */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.service-card {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fafafa;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ABOUT */
.about {
    background: #f5faff;
    padding: 80px 0;
    text-align: center;
}

/* CONTACTO */
.contact {
    padding: 80px 0;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #eee;
    margin-top: 40px;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

#form-mensaje {
    margin-top: 10px;
    text-align: center;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.about-text {
    flex: 1 1 300px;
    font-size: 1.1em;
    line-height: 1.6;
}

.about-image {
    flex: 1 1 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

#btn-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    display: none;
    z-index: 1000;
}

#btn-top:hover {
    background-color: #0056b3;
}