/* ═══════════════════════════════════════════════
   LinearGuide Pro — Main Stylesheet
   ═══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --primary:        #0f2b5b;
  --primary-mid:    #1a3f78;
  --primary-light:  #e8f0fb;
  --accent:         #1d6fd8;
  --accent-dark:    #1558b8;
  --accent-light:   #dbeafe;
  --gold:           #c8922a;
  --text-dark:      #0f172a;
  --text-mid:       #334155;
  --text-light:     #64748b;
  --bg-page:        #f8fafc;
  --bg-section:     #f1f5f9;
  --border:         #e2e8f0;
  --white:          #ffffff;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.14);
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --fs-xs:    0.8125rem;
  --fs-sm:    0.875rem;
  --fs-base:  0.9375rem;
  --fs-md:    1.0625rem;
  --fs-lg:    clamp(1.25rem,2.5vw,1.75rem);
  --fs-xl:    clamp(1.75rem,4vw,2.75rem);
  --fs-2xl:   clamp(2.25rem,5vw,3.5rem);
  --space-section: clamp(4rem,7vw,6rem);
  --space-card:    1.5rem;
  --container-w:   1280px;
  --header-h:      72px;
}

/* ── Reset ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-base);
  color: var(--text-dark);
  background: var(--bg-page);
  line-height: 1.7;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; color: var(--text-dark); }

/* ── Container ── */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(1rem,4vw,2.5rem);
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  transition: background .25s;
}
.site-header.scrolled { background: rgba(15,43,91,.96); backdrop-filter: blur(8px); }
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.5rem;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; object-fit: contain; }
.site-logo__text { font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: -.3px; }
.site-logo:hover { text-decoration: none; }

/* Nav */
.site-nav { flex: 1; display: flex; justify-content: flex-end; }
.nav-menu { display: flex; align-items: center; gap: .125rem; }
.nav-menu > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: .5rem .75rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover, .current-menu-item > .nav-link, .current-menu-ancestor > .nav-link {
  color: var(--white);
  background: rgba(255,255,255,.1);
  text-decoration: none;
}
.nav-arrow { transition: transform .2s; flex-shrink: 0; }
li:hover > .nav-link .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;           /* flush — no gap so hover stays active */
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px 0 .5rem; /* 10px top-padding = visual gap without hover gap */
  z-index: 200;
  /* visibility transition instead of display:none so mouse-out has a tiny grace period */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.nav-menu > li:hover > .nav-dropdown,
.nav-menu > li:focus-within > .nav-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown li a {
  display: block;
  padding: .625rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-mid);
  transition: background .15s, color .15s;
}
.nav-dropdown li a:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-phone {
  display: flex; align-items: center; gap: .4rem;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.8);
  white-space: nowrap;
}
.header-phone:hover { color: var(--white); text-decoration: none; }
.header-landing-cta { margin-left: auto; display: flex; gap: .75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  padding: 0;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 300;
  flex-direction: column;
  padding: var(--header-h) 2rem 2rem;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  color: var(--white);
  opacity: .8;
}
.mobile-menu__close:hover { opacity: 1; }
.mobile-nav-menu { flex: 1; margin-top: 1rem; }
.mobile-nav-menu li a {
  display: block;
  padding: .875rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-menu li a:hover { color: var(--white); text-decoration: none; }
.mobile-nav-menu .nav-dropdown { position: static; box-shadow: none; background: transparent; border: none; padding: 0 0 0 1rem; display: block; visibility: visible; opacity: 1; pointer-events: auto; }
.mobile-nav-menu .nav-dropdown li a { font-size: var(--fs-base); padding: .5rem 0; color: rgba(255,255,255,.7); border-bottom: none; }
.mobile-menu__footer { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 250;
}
.mobile-overlay.is-open { display: block; }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,.5); text-decoration: none; }

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--sm  { padding: .45rem 1rem;  font-size: var(--fs-xs); }
.btn--md  { padding: .65rem 1.5rem; font-size: var(--fs-sm); }
.btn--lg  { padding: .8rem 2rem;   font-size: var(--fs-base); }
.btn--xl  { padding: 1rem 2.5rem;  font-size: var(--fs-md); }
.btn--block { width: 100%; }

