/*
Theme Name: Teknisol Corporate
Theme URI: https://teknisol.com.pk/
Author: Teknisol
Author URI: https://teknisol.com.pk/
Description: A custom responsive B2B industrial trading, engineering, construction, automation and technology theme for TEKNISOL (PVT) LTD.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: teknisol-corporate
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, responsive-layout, accessibility-ready
*/

/* =========================================================
   TEKNISOL CORPORATE WEBSITE
   Premium Industrial + Corporate + Technology
   ========================================================= */

/* 1. CSS VARIABLES */
:root {
  --primary: #006edc;
  --primary-dark: #0054aa;
  --cyan: #11cfef;
  --navy: #071a2e;
  --navy-2: #0a2238;
  --blue-soft: #eef7fc;
  --surface: #f4f7f9;
  --border: #dce5ea;
  --white: #ffffff;
  --text: #425466;
  --text-dark: #11283d;
  --muted: #6f8291;
  --success: #159957;
  --danger: #c0392b;
  --shadow-sm: 0 10px 28px rgba(7, 26, 46, 0.08);
  --shadow-md: 0 18px 48px rgba(7, 26, 46, 0.12);
  --shadow-lg: 0 28px 74px rgba(7, 26, 46, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1280px;
  --header-height: 78px;
  --transition: 220ms ease;
}

/* 2. RESET AND BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(17, 207, 239, 0.28); color: var(--navy); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.65em;
  color: var(--text-dark);
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.55rem, 5.6vw, 5.35rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.72rem); }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1.2rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.75; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .eyebrow::before { display: none; }
.section-heading p { color: var(--muted); font-size: 1.06rem; }
.text-white, .text-white h1, .text-white h2, .text-white h3 { color: var(--white); }
.text-white p { color: rgba(255,255,255,0.74); }

/* 4. LAYOUT UTILITIES */
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(74px, 8vw, 118px) 0; }
.section-sm { padding: 58px 0; }
.section-light { background: var(--surface); }
.section-soft { background: var(--blue-soft); }
.section-dark { background: var(--navy); }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(42px, 7vw, 90px); align-items: center; }
.stack > * + * { margin-top: 18px; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 5. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(17,207,239,.35); outline-offset: 3px; }
.btn-primary {
  color: var(--white);
  background: linear-gradient(100deg, var(--primary), #008dd8 58%, var(--cyan));
  box-shadow: 0 12px 32px rgba(0,110,220,.24);
}
.btn-primary:hover { box-shadow: 0 18px 38px rgba(0,110,220,.32); }
.btn-secondary { color: var(--navy); background: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline { color: var(--primary); background: transparent; border-color: rgba(0,110,220,.28); }
.btn-outline:hover { background: var(--blue-soft); border-color: var(--primary); }
.btn-dark { color: var(--white); background: var(--navy); }
.btn-link { padding: 0; min-height: auto; border: 0; border-radius: 0; color: var(--primary); background: none; }
.arrow { transition: transform var(--transition); }
.btn:hover .arrow, .card-link:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* 6. HEADER AND NAVIGATION */
.topbar { background: var(--navy); color: rgba(255,255,255,.76); font-size: .78rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-list { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar a:hover { color: var(--white); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(220,229,234,.85);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.985); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 170px; height: 58px; object-fit: contain; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-item { position: relative; }
.nav-link, .nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  font-size: .92rem;
  font-weight: 750;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary); }
.chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 270px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 12px 13px; border-radius: 9px; color: var(--text-dark); font-size: .91rem; font-weight: 650; }
.dropdown a:hover { color: var(--primary); background: var(--blue-soft); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--navy); transition: var(--transition); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-quote { flex: 0 0 auto; }

/* 7. HERO SECTIONS */
.hero {
  position: relative;
  min-height: min(790px, calc(100vh - 38px));
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(120deg, #071a2e, #0e3455);
}
.hero-media, .inner-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,18,33,.94) 0%, rgba(7,26,46,.78) 45%, rgba(7,26,46,.30) 76%, rgba(7,26,46,.18) 100%);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 45%, rgba(17,207,239,.13), transparent 34%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 110px 0 96px; }
.hero-copy { max-width: 800px; }
.hero h1 { color: var(--white); max-width: 920px; }
.hero h1 span { color: var(--cyan); }
.hero .lead { max-width: 730px; color: rgba(255,255,255,.78); }
.hero .eyebrow { color: var(--cyan); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 42px; color: rgba(255,255,255,.72); font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(17,207,239,.1); }
.hero-line { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--cyan), transparent 80%); }

