* {
    box-sizing: border-box
}
:root {
    --orange: #f4511e;
    --orange2: #ff6a21;
    --dark: #111517;
    --text: #17191b;
    --muted: #687078;
    --light: #f5f6f6
}
html {
    scroll-behavior: smooth
}
body {
    margin: 0;
    font-family: Montserrat, Arial, sans-serif;
    color: var(--text);
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1400px, 92%);
    margin: auto
}

.header {
    height: 88px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #eee
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 34px
}

.logo-wrap {
    width: 250px;
    height: 88px;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0
}

.logo-wrap img {
    width: 210px;
    height: auto;
    display: block
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px; 
    flex: 1
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    padding: 50px 0;
    position: relative
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--orange)
}

.main-nav a.active:after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--orange)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 9px;
    padding: 10px 20px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer
}

.btn-orange {
    background: var(--orange2);
    color: #fff;
    box-shadow: 0 8px 25px rgba(244, 81, 30, .2)
}

.btn-orange:hover {
    transform: translateY(-2px)
}

.btn-outline-light {
    border: 1px solid #fff;
    color: #fff;
    background: rgba(0, 0, 0, .12)
}

.header-cta {
    white-space: nowrap
}

.wa {
    font-size: 21px
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 25px
}

.hero {
    height: 520px;
    position: relative;
    overflow: hidden;
    background: #101517;
    color: #fff
}

/*.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 7, 8, .93) 0%, rgba(4, 7, 8, .78) 39%, rgba(4, 7, 8, .12) 75%), linear-gradient(135deg, #222 0%, #111 50%, #7a2e13 100%)
}*/
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 7, 8, 0.78) 0%,
            rgba(4, 7, 8, 0.50) 45%,
            rgba(4, 7, 8, 0.15) 100%
        ),
        url("assets/hero.png") center center / cover no-repeat;
}
/*
.hero-bg:after {
    content: "";
    position: absolute;
    right: -5%;
    top: -20%;
    width: 65%;
    height: 140%;
    background: radial-gradient(circle at 30% 45%, rgba(255, 104, 25, .45), transparent 35%), linear-gradient(130deg, transparent 35%, rgba(255, 255, 255, .07) 36%, transparent 38%), linear-gradient(160deg, #263037, #0f1517 65%);
    transform: skewX(-8deg)
}
*/


.wa-icon {
  width: 30px;
  height: 30px;
  display: inline-block;
  flex-shrink: 0;
  color: #ffffff;
  vertical-align: middle;
}

.header-cta .wa-icon {
  width: 30px;
  height: 30px;
  margin-right: 2px;
}

.header-cta {
  gap: 10px;
}


.hero-content {
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center
}

.hero-copy {
    max-width: 680px
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .24em;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 16px
}

.eyebrow.light {
    color: #ff7130
}

.hero h1 {
    font-size: 68px;
    line-height: 1.02;
    margin: 0 0 20px;
    font-weight: 800;
    letter-spacing: -.045em
}

.hero h1 strong {
    color: var(--orange2)
}

.hero p {
    font-size: 19px;
    line-height: 1.55;
    max-width: 610px;
    color: #e8eaeb
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap
}

.trust-bar {
    background: #101618;
    color: #fff;
    border-bottom: 1px solid #2c3336
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 23px 25px;
    border-right: 1px solid #343b3e
}

.trust-item:last-child {
    border-right: 0
}

.trust-icon {
    color: var(--orange);
    font-size: 28px;
    width: 34px;
    text-align: center
}

.trust-item strong,
.trust-item small {
    display: block
}

.trust-item strong {
    font-size: 13px
}

.trust-item small {
    color: #aeb5b8;
    font-size: 11px;
    margin-top: 4px
}

.section {
    padding: 90px 0
}

.services-section {
    background: #fff
}

.section-heading {
    margin-bottom: 42px
}

.section-heading.split {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 70px;
    align-items: end
}

.section-heading h2,
.about-section h2,
.faq-section h2 {
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -.04em;
    margin: 0
}

.section-heading h2 strong,
.about-section h2 strong,
.faq-section h2 strong {
    color: var(--orange)
}

.section-heading p {
    color: #626b72;
    line-height: 1.6;
    margin: 0
}

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

