:root {
  --ceitsa-blue: #00549f;
  --ceitsa-blue-dark: #003f78;
  --ceitsa-blue-light: #2d7fbd;
  --menu-blue: #002f8f;
  --button-blue: #0090ff;
  --button-blue-text: #0d74ce;
  --button-blue-soft: #e6f4fe;
  --ink: #1f2d3a;
  --muted: #66737d;
  --line: #dce3e8;
  --panel: #ffffff;
  --soft: #f4f7fa;
  --amber: #f0b323;
  --shadow: 0 16px 40px rgba(31, 45, 58, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(31, 45, 58, 0.05);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 32px);
  min-height: 62px;
  padding: 0 clamp(18px, 2.4vw, 44px);
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 118px;
  min-width: 118px;
}

.brand img {
  width: 104px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2vw, 34px);
  flex: 1 1 auto;
  min-width: 0;
}

.navbar::after {
  flex: 0 0 118px;
  min-width: 118px;
  content: "";
}

.menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 62px;
  padding: 0;
  color: #565b64;
  font-size: clamp(14px, 0.9vw, 16px);
  font-weight: 700;
  white-space: nowrap;
}

.menu a:hover,
.menu a.active {
  color: var(--ink);
  background: transparent;
}

.menu a.active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--menu-blue);
  content: "";
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  background: #ffffff;
  font: inherit;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  min-height: calc(100vh - 112px);
  padding: 56px clamp(18px, 5vw, 72px) 36px;
  background:
    linear-gradient(110deg, rgba(244, 247, 250, 1) 0%, rgba(244, 247, 250, 0.92) 44%, rgba(255, 255, 255, 0.65) 100%),
    radial-gradient(circle at 70% 15%, rgba(0, 84, 159, 0.18), transparent 35%);
}

.hero-copy {
  max-width: 680px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-copy p:not(.eyebrow) {
  max-width: 600px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  color: #ffffff;
  background: var(--button-blue);
  border-color: var(--button-blue);
}

.btn.secondary {
  color: var(--button-blue-text);
  background: #ffffff;
  border-color: var(--button-blue);
}

.btn.light {
  color: var(--button-blue-text);
  background: #ffffff;
  border-color: #ffffff;
}

.btn.soft {
  color: var(--button-blue-text);
  background: var(--button-blue-soft);
  border-color: var(--button-blue-soft);
}

.btn.primary:hover,
.btn.secondary:hover,
.btn.light:hover,
.btn.soft:hover {
  filter: brightness(0.97);
}

.hero-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric-band div {
  padding: 28px clamp(18px, 4vw, 44px);
  background: #ffffff;
}

.metric-band strong {
  display: block;
  color: var(--ceitsa-blue);
  font-size: 34px;
  font-weight: 900;
}

.metric-band span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.catalog,
.steps,
.training-grid,
.info-grid,
.shop-layout,
.contact-layout,
.split-section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.section.compact {
  padding-top: 40px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading a {
  color: var(--ceitsa-blue);
  font-weight: 900;
}

.product-grid,
.training-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card,
.training-grid article,
.info-grid article,
.quote-panel,
.shop-categories a,
.service-list a,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(24, 37, 47, 0.06);
}

.product-card {
  padding: 24px;
}

.product-card p,
.training-grid p,
.info-grid p,
.steps p {
  font-size: 15px;
}

.product-card a,
.training-grid a {
  color: var(--ceitsa-blue);
  font-weight: 900;
}

.icon-chip {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--ceitsa-blue);
  font-size: 12px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 40px;
  background: var(--soft);
}

.service-list,
.shop-categories,
.contact-methods {
  display: grid;
  gap: 14px;
}

.service-list a,
.shop-categories a {
  display: grid;
  gap: 6px;
  padding: 22px;
}

.service-list strong,
.shop-categories strong,
.contact-methods strong {
  color: var(--ink);
}

.service-list span,
.shop-categories span,
.contact-methods span {
  color: var(--muted);
  line-height: 1.5;
}

.sector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-row span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  font-weight: 700;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 46px clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: linear-gradient(120deg, var(--ceitsa-blue-dark), var(--ceitsa-blue));
}

.cta-band h2,
.cta-band .eyebrow {
  color: #ffffff;
}

