:root {
    --primary-color: #0b3d91; /* navy */
    --secondary-color: #c59d5f; /* warm gold */
    --bg-color: #f6f5f1; /* soft off-white */
    --surface-color: #ffffff;
    --text-color: #0f172a; /* dark slate */
    --text-muted: #5b6770;
    --glass-bg: rgba(255,255,255,0.92);
    --glass-border: rgba(15, 23, 42, 0.06);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

h1, h2, h3, h4, .font-syne {
    font-family: 'Merriweather', 'Times New Roman', serif;
    color: var(--text-color);
}

img {
    max-width: 100%;
    display: block;
}

button,
a {
    font-family: inherit;
}

.container {
    width: min(1200px, 96%);
    margin: 0 auto;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface-color);
    box-shadow: 0 6px 24px rgba(16,24,40,0.06);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-container img {
    height: 45px;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo-text span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.18s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 30px rgba(11,61,145,0.12);
}

.btn-primary:hover {
    background: #08306e;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(15,23,40,0.08);
    color: var(--text-color);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(11,61,145,0.04);
}

section {
    padding: 6.5rem 0 4.5rem;
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 75vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding-top: 5.5rem;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 14px;
    filter: blur(60px);
    opacity: 0.12;
    z-index: -1;
}

.hero::before {
    top: 6%;
    left: 4%;
    width: 420px;
    height: 220px;
    background: var(--primary-color);
}

.hero::after {
    bottom: 6%;
    right: 4%;
    width: 360px;
    height: 200px;
    background: var(--secondary-color);
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    gap: 0.6rem;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    border: 1px solid rgba(15,23,40,0.06);
    background: rgba(11,61,145,0.03);
    color: var(--primary-color);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.2rem, 3.6vw, 3rem);
    line-height: 1.06;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 580px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.section-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.section-sub {
    max-width: 680px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.6rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 8px 20px rgba(16,24,40,0.04);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16,24,40,0.06);
}

.services-grid,
.sectores-grid,
.product-grid,
.values-grid {
    display: grid;
    gap: 1.5rem;
}

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

.service-icon,
.sector-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(11,61,145,0.06);
    margin-bottom: 1rem;
}

.service-icon svg,
.sector-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 1.8;
}

.glass-card h3,
.glass-card h4 {
    color: var(--text-color);
    margin-bottom: 0.6rem;
}

.sector-item {
    display: grid;
    gap: 1.25rem;
}

.sector-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(15,23,40,0.04);
}

.sector-thumb {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: cover;
    margin: 0.8rem auto 0;
    border-radius: 8px;
    border: 1px solid rgba(15,23,40,0.04);
}

.success-message {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.glass-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.sobre-inner,
.reserva-inner,
.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.valores-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-top: 1.8rem;
}

.valores-list li {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.check-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.4);
    display: grid;
    place-items: center;
}

.check-dot svg {
    width: 12px;
    height: 12px;
    stroke: var(--primary-color);
}

.sector-item,
.product-card {
    text-align: center;
}

.sector-item svg {
    margin-bottom: 1rem;
}

.quote-mark {
    font-size: 4.5rem;
    color: var(--primary-color);
    line-height: 0.7;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #f8fafc;
    margin-bottom: 1.3rem;
}

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

.portfolio-thumb {
    min-height: 180px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    color: rgba(255,255,255,0.9);
}

.portfolio-body {
    padding: 1.5rem;
}

.portfolio-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(236, 72, 153, 0.14);
    color: var(--secondary-color);
    font-size: 0.78rem;
}

.contact-detail,
.form-row {
    display: grid;
    gap: 1rem;
}

.contact-detail {
    grid-template-columns: auto 1fr;
    align-items: center;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-detail svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary-color);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    color: #fff;
    outline: none;
    transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

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

footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 0 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.25s ease;
}

.footer-social a:hover {
    background: rgba(99, 102, 241, 0.18);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
}

@media (max-width: 960px) {
    .hero,
    .sobre-inner,
    .reserva-inner,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    nav {
        padding: 1rem 3%;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 7rem;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .nav-links {
        display: none;
    }
}
