@charset "UTF-8";

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
    --navy:        #0a1628;
    --navy-mid:    #162035;
    --navy-light:  #1e3050;
    --blue:        #1a6db5;
    --gold:        #c8850a;
    --gold-light:  #e8a020;
    --white:       #ffffff;
    --gray-light:  #f4f6f8;
    --gray-mid:    #dde1e8;
    --text-dark:   #111820;
    --text-mid:    #445060;
    --text-muted:  #7a8898;
    --max-w:       1200px;
}

@font-face {
    font-family: "01 DigiGraphics";
    src: url('resources/fonts/01 DigiGraphics.eot');
    src: url('resources/fonts/01 DigiGraphics.woff') format('woff'),
         url('resources/fonts/01 DigiGraphics.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--white);
}

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== HEADER / NAV ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.nav-logo img {
    height: 70px;
    width: auto;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li a {
    display: block;
    padding: 0 1.3rem;
    line-height: 90px;
    color: var(--navy);
    font-size: 0.80rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: rgba(0,0,0,0.02);
}

/* ===== HERO (home) ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 75px);
    background: url('img/foto_portada_1200.jpg') center center / 100% auto no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(10,22,40,0.90) 0%,
        rgba(10,22,40,0.60) 55%,
        rgba(10,22,40,0.20) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1.2rem;
    max-width: 680px;
}

.hero-content .hero-sub {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    background: var(--gold);
    color: var(--white);
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    background: transparent;
    color: var(--navy);
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 2px solid var(--navy-light);
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ===== SECTION COMMONS ===== */
section { padding: 5rem 0; }

.section-label {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.7rem;
}

.section-title {
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 1.8rem;
    line-height: 1.2;
}

.section-text {
    color: var(--text-mid);
    font-size: 0.98rem;
    line-height: 1.78;
    margin-bottom: 1rem;
    max-width: 780px;
}

/* ===== ABOUT SECTION ===== */
.section-about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* ===== PARTNERS SECTION ===== */
.section-partners {
    background: var(--navy);
    padding: 4.5rem 0;
}

.section-partners .section-label {
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 2.8rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.partner-card {
    border: 1px solid rgba(255,255,255,0.10);
    border-top: 3px solid var(--gold);
    padding: 2.2rem 2rem;
    text-align: center;
    transition: background 0.2s;
}

.partner-card:hover {
    background: rgba(255,255,255,0.06);
}

.partner-name {
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.partner-desc {
    font-size: 0.80rem;
    color: rgba(255,255,255,0.48);
    line-height: 1.6;
    letter-spacing: 0.03em;
}

/* ===== SERVICES CARDS ===== */
.section-services-preview {
    background: var(--gray-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2.8rem 0 2rem;
}

.card {
    background: var(--white);
    padding: 2.2rem 1.8rem;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
    border-bottom-color: var(--gold);
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.card-icon {
    font-family: "01 DigiGraphics", monospace;
    font-size: 2rem;
    color: var(--navy-light);
    opacity: 0.45;
    margin-bottom: 1.2rem;
}

.card h3 {
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}

.card p {
    font-size: 0.86rem;
    color: var(--text-mid);
    line-height: 1.65;
}

.cta-center { text-align: center; margin-top: 0.5rem; }

/* ===== CTA BAND ===== */
.section-cta {
    background: var(--navy-light);
    padding: 5rem 0;
    text-align: center;
}

.section-cta .section-title { color: var(--white); }

.section-cta .section-text {
    color: rgba(255,255,255,0.65);
    margin: 0 auto 2.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--navy);
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4.5rem 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    background: #fff;
    padding: 6px 10px;
}

.footer-col > p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.footer-col h4 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.3rem;
}

.footer-col ul li { margin-bottom: 0.55rem; }

.footer-col ul li a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.48);
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 1.3rem 2rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.06em;
}

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner {
    background: var(--navy-mid);
    padding: 4rem 0 3.5rem;
    border-bottom: 3px solid var(--gold);
}

.page-banner .section-label { color: var(--gold-light); }

.page-banner h1 {
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.15;
}

/* ===== CONTENT PAGES ===== */
.page-content { padding: 5rem 0; }

.content-block { max-width: 860px; }

.content-block .section-text { margin-bottom: 1.2rem; }

.content-block h3 {
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 2.8rem 0 0.8rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-mid);
}

.content-block h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.content-block ul.lista-servicios {
    list-style: disc;
    margin: 0.8rem 0 1.2rem 1.8rem;
}

.content-block ul.lista-servicios li {
    font-size: 0.94rem;
    color: var(--text-mid);
    line-height: 1.8;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-mid);
}

.contact-item:first-child { padding-top: 0; }

.contact-label {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.contact-value {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--navy);
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.contact-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    padding: 4rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .about-grid { gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-inner {
        flex-direction: column;
        height: auto;
        padding: 0.8rem 1.5rem;
        gap: 0.2rem;
    }

    .nav-logo img { height: 52px; }

    .main-nav ul { flex-wrap: wrap; justify-content: center; }

    .main-nav ul li a {
        padding: 0.45rem 0.75rem;
        line-height: 1.5;
        font-size: 0.75rem;
        border-bottom: none;
        margin-bottom: 0;
    }

    .hero { min-height: 70vh; }

    .about-grid { grid-template-columns: 1fr; }

    .about-image { display: none; }

    .partners-grid { grid-template-columns: 1fr; gap: 1rem; }

    .cards-grid { grid-template-columns: 1fr; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem 2rem;
    }

    .contact-grid { grid-template-columns: 1fr; gap: 0; }

    .contact-seal { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    section { padding: 3rem 0; }
    .hero-content { padding: 2rem 1.2rem; }
    .page-banner { padding: 2.5rem 0; }
}
