/* ═══════════════════════════════════════════════════════════
   OSTechSupport247 — Global Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  --blue-soft:      #EAF4FF;
  --green-soft:     #E8F8F5;
  --grey-soft:      #F5F7FA;
  --dark:           #1F2937;
  --muted:          #6B7280;
  --primary:        #3B82F6;
  --primary-hover:  #2563EB;
  --border:         #E5E7EB;
  --white:          #FFFFFF;
  --radius:         10px;
  --radius-lg:      16px;
  --shadow:         0 2px 12px rgba(0,0,0,.06);
  --shadow-md:      0 4px 24px rgba(0,0,0,.09);
  --transition:     .2s ease;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; }
ul { list-style: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Typography ─── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.2; color: var(--dark); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.3; color: var(--dark); }
h3 { font-size: 1.2rem; font-weight: 600; color: var(--dark); }
h4 { font-size: 1rem; font-weight: 600; color: var(--dark); }
p  { color: var(--muted); line-height: 1.8; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* ─── Layout ─── */
.container    { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section      { padding: 88px 0; }
.section-sm   { padding: 56px 0; }
.grid-2       { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-3       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2x2     { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.flex         { display: flex; }
.items-center { align-items: center; }
.text-center  { text-align: center; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 8px; font-size: 0.95rem;
  font-weight: 600; cursor: pointer; transition: all var(--transition);
  border: 2px solid transparent; font-family: inherit; line-height: 1;
}
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--white); }
.btn-secondary { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost    { background: transparent; color: var(--primary); border-color: transparent; padding-left: 4px; }
.btn-group    { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Navigation ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 1.1rem; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo:hover { color: var(--dark); }
.logo-icon { background: none !important; padding: 0 !important; line-height: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 6px; color: var(--dark);
  font-size: 0.9rem; font-weight: 500; transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--blue-soft); }
.nav-tools { display: flex; align-items: center; gap: 12px; margin-left: 12px; }
.nav-cta { margin-left: 0; }
.language-picker,
.mobile-lang-picker {
  display: flex;
  align-items: center;
}
.language-select {
  min-width: 132px;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.language-select:hover,
.language-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
  outline: none;
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.mobile-nav { display: none; background: white; border-bottom: 1px solid var(--border); padding: 16px 24px; }
.mobile-nav.open { display: block; }
.mobile-lang-picker { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.language-select-mobile {
  width: 100%;
  min-width: 0;
}
.mobile-nav a { display: block; padding: 12px 0; color: var(--dark); font-weight: 500; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav-cta { color: var(--primary) !important; font-weight: 600 !important; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--white) 60%);
  padding: 100px 0 88px;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 14px; font-size: 0.82rem;
  color: var(--muted); font-weight: 500; margin-bottom: 20px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }
.hero-values { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.hero-value { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.hero-value .tick {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.hero-visual {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.hero-stat { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--grey-soft); border-radius: var(--radius); }
.hero-stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-stat-label { font-size: 0.82rem; color: var(--muted); }
.hero-stat-value { font-size: 1.1rem; font-weight: 700; color: var(--dark); }

/* ─── Trust Strip ─── */
.trust-strip { background: var(--dark); color: white; padding: 40px 0; text-align: center; }
.trust-strip p { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 500; color: white; max-width: 700px; margin: 0 auto; }
.trust-strip span { color: #60A5FA; }

/* ─── Section Headings ─── */
.section-label {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--primary); margin-bottom: 12px;
}
.section-heading { margin-bottom: 14px; }
.section-intro { max-width: 560px; }
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-intro { margin: 0 auto; }

/* ─── Cards ─── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon.blue  { background: var(--blue-soft);  color: var(--primary); }
.card-icon.green { background: var(--green-soft);  color: #059669; }
.card-icon.grey  { background: var(--grey-soft);   color: #4B5563; }
.card h3 { margin-bottom: 8px; }
.card p  { font-size: 0.92rem; }

/* ─── SVG Icon System ─── */
.ico { display: block; width: 22px; height: 22px; flex-shrink: 0; }
.card-icon .ico         { width: 26px; height: 26px; }
.hero-stat-icon .ico    { width: 24px; height: 24px; }
.benefit-icon .ico      { width: 30px; height: 30px; }
.benefit-icon           { display: flex; align-items: center; justify-content: center; }
.contact-detail-icon .ico { width: 20px; height: 20px; }
.info-item-icon .ico    { width: 20px; height: 20px; }
.hero-stat-icon         { color: var(--primary); }
.contact-detail-icon    { color: var(--primary); }
.benefit-icon           { color: var(--primary); }
.info-item-icon         { color: var(--primary); }

/* ─── Feature List ─── */
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--muted); }
.feature-item::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 22px;
  left: calc(50% + 22px); width: calc(100% - 44px);
  height: 2px; background: var(--border);
}
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; margin-bottom: 14px;
  position: relative; z-index: 1; flex-shrink: 0;
}
.step h4 { font-size: 0.88rem; color: var(--dark); font-weight: 600; }

/* ─── CTA Banner ─── */
.cta-banner { background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%); padding: 80px 0; text-align: center; color: white; }
.cta-banner h2 { color: white; max-width: 620px; margin: 0 auto 12px; }
.cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: 32px; }
.cta-banner .btn-primary { background: white; color: var(--primary); border-color: white; }
.cta-banner .btn-primary:hover { background: var(--blue-soft); color: var(--primary-hover); }

