:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --yellow: #f5a800;
  --yellow2: #ffc41a;
  --white: #f5f5f5;
  --gray: #888;
  --gray2: #555;
  --border: rgba(245,168,0,0.2);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: 'Barlow', sans-serif; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TOP STRIPE ===== */
.top-stripe { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; height: 4px; background: repeating-linear-gradient(90deg, var(--yellow) 0, var(--yellow) 20px, #000 20px, #000 40px); }

/* ===== NAVBAR ===== */
#navbar { position: fixed; top: 4px; left: 0; right: 0; z-index: 1000; background: rgba(10,10,10,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: background .3s ease; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; max-width: 1400px; margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 68px; width: auto; object-fit: contain; }
.nav-brand { display: none; }
.nav-brand span:first-child { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px; color: var(--white); }
.nav-brand span.maq { color: var(--yellow); }
.nav-brand-sub { font-size: 9px; letter-spacing: 3px; color: var(--gray); text-transform: uppercase; margin-top: 2px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; padding: 8px 14px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); cursor: pointer; transition: color .2s; }
.nav-item:hover, .nav-item.active { color: var(--yellow); }
.nav-item.has-sub::after { content: '▾'; margin-left: 4px; font-size: 10px; }
.nav-sub { display: none; position: absolute; top: 100%; left: 0; background: var(--dark2); border: 1px solid var(--border); min-width: 210px; z-index: 100; }
.nav-item:hover .nav-sub { display: block; }
.nav-sub a { display: block; padding: 10px 18px; font-size: 12px; letter-spacing: 1px; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background .2s, color .2s; }
.nav-sub a:hover { background: rgba(245,168,0,0.1); color: var(--yellow); }
.nav-cta { background: var(--yellow); color: var(--black) !important; padding: 10px 22px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all .2s; border: none; clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); }
.nav-cta:hover { background: var(--yellow2); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 26px; height: 2px; background: var(--white); transition: all .3s; display: block; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--dark); z-index: 999; padding: 100px 24px 40px; overflow-y: auto; transform: translateX(-100%); transition: transform .35s ease; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 2px; color: var(--white); transition: color .2s; }
.mobile-menu a:hover { color: var(--yellow); }
.mobile-menu .sub-label { display: block; font-size: 11px; color: var(--gray); letter-spacing: 3px; text-transform: uppercase; padding: 12px 0 4px 16px; }
.mobile-menu .sub-link { font-size: 20px !important; padding-left: 24px !important; }

/* ===== PAGE WRAPPER ===== */
.page-wrapper { padding-top: 84px; min-height: 100vh; }

/* ===== SECTION LABELS & TITLES ===== */
.section-label { display: inline-flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.section-label::before { content: ''; width: 40px; height: 2px; background: var(--yellow); }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,5vw,60px); letter-spacing: 2px; line-height: 1; margin-bottom: 16px; }
.section-title span { color: var(--yellow); }
.section-sub { color: var(--gray); font-size: 16px; line-height: 1.7; max-width: 600px; }

/* ===== BUTTONS ===== */
.btn-primary { background: var(--yellow); color: var(--black); padding: 14px 32px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all .25s; border: none; display: inline-block; clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); }
.btn-primary:hover { background: var(--yellow2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,168,0,0.3); }
.btn-outline { border: 2px solid rgba(245,245,245,0.3); color: var(--white); padding: 12px 30px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all .25s; background: transparent; display: inline-block; }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-sm { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); border: 1px solid rgba(245,168,0,0.4); padding: 6px 14px; background: transparent; cursor: pointer; transition: all .2s; }
.btn-sm:hover { background: rgba(245,168,0,0.1); }

/* ===== PAGE HERO ===== */
.page-hero { position: relative; min-height: 300px; display: flex; align-items: center; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.2) contrast(1.1); }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,0.97) 50%, rgba(17,17,17,0.6) 100%); }
.page-hero-bg.pattern::before { content: ''; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(245,168,0,0.02) 40px, rgba(245,168,0,0.02) 42px); }
.page-hero-content { position: relative; z-index: 2; padding: 60px 0; }
.breadcrumb { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); margin-bottom: 16px; }
.breadcrumb span { color: var(--yellow); }
.page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px,6vw,76px); letter-spacing: 2px; line-height: 0.95; margin-bottom: 16px; }
.page-hero h1 span { color: var(--yellow); }
.page-hero p { color: var(--gray); font-size: 16px; line-height: 1.7; max-width: 600px; }

