/* =========================
   BASE
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #1a1a1a; /* gris oscuro sólido */
    color: #e6e6e6;
}

/* =========================
   HEADER
   ========================= */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.95);
    border-bottom: 1px solid #333;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-zone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img,
.footer-logo-img {
    width: 52px;
    height: auto;
}

/* TEXTO METÁLICO IGUAL A LA IMAGEN */
.logo-metal {
    font-family: Impact, Haettenschweiler, 'Arial Black', sans-serif;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;

    /* Degradado metálico nítido */
    background: linear-gradient(
        180deg,
        #f5f9ff 0%,   /* azul acero muy claro */
        #c8dcf5 25%,  /* azul metálico claro */
        #5a7fb0 55%,  /* azul metálico medio */
        #1a2d47 100%  /* azul marino profundo */
    );
    -webkit-background-clip: text;
    color: transparent !important;

    /* Borde nítido que elimina el blur */
    -webkit-text-stroke: 1.2px rgba(255,255,255,0.35);
    paint-order: stroke fill;

    /* Sombras suaves (no borrosas) */
    text-shadow:
        0px 0px 6px rgba(255,140,0,0.7),
        0px 0px 12px rgba(255,140,0,0.5);

    /* Forzar nitidez */
    text-rendering: geometricPrecision;
    image-rendering: crisp-edges;
    filter: none !important;
    opacity: 1 !important; 
}

.main-nav a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 10px;
    border-radius: 999px;
    transition: 0.25s;
}

.main-nav a:hover,
.main-nav a.active {
    background: #ff8c00;
    color: #000;
}

/* =========================
   HERO
   ========================= */
.hero {
    max-width: 1200px;
    margin: 24px auto 32px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: stretch;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 16px;
    color: #cfcfcf;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

/* BOTONES */
.btn-primary,
.btn-secondary,
.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.25s;
}

.btn-primary {
    background: #ff8c00;
    color: #000;
    box-shadow: 0 0 18px rgba(255,140,0,0.6);
}

.btn-primary:hover {
    background: #ffb347;
    box-shadow: 0 0 24px rgba(255,140,0,0.8);
}

.btn-secondary {
    background: transparent;
    color: #ff8c00;
    border: 1px solid #ff8c00;
}

.btn-secondary:hover {
    background: rgba(255,140,0,0.15);
}

.btn-link {
    background: transparent;
    color: #ffcc88;
    font-size: 13px;
    padding: 6px 10px;
}

.btn-link:hover {
    color: #ffffff;
}

/* HERO CARDS (FOTOS PRINCIPALES EN AZUL MARINO METÁLICO) */
.hero-image-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #081423, #0d223a); /* azul marino metálico */
    border: 1px solid #0f2a45;
    box-shadow: 0 0 18px rgba(10, 26, 47, 0.8);
}

.hero-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-card-info {
    padding: 14px 14px 14px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.hero-card-info h2 {
    font-size: 18px;
    color: #e6e6e6;
}

.hero-card-info p {
    font-size: 13px;
    color: #cfd9f5;
}

/* =========================
   SECCIONES
   ========================= */
.section-categorias,
.section-contacto,
.section-productos,
.section-hero-inner {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 16px;
}

.section-title {
    font-size: 22px;
    margin-bottom: 16px;
}

/* TARJETAS DE CATEGORÍAS (FOTOS) */
.grid-categorias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.card-cat {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: linear-gradient(145deg, #081423, #0d223a); /* azul marino metálico */
    border: 1px solid #0f2a45;
    box-shadow: 0 0 18px rgba(10, 26, 47, 0.8);
}

.card-cat-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-cat-body {
    padding: 10px 12px 12px;
}

.card-cat-body h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #e6e6e6;
}

.card-cat-body p {
    font-size: 13px;
    color: #cfd9f5;
}

/* PRODUCTOS */
.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.card-prod {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #081423, #0d223a); /* azul marino metálico */
    border: 1px solid #0f2a45;
    box-shadow: 0 0 18px rgba(10, 26, 47, 0.8);
}

.card-prod-photo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-prod-body {
    padding: 10px 12px 12px;
}

.card-prod-body h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #e6e6e6;
}