.inner-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.inner-hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,46,.94), rgba(7,26,46,.70) 55%, rgba(7,26,46,.30)); }
.inner-hero-content { position: relative; z-index: 2; padding: 96px 0 66px; }
.inner-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4.8rem); }
.inner-hero p { max-width: 720px; color: rgba(255,255,255,.75); font-size: 1.12rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; color: rgba(255,255,255,.65); font-size: .86rem; font-weight: 700; }
.breadcrumb a:hover { color: var(--cyan); }

/* 8. SHARED SECTIONS */
.trust-strip { position: relative; z-index: 5; margin-top: -38px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.trust-item { padding: 28px 26px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: 0; }
.trust-icon, .feature-icon, .service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(0,110,220,.12), rgba(17,207,239,.13));
  font-family: "Manrope", sans-serif;
  font-weight: 900;
}
.trust-item h3 { margin-bottom: 7px; font-size: 1rem; }
.trust-item p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }

.media-frame { position: relative; min-height: 500px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--navy-2), var(--primary)); box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,26,46,.28)); pointer-events: none; }
.media-badge { position: absolute; z-index: 2; left: 24px; bottom: 24px; max-width: 260px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: var(--white); background: rgba(7,26,46,.83); backdrop-filter: blur(12px); }
.media-badge strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.08rem; }
.media-badge span { color: rgba(255,255,255,.68); font-size: .84rem; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 25px 0 30px; list-style: none; }
.check-list li { display: flex; gap: 12px; color: var(--text-dark); font-weight: 650; }
.check-list li::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--blue-soft); font-size: .78rem; font-weight: 900; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { padding: 25px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
.stat-card strong { display: block; color: var(--primary); font-family: "Manrope", sans-serif; font-size: 1.45rem; }
.stat-card span { color: var(--muted); font-size: .9rem; }

/* 9. CARDS */
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(7,26,46,.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,110,220,.25); box-shadow: var(--shadow-md); }
.card-body { padding: 28px; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--primary)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 550ms ease; }
.card:hover .card-media img { transform: scale(1.055); }
.card-kicker { color: var(--primary); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.card p { color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 800; }

.division-card .card-media { aspect-ratio: 16 / 11; }
.division-card .number { position: absolute; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: rgba(7,26,46,.72); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); font-weight: 900; }

.product-tabs { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow-sm); }
.tab-buttons { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.tab-button { min-height: 70px; padding: 14px 18px; border: 0; border-right: 1px solid var(--border); color: var(--text-dark); background: var(--white); font-weight: 800; }
.tab-button:last-child { border-right: 0; }
.tab-button.active { color: var(--primary); background: var(--blue-soft); box-shadow: inset 0 -3px 0 var(--primary); }
.tab-panel { display: none; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: stretch; padding: 34px; }
.tab-panel.active { display: grid; }
.tab-panel-image { min-height: 360px; border-radius: var(--radius-md); overflow: hidden; background: var(--navy); }
.tab-panel-image img { width: 100%; height: 100%; object-fit: cover; }
.product-list-preview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; padding: 0; margin: 24px 0 30px; list-style: none; }
.product-list-preview li { padding: 11px 0; border-bottom: 1px solid var(--border); color: var(--text-dark); font-weight: 650; }

.industry-card { min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--navy); }
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.industry-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,46,.08) 15%, rgba(7,26,46,.88) 100%); }
.industry-card-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 25px; color: var(--white); }
.industry-card h3 { color: var(--white); margin-bottom: 7px; }
.industry-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.55; }
.industry-card:hover img { transform: scale(1.07); }

