/*
Theme Name: TEFLI Secure
Theme URI: https://tefli.vn/
Author: TEFLI
Description: Lightweight corporate theme for TEFLI Vietnam.
Version: 1.6.3
Text Domain: tefli-secure
*/

:root {
  --ink: #2f1b10;
  --muted: #776356;
  --line: #ead8c8;
  --soft: #fff7ef;
  --paper: #ffffff;
  --primary: #f47f20;
  --primary-dark: #743516;
  --accent: #9b4b1f;
  --amber: #ffc15d;
  --navy: #2b170e;
  --max: 1160px;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 228, 238, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(71, 36, 18, 0.05);
}

.nav-wrap,
.wrap {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(178px, 42vw);
  height: auto;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(244, 127, 32, 0.24);
  font-size: 19px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 243, 0.88) 42%, rgba(255, 245, 231, 0.22) 100%),
    linear-gradient(135deg, rgba(244, 127, 32, 0.16), rgba(116, 53, 22, 0.12)),
    var(--soft);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(244, 127, 32, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 53, 22, 0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  pointer-events: none;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 52px;
  align-items: center;
}

.hero-copy {
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(38px, 5.6vw, 68px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 44px);
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: #5b4636;
  font-size: 19px;
}

.lead.compact {
  max-width: 620px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--primary);
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(244, 127, 32, 0.25);
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(244, 127, 32, 0.30);
}

.button.secondary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  padding: 8px 12px;
  color: #6f3518;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(244, 127, 32, 0.20);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  border-radius: 18px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center;
  animation: float-panel 7s ease-in-out infinite;
}

.hero-visual picture {
  display: block;
  height: 100%;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: auto 9% -18px 9%;
  height: 32px;
  background: rgba(116, 53, 22, 0.18);
  filter: blur(18px);
  content: "";
}

.signal-card {
  position: absolute;
  width: min(270px, 58%);
  padding: 16px 18px;
  color: #fff;
  background: rgba(11, 23, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(11, 23, 40, 0.26);
  backdrop-filter: blur(14px);
}

.signal-card span {
  display: block;
  color: #ffd39b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.signal-card-top {
  top: 24px;
  right: 24px;
}

.signal-card-bottom {
  bottom: 28px;
  left: -24px;
}

.stat-band {
  position: relative;
  z-index: 3;
  margin-top: -30px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(16, 32, 51, 0.10);
}

.stats div {
  min-height: 118px;
  padding: 24px;
  background: #fff;
}

.stats strong {
  display: block;
  color: var(--primary);
  font-size: 34px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--soft);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  max-width: none;
  gap: 40px;
  align-items: end;
}

.section-head.split p:last-child {
  color: var(--muted);
  font-weight: 650;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--amber));
  content: "";
}

.service-card:hover {
  border-color: rgba(7, 95, 159, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.11);
}

.service-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  color: var(--primary);
  background: #fff0df;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.showcase {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 127, 32, 0.28), transparent 34%),
    linear-gradient(135deg, #2b170e 0%, #5b2c15 54%, #7e3c18 100%);
}

.showcase .eyebrow,
.showcase h2,
.showcase .lead {
  color: #fff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #dcecf8;
  font-weight: 650;
}

.feature-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(244, 127, 32, 0.18);
  content: "";
}

.product-panel {
  position: relative;
  padding: 22px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.product-topbar {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.product-topbar span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.voice-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  color: #d9e8f4;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.voice-row.active {
  background: rgba(0, 168, 135, 0.16);
}

.voice-row b {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 10px;
}

.translate-line {
  width: 2px;
  height: 28px;
  margin: 8px 0 8px 39px;
  background: linear-gradient(var(--accent), transparent);
}

.wave-bars {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 54px;
  margin-top: 20px;
}

.wave-bars i {
  display: block;
  width: 11px;
  height: 22px;
  background: var(--amber);
  border-radius: 999px;
  animation: wave 1.4s ease-in-out infinite;
}

.wave-bars i:nth-child(2) { animation-delay: 0.1s; }
.wave-bars i:nth-child(3) { animation-delay: 0.2s; }
.wave-bars i:nth-child(4) { animation-delay: 0.3s; }
.wave-bars i:nth-child(5) { animation-delay: 0.4s; }
.wave-bars i:nth-child(6) { animation-delay: 0.5s; }
.wave-bars i:nth-child(7) { animation-delay: 0.6s; }

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.process span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-section {
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), #9b4b1f);
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-section .eyebrow,
.cta-section h2 {
  color: #fff;
}

.card p:last-child,
.content p:last-child,
.process p:last-child {
  margin-bottom: 0;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 7px 11px;
  background: #fff0df;
  border: 1px solid #ffd2aa;
  border-radius: 999px;
  color: #743516;
  font-size: 14px;
  font-weight: 750;
}

.content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 78px;
}