.card-prod-body p {
    font-size: 13px;
    color: #cfd9f5;
}

.prod-tag {
    margin-top: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffcc88;
}

/* DETALLE HERO (PÁGINAS INTERNAS) */
.inner-page .inner-main {
    padding-top: 16px;
}

.detalle-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 18px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #081423, #0d223a);
    border: 1px solid #0f2a45;
    box-shadow: 0 0 18px rgba(10, 26, 47, 0.8);
}

.detalle-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detalle-hero-text {
    padding: 16px 16px 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.detalle-hero-text h1 {
    font-size: 22px;
}

.detalle-hero-text p {
    font-size: 14px;
    color: #cfd9f5;
}

/* CONTACTO FUTURISTA */
.section-contacto {
    margin-bottom: 40px;
}

.contacto-futurista {
    border-radius: 18px;
    padding: 18px 16px;
    background: #262626;
    border: 1px solid #333;
    box-shadow: 0 0 18px rgba(0,0,0,0.6);
}

.contacto-text {
    font-size: 14px;
    margin-bottom: 12px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.fx-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fx-group label {
    font-size: 13px;
    color: #ffcc88;
}

.fx-group input,
.fx-group textarea {
    background: #333;
    border: 1px solid #555;
    border-radius: 10px;
    padding: 8px 10px;
    color: #fff;
    font-size: 13px;
}

.fx-group input::placeholder,
.fx-group textarea::placeholder {
    color: #aaaaaa;
}

/* =========================
   FOOTER
   ========================= */
.main-footer {
    border-top: 1px solid #333;
    background: #141414;
    padding: 10px 0;
    margin-top: 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-right p {
    font-size: 12px;
    color: #bfbfbf;
}

/* =========================
   BOTONES FLOTANTES
   ========================= */
.floating-buttons {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.float-btn {
    background: rgba(0,0,0,0.85); /* negro con brillo */
    border: 1px solid #ff8c00;
    padding: 8px 14px;
    border-radius: 999px;
    color: #ffcc88;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.25s;
    box-shadow: 0 0 16px rgba(0,0,0,0.8);
}

.float-btn:hover {
    background: #ff8c00;
    color: #000;
    box-shadow: 0 0 22px rgba(255,140,0,0.9);
}

.float-btn img {
    width: 18px;
    height: 18px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-card {
        grid-template-columns: 1fr;
    }

    .detalle-hero {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .logo-metal {
        font-size: 22px;
    }

    .floating-buttons {
        right: 10px;
        bottom: 10px;
    }

    .float-btn {
        padding: 7px 12px;
        font-size: 12px;
    }
}

.logo-metal {
    font-family: Impact, Haettenschweiler, 'Arial Black', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;

    background: linear-gradient(
        180deg,
        #e6f1ff 0%,
        #b7d0f0 30%,
        #4a6a9a 60%,
        #1a2d47 100%
    );
    -webkit-background-clip: text;
    color: transparent !important;

    text-shadow:
        0px 0px 3px rgba(255,140,0,0.8), /
      * brillo fino para definir */
        0px 2px 4px rgba(0, 0, 0,
      0.5);     /* sombra negra suave para 
        separar del fondo */

    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    margin: 18px 0;
    flex-wrap: wrap;
}

.btn-contact {
    background: rgba(0,0,0,0.85);
    border: 1px solid #ff8c00;
    padding: 10px 18px;
    border-radius: 999px;
    color: #ffcc88;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s;
    box-shadow: 0 0 16px rgba(0,0,0,0.8);
}

.btn-contact:hover {
    background: #ff8c00;
    color: #000;
    box-shadow: 0 0 22px rgba(255,140,0,0.9);
}

.language-switch {
    display: flex;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    background: rgba(0,0,0,0.85);
    border: 1px solid #ff8c00;
    color: #ffcc88;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.25s;
}

.lang-btn:hover {
    background: #ff8c00;
    color: #000;
}