.cta-band h2 {
  margin-bottom: 0;
}

.page-hero {
  padding: 76px clamp(18px, 5vw, 72px);
  background: linear-gradient(130deg, var(--soft), #ffffff);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 5vw, 64px);
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
}

.page-hero.visual {
  display: grid;
  min-height: 460px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(31, 45, 58, 0.84), rgba(31, 45, 58, 0.46)),
    url("assets/ceitsa-automation-hero.png") center/cover;
}

.page-hero.visual h1,
.page-hero.visual p {
  color: #ffffff;
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 72px clamp(18px, 5vw, 72px);
  background: linear-gradient(130deg, var(--soft), #ffffff 68%);
}

.services-hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 5vw, 68px);
}

.services-hero__copy p:not(.eyebrow) {
  max-width: 680px;
  font-size: 19px;
}

.services-hero__image,
.service-feature__image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.services-hero__image img,
.service-feature__image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.services-intro,
.service-feature,
.services-grid-section,
.service-process {
  padding: 72px clamp(18px, 5vw, 72px);
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: end;
}

.services-intro h2 {
  margin-bottom: 0;
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.service-feature.reverse {
  background: var(--soft);
}

.service-feature.reverse .service-feature__image {
  order: 2;
}

.service-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--button-blue-text);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.service-feature__copy ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-feature__copy li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.55;
}

.service-feature__copy li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--button-blue);
  content: "";
}

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

.services-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 37, 47, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ceitsa-blue);
  font-weight: 900;
}

.service-process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 36px;
  background: var(--soft);
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.process-list strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--menu-blue);
  font-size: 22px;
}

.process-list span {
  color: var(--muted);
  line-height: 1.5;
}

.catalog {
  display: grid;
  gap: 18px;
}

.catalog-item {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.catalog-item h2 {
  font-size: 28px;
}

.catalog-item ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.catalog-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--ceitsa-blue);
  font-weight: 900;
}

.shop-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.quote-panel {
  padding: 26px;
}

.quote-form {
  display: grid;
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: 3px solid rgba(0, 84, 159, 0.18);
  border-color: var(--ceitsa-blue);
}

.vfd-hero {
  display: flex;
  align-items: center;
  min-height: 560px;
  height: clamp(560px, 56.3vw, 760px);
  padding: 52px clamp(18px, 5vw, 72px);
  background-color: #eaf7ff;
  background-image: url("assets/vfd-banner.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.vfd-hero h1 {
  max-width: 700px;
  font-size: clamp(36px, 4.2vw, 56px);
}

.vfd-hero__copy p:not(.eyebrow) {
  max-width: 670px;
  font-size: 17px;
  line-height: 1.58;
}

.vfd-hero__copy {
  width: min(690px, 48%);
}

.vfd-slogan {
  color: var(--ceitsa-blue);
  font-size: 20px;
  font-weight: 900;
}

.vfd-spec-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.vfd-spec-band div {
  display: grid;
  gap: 6px;
  padding: 24px clamp(16px, 2.2vw, 28px);
  background: #ffffff;
}

.vfd-spec-band strong {
  color: var(--ceitsa-blue);
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1;
}

.vfd-spec-band span {
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.35;
}

.vfd-family-selector {
  padding: 56px clamp(18px, 5vw, 72px) 42px;
  background:
    radial-gradient(circle at 75% 18%, rgba(0, 114, 206, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 82%);
}

.vfd-selector-heading {
  max-width: 1080px;
  margin: 0 auto 32px;
  text-align: center;
}

.vfd-selector-heading .eyebrow {
  position: relative;
  margin-bottom: 20px;
  color: var(--ceitsa-blue);
}

.vfd-selector-heading .eyebrow::after {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 66px;
  height: 4px;
  border-radius: 999px;
  background: var(--ceitsa-blue);
  content: "";
  transform: translateX(-50%);
}

.vfd-selector-heading h2 {
  max-width: 1040px;
  margin: 0 auto 12px;
  font-size: clamp(34px, 4vw, 52px);
}

.vfd-selector-heading p:not(.eyebrow) {
  margin: 0;
  color: #344256;
  font-size: 19px;
}

.vfd-selector-shell {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 24px;
  max-width: 1520px;
  margin: 0 auto;
}

.vfd-selector-list,
.vfd-selector-detail {
  border: 1px solid rgba(0, 114, 206, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 50px rgba(24, 37, 47, 0.08);
}

.vfd-selector-list {
  overflow: hidden;
}

.vfd-selector-option {
  display: grid;
  grid-template-columns: 126px 1fr 38px;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 134px;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
}

.vfd-selector-option:last-child {
  border-bottom: 0;
}

.vfd-selector-option strong,
.vfd-selector-option small {
  display: block;
}

.vfd-selector-option strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
}

.vfd-selector-option small {
  color: #344256;
  font-size: 17px;
  line-height: 1.45;
}

.vfd-selector-option em {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 84, 159, 0.2);
  border-radius: 50%;
  color: var(--ceitsa-blue);
  font-size: 28px;
  font-style: normal;
  line-height: 1;
}

.vfd-selector-option:hover,
.vfd-selector-option.is-active {
  background: linear-gradient(90deg, rgba(0, 114, 206, 0.13), #ffffff 42%);
}

.vfd-selector-option.is-active {
  box-shadow: inset 5px 0 0 var(--ceitsa-blue);
}

.vfd-selector-option.is-active em {
  color: #ffffff;
  background: var(--ceitsa-blue);
}

.vfd-selector-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0%, #f0f7ff 70%);
  box-shadow: inset 0 0 0 1px rgba(0, 84, 159, 0.08);
}

.vfd-selector-thumb img {
  display: block;
  width: auto;
  max-width: 92%;
  height: 96%;
  object-fit: contain;
  object-position: center;
}

.vfd-selector-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px 36px;
  overflow: hidden;
  min-height: 630px;
  padding: 34px 42px 24px;
}