.content > .eyebrow,
.content > h1 {
  width: min(900px, 100%);
}

.content > p,
.content > ul,
.content > h2,
.content > h3 {
  width: min(900px, 100%);
}

.content h2 {
  margin-top: 36px;
}

.content ul {
  padding-left: 22px;
}

.site-footer {
  padding: 42px 0;
  color: #fff4e8;
  background: #2b170e;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(280px, 1fr);
  gap: 34px;
  align-items: start;
}

.footer-brand img {
  width: min(190px, 70vw);
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
}

.footer-brand p {
  margin: 16px 0 0;
  font-weight: 800;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact span {
  color: #f3d9c2;
}

.site-footer a {
  color: #fff;
}

.job-post {
  max-width: 900px;
}

.job-lead {
  padding: 18px 20px;
  color: var(--primary-dark);
  background: #fff7ef;
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 18px;
}

.job-download {
  margin: 26px 0 34px;
}

.job-facts {
  width: 100%;
  margin: 0 0 32px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(116, 53, 22, 0.07);
}

.job-facts th,
.job-facts td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.job-facts th {
  width: 190px;
  color: var(--primary-dark);
  background: #fff7ef;
}

.job-facts tr:last-child th,
.job-facts tr:last-child td {
  border-bottom: 0;
}

.job-apply {
  margin-top: 34px;
  padding: 22px;
  background: #fff7ef;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.job-apply h2 {
  margin-top: 0;
}

.promo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.05fr);
  gap: 40px;
  align-items: center;
  margin: 8px 0 34px;
  padding: 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 127, 32, 0.20), transparent 32%),
    linear-gradient(135deg, #fffaf5, #fff0df);
  border: 1px solid #f2d2b5;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(116, 53, 22, 0.10);
}

.promo-hero h2 {
  margin-top: 0;
  font-size: clamp(32px, 4vw, 54px);
}

.promo-copy p:not(.eyebrow) {
  color: #5b4636;
  font-size: 18px;
}

.promo-media {
  position: relative;
  display: block;
  margin: 0;
}

.promo-media img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(116, 53, 22, 0.18);
}

.promo-media br {
  display: none;
}

.promo-media::after {
  position: absolute;
  inset: auto 10% -16px;
  height: 32px;
  background: rgba(116, 53, 22, 0.18);
  filter: blur(18px);
  content: "";
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 56px;
  background: #f0d8c3;
  border: 1px solid #f0d8c3;
  border-radius: 14px;
}

.promo-strip article {
  padding: 24px;
  background: #fff;
}

.promo-strip strong {
  display: block;
  color: var(--primary);
  font-size: 24px;
  line-height: 1.1;
}

.promo-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.promo-section {
  margin: 64px 0;
}

.promo-section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.promo-section-head h2 {
  margin-top: 0;
}

.promo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promo-card-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promo-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  padding: 0 0 26px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(116, 53, 22, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.promo-card:hover {
  color: var(--ink);
  border-color: rgba(244, 127, 32, 0.42);
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(116, 53, 22, 0.12);
}

.promo-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--amber));
  content: "";
}

.promo-card-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 22px;
  border-radius: 14px 14px 0 0;
  background: #fff4e8;
}

.promo-card-visual + br {
  display: none;
}

.promo-card span {
  display: inline-grid;
  min-width: 44px;
  height: 44px;
  margin: 0 26px 22px;
  padding: 0 12px;
  place-items: center;
  color: var(--primary-dark);
  background: #fff0df;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 950;
}

.promo-card h3 {
  padding: 0 26px;
  margin-bottom: 12px;
}

.promo-card p {
  padding: 0 26px;
  color: var(--muted);
  font-weight: 650;
}