.service-list-card { padding: 30px; }
.service-list-card ul { padding: 0; margin: 20px 0 0; list-style: none; }
.service-list-card li { padding: 11px 0; border-bottom: 1px solid var(--border); color: var(--text-dark); font-weight: 650; }
.service-list-card li:last-child { border-bottom: 0; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, var(--primary), var(--cyan)); opacity: .35; }
.process-step { position: relative; padding: 0 23px; }
.process-number { position: relative; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px; border: 7px solid var(--white); border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--primary), var(--cyan)); font-family: "Manrope", sans-serif; font-weight: 900; box-shadow: 0 10px 24px rgba(0,110,220,.18); }
.process-step p { color: var(--muted); font-size: .92rem; }

.dark-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dark-feature { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); background: rgba(255,255,255,.045); }
.dark-feature h3 { color: var(--white); font-size: 1.03rem; }
.dark-feature p { margin: 0; color: rgba(255,255,255,.63); font-size: .87rem; }

.quote-band { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.quote-band-media { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .27; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,46,.98), rgba(7,26,46,.82), rgba(0,110,220,.45)); }
.quote-band-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 72px 0; }
.quote-band h2 { color: var(--white); margin-bottom: 12px; }
.quote-band p { margin: 0; color: rgba(255,255,255,.72); }

/* Product catalogue */
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 32px; }
.search-field { flex: 1 1 320px; position: relative; }
.search-field input { width: 100%; min-height: 52px; padding: 0 18px 0 47px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--text-dark); outline: 0; }
.search-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,110,220,.08); }
.search-field::before { content: "⌕"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.4rem; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-dark); background: var(--white); font-weight: 750; }
.filter-button.active { color: var(--white); background: var(--primary); border-color: var(--primary); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-item { display: flex; flex-direction: column; min-height: 220px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); transition: var(--transition); }
.product-item:hover { transform: translateY(-4px); border-color: rgba(0,110,220,.3); box-shadow: var(--shadow-sm); }
.product-item .product-category { color: var(--primary); font-size: .71rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.product-item h3 { margin: 12px 0 10px; font-size: 1.1rem; }
.product-item p { color: var(--muted); font-size: .86rem; }
.product-item .btn-link { margin-top: auto; align-self: flex-start; }
.empty-state { display: none; padding: 35px; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius-md); color: var(--muted); }

/* Accordions */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border: 0; color: var(--text-dark); background: transparent; text-align: left; font-weight: 800; }
.accordion-icon { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--blue-soft); transition: transform var(--transition); }
.accordion-button[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 350ms ease; }
.accordion-panel-inner { padding: 0 0 24px; color: var(--muted); }

/* 10. FORMS */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: var(--text-dark); font-size: .88rem; font-weight: 800; }
.form-control { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-dark); background: var(--white); outline: 0; transition: border var(--transition), box-shadow var(--transition); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,110,220,.08); }
.form-control.invalid { border-color: var(--danger); }
.form-note { color: var(--muted); font-size: .8rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { margin-top: 6px; }
.form-status { display: none; margin-top: 18px; padding: 13px 16px; border-radius: 10px; font-weight: 700; }
.form-status.success { display: block; color: #0f6a3d; background: #e7f7ef; border: 1px solid #bee8d2; }
.contact-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: start; }
.contact-card { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.contact-detail { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-detail:last-child { border-bottom: 0; }
.contact-detail strong { display: block; color: var(--text-dark); }
.contact-detail span, .contact-detail a { color: var(--muted); }
.map-placeholder { position: relative; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--navy-2), var(--primary)); }
.map-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.map-placeholder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,46,.15), rgba(7,26,46,.75)); }
.map-content { position: absolute; z-index: 2; left: 28px; bottom: 28px; color: var(--white); }
.map-content h3 { color: var(--white); }

/* 11. MODAL */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,16,29,.72); backdrop-filter: blur(7px); }
.modal-dialog { position: relative; z-index: 2; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 27px 30px 20px; border-bottom: 1px solid var(--border); }
.modal-header h2 { margin-bottom: 7px; font-size: 1.85rem; }
.modal-header p { margin: 0; color: var(--muted); }
.modal-close { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; color: var(--text-dark); background: var(--white); font-size: 1.35rem; }
.modal-body { padding: 28px 30px 32px; }