.vfd-selector-detail::after {
  position: absolute;
  inset: 0 0 auto auto;
  width: 48%;
  height: 62%;
  background-image: radial-gradient(rgba(0, 114, 206, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.58;
  pointer-events: none;
}

.vfd-selector-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.vfd-selected-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 18px;
  border-radius: 8px;
  color: var(--ceitsa-blue);
  background: rgba(0, 114, 206, 0.1);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vfd-selector-copy h3 {
  margin: 0 0 12px;
  color: var(--ceitsa-blue);
  font-size: clamp(52px, 6vw, 86px);
  line-height: 0.9;
}

.vfd-selector-copy h4 {
  max-width: 450px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.1;
}

.vfd-selector-copy p {
  max-width: 520px;
  margin: 0 0 22px;
  color: #344256;
  font-size: 17px;
  line-height: 1.65;
}

.vfd-benefit-list {
  display: grid;
  max-width: 430px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vfd-benefit-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.vfd-benefit-list li::before {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--ceitsa-blue);
  border-radius: 50%;
  color: var(--ceitsa-blue);
  content: "✓";
  font-size: 17px;
  font-weight: 900;
}

.vfd-selector-visual {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 430px;
}

.vfd-selector-visual::after {
  position: absolute;
  right: 8%;
  bottom: 46px;
  width: min(500px, 88%);
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #ddebff);
  box-shadow: 0 18px 28px rgba(0, 84, 159, 0.18);
  content: "";
}

.vfd-selector-device {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(420px, 92%);
  max-height: 430px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 26px rgba(24, 37, 47, 0.22));
}

.vfd-selector-specs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 114, 206, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.vfd-selector-specs div {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 18px 26px;
  border-right: 1px solid var(--line);
}

.vfd-selector-specs div:last-child {
  border-right: 0;
}

.vfd-selector-specs strong {
  color: #344256;
  font-size: 15px;
}

.vfd-selector-specs span {
  color: var(--ceitsa-blue);
  font-weight: 900;
}

.vfd-selector-cta {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  justify-self: center;
}

.vfd-selector-note {
  margin: 26px 0 0;
  color: #344256;
  text-align: center;
}

.vfd-selector-note a {
  color: var(--ceitsa-blue);
  font-weight: 900;
}

.vfd-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 37, 47, 0.05);
}

.vfd-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.vfd-table th,
.vfd-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  line-height: 1.55;
}

.vfd-table th {
  color: #ffffff;
  background: var(--ceitsa-blue-dark);
  font-size: 14px;
}

