/* GM Industries — Shared Stylesheet (Light Grey Theme)
   Nameplate-inspired: #e8e8e8 grey body, #1a1a1a dark nav/footer, #f97316 orange accent
   ──────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Barlow+Condensed:wght@400;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  /* Light backgrounds */
  --bg:        #e8e8e8;   /* page body */
  --bg-alt:    #f0f0f0;   /* alternate section */
  --card:      #ffffff;   /* cards / panels */
  --border:    rgba(0,0,0,0.10);

  /* Text on light backgrounds */
  --text:      #1a1a1a;
  --text-sub:  #5a5a5a;

  /* Dark section backgrounds (nav, hero, footer, CTA) */
  --dark:      #5a5757;
  --dark2:     #5a5757;
  --on-dark:   #f0f0f0;
  --on-dark-sub: #a0a0a0;

  /* Brand */
  --orange:    #f97316;
  --orange2:   #fb923c;

  /* ── Legacy aliases (used by page-specific CSS) ─── */
  --navy:      #e8e8e8;   /* body bg (was dark navy) */
  --navy2:     #f0f0f0;
  --steel:     #1a1a1a;
  --card-bg:   #ffffff;   /* card bg (was dark card) */
  --silver:    #5a5a5a;   /* secondary text (was blue-grey) */
  --light:     #1a1a1a;   /* primary text (was light text for dark bg) */
  --white:     #796d6d;   /* heading text (was near-white for dark bg) */
}

/* ── Reset ─────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

/* ── SKIP LINK ─────────────────────────────────────────── */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--orange); color: white; padding: 12px 24px; border-radius: 0 0 8px 8px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-decoration: none; z-index: 1000; transition: top 0.2s; }
.skip-link:focus { top: 0; }

