body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #0f172a;
    background: #f8fafc;
}

header {
    background: #061b3a;
    color: white;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    color: white;
    text-decoration: none;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 22px;
    font-size: 14px;
}

.lang a {
    color: #93c5fd;
    margin-left: 10px;
}

.who {
    background: #e0f2fe;
    color: #0f172a;
}

.hero {
    min-height: 78vh;
    background:
        linear-gradient(rgba(6, 27, 58, 0.52), rgba(6, 27, 58, 0.12)),
        url('/images/hero-mountains.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

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

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 22px;
    color: #dbeafe;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 6px;
    background: #0ea5e9;
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-right: 12px;
}

.btn.secondary {
    background: transparent;
    border: 1px solid white;
}

section {
    padding: 80px 8%;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #061b3a;
}

.text {
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
    color: #475569;
}

.grid {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    background: white;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-top: 4px solid #0ea5e9;
    font-weight: bold;
    min-height: 90px;
}

.dark {
    background: #061b3a;
    color: white;
}

.dark .section-title {
    color: white;
}

.dark .text {
    color: #dbeafe;
}

.cta {
    text-align: center;
    background: #0ea5e9;
    color: white;
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 19px;
    margin-bottom: 30px;
}

.cta .btn {
    background: white;
    color: #061b3a;
}

footer {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 25px;
}

@media (max-width: 900px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        text-align: center;
    }

    nav a {
        display: inline-block;
        margin: 6px 10px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 8%;
    }
}

/* products */

.section-subtitle {
    max-width: 760px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.product-card {
    display: block;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.25s ease;
}

.product-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #061b3a;
}

.product-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.center-button {
    text-align: center;
    margin-top: 45px;
}

.products-hero {
    background:
        linear-gradient(rgba(6, 27, 58, 0.70), rgba(6, 27, 58, 0.10)),
        url('/images/hero-mountains-transmission.jpg');
    background-size: cover;
    background-position: center;
}

.product-detail-hero {
    background:
        linear-gradient(rgba(6, 27, 58, 0.84), rgba(6, 27, 58, 0.84)),
        url('/images/background-transmission-faded.jpg');
    background-size: cover;
    background-position: center;
}

.contact-hero {
    background:
        linear-gradient(rgba(6, 27, 58, 0.80), rgba(6, 27, 58, 0.80)),
        url('/images/sala_de_reuniones.png');
    background-size: cover;
    background-position: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 45px;
}

.products-content {
    padding: 80px 8%;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

.info-box,
.form-box,
.panel {
    background: white;
    padding: 36px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.info-item {
    margin-bottom: 28px;
}

.info-item h3 {
    margin-bottom: 8px;
    color: #061b3a;
}

.info-item p,
.info-item a {
    color: #475569;
    text-decoration: none;
    line-height: 1.6;
}

form {
    display: grid;
    gap: 18px;
}

input,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 15px 26px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #0284c7;
}

.products-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.products-list li {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

.product-cta {
    background: #061b3a;
    color: white;
    padding: 36px;
    border-radius: 14px;
}

.product-cta p {
    color: #dbeafe;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .contact-content,
    .product-detail-content {
        grid-template-columns: 1fr;
    }
}

/* MARKETS */
.markets-hero {
    background:
        linear-gradient(rgba(6, 27, 58, 0.24), rgba(6, 27, 58, 0.84)),
        url('/images/parque_solar.png');
    background-size: cover;
    background-position: center;
}

.markets-content {
    padding: 80px 8%;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.market-card {
    background: white;
    padding: 34px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-left: 5px solid #0ea5e9;
}

.market-card h2 {
    margin-top: 0;
    color: #061b3a;
    font-size: 24px;
}

.market-card p {
    color: #475569;
    line-height: 1.7;
}

.market-products {
    margin-top: 22px;
    padding: 18px;
    background: #f1f5f9;
    border-radius: 10px;
    color: #334155;
    line-height: 1.6;
}

.market-products strong {
    display: block;
    margin-bottom: 6px;
    color: #061b3a;
}

@media (max-width: 900px) {
    .markets-grid {
        grid-template-columns: 1fr;
    }
}


/* STANDARDS */
.standards-hero{
    background:
        linear-gradient(rgba(6,27,58,.74), rgba(6,27,58,.84)),
        url('/images/ingenieros_planos.png');
    background-size: cover;
    background-position: center;
}

.standards-content{
    padding:80px 8%;
}

.standards-intro{
    max-width:900px;
    margin:auto;
    text-align:center;
    margin-bottom:60px;
}

.standards-intro p{
    font-size:20px;
    line-height:1.8;
    color:#475569;
}

.standards-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.standard-card{
    background:white;
    padding:30px;
    border-radius:14px;
    box-shadow:0 10px 25px rgba(15,23,42,.08);
    text-align:center;
}

.standard-code{
    font-size:32px;
    font-weight:700;
    color:#0ea5e9;
    margin-bottom:15px;
}

.standard-card h2{
    font-size:18px;
    color:#061b3a;
    min-height:50px;
}

.standard-card p{
    color:#475569;
    line-height:1.7;
}

@media(max-width:1000px){
    .standards-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .standards-grid{
        grid-template-columns:1fr;
    }
}