/* ===== CONTENT SECTIONS ===== */
.content-section { padding: 80px 0; }
.bg-dark { background: var(--dark); }
.bg-black { background: var(--black); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.content-img { position: relative; }
.content-img img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center top; }
.content-img::before { content: ''; position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px; border: 2px solid var(--yellow); opacity: 0.3; z-index: -1; }
.yellow-line { width: 60px; height: 3px; background: var(--yellow); margin-bottom: 20px; }
.content-text h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(32px,4vw,52px); letter-spacing: 2px; margin-bottom: 16px; line-height: 1; }
.content-text h2 span { color: var(--yellow); }
.content-text p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(245,245,245,0.85); }
.feature-list li::before { content: '▶'; color: var(--yellow); font-size: 9px; flex-shrink: 0; }

/* ===== BENEFIT CARDS ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); margin-top: 60px; }
.benefit-card { background: var(--dark); padding: 40px 32px; border-bottom: 3px solid transparent; transition: all .3s; }
.benefit-card:hover { border-bottom-color: var(--yellow); background: #151515; }
.benefit-icon { width: 52px; height: 52px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; background: rgba(245,168,0,0.1); color: var(--yellow); font-size: 22px; }
.benefit-title { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.benefit-text { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ===== SERVICE CARDS ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; margin-top: 50px; }
.service-card { background: var(--dark); border: 1px solid rgba(255,255,255,0.06); padding: 36px 32px; transition: all .3s; }
.service-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.service-card-icon { width: 56px; height: 56px; background: rgba(245,168,0,0.1); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--yellow); margin-bottom: 20px; }
.service-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ===== COURSE CARDS (home highlight) ===== */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 24px; }
.course-card { background: var(--dark); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; transition: all .3s; display: flex; flex-direction: column; }
.course-card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.course-card-img { height: 200px; overflow: hidden; position: relative; background: #f8f8f8; display:flex; align-items:center; justify-content:center; flex-shrink: 0; }
.course-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .4s; }
.course-card:hover .course-card-img img { transform: scale(1.05); }
.course-card-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 30px; background: linear-gradient(transparent, #f8f8f8); }
.course-card-body { padding: 20px 24px; }
.course-tag { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.course-card-title { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; line-height: 1.2; }
.course-card-desc { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.course-meta { display: flex; align-items: center; justify-content: space-between; }
.course-duration { font-size: 12px; color: var(--yellow); font-weight: 600; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px; }

/* ===== CATALOG CARDS ===== */
.filter-bar { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--gray); transition: all .2s; }
.filter-btn.active { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.filter-btn:hover:not(.active) { border-color: var(--yellow); color: var(--yellow); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 24px; }
.catalog-card { background: var(--dark); border: 1px solid rgba(255,255,255,0.06); overflow: hidden; transition: all .3s; cursor: pointer; }
.catalog-card:hover { border-color: var(--yellow); }
.catalog-card.hidden { display: none; }
.catalog-card-img { height: 220px; overflow: hidden; background: #f8f8f8; display:flex; align-items:center; justify-content:center; flex-shrink: 0; }
.catalog-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .4s; }
.catalog-card:hover .catalog-card-img img { transform: scale(1.05); }
.catalog-card-body { padding: 24px; }
.catalog-cat { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; font-family: 'Barlow Condensed', sans-serif; }
.catalog-title { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; line-height: 1.1; }
.catalog-desc { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.catalog-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
.catalog-dur { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--yellow); }

/* ===== MODAL ===== */
.catalog-modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; padding: 24px; }
.catalog-modal.open { display: flex; }
.modal-box { background: var(--dark); max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; border: 1px solid var(--border); }
.modal-header { background: var(--yellow); color: var(--black); padding: 24px 28px; position: relative; }
.modal-title { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 2px; }
.modal-subtitle { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.modal-close { position: absolute; top: 16px; right: 20px; cursor: pointer; font-size: 22px; color: var(--black); font-weight: 700; }
.modal-body { padding: 28px; }
.modal-img { width: 100%; height: 220px; object-fit: contain; margin-bottom: 20px; background: #1a1a1a; padding: 10px; }
.modal-section-title { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; margin-top: 20px; }
.modal-list { list-style: none; }
.modal-list li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; color: rgba(245,245,245,0.8); display: flex; gap: 10px; }
.modal-list li::before { content: '—'; color: var(--yellow); flex-shrink: 0; }
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.modal-tag { background: rgba(245,168,0,0.1); border: 1px solid rgba(245,168,0,0.3); padding: 4px 12px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--yellow); font-family: 'Barlow Condensed', sans-serif; }

/* ===== TRUST BAR ===== */
.trust-bar { padding: 80px 0; background: linear-gradient(135deg, var(--yellow) 0%, #e09500 100%); position: relative; overflow: hidden; }
.trust-bar::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg,transparent,transparent 20px,rgba(0,0,0,0.05) 20px,rgba(0,0,0,0.05) 22px); }
.trust-bar-inner { position: relative; z-index: 1; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(0,0,0,0.15); margin-top: 40px; }
.trust-item { background: rgba(0,0,0,0.1); padding: 32px 24px; text-align: center; }
.trust-num { font-family: 'Bebas Neue', sans-serif; font-size: 56px; color: var(--black); letter-spacing: 2px; display: block; }
.trust-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(0,0,0,0.7); }

/* ===== CLIENTS ===== */
.clients-section { padding: 80px 0; background: var(--dark2, #111); }
.clients-section .section-label::before { background: var(--yellow); }
.clients-section .section-label { color: var(--gray); }
.clients-section .section-title { color: var(--white); }
.clients-section .section-sub { color: var(--gray); }
.logos-track-wrap { overflow: hidden; margin-top: 50px; position: relative; padding: 20px 0; }
.logos-track-wrap::before, .logos-track-wrap::after { display: none; }
.logos-track { display: flex; gap: 70px; align-items: center; animation: marquee 35s linear infinite; width: max-content; padding: 10px 0; }
.logos-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.client-logo-wrap { display: flex; align-items: center; justify-content: center; width: 520px; height: 260px; flex-shrink: 0; filter: none; transition: transform .3s ease, filter .3s ease; cursor: pointer; }
.client-logo-wrap:hover { transform: scale(1.15); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15)); }
.client-logo-wrap img { max-width: 100%; max-height: 220px; object-fit: contain; }

/* ===== CTA BLOCK ===== */
.cta-block { padding: 100px 0; background: var(--dark); position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(245,168,0,0.08) 0%, transparent 60%); }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px,5vw,70px); letter-spacing: 2px; margin-bottom: 16px; }
.cta-title span { color: var(--yellow); }
.cta-sub { color: var(--gray); font-size: 16px; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== PROCESS STEPS ===== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 1px; background: var(--border); margin-top: 50px; }
.process-step { background: var(--dark); padding: 32px 24px; position: relative; }
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 60px; color: rgba(245,168,0,0.15); position: absolute; top: 16px; right: 16px; line-height: 1; }
.step-title { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; margin-top: 10px; }
.step-text { color: var(--gray); font-size: 13px; line-height: 1.6; }