/* ── FOCUS STYLES ──────────────────────────────────────── */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ── NAV ───────────────────────────────────────────────── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 max(4%, calc((100% - 1800px) / 2)); height: 70px; background: rgba(204, 200, 200, 0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(249,115,22,0.2); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 52px; height: 52px; background: transparent; display: flex; align-items: center; justify-content: center; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(249,115,22,0.9)) drop-shadow(0 0 18px rgba(249,115,22,0.5)); animation: logoGlow 3s ease-in-out infinite alternate; transition: filter 0.3s; }
.nav-logo:hover .logo-mark { filter: drop-shadow(0 0 12px rgba(249,115,22,1)) drop-shadow(0 0 24px rgba(249,115,22,0.7)) drop-shadow(0 0 40px rgba(249,115,22,0.4)); }
@keyframes logoGlow { from { filter: drop-shadow(0 0 6px rgba(249,115,22,0.7)); } to { filter: drop-shadow(0 0 14px rgba(249,115,22,1.0)) drop-shadow(0 0 28px rgba(249,115,22,0.6)); } }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text span:first-child { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 3px; color: #252424; }
.logo-text span:last-child { font-size: 10px; letter-spacing: 2px; color: var(--orange); font-weight: 600; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: #252424; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta { background: var(--orange) !important; color: white !important; padding: 9px 20px; border-radius: 4px; font-size: 12px !important; }
.nav-cta:hover { background: var(--orange2) !important; }
.nav-hamburger { display: none; background: none; border: none; color: #252424; font-size: 24px; cursor: pointer; padding: 10px 14px; min-width: 44px; min-height: 44px; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a { display: flex; align-items: center; gap: 4px; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: rgba(20,20,20,0.97); border: 1px solid rgba(249,115,22,0.2); border-radius: 8px; min-width: 200px; padding: 8px 0; margin-top: 0px; z-index: 200; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu.dropdown-open { display: block; }
.dropdown-menu li { list-style: none; }
.dropdown-menu li a { display: block; padding: 10px 16px; font-size: 13px; color: #b0b0b0; letter-spacing: 1px; }
.dropdown-menu li a:hover { color: var(--orange); background: rgba(249,115,22,0.06); }

/* ── PAGE HERO (inner pages — kept dark for visual impact) */
.page-hero { min-height: 320px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 100px max(6%, calc((100% - 1680px) / 2)) 60px; background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(249,115,22,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(249,115,22,0.05) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero::after { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%); pointer-events: none; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #a0a0a0; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; position: relative; z-index: 2; }
.breadcrumb a { color: var(--orange); text-decoration: none; }
.page-hero-title, .page-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(48px,6vw,80px); color: #ffffff; line-height: 0.95; letter-spacing: 2px; position: relative; z-index: 2; }
.page-hero-title span, .page-title span { color: var(--orange); }
.page-hero-sub, .page-subtitle { font-size: 16px; color: #c0c0c0; font-weight: 300; margin-top: 16px; max-width: 560px; line-height: 1.6; position: relative; z-index: 2; }

/* ── SECTIONS ──────────────────────────────────────────── */
.section { padding: 80px max(6%, calc((100% - 1680px) / 2)); background: var(--bg); }
.section-bg { padding: 80px max(6%, calc((100% - 1680px) / 2)); background: var(--bg-alt); }
.section-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ''; width: 32px; height: 2px; background: var(--orange); }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px,4vw,52px); color: var(--text); line-height: 1; letter-spacing: 1px; margin-bottom: 16px; }
.section-sub { font-size: 15px; color: var(--text-sub); max-width: 560px; line-height: 1.7; font-weight: 300; margin-bottom: 48px; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: white; padding: 14px 28px; border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; font-family: 'Barlow', sans-serif; }
.btn-primary:hover { background: var(--orange2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(249,115,22,0.35); }
.btn-secondary, .btn-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--text); padding: 14px 28px; border: 1px solid rgba(0,0,0,0.2); border-radius: 6px; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; }
.btn-secondary:hover, .btn-outline:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 8px; background: #22c55e; color: white; padding: 14px 24px; border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; }
.btn-whatsapp:hover { background: #16a34a; transform: translateY(-2px); }

/* ── CARD ──────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.card:hover { border-color: rgba(249,115,22,0.3); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

/* ── REVEAL ANIMATION ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER (kept dark — matches dark nav) ─────────────── */
footer { background: rgba(204, 200, 200, 0.97); padding: 48px max(6%, calc((100% - 1680px) / 2)) 32px; border-top: 1px solid rgba(8, 8, 8, 0.08); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { font-size: 14px; color: #252424; line-height: 1.7; margin-top: 16px; max-width: 320px; font-weight: 300; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #252424; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: #252424; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-col p { font-size: 13px; color: #252424; line-height: 1.8; margin-bottom: 8px; }
.footer-col p a { color: var(--orange); text-decoration: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(5, 5, 5, 0.5); }
.footer-bottom span { color: var(--orange); }

/* ── FLOATING WHATSAPP ─────────────────────────────────── */
.float-wa { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 58px; height: 58px; background: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(34,197,94,0.45); animation: floatBounce 3s ease-in-out infinite; text-decoration: none; }
.float-wa:hover { transform: scale(1.1); animation: none; }
@keyframes floatBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.float-wa svg { width: 28px; height: 28px; fill: white; }
.float-wa-tooltip { position: absolute; right: 70px; background: #1a1a1a; color: white; padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; border: 1px solid rgba(0,0,0,0.15); }
.float-wa:hover .float-wa-tooltip { opacity: 1; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media(max-width:900px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: rgba(20,20,20,0.98); padding: 24px 6%; gap: 16px; border-bottom: 1px solid rgba(249,115,22,0.2); z-index: 200; overflow-y: auto; }
  .nav-links.mobile-open a { color: #e8e8e8; }
  .nav-hamburger { display: block !important; }
  #hamburger { display: block !important; }
  .page-hero { padding: 90px 6% 48px; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown-menu.dropdown-open { display: block !important; }
  .dropdown-menu { position: static; background: rgba(249,115,22,0.04); border: none; border-left: 2px solid rgba(249,115,22,0.3); border-radius: 0; margin: 8px 0 0 8px; padding: 4px 0; min-width: auto; }
  .dropdown-menu li a { color: #b0b0b0; }
}
@media(max-width:600px) {
  .section, .section-bg { padding: 56px 5%; }
  .page-hero { min-height: 260px; padding: 80px 5% 40px; }
  .page-hero-title, .page-title { font-size: clamp(36px,8vw,56px); }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media(prefers-reduced-motion:reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media(min-width:1600px) {
  .section-title { font-size: clamp(52px, 3.5vw, 72px); }
  .page-hero-title, .page-title { font-size: clamp(80px, 5.5vw, 108px); }
  .section-sub { font-size: 16px; max-width: 680px; }
}
