/* =========================================================
   RESET & BASE
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Metallic palette */
    --metal-dark:      #1c1f24;
    --metal-darker:    #121417;
    --metal-mid:       #2c3038;
    --metal-steel:     #4a5058;
    --metal-light:     #7a828c;
    --metal-silver:    #c7ccd3;
    --metal-shine:     #e8ebef;
    --metal-white:     #f5f7fa;
    --metal-accent:    #b8bfc7;
    --metal-highlight: #d9dee4;

    --text-dark:  #1a1c20;
    --text-mid:   #4a5058;
    --text-light: #e8ebef;

    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --shadow-sm: 0 2px 6px rgba(0,0,0,.15);
    --shadow-md: 0 6px 18px rgba(0,0,0,.25);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.35);

    --radius: 6px;
    --transition: all .3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--metal-white);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .5px;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-align: center;
    margin-bottom: 18px;
    color: var(--metal-dark);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 14px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--metal-steel), var(--metal-silver), var(--metal-steel));
    border-radius: 3px;
}

.section-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 40px;
    color: var(--text-mid);
    font-size: 1.02rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: var(--font-head);
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(180deg, var(--metal-silver) 0%, var(--metal-steel) 100%);
    color: var(--metal-dark);
    border-color: var(--metal-shine);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: linear-gradient(180deg, var(--metal-shine) 0%, var(--metal-silver) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--metal-shine);
    border-color: var(--metal-silver);
}
.btn-outline:hover {
    background: var(--metal-silver);
    color: var(--metal-dark);
}

.btn-block { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(28, 31, 36, .96);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--metal-steel);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--metal-shine);
    font-family: var(--font-head);
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.logo-mark {
    height: 150px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    /* Efecto metálico sutil sobre el logo */
    filter: drop-shadow(0 0 4px rgba(199, 204, 211, 0.35));
    transition: var(--transition);
}

.logo:hover .logo-mark {
    filter: drop-shadow(0 0 8px rgba(232, 235, 239, 0.6));
    transform: scale(1.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--metal-shine);
    font-family: var(--font-head);
    font-size: 1.05rem;
    letter-spacing: 1px;
    line-height: 1.15;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-brand {
    font-family: var(--font-head);
    font-size: 1.45rem;      /* ← aquí controlas el tamaño de Global PROES */
    font-weight: 700;
    color: var(--metal-shine);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--metal-silver);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 4px;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .logo-text { display: none; }
    .logo-mark { height: 34px; }
}


.main-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: var(--metal-silver);
    font-size: .92rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover { color: var(--metal-shine); }

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--metal-silver);
    transition: width .3s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-cta {
    background: linear-gradient(180deg, var(--metal-silver), var(--metal-steel));
    color: var(--metal-dark) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
}
.nav-cta:hover {
    background: linear-gradient(180deg, var(--metal-shine), var(--metal-silver));
}

.header-phone {
    display: none;
    color: var(--metal-shine);
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.mobile-toggle span {
    display: block;
    height: 3px;
    background: var(--metal-silver);
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--metal-shine);
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,20,23,.92) 0%, rgba(44,48,56,.85) 60%, rgba(18,20,23,.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 4px 18px rgba(0,0,0,.6);
}
.hero h1 span {
    background: linear-gradient(90deg, var(--metal-shine), var(--metal-silver), var(--metal-steel));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--metal-silver);
    margin-bottom: 32px;
    max-width: 730px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(199,204,211,.3);
}
.trust-item {
    font-size: .9rem;
    color: var(--metal-silver);
    font-weight: 500;
}

/* =========================================================
   SECTIONS GENERAL
   ========================================================= */
.section { padding: 80px 0; }