.vfd-table td {
  color: var(--muted);
  font-size: 15px;
}

.vfd-table td strong {
  color: var(--ink);
}

.vfd-model-tool {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 144, 255, 0.13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.vfd-model-tool__panel {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(0, 114, 206, 0.16);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(24, 37, 47, 0.07);
}

.vfd-model-tool__controls {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(280px, 1fr);
  gap: 16px;
}

.vfd-model-tool__controls label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.vfd-model-tool__controls select,
.vfd-model-tool__controls input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.vfd-model-tool__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.vfd-model-tool__summary span {
  display: block;
  color: var(--ceitsa-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.vfd-model-tool__summary strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 22px;
}

.vfd-model-results,
.vfd-model-code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 8px;
}

.vfd-model-results span,
.vfd-model-code-list li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.vfd-model-results span {
  padding: 7px 10px;
  border: 1px solid rgba(0, 84, 159, 0.14);
  border-radius: 6px;
  background: #ffffff;
}

.vfd-model-code-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 84, 159, 0.2);
  border-radius: 6px;
  color: inherit;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(0, 84, 159, 0.035);
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.vfd-model-code-list a[href*="ceitsa.com.mx"] {
  border-color: rgba(0, 84, 159, 0.34);
  color: var(--ceitsa-blue);
  background: #f7fbff;
}

.vfd-model-code-list a[href*="wa.me"] {
  border-color: rgba(25, 135, 84, 0.28);
  color: #08733f;
  background: #f6fff9;
}

.vfd-model-code-list a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 84, 159, 0.08);
}

.vfd-model-code-list a[href*="ceitsa.com.mx"]:hover {
  border-color: var(--ceitsa-blue);
  background: #edf7ff;
  box-shadow: 0 10px 22px rgba(0, 84, 159, 0.13);
}

.vfd-model-code-list a[href*="wa.me"]:hover {
  border-color: #198754;
  background: #ecfff3;
  box-shadow: 0 10px 22px rgba(25, 135, 84, 0.12);
}

.vfd-model-results p {
  margin: 0;
}

.vfd-family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) 72px;
}

.vfd-family-card,
.vfd-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 37, 47, 0.06);
}

.vfd-family-card {
  padding: 24px;
}

.vfd-family-card h2 {
  font-size: 26px;
}

.vfd-family-card p,
.vfd-family-card li,
.vfd-checklist span,
.vfd-detail p {
  font-size: 15px;
}

.vfd-family-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.vfd-criteria {
  background: var(--soft);
}

.vfd-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.vfd-checklist div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.vfd-checklist span {
  color: var(--muted);
  line-height: 1.55;
}

.vfd-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.vfd-detail {
  overflow: hidden;
}

.vfd-detail summary {
  padding: 18px 20px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.vfd-detail p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.75;
}

.vfd-model-code-list {
  margin: 0;
  padding: 0 20px 20px;
  list-style: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps article,
.training-grid article,
.info-grid article {
  padding: 24px;
}

.steps span {
  color: var(--amber);
  font-size: 36px;
  font-weight: 900;
}

.training-grid,
.info-grid {
  grid-template-columns: repeat(2, 1fr);
}

.contact-copy {
  padding: 24px 0;
}

.contact-copy h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.contact-methods span {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  padding: 54px clamp(18px, 5vw, 72px) 26px;
  color: #ffffff;
  background: #182532;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.25fr);
  gap: clamp(28px, 4vw, 68px);
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer__brand {
  display: grid;
  align-content: start;
  gap: 18px;
}

.site-footer__logo {
  display: inline-flex;
  width: min(260px, 76vw);
}

.site-footer__logo img {
  width: 100%;
}

.site-footer__brand p,
.site-footer__bottom p {
  margin: 0;
  color: #d6e0e7;
  font-size: 16px;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
}

.site-footer__column h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
}

.site-footer__column a,
.site-footer__column span,
.site-footer__legal a {
  color: #d6e0e7;
  font-size: 15px;
  line-height: 1.5;
}

.site-footer__column a:hover,
.site-footer__legal a:hover {
  color: #ffffff;
}

.site-footer__contact {
  gap: 12px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1280px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.contact-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 14px;
}

.contact-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #ffffff;
  background: #135bb8;
  font-size: 0;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 84, 159, 0.24);
}