.btn--primary         { background: var(--accent);       color: var(--white);  border-color: var(--accent); }
.btn--primary:hover   { background: var(--accent-dark);  border-color: var(--accent-dark); box-shadow: 0 4px 16px rgba(29,111,216,.3); }
.btn--outline         { background: transparent;  color: var(--accent);  border-color: var(--accent); }
.btn--outline:hover   { background: var(--accent-light); }
.btn--outline-white   { background: transparent;  color: var(--white);   border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--white           { background: var(--white);        color: var(--primary); border-color: var(--white); }
.btn--white:hover     { background: #e8f0fb; }
.btn--whatsapp        { background: #25d366; color: var(--white); border-color: #25d366; }
.btn--whatsapp:hover  { background: #1fba59; }

/* ═══════════════════════════════════════════════
   SECTION LAYOUT
   ═══════════════════════════════════════════════ */
.section { padding: var(--space-section) 0; }
.section--alt  { background: var(--bg-section); }
.section--dark { background: var(--primary); color: var(--white); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header--light .section-title,
.section-header--light .section-desc { color: var(--white); }
.section-eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.section--dark .section-eyebrow { color: #7dd3fc; }
.section-title { font-size: var(--fs-xl); color: var(--text-dark); margin-bottom: 1rem; }
.section-desc  { font-size: var(--fs-base); color: var(--text-light); }
.section-footer-link { text-align: center; margin-top: 2rem; }
.section-footer-link--light .text-link { color: rgba(255,255,255,.8); }
.text-link { font-weight: 500; color: var(--accent); transition: color .2s; }
.text-link:hover { color: var(--accent-dark); }
.text-link--light { color: rgba(255,255,255,.85); }
.text-link--light:hover { color: var(--white); }
.subsection-title { font-size: var(--fs-md); font-weight: 700; margin: 2.5rem 0 1rem; color: var(--text-dark); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--primary) center/cover no-repeat;
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,25,55,.85) 0%, rgba(15,43,91,.7) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero__content { max-width: 680px; }
.hero__eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7dd3fc; margin-bottom: 1rem; }
.hero__title   { font-size: var(--fs-2xl); color: var(--white); line-height: 1.1; margin-bottom: 1.25rem; }
.hero__subtitle { font-size: var(--fs-md); color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block; width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.5); border-radius: 12px;
  position: relative;
}
.hero__scroll span::before {
  content: '';
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: rgba(255,255,255,.6); border-radius: 2px;
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint { 0%,100%{opacity:1;transform:translateX(-50%) translateY(0)} 80%{opacity:0;transform:translateX(-50%) translateY(8px)} }

/* Stats Bar */
.stats-bar { background: var(--primary-mid); padding: 1.25rem 0; }
.stats-bar__inner { display: flex; justify-content: center; gap: clamp(1.5rem,4vw,4rem); flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num   { display: block; font-size: clamp(1.6rem,3vw,2.25rem); font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: var(--fs-xs); color: rgba(255,255,255,.7); letter-spacing: .04em; }

/* ═══════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.5rem; }
.product-grid--3 { grid-template-columns: repeat(3,1fr); }
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); text-decoration: none; }
.product-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--primary); color: var(--white);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em;
  padding: .2rem .7rem; border-radius: 20px;
}
.product-card__img-wrap { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-section); }
.product-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card__img-wrap img { transform: scale(1.04); }
.product-card__img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#1a3f78 0%,#0f2b5b 100%); display: flex; align-items: center; justify-content: center; }
.product-card__body { padding: var(--space-card); flex: 1; display: flex; flex-direction: column; }
.product-card__name { font-size: var(--fs-md); font-weight: 700; color: var(--text-dark); margin-bottom: .5rem; }
.product-card__desc { font-size: var(--fs-sm); color: var(--text-light); flex: 1; margin-bottom: 1rem; }
.product-card__link { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; margin-top: auto; }

/* ═══════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 2rem; }
.feature-item { text-align: center; padding: 1.5rem; }
.feature-item__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
}
.feature-item__icon--precision { background: #dbeafe; }
.feature-item__icon--factory   { background: #dcfce7; }
.feature-item__icon--lead      { background: #fef9c3; }
.feature-item__icon--support   { background: #f3e8ff; }
.feature-item__icon::before {
  content: '';
  width: 28px; height: 28px;
  background: var(--accent) center/contain no-repeat;
  border-radius: 4px;
}
.feature-item__icon--precision::before { background-color: #1d6fd8; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E") center/contain no-repeat; }
.feature-item__icon--custom::before { display: none; }
.feature-item__icon--custom img { width: 40px; height: 40px; object-fit: contain; }
.feature-item__title { font-size: var(--fs-md); font-weight: 700; margin-bottom: .5rem; }
.feature-item__desc { font-size: var(--fs-sm); color: var(--text-light); }

/* ═══════════════════════════════════════════════
   APPLICATIONS GRID
   ═══════════════════════════════════════════════ */
.app-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.app-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.app-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent); text-decoration: none; }
.app-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; letter-spacing: .04em;
}
.app-card__name { font-size: var(--fs-sm); font-weight: 600; color: var(--text-dark); }

/* ═══════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════ */
.compare-table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: var(--fs-sm); }
.compare-table th { background: var(--primary); color: var(--white); padding: .875rem 1.25rem; text-align: left; font-weight: 600; white-space: nowrap; }
.compare-table td { padding: .75rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--text-mid); vertical-align: top; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: var(--primary-light); }
.section--dark .compare-table-wrap { box-shadow: none; }
.section--dark .compare-table th { background: rgba(255,255,255,.15); }
.section--dark .compare-table td { background: rgba(255,255,255,.05); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.1); }
.section--dark .compare-table tbody tr:hover td { background: rgba(255,255,255,.1); }