.what-we-do { background: var(--metal-white); }
.services   { background: linear-gradient(180deg, #eef1f4 0%, #e2e6ea 100%); }
.machines   { background: var(--metal-dark); color: var(--metal-shine); }
.materials  { background: var(--metal-highlight); }
.why-us     { background: linear-gradient(180deg, #e2e6ea 0%, #d7dce1 100%); }
.gallery    { background: var(--metal-white); }
.process    { background: var(--metal-dark); color: var(--metal-shine); }
.faq        { background: var(--metal-white); }
.quote      { background: linear-gradient(180deg, #eef1f4 0%, #e2e6ea 100%); }
.contact    { background: var(--metal-highlight); }

.machines .section-title,
.process .section-title { color: var(--metal-shine); }
.machines .section-title::after,
.process .section-title::after { background: linear-gradient(90deg, var(--metal-steel), var(--metal-shine), var(--metal-steel)); }
.machines .section-intro,
.process .section-intro { color: var(--metal-silver); }

/* =========================================================
   CAPABILITIES
   ========================================================= */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.cap-card {
    background: linear-gradient(160deg, #f5f7fa 0%, #dde2e7 100%);
    border: 1px solid var(--metal-silver);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.cap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--metal-steel);
}
.cap-icon { font-size: 2.4rem; margin-bottom: 14px; }
.cap-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--metal-dark);
    text-transform: uppercase;
}
.cap-card p { color: var(--text-mid); font-size: .95rem; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--metal-white);
    border: 1px solid #cfd5db;
    border-top: 4px solid var(--metal-steel);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    border-top-color: var(--metal-dark);
    transform: translateY(-4px);
}

.service-icon { font-size: 2rem; margin-bottom: 14px; }

.service-card h3 {
    font-size: 1.2rem;
    color: var(--metal-dark);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.service-desc {
    font-size: .94rem;
    color: var(--text-mid);
    margin-bottom: 16px;
}

.service-card ul {
    margin: 0 0 16px 0;
    padding-left: 0;
}
.service-card ul li {
    position: relative;
    padding-left: 20px;
    font-size: .9rem;
    color: var(--text-mid);
    margin-bottom: 8px;
    line-height: 1.5;
}
.service-card ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--metal-steel);
    font-weight: bold;
}

.service-materials,
.service-highlight {
    font-size: .88rem;
    background: #eef1f4;
    border-left: 3px solid var(--metal-steel);
    padding: 12px 14px;
    border-radius: 4px;
    color: var(--text-dark);
}

/* =========================================================
   MACHINES
   ========================================================= */
.machines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.machine-card {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--metal-steel);
    border-radius: var(--radius);
    padding: 32px 28px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.machine-card:hover { border-color: var(--metal-silver); }

.machine-card h3 {
    font-size: 1.25rem;
    color: var(--metal-shine);
    margin-bottom: 18px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--metal-steel);
    padding-bottom: 12px;
}

.machine-card ul li {
    font-size: .93rem;
    color: var(--metal-silver);
    padding: 6px 0;
    border-bottom: 1px dashed rgba(199,204,211,.2);
}
.machine-card ul li:last-child { border-bottom: none; }

/* =========================================================
   MATERIALS
   ========================================================= */
.materials-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.materials-list li {
    background: var(--metal-white);
    border: 1px solid var(--metal-silver);
    border-left: 4px solid var(--metal-steel);
    padding: 14px 18px;
    font-size: .95rem;
    color: var(--text-dark);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.materials-list li:hover {
    border-left-color: var(--metal-dark);
    transform: translateX(4px);
}

/* =========================================================
   WHY US
   ========================================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.why-card {
    background: var(--metal-white);
    border: 1px solid var(--metal-silver);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--metal-steel);
}
.why-card h3 {
    font-size: 1.1rem;
    color: var(--metal-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.why-card p { color: var(--text-mid); font-size: .93rem; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    border: 2px solid var(--metal-silver);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    transition: var(--transition);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover {
    border-color: var(--metal-steel);
    box-shadow: var(--shadow-md);
}
.gallery-item:hover img { transform: scale(1.08); }

/* =========================================================
   PROCESS
   ========================================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.step {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--metal-steel);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}
.step:hover {
    border-color: var(--metal-silver);
    transform: translateY(-4px);
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--metal-silver), var(--metal-steel));
    color: var(--metal-dark);
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.step h3 {
    font-size: 1rem;
    color: var(--metal-shine);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.step p { font-size: .88rem; color: var(--metal-silver); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}
.faq-item {
    background: var(--metal-white);
    border: 1px solid var(--metal-silver);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 22px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--metal-dark);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}
.faq-question:hover { background: #eef1f4; }
.faq-arrow {
    font-size: 1rem;
    transition: transform .3s ease;
    color: var(--metal-steel);
}
.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s ease;
    padding: 0 22px;
    background: #f5f7fa;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 18px 22px;
}
.faq-answer p {
    font-size: .93rem;
    color: var(--text-mid);
}

/* =========================================================
   QUOTE FORM
   ========================================================= */
.quote-form {
    max-width: 780px;
    margin: 0 auto;
    background: var(--metal-white);
    border: 1px solid var(--metal-silver);
    border-top: 4px solid var(--metal-steel);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-head);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--metal-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: .95rem;
    padding: 12px 14px;
    border: 1px solid var(--metal-silver);
    border-radius: 4px;
    background: #fff;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--metal-steel);
    box-shadow: 0 0 0 3px rgba(74,80,88,.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-message {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: .93rem;
    display: none;
    text-align: center;
    font-weight: 500;
}
.form-message.success {
    display: block;
    background: #e3f0e6;
    border: 1px solid #7fb98a;
    color: #225a2f;
}
.form-message.error {
    display: block;
    background: #f5e0dd;
    border: 1px solid #c98a7f;
    color: #7a2a1f;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}
.contact-info p {
    font-size: .98rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.contact-info a {
    color: var(--metal-steel);
    font-weight: 600;
    transition: var(--transition);
}
.contact-info a:hover { color: var(--metal-dark); }
.contact-note {
    margin-top: 18px;
    padding: 14px 16px;
    background: var(--metal-white);
    border-left: 4px solid var(--metal-steel);
    border-radius: 4px;
    font-size: .9rem;
    color: var(--text-mid);
}
.contact-map iframe {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--metal-silver) !important;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--metal-darker);
    color: var(--metal-silver);
    padding: 36px 0 24px;
    border-top: 3px solid var(--metal-steel);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}
.footer-brand {
    font-family: var(--font-head);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--metal-shine);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.footer-nav a {
    font-size: .9rem;
    color: var(--metal-silver);
    transition: var(--transition);
}
.footer-nav a:hover { color: var(--metal-shine); }
.footer-copy {
    font-size: .82rem;
    color: var(--metal-light);
    border-top: 1px solid rgba(199,204,211,.15);
    padding-top: 16px;
    width: 100%;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
    .header-phone { display: inline-block; }
}

@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 340px;
        height: 100vh;
        background: var(--metal-dark);
        padding: 90px 30px 30px;
        transition: right .35s ease;
        box-shadow: -8px 0 24px rgba(0,0,0,.4);
        z-index: 1100;
    }
    .main-nav.open { right: 0; }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }
    .main-nav a { font-size: 1.05rem; }
    .nav-cta { display: inline-block; }

    .mobile-toggle { display: flex; z-index: 1200; }
    .mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .header-phone { display: none; }
    .logo-text { font-size: .9rem; }
}

@media (max-width: 760px) {
    .section { padding: 60px 0; }

    .form-row { grid-template-columns: 1fr; gap: 0; }

    .contact-grid { grid-template-columns: 1fr; gap: 28px; }

    .hero { min-height: auto; padding: 70px 0 60px; }

    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }

    .quote-form { padding: 26px 20px; }

    .trust-bar { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.4rem; }
    .hero h1 { font-size: 1.7rem; }
    .logo-text { display: none; }
    .services-grid { grid-template-columns: 1fr; }
}