/* 12. FOOTER */
.site-footer { color: rgba(255,255,255,.68); background: #041421; }
.footer-main { display: grid; grid-template-columns: 1.35fr .75fr .9fr .9fr 1.15fr; gap: 38px; padding: 76px 0 58px; }
.footer-brand img { width: 190px; height: 70px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(0,0,0,.18)); }
.footer-brand p { max-width: 330px; margin-top: 18px; }
.footer-title { margin-bottom: 18px; color: var(--white); font-size: 1rem; }
.footer-links { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.footer-links a:hover { color: var(--cyan); }
.footer-contact { display: grid; gap: 11px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .83rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.back-to-top { position: fixed; right: 22px; bottom: 92px; z-index: 900; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--white); background: var(--navy); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.whatsapp-button { position: fixed; right: 20px; bottom: 26px; z-index: 900; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 18px; border-radius: 999px; color: var(--white); background: #1fa855; box-shadow: 0 15px 34px rgba(31,168,85,.28); font-weight: 800; }
.whatsapp-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px rgba(255,255,255,.16); }

/* 13. ANIMATIONS */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-media { animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.08); } }

/* 14. RESPONSIVE */
@media (max-width: 1120px) {
  .header-quote { display: none; }
  .footer-main { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .footer-main > :nth-child(4), .footer-main > :nth-child(5) { grid-column: auto; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .dark-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-height: 70px; }
  .topbar { display: none; }
  .brand img { width: 150px; height: 52px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    padding: 20px;
    background: rgba(255,255,255,.99);
    transform: translateX(100%);
    transition: transform 300ms ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { align-items: stretch; flex-direction: column; }
  .nav-link, .nav-toggle { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 8px; border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }
  .dropdown { position: static; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item.open .dropdown { display: block; }
  .dropdown a { padding-left: 18px; }
  .split, .contact-shell { grid-template-columns: 1fr; }
  .split .media-frame { order: -1; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 35px 0; }
  .process::before { display: none; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-panel-image { min-height: 300px; }
  .quote-band-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { min-height: 720px; }
  .hero-content { padding: 90px 0 70px; }
  .hero-media::before { background: linear-gradient(90deg, rgba(4,18,33,.95), rgba(7,26,46,.76)); }
  .inner-hero { min-height: 360px; }
  .trust-strip { margin-top: -24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-buttons { grid-template-columns: 1fr; }
  .tab-button { border-right: 0; border-bottom: 1px solid var(--border); }
  .tab-button:last-child { border-bottom: 0; }
  .tab-panel { padding: 22px; }
  .product-list-preview { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step { padding: 0; }
  .dark-feature-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; padding: 22px 0; }
  .whatsapp-button { width: 54px; padding: 0; justify-content: center; }
  .whatsapp-button .label { display: none; }
  .modal-header, .modal-body { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
  .hero-actions .btn { width: 100%; }
  .stats-grid, .product-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { align-items: stretch; }
  .filter-buttons { width: 100%; }
  .filter-button { flex: 1 1 auto; }
  .media-frame { min-height: 390px; }
  .quote-band .btn-row .btn { width: 100%; }
}

/* 15. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* WORDPRESS INTEGRATION */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 190px; max-height: 66px; object-fit: contain; }
.admin-bar .site-header { top: 32px; }
.site-notice {
  position: relative;
  z-index: 80;
  padding: 13px 20px;
  text-align: center;
  font-weight: 700;
}
.site-notice.success { color: #0b5a34; background: #e8f8ef; border-bottom: 1px solid #bfe8d0; }
.site-notice.error { color: #8b251d; background: #fff0ed; border-bottom: 1px solid #f3c6bf; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.entry-content { min-height: 35vh; padding: 90px 0; }
.entry-content > * { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.post-list { display: grid; gap: 24px; }
.post-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.post-card h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