.service-card {
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 24px rgba(20, 25, 28, .08);
    border: 1px solid #eee;
    transition: .2s
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(20, 25, 28, .14)
}

.service-photo {
    height: 205px;
    background-size: cover;
    background-position: center;
    position: relative
}

.service-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .24))
}

.windshield {
    background-image: url("assets/parabrisas.jpg");
}

.truck {
    background-image: url("assets/accesorios.jpg");
}

.security {
    background-image: url("assets/seguridad.jpg");
}

.audio {
    background-image: url("assets/audio.jpg");
}

.camera {
    background-image: url("assets/caja-6.jpg");
}

.locksmith {
    background-image: url("assets/caja-7-.jpg");
}

.windows {
    background-image: url("assets/caja-2.png");
}

.hitch {
    background-image: url("assets/caja-5-.jpg");
}

.service-body {
    padding: 18px 18px 20px
}

.service-body h3 {
    font-size: 16px;
    line-height: 1.35;
    min-height: 44px;
    margin: 0 0 17px
}

.service-body a,
.product-grid a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #e4e4e4;
    border-radius: 30px;
    padding: 10px 15px
}

.work-section {
    padding: 88px 0;
    background: #15191b;
    color: #fff
}

.work-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px
}

.work-heading h2 {
    font-size: 47px;
    margin: 0 0 35px
}

.work-heading h2 strong {
    color: var(--orange)
}

.work-heading p {
    max-width: 430px;
    color: #aeb6b9;
    margin-bottom: 35px
}

.work-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px
}

.work-image {
    height: 320px;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(145deg, #5d686c, #222);
    position: relative;
    overflow: hidden
}

.work-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 35%, rgba(244, 81, 30, .5), transparent 28%)
}

.work-image span {
    position: relative;
    z-index: 2;
    font-weight: 800;
    font-size: 18px
}

.companies-section {
    background: #202527;
    color: #fff;
    padding: 95px 0
}

.companies-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 100px;
    align-items: center
}

.companies-section h2 {
    font-size: 50px;
    line-height: 1.08;
    margin: 0 0 22px;
    letter-spacing: -.04em
}

.companies-section h2 strong {
    color: var(--orange)
}

.companies-section p {
    color: #bfc5c7;
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: 30px
}

.company-points {
    background: #292f31
}

.company-points div {
    padding: 25px;
    border-bottom: 1px solid #414749;
    display: flex;
    gap: 25px
}

.company-points div:last-child {
    border-bottom: 0
}

.company-points b {
    color: var(--orange);
    font-size: 13px
}

.company-points span {
    color: #d7dbdc
}

.form-section {
    background: #f5f6f6
}

.form-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px
}

.form-grid h2 {
    font-size: 46px;
    line-height: 1.1;
    margin: 0 0 18px
}

.form-grid h2 strong {
    color: var(--orange)
}

.form-grid p {
    color: #697176;
    line-height: 1.6
}

form {
    display: grid;
    gap: 13px
}

input,
textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    font: inherit;
    background: #fff;
    outline: none
}