.promo-card.highlight {
  color: #fff;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 193, 93, 0.34), transparent 30%),
    linear-gradient(135deg, #743516, #f47f20);
  border-color: rgba(244, 127, 32, 0.44);
}

.promo-card.highlight h3,
.promo-card.highlight p {
  color: #fff;
}

.promo-card.highlight span {
  color: #743516;
  background: #fff;
}

.warm-panel {
  padding: 36px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 16%, rgba(255, 193, 93, 0.30), transparent 30%),
    linear-gradient(135deg, #2b170e, #743516 58%, #a95420);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(116, 53, 22, 0.16);
}

.warm-panel h2,
.warm-panel .eyebrow,
.warm-panel p {
  color: #fff;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  position: relative;
  min-height: 48px;
  padding: 12px 14px 12px 42px;
  color: inherit;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  font-weight: 800;
}

.check-grid li::before {
  position: absolute;
  top: 15px;
  left: 16px;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 193, 93, 0.18);
  content: "";
}

.promo-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.promo-timeline article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.promo-timeline span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-timeline p {
  color: var(--muted);
  font-weight: 650;
}

.promo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 18px;
}

.promo-cta h2,
.promo-cta .eyebrow {
  color: #fff;
}

.page-id-5685 .content {
  width: 100%;
  padding: 0;
  background: #fffaf5;
}

.page-id-5685 .content > .eyebrow,
.page-id-5685 .content > h1 {
  display: none;
}

.iot-services-page {
  position: relative;
  overflow: hidden;
  padding: 52px max(24px, calc((100vw - var(--max)) / 2)) 80px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.98) 0%, #fff 48%, #fff7ef 100%);
}

.iot-services-page::before {
  position: absolute;
  inset: 0;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(244, 127, 32, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 53, 22, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
  pointer-events: none;
  content: "";
}

.iot-services-page > * {
  position: relative;
  z-index: 1;
}

.iot-orb {
  display: none;
}

.iot-orb-a {
  right: -80px;
  top: 460px;
  background: radial-gradient(circle, rgba(0, 174, 255, 0.42), transparent 64%);
}

.iot-orb-b {
  left: -90px;
  bottom: 220px;
  background: radial-gradient(circle, rgba(244, 127, 32, 0.28), transparent 66%);
}

.iot-segments {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 84px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #f2d2b5;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(116, 53, 22, 0.08);
  backdrop-filter: blur(14px);
}

.iot-segments span {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 16px;
  border-right: 1px solid #f2d2b5;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
}

.iot-segments span:last-child {
  border-right: 0;
}

.iot-hero {
  max-width: 930px;
  margin: 0 auto 56px;
  text-align: center;
}

.iot-kicker {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.iot-hero h1,
.iot-hero h2,
.iot-section-title h2,
.iot-console h2,
.iot-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.08;
}

.iot-hero p:not(.iot-kicker),
.iot-section-title p,
.iot-console p {
  color: #5b4636;
  font-size: 20px;
  font-weight: 650;
}

.iot-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.iot-actions a,
.iot-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(244, 127, 32, 0.24);
  font-weight: 900;
}

.iot-actions a:hover,
.iot-cta a:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.iot-actions a:nth-child(2) {
  color: var(--primary-dark);
  background: #fff;
  border-color: #f2d2b5;
  box-shadow: none;
}

.iot-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin: 0 0 38px;
  background: #fff;
  border: 1px solid #f2d2b5;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(116, 53, 22, 0.07);
}

.iot-tabs span {
  display: grid;
  min-height: 58px;
  place-items: center;
  color: #6f5a4b;
  border-right: 1px solid #f2d2b5;
  font-weight: 900;
}

.iot-tabs span:last-child {
  border-right: 0;
}

.iot-tabs .active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.iot-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 84px;
}

.iot-case {
  min-height: 420px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #f2d2b5;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(116, 53, 22, 0.10);
}

.iot-case.featured {
  border-color: rgba(244, 127, 32, 0.78);
  box-shadow: 0 28px 80px rgba(244, 127, 32, 0.14);
}

.iot-label {
  margin: 0 0 22px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.iot-case h3 {
  color: var(--ink);
  font-size: 28px;
}

.iot-case p:not(.iot-label) {
  color: #6f5a4b;
  font-size: 17px;
  font-weight: 650;
}

.iot-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.iot-metrics span {
  min-width: 150px;
  padding: 14px 16px;
  color: #856f60;
  background: #fff7ef;
  border: 1px solid #f2d2b5;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.iot-metrics strong {
  display: block;
  color: var(--primary);
  font-size: 30px;
  line-height: 1.1;
}

.iot-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--primary);
  font-weight: 900;
}

.iot-section-title {
  max-width: 850px;
  margin-bottom: 34px;
}

.iot-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 88px;
}