/* ═══════════════════════════════════════════════
   BLOG / RESOURCE CARDS
   ═══════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card__img-link { display: block; }
.blog-card__img-wrap { aspect-ratio: 3/2; overflow: hidden; background: var(--bg-section); }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.04); }
.blog-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat  { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: .5rem; display: block; }
.blog-card__title { font-size: var(--fs-base); font-weight: 700; margin-bottom: .75rem; line-height: 1.4; }
.blog-card__title a { color: var(--text-dark); }
.blog-card__title a:hover { color: var(--accent); text-decoration: none; }
.blog-card__excerpt { font-size: var(--fs-sm); color: var(--text-light); flex: 1; margin-bottom: 1rem; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.blog-card__date { font-size: var(--fs-xs); color: var(--text-light); }
.blog-card__more { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }
.blog-card__more:hover { text-decoration: none; color: var(--accent-dark); }

/* ═══════════════════════════════════════════════
   CTA STRIP
   ═══════════════════════════════════════════════ */
.cta-strip { background: var(--primary-mid); padding: 4rem 0; }
.cta-strip__inner { text-align: center; }
.cta-strip__title { font-size: var(--fs-xl); font-weight: 700; color: var(--white); margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-strip__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   PAGE BANNER (Inner Pages)
   ═══════════════════════════════════════════════ */
.page-banner {
  background: var(--primary) center/cover no-repeat;
  position: relative;
  padding: 4rem 0 3rem;
  margin-top: 0;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,25,55,.85) 0%, rgba(15,43,91,.6) 100%);
}
.page-banner__inner { position: relative; z-index: 1; }
.page-banner__title { font-size: var(--fs-xl); color: var(--white); margin-bottom: .5rem; }
.page-banner__sub   { font-size: var(--fs-base); color: rgba(255,255,255,.75); margin-bottom: 1rem; }

/* Breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.breadcrumb li { display: flex; align-items: center; gap: .25rem; font-size: var(--fs-xs); color: rgba(255,255,255,.65); }
.breadcrumb li a { color: rgba(255,255,255,.75); }
.breadcrumb li a:hover { color: var(--white); text-decoration: none; }
.breadcrumb li [aria-current] { color: rgba(255,255,255,.9); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* ═══════════════════════════════════════════════
   ADVANTAGES GRID (Landing page)
   ═══════════════════════════════════════════════ */
.advantages-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 2rem; }
.advantage-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.advantage-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.advantage-item__num   { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: .5rem; }
.advantage-item__label { display: block; font-weight: 700; font-size: var(--fs-sm); margin-bottom: .5rem; color: var(--text-dark); }
.advantage-item__desc  { font-size: var(--fs-xs); color: var(--text-light); }

