/* ==========================================
   ZADGREK ENGINEERING
   Industrial Premium Style
========================================== */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {

    font-family: "Segoe UI", Arial, sans-serif;

    background: #0b0b0b;

    color: #ffffff;

    line-height: 1.6;

}



/* ==========================================
   HEADER
========================================== */


header {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 25px 8%;

    background: rgba(0,0,0,0.85);

    position: fixed;

    top: 0;

    z-index: 1000;

}



.logo img {
    width: 180px;
    height: auto;
    display: block;
}



nav a {

    color: #ffffff;

    text-decoration: none;

    margin-left: 25px;

    font-size: 15px;

    transition: .3s;

}


nav a:hover {

    color: #d71920;

}



/* ==========================================
   HERO
========================================== */


.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 0 8%;


    background:

    linear-gradient(
    rgba(0,0,0,.75),
    rgba(0,0,0,.85)
    ),

    url("assets/background.jpg");

    background-size: cover;

    background-position: center;

}



.hero-content {

    max-width: 900px;

}



.hero h1 {

    font-size: clamp(40px,5vw,70px);

    line-height: 1.1;

    letter-spacing: 3px;

}



.hero p {

    margin-top: 25px;

    font-size: 20px;

    color: #cccccc;

}



.button {

    display: inline-block;

    margin-top: 35px;

    padding: 15px 35px;

    background: #d71920;

    color:white;

    text-decoration:none;

    font-weight:bold;

    border-radius:4px;

    transition:.3s;

}

.button:hover {

    background:#ffffff;

    color:#000000;

}



/* ==========================================
   GENERAL SECTIONS
========================================== */


section {

    padding:90px 8%;

}



section h2 {

    font-size:40px;

    margin-bottom:35px;

    letter-spacing:2px;

}



section p {

    color:#cccccc;

    max-width:900px;

}



/* ==========================================
   SERVICE CARDS
========================================== */


.cards {

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:25px;

    margin-top:40px;

}



.card {
    background:#111111;
    border:1px solid #262626;
    border-left:4px solid #d71920;

    padding:30px;

    transition:.3s;
    position:relative;
}


.card:hover {

    transform:translateY(-6px);

    border-color:#d71920;

    background:#151515;
}


.card h3 {

    margin-bottom:15px;

    color:#ffffff;

    letter-spacing:1px;

    position:relative;
}

.card h3::after {

    content:"";

    display:block;

    width:35px;

    height:3px;

    background:#d71920;

    margin-top:12px;
}


.card p {

    font-size:15px;

}



/* ==========================================
   PROJECT SECTION
========================================== */


.project {

    background:#111111;

    border-left:5px solid #d71920;

    padding:35px;

}



.project h3 {

    font-size:35px;

}



.project h4 {

    color:#d71920;

    margin:10px 0;

}



/* ==========================================
   CONTACT
========================================== */


#contact {

    background:#111111;

    text-align:center;

}



#contact p {

    margin:10px auto;

}



/* ==========================================
   FOOTER
========================================== */


footer {

    padding:30px;

    text-align:center;

    background:#050505;

    color:#888;

    font-size:14px;

}



/* ==========================================
   MOBILE
========================================== */


@media(max-width:768px) {

header {
    flex-direction:column;
    padding:15px 6%;
}

.logo img {
    width:150px;
}

nav {
    margin-top:12px;

    display:flex;
    flex-wrap:wrap;

    justify-content:center;
    align-items:center;

    gap:8px 16px;

    width:100%;
}

nav a {
    margin:0;
    font-size:13px;
}

@media(max-width:768px) {

    .hero {
        padding: 0 7%;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.05;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 15px;
    }

}
section h2 {
    font-size:32px;
}


.hero h1 {

    font-size:40px;

}


.hero p {

    font-size:16px;

}

section h2 {
    font-size:32px;
}

} /* cierre del @media */

/* ==========================================
   SCROLL ANIMATION
========================================== */


.hidden {

    opacity:0;

    transform:translateY(30px);

    transition:
    opacity .8s ease,
    transform .8s ease;

}


.visible {

    opacity:1;

    transform:translateY(0);

}

.project-image {

    width:100%;

    max-width:900px;

    display:block;

    margin:0 auto 30px;

    border-radius:8px;

}
/* ==========================================
   BOTÓN DE CONTACTO
========================================== */

.btn-contacto {
    display: inline-block;
    margin-top: 35px;
    margin-right: 12px;
    padding: 15px 35px;

    background: #d71920 !important;
    color: #ffffff !important;

    text-decoration: none;
    font-weight: bold;

    border: 2px solid #d71920 !important;
    border-radius: 4px;

    transition: .3s;
}

.btn-contacto:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

/* ==========================================
   CONTACT SECTION
========================================== */

.contact-section {
    background: #111111;
    padding: 100px 8%;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 15px;
}

.contact-intro {
    text-align: center;
    margin: 0 auto 45px;
    color: #cccccc;
    font-size: 18px;
}

/* FORM */

#contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;

    background: #0b0b0b;
    color: #ffffff;

    border: 1px solid #333333;
    border-radius: 4px;

    font-family: inherit;
    font-size: 15px;

    outline: none;
    transition: .3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d71920;
}

.form-group textarea {
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

/* SUBMIT BUTTON */

.contact-submit {
    display: block;

    margin: 15px auto 0;

    padding: 15px 40px;

    background: #d71920;
    color: #ffffff;

    border: 2px solid #d71920;
    border-radius: 4px;

    font-weight: bold;
    font-size: 15px;

    cursor: pointer;

    transition: .3s;
}

.contact-submit:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* MOBILE */

@media(max-width:768px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-section {
        padding: 70px 8%;
    }

}

/* ==========================================
ABOUT SECTION
========================================== */

.about-content {
    max-width: 1100px;
    margin: 0 auto;
}


.about-content > h3 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: 1px;
    margin-bottom: 25px;
    max-width: 900px;
}


.about-lead {
    font-size: 21px;
    line-height: 1.7;
    color: #ffffff;
    max-width: 950px;
    margin-bottom: 25px;
}


.about-content > p:not(.about-lead) {
    max-width: 950px;
    margin-bottom: 40px;
}


.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 35px;
}


.about-block {
    background: #111111;
    border: 1px solid #262626;
    border-left: 4px solid #d71920;
    padding: 30px;
    transition: .3s;
}


.about-block:hover {
    transform: translateY(-5px);
    border-color: #d71920;
}


.about-block h4 {
    color: #d71920;
    margin-bottom: 15px;
    letter-spacing: 1px;
}


.about-block p {
    margin: 0;
    font-size: 15px;
}


.about-tagline {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333333;

    font-size: clamp(20px, 3vw, 30px);
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffffff;

    text-align: center;
}


/* ==========================================
ABOUT MOBILE
========================================== */

@media(max-width:768px) {

    .about-content > h3 {
        font-size: 30px;
    }

    .about-lead {
        font-size: 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-block {
        padding: 25px;
    }

    .about-tagline {
        font-size: 20px;
        line-height: 1.4;
    }

}

/* ==========================================
CTA SECTION
========================================== */

#cta {
    background: #111111;
    padding: 100px 8%;
    text-align: center;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
}


.cta-content {
    max-width: 900px;
    margin: 0 auto;
}


.cta-content h2 {
    font-size: clamp(32px, 5vw, 52px);
    margin-bottom: 20px;
    letter-spacing: 2px;
}


.cta-content p {
    margin: 0 auto;
    font-size: 19px;
    color: #cccccc;
    max-width: 700px;
}


.cta-button {
    display: inline-block;
    margin-top: 35px;
    padding: 15px 35px;

    background: #d71920;
    color: #ffffff;

    text-decoration: none;
    font-weight: bold;

    border: 2px solid #d71920;
    border-radius: 4px;

    transition: .3s;
}


.cta-button:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}


/* ==========================================
CTA MOBILE
========================================== */

@media(max-width:768px) {

    #cta {
        padding: 75px 8%;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 17px;
    }

}

/* ==========================================
MOBILE OVERFLOW FIX
========================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero {
    width: 100%;
    max-width: 100%;
}

.hero-content {
    width: 100%;
    max-width: 900px;
}

.hero h1 {
    width: 100%;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
}

/* ==========================================
   ZADGREK ENERGY — SISTER LINK
========================================== */

.sister-link{
    padding:80px 20px;
    text-align:center;
    background:#050505;
    border-top:1px solid rgba(0,168,255,.18);
}

.sister-link-content{
    max-width:760px;
    margin:0 auto;
}

.sister-link-content > span{
    display:block;
    margin-bottom:12px;
    font-size:.7rem;
    letter-spacing:.18em;
    color:#00a8ff;
    font-weight:700;
}

.sister-link-content h3{
    margin:0 0 12px;
    font-size:2rem;
    color:#fff;
}

.sister-link-content p{
    margin:0 auto 28px;
    max-width:600px;
    color:rgba(255,255,255,.6);
}

.sister-link-button{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 24px;
    border:1px solid #00a8ff;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    letter-spacing:.06em;
    transition:.25s ease;
}

.sister-link-button:hover{
    background:#00a8ff;
    color:#050505;
    box-shadow:0 0 25px rgba(0,168,255,.35);
}

```css
.contact-address {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-address h3 {
    margin-bottom: 18px;
}

.contact-address p {
    line-height: 1.8;
    margin-bottom: 24px;
}

.location-button {
    display: inline-block;
    padding: 12px 26px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.location-button {
    display: inline-block;
    padding: 14px 30px;
    background: #d60000;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    letter-spacing: 0.8px;
    border: 2px solid #d60000;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(214, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.location-button:hover {
    background: #ff0000;
    color: #ffffff !important;
    border-color: #ff0000;
    transform: translateY(-3px);
    box-shadow: 0 0 22px rgba(255, 0, 0, 0.55);
}