/* ===== CERTIF TABS ===== */
.certif-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 50px; }
.certif-tab { padding: 14px 32px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s; color: var(--gray); }
.certif-tab.active { color: var(--yellow); border-bottom-color: var(--yellow); }
.certif-panel { display: none; }
.certif-panel.active { display: block; }

/* ===== INSPECTION STEPS ===== */
.insp-steps { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 24px; margin-top: 50px; }
.insp-step { background: var(--dark); padding: 32px 24px; border-top: 3px solid transparent; transition: border-color .3s; }
.insp-step:hover { border-top-color: var(--yellow); }
.insp-step-n { font-family: 'Bebas Neue', sans-serif; font-size: 48px; color: rgba(245,168,0,0.2); margin-bottom: 8px; }
.insp-step h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.insp-step p { color: var(--gray); font-size: 13px; line-height: 1.6; }

/* ===== VALUES ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 24px; margin-top: 50px; }
.value-card { background: var(--dark); border-left: 3px solid var(--yellow); padding: 28px 24px; }
.value-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--yellow); margin-bottom: 10px; }
.value-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* ===== LAW BADGE ===== */
.law-badge { background: rgba(245,168,0,0.08); border: 1px solid rgba(245,168,0,0.3); padding: 24px 32px; display: flex; align-items: center; gap: 24px; margin: 50px 0; }
.law-icon { font-size: 36px; color: var(--yellow); flex-shrink: 0; }
.law-text h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--yellow); margin-bottom: 6px; }
.law-text p { color: var(--gray); font-size: 13px; line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info-title { font-family: 'Bebas Neue', sans-serif; font-size: 36px; letter-spacing: 2px; margin-bottom: 30px; }
.contact-info-title span { color: var(--yellow); }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-icon { width: 44px; height: 44px; background: rgba(245,168,0,0.1); display: flex; align-items: center; justify-content: center; color: var(--yellow); font-size: 18px; flex-shrink: 0; }
.contact-item-label { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 4px; }
.contact-item-val { font-size: 15px; color: var(--white); }
.contact-form { background: var(--dark); border: 1px solid var(--border); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 12px 16px; font-family: 'Barlow', sans-serif; font-size: 14px; transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--yellow); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-color: #1a1a1a; color: var(--white); }
.form-group select option { background-color: #ffffff; color: #000000; }
.social-links { display: flex; gap: 12px; margin-top: 30px; }
.social-link { width: 40px; height: 40px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 16px; transition: all .2s; }
.social-link:hover { background: var(--yellow); color: var(--black); }

/* ===== WHATSAPP FLOAT ===== */
#wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; width: 58px; height: 58px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); animation: waPulse 2.5s ease-in-out infinite; cursor: pointer; transition: transform .2s; }
#wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); } }
#wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== FOOTER ===== */
#footer { background: #0a0a0a; border-top: 1px solid var(--border); padding: 36px 0 0; }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.footer-brand-block { display: flex; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 40px; }
.footer-brand-text { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 2px; }
.footer-brand-text span { color: var(--yellow); }
.footer-desc { display: none; }
.footer-cols { display: flex; gap: 40px; justify-content: center; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; white-space: nowrap; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-size: 12px; color: var(--gray); transition: color .2s; white-space: nowrap; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.footer-bottom { padding: 16px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 11px; color: var(--gray2); }
.footer-designer { font-size: 11px; color: var(--gray2); }
.footer-designer a { color: var(--yellow); }
.bottom-stripe { height: 8px; background: repeating-linear-gradient(90deg, var(--yellow) 0, var(--yellow) 20px, #000 20px, #000 40px); }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }



/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media(max-width:1024px) {
  /* Navbar */
  .nav-menu { display: none; }
  .hamburger { display: flex; }

  /* Footer */
  .footer-main { grid-template-columns: auto 1fr; gap: 24px; }
  .footer-cols { gap: 24px; }
  .footer-social { grid-column: 1 / -1; justify-content: flex-start; }

  /* Trust bar */
  .trust-grid { grid-template-columns: 1fr 1fr; }

  /* Cursos en tablet: 2 columnas */
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr 1fr; }

  /* Two-col: give a bit of breathing room */
  .two-col { gap: 40px; }

  /* Hero image side hidden at tablet */
  .hero-img-side { display: none !important; }

  /* Hero grid: single column */
  .hero-grid { grid-template-columns: 1fr !important; }

  /* Nosotros mission/vision inline grid */
  .mission-vision-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Content images: reduce fixed height */
  .content-img img { max-height: 380px; }

  /* Section padding reduction */
  .content-section { padding: 60px 0; }
  .cta-block { padding: 70px 0; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media(max-width:768px) {
  /* Layout stacking */
  .two-col,
  .two-col.reverse,
  .contact-grid { grid-template-columns: 1fr; direction: ltr; }

  .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .certif-tabs { flex-wrap: wrap; gap: 4px; }
  .certif-tab { padding: 10px 18px; font-size: 13px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-social { grid-column: 1 / -1; justify-content: flex-start; gap: 16px; }
  .mission-vision-grid { grid-template-columns: 1fr !important; gap: 36px !important; }

  /* Typography */
  .section-title { font-size: clamp(28px,8vw,44px); }
  .cta-title { font-size: clamp(28px,8vw,48px); }
  .page-hero h1 { font-size: clamp(32px,9vw,54px); }
  .page-hero p { font-size: 14px; }

  /* Page hero */
  .page-hero { min-height: 220px; }
  .page-hero-content { padding: 40px 0; }

  /* Content images */
  .content-img img { max-height: 280px; }
  .content-img::before { display: none; } /* remove decorative border on mobile */

  /* Hero stats: 2x2 grid */
  .hero-stats-bar { flex-wrap: wrap; }
  .hero-stats-bar > div { flex: 1 1 50%; border-right: none !important; border-bottom: 1px solid var(--border); }
  .hero-stats-bar > div:last-child { border-bottom: none; }

  /* Courses & catalog: single column */
  .courses-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }

  /* Services grid: single column */
  .services-grid { grid-template-columns: 1fr; }

  /* Process steps: 2 cols */
  .process-steps { grid-template-columns: 1fr 1fr; }

  /* Inspection steps: 2 cols */
  .insp-steps { grid-template-columns: 1fr 1fr; }

  /* Values grid: 1 col */
  .values-grid { grid-template-columns: 1fr; }

  /* Trust grid: 2x2 */
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-num { font-size: 42px; }

  /* Law badge */
  .law-badge { flex-direction: column; gap: 16px; padding: 20px; }
  .law-icon { font-size: 28px; }

  /* CTA section */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-block { padding: 60px 0; }

  /* Contact */
  .contact-form { padding: 24px; }
  .contact-grid { gap: 40px; }

  /* Hero section padding */
  .hero-grid { padding: 50px 24px !important; }

  /* Section padding */
  .content-section { padding: 50px 0; }

  /* Hero height en mobile */
  section[style*="min-height:100vh"] { min-height: auto !important; padding: 80px 0 !important; }

  /* Logos carousel */
  .client-logo-wrap { width: 200px; height: 90px; }

  /* WhatsApp float */
  #wa-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
  #wa-float svg { width: 24px; height: 24px; }

  /* Footer bottom */
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media(max-width:480px) {
  /* Container padding */
  .container { padding: 0 16px; }

  /* Typography */
  .section-title { font-size: clamp(26px,9vw,38px); }
  .page-hero h1 { font-size: clamp(28px,10vw,42px); }

  /* Stats: single column */
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 20px 12px; }
  .trust-num { font-size: 36px; }

  /* Hero stats: 2x2 */
  .hero-stats-bar > div { flex: 1 1 50%; }

  /* Process steps: single column */
  .process-steps { grid-template-columns: 1fr; }
  .insp-steps { grid-template-columns: 1fr; }

  /* Certif tabs */
  .certif-tab { flex: 1; text-align: center; }

  /* Logo nav en mobile pequeño */
  .nav-logo img { height: 52px; }

  /* Filter bar */
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 11px; }

  /* Course cards */
  .course-card-img { height: 160px; }
  .catalog-card-img { height: 170px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  /* Benefits: single col already, tighten padding */
  .benefit-card { padding: 28px 20px; }
  .service-card { padding: 24px 20px; }
  .contact-form { padding: 20px 16px; }

  /* Buttons */
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .cta-btns .btn-primary, .cta-btns .btn-outline { width: auto; }

  /* Page hero */
  .page-hero { min-height: 180px; }
  .breadcrumb { font-size: 10px; }

  /* Mobile menu font */
  .mobile-menu a { font-size: 22px; }

  /* Footer */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-col ul li a { font-size: 11px; white-space: normal; }
  .footer-social { gap: 16px; }
}

/* ============================================================
   HERO GRID (index.html inline grid override)
   ============================================================ */
@media(max-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    padding: 60px 24px !important;
  }
}
@media(max-width:480px) {
  .hero-grid {
    padding: 40px 16px !important;
  }
  .hero-stats-bar {
    flex-wrap: wrap;
  }
  .hero-stats-bar > div {
    flex: 1 1 50% !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .hero-stats-bar > div:last-child {
    border-bottom: none !important;
  }
}

/* ===== IN-COMPANY GALLERY ===== */
.incompany-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
@media(max-width:768px) {
  .incompany-gallery { grid-template-columns: 1fr 1fr; }
  .incompany-gallery div { height: 160px !important; }
  .beneficios-grid { grid-template-columns: 1fr !important; }
}
@media(max-width:480px) {
  .incompany-gallery { grid-template-columns: 1fr; }
  .incompany-gallery div { height: 200px !important; }
}

/* ============================================================
   RESPONSIVE — VERY SMALL (≤360px)
   ============================================================ */
@media(max-width:360px) {
  .container { padding: 0 12px; }
  .nav-logo img { height: 44px; }
  .hero-stats-bar > div { flex: 1 1 100%; border-right: none !important; }
  .client-logo-wrap { width: 160px; height: 72px; }
  .certif-tab { font-size: 11px; padding: 8px 12px; }
  .footer-col h4 { font-size: 10px; }
  .footer-cols { gap: 10px; }
}

/* ===== CUSTOM SELECT ===== */
.custom-select { position: relative; user-select: none; }
.custom-select-trigger { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 12px 16px; font-family: 'Barlow', sans-serif; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: border-color .2s; }
.custom-select-trigger::after { content: '▾'; font-size: 12px; color: var(--gray); transition: transform .2s; }
.custom-select.open .custom-select-trigger { border-color: var(--yellow); }
.custom-select.open .custom-select-trigger::after { transform: rotate(180deg); }
.custom-select-options { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border: 1px solid var(--yellow); z-index: 50; max-height: 240px; overflow-y: auto; }
.custom-select.open .custom-select-options { display: block; }
.cs-option { padding: 10px 16px; font-family: 'Barlow', sans-serif; font-size: 14px; color: #111111; cursor: pointer; transition: background .15s; }
.cs-option:hover { background: #f5f5f5; }
.cs-option.selected { background: #f0a500; color: #111; font-weight: 600; }
.cs-option:first-child { color: #888; }