input:focus,
textarea:focus {
    border-color: var(--orange)
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

.products-section {
    background: #fff
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.product-grid article {
    border: 1px solid #eee;
    border-radius: 9px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05)
}

.product-photo {
    height: 230px;
    border-radius: 6px;
    margin-bottom: 20px
}

.p1 {
    background: linear-gradient(145deg, #d8d7d0, #7b8382 45%, #222)
}

.p2 {
    background: linear-gradient(145deg, #12181b, #4f5c62 50%, #131718)
}

.p3 {
    background: linear-gradient(145deg, #2d3436, #a8aa9f 45%, #1b1e20)
}

.product-grid h3 {
    margin: 0 0 8px
}

.product-grid p {
    color: #687177;
    min-height: 45px
}

.product-grid a {
    margin-top: 20px
}

.about-section {
    background: #f4f5f4
}

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

.about-photo {
    height: 480px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08)
}

.about-photo img {
    width: 82%;
    height: auto
}

.about-section p {
    color: #667075;
    line-height: 1.7;
    max-width: 600px
}

.narrow {
    max-width: 900px
}

.faq-section details {
    border-top: 1px solid #ddd;
    padding: 22px 0
}

.faq-section summary {
    font-weight: 700;
    cursor: pointer
}

.faq-section details p {
    color: #687177;
    line-height: 1.6
}

.contact-section {
    background: var(--orange);
    color: #fff;
    padding: 95px 0
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 100px
}

.contact-section h2 {
    font-size: 58px;
    line-height: 1.05;
    margin: 0 0 20px
}

.contact-section h2 strong {
    color: #17191b
}

.contact-section p {
    max-width: 580px;
    line-height: 1.6
}

.contact-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 35px
}

.contact-data div {
    border-top: 1px solid rgba(255, 255, 255, .4);
    padding-top: 12px
}

.contact-data b,
.contact-data span {
    display: block
}

.contact-data span {
    font-size: 13px;
    opacity: .8;
    margin-top: 3px
}

.contact-section form {
    background: #fff;
    padding: 25px;
    border-radius: 8px
}

.contact-section form .btn {
    width: 100%
}

footer {
    background: #101314;
    color: #9ca3a6;
    padding: 30px 0
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px
}

.footer-inner img {
    width: 150px;
    height: auto;
    filter: grayscale(1) brightness(3)
}

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #171a1b;
    color: #fff;
    padding: 15px 20px;
    border-radius: 7px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: .25s;
    z-index: 100
}

.toast.show {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:1050px) {
    .main-nav {
        gap: 18px
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .trust-item {
        padding: 18px
    }

    .hero h1 {
        font-size: 57px
    }
}

@media(max-width:800px) {
    .header {
        height: 72px
    }

    .logo-wrap {
        width: 180px;
        height: 72px
    }

    .logo-wrap img {
        width: 155px
    }

    .menu-toggle {
        display: block;
        margin-left: auto
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 15px 5%;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .08)
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        padding: 13px 0;
        width: 100%
    }

    .main-nav a.active:after {
        display: none
    }

    .header-cta {
        display: none
    }

    .hero {
        height: auto;
        min-height: 570px
    }

    .hero h1 {
        font-size: 50px
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .trust-item {
        border-bottom: 1px solid #343b3e
    }

    .section-heading.split,
    .companies-grid,
    .form-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .work-heading {
        display: block
    }

    .work-grid {
        grid-template-columns: 1fr
    }

    .work-image {
        height: 220px
    }

    .product-grid {
        grid-template-columns: 1fr
    }

    .contact-section h2 {
        font-size: 46px
    }
}

@media(max-width:520px) {
    .container {
        width: 90%
    }

    .hero h1 {
        font-size: 43px
    }

    .hero p {
        font-size: 16px
    }

    .hero-actions .btn {
        width: 100%
    }

    .trust-grid {
        grid-template-columns: 1fr
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 65px 0
    }

    .section-heading h2,
    .form-grid h2,
    .companies-section h2 {
        font-size: 36px
    }

    .contact-data {
        grid-template-columns: 1fr
    }

    .footer-inner {
        display: grid;
        gap: 12px
    }
}

/* Imágenes reales de la carpeta assets: integración puntual sin alterar el diseño */
.work-image {
    background-size: cover;
    background-position: center;
}
.work-image.work-1 {
    background-image: url("assets/hero.png");
}
.work-image.work-2 {
    background-image: url("assets/Instalacion.jpg");
}
.work-image.work-3 {
    background-image: url("assets/resultado.jpg");
}
.product-photo {
    background-size: cover;
    background-position: center;
}
.product-photo.p1 {
    background-image: url("assets/accesorios.jpg");
}
.product-photo.p2 {
    background-image: url("assets/audio.jpg");
}
.product-photo.p3 {
    background-image: url("assets/seguridad.jpg");
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Enlaces de contacto y redes sociales */
.contact-data a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .55);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.contact-data a:hover { text-decoration-color: currentColor; }

.footer-inner { flex-wrap: wrap; }
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease;
}
.social-links a:hover { color: var(--orange2); }
.social-links svg { width: 21px; height: 21px; display: block; }

@media (max-width: 520px) {
  .social-links { flex-wrap: wrap; gap: 14px; }
  .social-links a { font-size: 11px; }

@media (max-width: 768px) {
  .hero {
    padding-top: 12px;
  }

  .hero-content {
    padding-top: 8px;
  }
}
}