.iot-service-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 220px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #f2d2b5;
  border-radius: 18px;
  box-shadow: 0 20px 58px rgba(116, 53, 22, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.iot-service-card:hover {
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-5px);
  border-color: rgba(244, 127, 32, 0.72);
  background: #fffaf5;
  box-shadow: 0 26px 70px rgba(244, 127, 32, 0.14);
}

.iot-service-card img {
  width: 112px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff7ef;
  border: 1px solid #f2d2b5;
  border-radius: 14px;
}

.iot-service-card img + br {
  display: none;
}

.iot-service-card span {
  display: inline-grid;
  min-width: 40px;
  height: 34px;
  margin-bottom: 12px;
  padding: 0 10px;
  place-items: center;
  color: var(--primary-dark);
  background: #fff0df;
  border: 1px solid #f2d2b5;
  border-radius: 9px;
  font-weight: 950;
}

.iot-service-card h3 {
  color: var(--ink);
  font-size: 22px;
}

.iot-service-card p {
  color: #6f5a4b;
  font-weight: 650;
}

.iot-service-card.accent {
  border-color: rgba(244, 127, 32, 0.55);
  background:
    linear-gradient(135deg, #fff7ef, #fff),
    #fff;
}

.iot-console {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 78px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 247, 239, 0.96), rgba(255, 255, 255, 0.96));
  border: 1px solid #f2d2b5;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(116, 53, 22, 0.09);
}

.iot-console h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.iot-console ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.iot-console li {
  padding: 12px 14px;
  color: #5b4636;
  background: #fff;
  border: 1px solid #f2d2b5;
  border-radius: 10px;
  font-weight: 750;
}

.iot-dashboard {
  padding: 24px;
  background: #fff;
  border: 1px solid #f2d2b5;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(244, 127, 32, 0.04);
}

.iot-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  color: #6f5a4b;
  border-bottom: 1px solid #f2d2b5;
  font-weight: 900;
}

.iot-window-bar i {
  width: 12px;
  height: 12px;
  background: #ff5f57;
  border-radius: 50%;
}

.iot-window-bar i:nth-child(2) {
  background: #ffbd2e;
}

.iot-window-bar i:nth-child(3) {
  background: #28c840;
}

.iot-window-bar strong {
  margin-left: 10px;
}

.iot-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.iot-dashboard-grid span {
  min-height: 122px;
  padding: 22px;
  color: #856f60;
  background: #fff7ef;
  border: 1px solid #f2d2b5;
  border-radius: 12px;
  font-weight: 800;
}

.iot-dashboard-grid strong {
  display: block;
  color: var(--primary);
  font-size: 36px;
}

.iot-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background: linear-gradient(135deg, #fff0df, #fff7ef);
  border: 1px solid #f2d2b5;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(116, 53, 22, 0.09);
}

.iot-cta h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 52px);
}

@keyframes float-panel {
  0%,
  100% {
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg) translateY(0);
  }
  50% {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-10px);
  }
}

@keyframes wave {
  0%,
  100% {
    height: 18px;
  }
  50% {
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head.split,
  .showcase-grid,
  .stats,
  .process,
  .grid.three,
  .grid.two,
  .promo-hero,
  .promo-strip,
  .promo-card-grid,
  .promo-card-grid.two-col,
  .promo-timeline,
  .iot-segments,
  .iot-tabs,
  .iot-case-grid,
  .iot-service-grid,
  .iot-console {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-visual {
    min-height: auto;
    transform: none;
  }

  .hero-visual img {
    min-height: 360px;
  }

  .signal-card-bottom {
    left: 18px;
  }

  .cta-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .iot-segments span,
  .iot-tabs span {
    border-right: 0;
    border-bottom: 1px solid #f2d2b5;
  }

  .iot-segments span:last-child,
  .iot-tabs span:last-child {
    border-bottom: 0;
  }

  .iot-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-media img {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-nav ul {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    padding-bottom: 54px;
  }

  .hero-visual img {
    min-height: 280px;
  }

  .signal-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .stat-band {
    margin-top: 0;
  }

  .promo-hero,
  .warm-panel,
  .promo-cta {
    padding: 22px;
    border-radius: 14px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .promo-media img {
    min-height: 230px;
  }

  .iot-services-page {
    padding-right: 18px;
    padding-left: 18px;
  }

  .iot-service-card {
    grid-template-columns: 1fr;
  }

  .iot-service-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .iot-dashboard-grid {
    grid-template-columns: 1fr;
  }
}