/* ═══════════════════════════════════════════════
   INQUIRY FORM
   ═══════════════════════════════════════════════ */
.inquiry-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.inquiry-section__title { font-size: var(--fs-xl); color: var(--white); margin-bottom: 1.5rem; }
.inquiry-section__benefits { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 2rem; }
.inquiry-section__benefits li { font-size: var(--fs-base); color: rgba(255,255,255,.85); }
.inquiry-section__contacts { display: flex; flex-direction: column; gap: .5rem; }
.inquiry-section__contacts p { font-size: var(--fs-sm); color: rgba(255,255,255,.75); }
.inquiry-section__contacts a { color: #7dd3fc; }
.inquiry-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; }
.inquiry-form .form-row { display: flex; gap: 1rem; }
.inquiry-form .form-row--2 > * { flex: 1; }
.form-group { margin-bottom: 1.125rem; }
.form-group label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--text-dark); margin-bottom: .375rem; }
.form-group label span { color: var(--accent); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .65rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,111,216,.12); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-text { display: inline; }
.btn-loading { display: none; }
.inquiry-form.is-loading .btn-text    { display: none; }
.inquiry-form.is-loading .btn-loading { display: inline; }
.form-response { margin-top: .875rem; font-size: var(--fs-sm); border-radius: var(--radius-sm); }
.form-response.success { padding: .75rem 1rem; background: #dcfce7; color: #166534; }
.form-response.error   { padding: .75rem 1rem; background: #fee2e2; color: #991b1b; }

/* ═══════════════════════════════════════════════
   LANDING PAGE HERO
   ═══════════════════════════════════════════════ */
.landing-hero {
  position: relative;
  min-height: 90svh;
  display: flex; align-items: center;
  background: var(--primary) center/cover no-repeat;
  overflow: hidden;
}
.landing-hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(10,25,55,.88) 0%,rgba(15,43,91,.72) 100%); }
.landing-hero__inner { position: relative; z-index: 2; padding-top: var(--header-h); max-width: 760px; }
.landing-hero__title { font-size: var(--fs-2xl); color: var(--white); line-height: 1.1; margin-bottom: 1.25rem; }
.landing-hero__sub   { font-size: var(--fs-md); color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.landing-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.landing-hero__scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.5); animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* Landing page case grid */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.case-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.case-card__img-wrap { aspect-ratio: 3/2; overflow: hidden; background: var(--bg-section); }
.case-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.case-card__img-placeholder { aspect-ratio: 3/2; background: linear-gradient(135deg,#1a3f78,#0f2b5b); }
.case-card__body { padding: 1.25rem; }
.case-card__title { font-size: var(--fs-base); font-weight: 700; margin-bottom: .5rem; }

/* ═══════════════════════════════════════════════
   PRODUCT SERIES PAGE
   ═══════════════════════════════════════════════ */
.product-series-wrap { max-width: 1100px; }
.product-series-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.product-series-intro__img .product-img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg,#1a3f78,#0f2b5b);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.product-series-intro__img .product-img-placeholder span { font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.3); letter-spacing: .1em; }
.product-series-intro__img img { border-radius: var(--radius-md); width: 100%; }
.product-series-intro__title { font-size: var(--fs-xl); margin-bottom: .75rem; }
.product-series-intro__sub   { font-size: var(--fs-base); color: var(--text-light); margin-bottom: 1.25rem; }
.product-series-intro__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.equiv-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.equiv-badge__label { font-size: var(--fs-xs); font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; }
.equiv-badge { font-size: var(--fs-xs); padding: .25rem .75rem; background: var(--primary-light); color: var(--primary); border-radius: 20px; border: 1px solid var(--accent-light); }
.specs-section { margin-bottom: 3rem; }
.specs-section__title { font-size: var(--fs-lg); margin-bottom: 1.25rem; padding-left: 1rem; border-left: 4px solid var(--accent); }
.table-scroll { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.specs-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: var(--fs-sm); white-space: nowrap; }
.specs-table th { background: var(--primary); color: var(--white); padding: .75rem 1.25rem; text-align: left; font-weight: 600; }
.specs-table td { padding: .625rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.specs-table tbody tr:nth-child(even) td { background: var(--bg-section); }
.specs-note { font-size: var(--fs-xs); color: var(--text-light); margin-top: .75rem; padding-left: .5rem; }

/* ═══════════════════════════════════════════════
   PAGE CONTENT
   ═══════════════════════════════════════════════ */
.page-content-wrap { max-width: 900px; }
.entry-content h2 { font-size: var(--fs-lg); margin: 2rem 0 1rem; padding-left: 1rem; border-left: 4px solid var(--accent); }
.entry-content h3 { font-size: var(--fs-md); margin: 1.5rem 0 .75rem; color: var(--primary); }
.entry-content p  { margin-bottom: 1rem; color: var(--text-mid); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.entry-content li { margin-bottom: .375rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: var(--fs-sm); }
.entry-content th { background: var(--primary-light); color: var(--primary); padding: .75rem 1rem; text-align: left; font-weight: 600; }
.entry-content td { padding: .625rem 1rem; border-bottom: 1px solid var(--border); }
.entry-content img { border-radius: var(--radius-sm); margin: 1.25rem 0; }

/* Single post */
.single-wrap { max-width: 900px; }
.single-hero-img { margin-bottom: 2rem; border-radius: var(--radius-md); overflow: hidden; }
.single-hero-img img { width: 100%; object-fit: cover; max-height: 500px; }
.single-header { margin-bottom: 2rem; }
.single-meta  { display: flex; gap: 1rem; align-items: center; margin-bottom: .75rem; }
.single-cat   { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.single-date  { font-size: var(--fs-xs); color: var(--text-light); }
.single-title { font-size: var(--fs-xl); }
.related-posts { margin-top: 4rem; }
.related-posts__title { font-size: var(--fs-lg); margin-bottom: 1.5rem; padding-left: 1rem; border-left: 4px solid var(--accent); }

/* Archive */
.cat-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-filter__item { padding: .45rem 1.125rem; border-radius: 20px; font-size: var(--fs-sm); font-weight: 600; background: var(--white); border: 1.5px solid var(--border); color: var(--text-mid); transition: all .2s; text-decoration: none; }
.cat-filter__item:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.cat-filter__item--active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Pagination */
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .5rem; justify-content: center; align-items: center; }
.pagination .page-numbers {
  padding: .5rem .875rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-mid);
  background: var(--white);
  border: 1.5px solid var(--border);
  transition: all .2s;
  text-decoration: none;
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.pagination .page-numbers.current { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Search */
.search-form { display: flex; gap: .75rem; margin-bottom: 2rem; }
.search-form input { flex: 1; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: var(--fs-base); max-width: 500px; }
.search-form input:focus { outline: none; border-color: var(--accent); }
.search-form--centered { justify-content: center; margin-top: 2rem; }
.search-count { font-size: var(--fs-sm); color: var(--text-light); margin-bottom: 1.5rem; }
.search-results { display: flex; flex-direction: column; gap: 1.5rem; }
.search-result { padding: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.search-result__title { font-size: var(--fs-md); margin-bottom: .5rem; }
.search-result__title a { color: var(--text-dark); }
.search-result__title a:hover { color: var(--accent); text-decoration: none; }
.search-result__excerpt { font-size: var(--fs-sm); color: var(--text-light); margin-bottom: .75rem; }

/* 404 */
.error-page { text-align: center; padding: 6rem 0; }
.error-page__code  { font-size: clamp(5rem,12vw,10rem); font-weight: 900; color: var(--primary-light); line-height: 1; margin-bottom: 1rem; }
.error-page__title { font-size: var(--fs-xl); margin-bottom: 1rem; }
.error-page__desc  { font-size: var(--fs-base); color: var(--text-light); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.error-page__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }

/* No results */
.no-results { text-align: center; padding: 4rem 0; }
.no-results p { font-size: var(--fs-base); color: var(--text-light); margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer { background: #0a1929; color: rgba(255,255,255,.8); }
.footer-main { padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer-col--brand .footer-logo { display: block; margin-bottom: 1rem; }
.footer-col--brand .footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1) opacity(.9); }
.footer-logo-text { font-size: 1.25rem; font-weight: 800; color: var(--white); display: block; margin-bottom: 1rem; }
.footer-tagline { font-size: var(--fs-sm); color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-social a:hover { color: var(--white); text-decoration: none; }
.footer-heading { font-size: var(--fs-sm); font-weight: 700; color: var(--white); letter-spacing: .04em; margin-bottom: 1rem; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: var(--fs-sm); color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-contact-list { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .625rem; font-size: var(--fs-sm); color: rgba(255,255,255,.65); }
.footer-contact-list svg { flex-shrink: 0; margin-top: 3px; }
.footer-contact-list a { color: rgba(255,255,255,.75); }
.footer-contact-list a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: var(--fs-xs); color: rgba(255,255,255,.45); }
.footer-nav-menu { display: flex; gap: 1.25rem; }
.footer-nav-menu li a { font-size: var(--fs-xs); color: rgba(255,255,255,.45); }
.footer-nav-menu li a:hover { color: rgba(255,255,255,.7); text-decoration: none; }
.footer--minimal { background: #0a1929; padding: 1.25rem 0; text-align: center; }
.footer--minimal p { font-size: var(--fs-xs); color: rgba(255,255,255,.45); }

/* ═══════════════════════════════════════════════
   SITE HEADER — LANDING
   ═══════════════════════════════════════════════ */
.site-header--landing .header-inner { justify-content: space-between; }

/* ═══════════════════════════════════════════════
   APPLICATIONS HUB
   ═══════════════════════════════════════════════ */
.section-intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; color: var(--muted); }
.app-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.app-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.app-hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.app-hub-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-alt);
}
.app-hub-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.app-hub-card:hover .app-hub-card__img-wrap img { transform: scale(1.04); }
.app-hub-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.app-hub-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 .5rem;
}
.app-hub-card__desc {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}
.app-hub-card__link { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }

/* ═══════════════════════════════════════════════
   SUPPORT HUB
   ═══════════════════════════════════════════════ */
.support-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.support-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.support-cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.support-cta-box h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 .625rem;
}
.support-cta-box p { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 1.25rem; line-height: 1.6; }
.support-cta-box__phone { margin-top: 1rem !important; text-align: center; font-weight: 600; color: var(--heading) !important; }

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */
.contact-editor-content,
.contact-editor-content p,
.contact-editor-content li { color: rgba(255,255,255,.75); }
.contact-editor-content h2,
.contact-editor-content h3,
.contact-editor-content h4,
.contact-editor-content strong { color: var(--white); }
.contact-editor-content h2 { border-left-color: var(--accent); }
.contact-editor-content h3 { color: var(--white); }
.contact-editor-content a { color: #7dd3fc; }
.contact-editor-content a:hover { color: var(--white); }

/* btn--block utility */
.btn--block { display: block; text-align: center; width: 100%; box-sizing: border-box; }

/* Table scroll fade hint (mobile) */
.table-scroll {
  position: relative;
}
@media (max-width: 768px) {
  .table-scroll::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
  }
  .compare-table-wrap { overflow-x: auto; }
  .compare-table-wrap::after {
    content: '';
    display: block;
    height: 0;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 1200px
   ═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col--brand { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
  .footer-col--brand > * { flex: 1 1 200px; }
  .advantages-grid { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 992px
   ═══════════════════════════════════════════════ */
@media (max-width: 992px) {
  :root { --header-h: 64px; }
  .site-nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .app-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1/-1; }
  .inquiry-section { grid-template-columns: 1fr; gap: 2rem; }
  .product-series-intro { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid--3 { grid-template-columns: repeat(2,1fr); }
  .app-hub-grid { grid-template-columns: repeat(2,1fr); }
  .support-wrap { grid-template-columns: 1fr; }
  .support-sidebar { position: static; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .stats-bar__inner { gap: 1.5rem; flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; }
  .app-hub-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .landing-hero__actions { flex-direction: column; align-items: flex-start; }
  .compare-table { font-size: var(--fs-xs); }
  .compare-table th, .compare-table td { padding: .625rem .75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-strip__actions { flex-direction: column; align-items: center; }
  .search-form { flex-direction: column; }
  .advantages-grid { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .product-grid, .product-grid--3 { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2,1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .inquiry-form .form-row { flex-direction: column; }
  .error-page__actions { flex-direction: column; align-items: center; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .stats-bar__inner { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
  .stat-item { flex: none; }
  .landing-hero__title { font-size: clamp(1.6rem, 7vw, 2.5rem); }
}

/* ═══════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════ */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