.contact-float a::before {
  width: 30px;
  height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.contact-float a:first-child {
  background: #1fc363;
  box-shadow: 0 16px 34px rgba(31, 195, 99, 0.24);
}

.contact-float a:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M27 15.8a11 11 0 0 1-16.2 9.7L5 27l1.8-5.6A11 11 0 1 1 27 15.8Z'/%3E%3Cpath fill='%23ffffff' d='M12.1 9.8c-.2-.4-.4-.4-.7-.4h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.1-1.2 2.8s1.2 3.2 1.4 3.4c.2.2 2.4 3.8 5.9 5.1 2.9 1.1 3.5.9 4.1.8.6-.1 2.1-.9 2.4-1.7.3-.8.3-1.5.2-1.7-.1-.2-.3-.3-.7-.5l-2.4-1.2c-.4-.1-.6-.2-.8.2-.2.4-.9 1.2-1.1 1.4-.2.2-.4.3-.8.1-.4-.2-1.7-.6-3.2-2-1.2-1.1-2-2.4-2.2-2.8-.2-.4 0-.6.2-.8.2-.2.4-.4.6-.7.2-.2.3-.4.4-.7.1-.2 0-.5 0-.7l-1.1-2.6Z'/%3E%3C/svg%3E");
}

.contact-float a:last-child::before {
  width: 31px;
  height: 31px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='5' y='9' width='22' height='14' rx='1.6' fill='none' stroke='%23ffffff' stroke-width='2.2'/%3E%3Cpath d='M6.2 10.5 16 18.1l9.8-7.6' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cobot-animation {
  min-height: calc(100vh - 98px);
  padding: 34px clamp(18px, 4vw, 64px) 58px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
  overflow: hidden;
}

.cobot-animation__heading {
  max-width: 860px;
  margin: 0 auto 14px;
  text-align: center;
}

.cobot-animation__heading h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.08;
}

.cobot-animation__heading p:not(.eyebrow) {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}

.cobot-orbit {
  position: relative;
  min-height: 520px;
  max-width: 1180px;
  margin: 0 auto;
}

.cobot-stage {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(360px, 33vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
}

.robot-motion {
  position: relative;
  width: 100%;
  height: 100%;
  animation: cobot-sweep 5.6s ease-in-out infinite;
}

.omron-cobot {
  position: absolute;
  left: 12%;
  top: 5%;
  width: 76%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(31, 45, 58, 0.22));
}

.smc-effector {
  position: absolute;
  left: 3%;
  top: 14%;
  width: 36%;
  height: auto;
  transform: rotate(12deg);
  transform-origin: 74% 30%;
  animation: effector-grip 1.8s ease-in-out infinite;
  filter: drop-shadow(0 14px 18px rgba(31, 45, 58, 0.22));
}

.target-part {
  position: absolute;
  left: -2%;
  top: 48%;
  z-index: 2;
  width: 52px;
  height: 38px;
  border: 3px solid #30a46c;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(48, 164, 108, 0.18), rgba(240, 179, 35, 0.18)),
    #ffffff;
  box-shadow: 0 12px 22px rgba(31, 45, 58, 0.16);
  animation: part-transfer 3.6s ease-in-out infinite;
}

.target-part::before,
.target-part::after {
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 3px;
  background: #30a46c;
  content: "";
}

.target-part::before {
  left: 11px;
}

.target-part::after {
  right: 11px;
}

.scan-arc {
  position: absolute;
  left: -10%;
  top: 7%;
  width: 64%;
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(0, 144, 255, 0.28);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-22deg);
  animation: scan-pulse 2.8s ease-in-out infinite;
}

.grip-signal {
  position: absolute;
  left: 14%;
  top: 37%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(0, 144, 255, 0.38);
  border-radius: 50%;
  opacity: 0;
  animation: signal-ping 1.8s ease-out infinite;
}

.signal-two {
  animation-delay: 0.45s;
}

.cobot-callout {
  position: absolute;
  width: min(294px, 28vw);
  padding: 8px 0;
}

.cobot-callout h2 {
  margin-bottom: 8px;
  color: #111827;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.15;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cobot-callout p {
  margin-bottom: 0;
  color: #4d5963;
  font-size: 15px;
  line-height: 1.55;
}