/* ─── Page Intro Header ─── */
.page-intro {
  background: linear-gradient(135deg, var(--blue-soft) 0%, var(--grey-soft) 100%);
  padding: 72px 0 60px;
}
.page-intro h1 { margin-bottom: 16px; }
.page-intro .lead { margin: 0; }
.page-intro.green { background: linear-gradient(135deg, var(--green-soft) 0%, var(--grey-soft) 100%); }

/* ─── Forms ─── */
.form-section { background: var(--grey-soft); border-radius: var(--radius-lg); padding: 40px; }
.form-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group   { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
input, textarea, select {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 0.92rem;
  color: var(--dark); background: white; transition: border var(--transition); width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.82rem; color: var(--muted); margin-top: 8px;
  padding: 10px 14px; background: var(--blue-soft);
  border-radius: 6px; border-left: 3px solid var(--primary);
}

/* ─── Legal Pages ─── */
.legal-body { max-width: 800px; margin: 0 auto; padding: 64px 24px; }
.legal-body h1 { margin-bottom: 8px; }
.legal-meta  { font-size: 0.85rem; color: var(--muted); margin-bottom: 40px; }
.legal-body h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.legal-body h3 { font-size: 1rem; margin: 20px 0 6px; color: var(--dark); }
.legal-body p  { margin-bottom: 14px; font-size: 0.95rem; }
.legal-body ul { margin: 10px 0 14px 0; padding-left: 0; }
.legal-body ul li { font-size: 0.95rem; color: var(--muted); padding: 4px 0 4px 20px; position: relative; }
.legal-body ul li::before { content: '•'; position: absolute; left: 4px; color: var(--primary); }
.legal-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ─── Footer ─── */
.footer { background: var(--dark); color: white; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer-col h4 { color: white; font-size: 0.88rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col p, .footer-col address { color: rgba(255,255,255,.6); font-size: 0.88rem; font-style: normal; line-height: 1.8; }
.footer-col a  { color: rgba(255,255,255,.6); font-size: 0.88rem; display: block; margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: white; }
.footer-logo { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo:hover { color: white; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,.5); font-style: italic; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: white; }

/* ─── Cookie Banner ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: white; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12); padding: 24px; display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text h3 { font-size: 1rem; margin-bottom: 6px; }
.cookie-text p  { font-size: 0.85rem; color: var(--muted); }
.cookie-text a  { color: var(--primary); font-weight: 500; }
.cookie-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.cookie-actions-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-toggle { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); cursor: pointer; }
.cookie-toggle input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.cookie-prefs-btn {
  position: fixed; bottom: 16px; right: 16px; z-index: 9998;
  background: var(--dark); color: white; border: none; border-radius: 24px;
  padding: 10px 16px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  display: none; align-items: center; gap: 6px; font-family: inherit;
  box-shadow: var(--shadow-md); transition: all var(--transition);
}
.cookie-prefs-btn:hover { background: var(--primary); }
.cookie-prefs-btn.show { display: flex; }

/* ─── Toast ─── */
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 99999;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark); color: white; padding: 14px 24px;
  border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  transition: transform .3s ease; white-space: nowrap;
  box-shadow: var(--shadow-md); pointer-events: none;
}

/* ─── Highlight Box ─── */
.highlight-box { background: var(--blue-soft); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 24px 28px; }
.highlight-box h3 { margin-bottom: 8px; }

/* ─── Info List ─── */
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--grey-soft); border-radius: var(--radius); }
.info-item-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.info-item-text h4 { margin-bottom: 2px; }
.info-item-text p  { font-size: 0.88rem; }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.contact-detail-value { font-size: 0.95rem; color: var(--dark); font-weight: 500; }

/* ─── Benefit Cards ─── */
.benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.benefit-card { background: var(--grey-soft); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; }
.benefit-icon { font-size: 1.8rem; margin-bottom: 12px; }
.benefit-card h4 { font-size: 0.92rem; margin-bottom: 6px; }
.benefit-card p  { font-size: 0.82rem; }

/* ─── Technician Apply Grid ─── */
.apply-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-inner   { gap: 40px; }
  .steps        { grid-template-columns: 1fr 1fr 1fr; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-tools { display: none; }
  .hamburger    { display: flex; }
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-visual  { display: none; }
  .grid-2, .grid-3, .grid-4, .grid-2x2 { grid-template-columns: 1fr; }
  .steps        { grid-template-columns: 1fr; }
  .step::after  { display: none; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-grid, .apply-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid    { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; }
  .section      { padding: 60px 0; }
}
@media (max-width: 480px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .btn-group    { flex-direction: column; }
  .language-select { font-size: 0.88rem; }
}
