/* ============================================
   ALBORGRID — Shared Stylesheet (root)
   Used by /industry/index.html via ../styles.css
   ============================================ */

:root {
  --primary: #1a3c6e;
  --primary-dark: #122d52;
  --accent: #f5a623;
  --accent-dark: #d4891a;
  --bg: #f4f6f9;
  --text: #2c2c2c;
  --text-light: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-eyebrow {
  text-align: center; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 2px; color: var(--accent); text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 12px; }
.section-subtitle {
  text-align: center; color: var(--text-light); font-size: 1rem;
  margin-bottom: 48px; max-width: 560px; margin-left: auto; margin-right: auto;
}

/* ── Buttons ── */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: none; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1000; height: 68px;
  display: flex; align-items: center;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { font-size: 1.4rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a { color: var(--text); font-size: 0.9rem; font-weight: 500; transition: var(--transition); position: relative; padding-bottom: 4px; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--primary); font-weight: 500; }
.main-nav a.active::after { width: 100%; }

.nav-dropdown { position: relative; display: inline-flex; align-items: center; min-width: 0; }
.nav-dropdown > a { white-space: nowrap; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 28px; margin: 0 0 2px 2px; padding: 0;
  border: 0; background: transparent; color: currentColor; opacity: 0.72;
  cursor: pointer; transition: opacity var(--transition);
}
.nav-dropdown-toggle:hover { opacity: 1; }
.nav-dropdown-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.nav-dropdown-chevron {
  width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.nav-dropdown.is-open .nav-dropdown-chevron { transform: translateY(2px) rotate(225deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 0; z-index: 1200;
  min-width: 248px; padding: 8px;
  border: 1px solid rgba(20,42,78,.12); border-top: 3px solid var(--accent); border-radius: 0 0 10px 10px;
  background: var(--white); box-shadow: 0 16px 34px rgba(6,23,45,.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -19px; right: 0; left: 0; height: 18px; }
.main-nav .nav-dropdown-menu a {
  display: block; padding: 10px 13px; border-radius: 6px;
  color: var(--primary) !important; font-size: .86rem; font-weight: 600; line-height: 1.35; white-space: nowrap;
}
.main-nav .nav-dropdown-menu a::after { display: none !important; }
.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a:focus-visible { color: var(--primary-dark) !important; background: #f2f5f9; }

/* Keep the primary navigation centered independently of the brand width. */
@media (min-width: 941px) {
  .site-header .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .site-header .logo { grid-column: 1; justify-self: start; }
  .site-header .main-nav { grid-column: 2; justify-self: center; }
  .site-header .container > .btn { grid-column: 3; justify-self: end; }
  .nav-dropdown-toggle { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .nav-dropdown { display: grid; grid-template-columns: minmax(0, 1fr) 42px; width: 100%; }
  .nav-dropdown > a { min-width: 0; }
  .nav-dropdown-toggle { width: 42px; height: 42px; margin: 0; color: var(--primary); opacity: 1; }
  .nav-dropdown-menu {
    position: static; grid-column: 1 / -1; display: none; min-width: 0; margin: 0 6px 7px; padding: 5px;
    border: 0; border-left: 2px solid var(--accent); border-radius: 0 7px 7px 0;
    box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
  .main-nav .nav-dropdown-menu a { padding: 9px 12px 9px 18px; font-size: .88rem; }
}

/* ── Page Hero Banner ── */
.page-hero { background: linear-gradient(135deg, #0c2b50 0%, #183d68 100%); color: var(--white); padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: 0.85; }

/* ── Cards ── */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

/* ── Footer ── */
.site-footer { background: #111827; color: #9ca3af; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; margin-bottom: 10px; font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.site-footer .footer-col a[href^="mailto:"],
.site-footer .footer-col a[href*="wa.me"],
.site-footer .footer-col p { position: relative; padding-left: 28px; }
.site-footer .footer-col a[href^="mailto:"] { --footer-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.site-footer .footer-col a[href*="wa.me"] { --footer-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H9l-4 4v-4H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E"); }
.site-footer .footer-col p { --footer-contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.5-7-12a7 7 0 0 1 14 0c0 5.5-7 12-7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.site-footer .footer-col a[href^="mailto:"]::before,
.site-footer .footer-col a[href*="wa.me"]::before,
.site-footer .footer-col p::before {
  content: ''; position: absolute; left: 0; top: 0.14em; width: 18px; height: 18px;
  background: #4fb3c7; -webkit-mask: var(--footer-contact-icon) center / contain no-repeat; mask: var(--footer-contact-icon) center / contain no-repeat;
}
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px;
  background: #25d366; color: white;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 9999; transition: var(--transition);
}
.whatsapp-float:hover { background: #128c7e; transform: scale(1.1); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ── Responsive ── */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Static header wordmark: prevents the pre-script text logo from flashing. */
.logo.logo--graphic{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;width:auto;line-height:1!important;letter-spacing:0!important;}
.logo--graphic .brand-logo-image{display:block;width:90px;height:auto;max-height:58px;object-fit:contain;}
.logo--graphic .brand-name{display:block;color:inherit;font:700 1.45rem/1 Inter,Arial,sans-serif;letter-spacing:.02em;white-space:nowrap;}
.site-footer .logo--graphic .brand-logo-image,.site-foot .logo--graphic .brand-logo-image,.foot .logo--graphic .brand-logo-image{width:102px;max-height:66px;}
.site-footer .logo--graphic .brand-name,.site-foot .logo--graphic .brand-name,.foot .logo--graphic .brand-name{font-size:1.55rem;}
@media (max-width:560px){.site-header .logo--graphic{gap:8px!important;}.site-header .logo--graphic .brand-logo-image{width:70px;max-height:45px;}.site-header .logo--graphic .brand-name{font-size:1.12rem;}}
/* Shared stage alignment for every ALBORGRID header. */
.site-header .container {
  max-width: none;
  padding-left: max(32px, calc((100vw - 1760px) / 2));
  padding-right: max(32px, calc((100vw - 1760px) / 2));
}
@media (max-width: 940px) {
  .site-header .container { padding-left: 24px; padding-right: 24px; }
}