.callout-icon {
  position: absolute;
  top: 18px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--button-blue);
  box-shadow: 0 12px 24px rgba(0, 84, 159, 0.18);
  font-size: 14px;
  font-weight: 900;
}

.callout-a,
.callout-b,
.callout-c {
  left: 0;
  padding-right: 76px;
  text-align: right;
}

.callout-a .callout-icon,
.callout-b .callout-icon,
.callout-c .callout-icon {
  right: 0;
}

.callout-d,
.callout-e,
.callout-f {
  right: 0;
  padding-left: 76px;
}

.callout-d .callout-icon,
.callout-e .callout-icon,
.callout-f .callout-icon {
  left: 0;
}

.callout-a,
.callout-d {
  top: 4%;
}

.callout-b,
.callout-e {
  top: 36%;
}

.callout-c,
.callout-f {
  top: 68%;
}

.cobot-spec-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.cobot-spec-band article {
  padding: 26px clamp(18px, 4vw, 44px);
  background: #ffffff;
}

.cobot-spec-band strong {
  display: block;
  color: var(--ceitsa-blue);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.cobot-spec-band span {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
}

@keyframes cobot-sweep {
  0%,
  100% {
    transform: translateX(-6px) rotate(-1.4deg);
  }

  50% {
    transform: translateX(8px) rotate(1.6deg);
  }
}

@keyframes effector-grip {
  0%,
  100% {
    transform: rotate(10deg) translateY(0);
  }

  50% {
    transform: rotate(15deg) translateY(5px);
  }
}

@keyframes part-transfer {
  0% {
    opacity: 0;
    transform: translate(-90px, 22px) scale(0.9);
  }

  22% {
    opacity: 1;
    transform: translate(-18px, 8px) scale(1);
  }

  48% {
    opacity: 1;
    transform: translate(42px, -14px) scale(0.96);
  }

  78% {
    opacity: 1;
    transform: translate(118px, -38px) scale(0.92);
  }

  100% {
    opacity: 0;
    transform: translate(168px, -56px) scale(0.86);
  }
}

@keyframes signal-ping {
  0% {
    opacity: 0.65;
    transform: scale(0.4);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes scan-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: rotate(-32deg) scale(0.94);
  }

  50% {
    opacity: 0.75;
    transform: rotate(18deg) scale(1.04);
  }
}

@media (max-width: 1180px) {
  .navbar {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px 18px 18px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(31, 45, 58, 0.08);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    min-height: 42px;
    font-size: 16px;
  }

  .menu a.active::after {
    bottom: 0;
    right: auto;
    width: 58px;
  }

  .navbar::after {
    display: none;
  }

  .hero,
  .services-hero,
  .vfd-hero,
  .services-intro,
  .service-feature,
  .service-process,
  .split-section,
  .shop-layout,
  .contact-layout,
  .catalog-item {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .vfd-hero {
    min-height: 560px;
    height: clamp(560px, 56.3vw, 700px);
    background-position: center bottom;
    background-size: contain;
  }

  .vfd-hero__copy {
    width: min(620px, 58%);
  }

  .vfd-selector-shell,
  .vfd-selector-detail {
    grid-template-columns: 1fr;
  }

  .vfd-selector-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .vfd-selector-option {
    min-height: 128px;
    border-right: 1px solid var(--line);
  }

  .vfd-selector-detail {
    min-height: auto;
  }

  .vfd-selector-visual {
    min-height: 360px;
  }

  .service-feature.reverse .service-feature__image {
    order: 0;
  }

  .metric-band,
  .product-grid,
  .vfd-family-grid,
  .vfd-details-grid,
  .steps,
  .services-grid,
  .cobot-spec-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .vfd-spec-band {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .cobot-animation {
    min-height: auto;
  }

  .cobot-orbit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    min-height: 0;
  }

  .cobot-stage,
  .cobot-callout {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    transform: none;
  }

  .cobot-stage {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(430px, 72vw);
    order: -1;
  }

  .cobot-callout,
  .callout-a,
  .callout-b,
  .callout-c,
  .callout-d,
  .callout-e,
  .callout-f {
    min-height: 156px;
    padding: 22px 22px 22px 88px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    text-align: left;
    box-shadow: 0 10px 24px rgba(24, 37, 47, 0.06);
  }

  .callout-icon,
  .callout-a .callout-icon,
  .callout-b .callout-icon,
  .callout-c .callout-icon,
  .callout-d .callout-icon,
  .callout-e .callout-icon,
  .callout-f .callout-icon {
    left: 22px;
    right: auto;
  }
}

@media (max-width: 640px) {
  .cta-band,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 88px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }

  .contact-float {
    right: 14px;
    bottom: 14px;
  }

  .brand {
    flex-basis: 116px;
    min-width: 116px;
  }

  .brand img {
    width: 112px;
  }

  h1,
  .page-hero h1,
  .contact-copy h1 {
    font-size: 40px;
  }

  .metric-band,
  .vfd-spec-band,
  .product-grid,
  .vfd-family-grid,
  .vfd-details-grid,
  .vfd-checklist,
  .steps,
  .training-grid,
  .info-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .vfd-hero {
    min-height: auto;
    height: auto;
    padding: 36px clamp(18px, 5vw, 72px) clamp(235px, 58vw, 370px);
    background-color: #eaf7ff;
    background-image:
      linear-gradient(180deg, rgba(246, 252, 255, 0.92) 0%, rgba(232, 247, 255, 0.74) 58%, rgba(232, 247, 255, 0.12) 100%),
      url("assets/vfd-banner.png");
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center bottom;
    background-size: 100% 100%, 100% auto;
  }

  .vfd-hero__copy {
    width: min(100%, 520px);
  }

  .vfd-hero h1 {
    font-size: 34px;
  }

  .vfd-hero__copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .vfd-family-selector {
    padding: 42px 18px 32px;
  }

  .vfd-selector-heading h2 {
    font-size: 32px;
  }

  .vfd-selector-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .vfd-model-code-list {
    gap: 6px;
    padding-inline: 14px;
  }

  .vfd-model-code-list li {
    font-size: 11px;
  }

  .vfd-model-code-list a {
    min-width: 96px;
    min-height: 32px;
    padding: 6px 8px;
  }

  .vfd-model-tool__controls {
    grid-template-columns: 1fr;
  }

  .vfd-model-tool__summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .vfd-selector-list {
    grid-template-columns: 1fr;
  }

  .vfd-selector-option {
    grid-template-columns: 88px 1fr 30px;
    gap: 14px;
    min-height: 108px;
    padding: 12px 14px;
    border-right: 0;
  }

  .vfd-selector-thumb {
    width: 82px;
    height: 82px;
  }

  .vfd-selector-thumb img {
    height: 94%;
  }

  .vfd-selector-option strong {
    font-size: 22px;
  }

  .vfd-selector-option small {
    font-size: 14px;
  }

  .vfd-selector-detail {
    gap: 22px;
    padding: 24px 18px;
  }

  .vfd-selector-copy h3 {
    font-size: 52px;
  }

  .vfd-selector-copy h4 {
    font-size: 24px;
  }

  .vfd-selector-copy p {
    font-size: 15px;
  }

  .vfd-benefit-list li {
    font-size: 14px;
  }

  .vfd-selector-visual {
    min-height: 290px;
  }

  .vfd-selector-device {
    max-width: min(260px, 78vw);
    max-height: 290px;
  }

  .vfd-selector-visual::after {
    right: 6%;
    bottom: 30px;
    height: 54px;
  }

  .vfd-selector-specs {
    grid-template-columns: 1fr;
  }

  .vfd-selector-specs div {
    min-height: auto;
    padding: 15px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .vfd-selector-specs div:last-child {
    border-bottom: 0;
  }

  .services-hero__image img,
  .service-feature__image img {
    min-height: 260px;
  }

  .cobot-animation {
    padding-top: 36px;
  }

  .cobot-animation__heading {
    text-align: left;
  }

  .cobot-orbit,
  .cobot-spec-band {
    grid-template-columns: 1fr;
  }

  .cobot-stage {
    width: min(330px, 88vw);
  }

  .cobot-callout,
  .callout-a,
  .callout-b,
  .callout-c,
  .callout-d,
  .callout-e,
  .callout-f {
    min-height: 0;
  }

  .target-part {
    width: 42px;
    height: 32px;
  }
}
