/*
Theme Name: Aimipaer B2B
Theme URI: https://amipt.com/
Author: Aimipaer
Description: Premium B2B WordPress theme for Aimipaer airport consumables, IT hardware, electronics, and procurement support.
Version: 1.0.0
Text Domain: aimipaer-b2b
*/

:root {
  --navy: #071a2f;
  --ink: #0d2038;
  --text: #526071;
  --blue: #0b73e8;
  --cyan: #19c2ff;
  --sky: #eaf6ff;
  --line: #dce7f2;
  --soft: #f8fafc;
  --white: #fff;
  --green: #18a058;
  --shadow: 0 24px 60px rgba(7, 26, 47, .10);
  --soft-shadow: 0 10px 30px rgba(7, 26, 47, .08);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f7fbff 44%, #fff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 231, 242, .85);
}

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

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(220, 231, 242, .9);
  color: #fff;
  background: #fff;
  box-shadow: 0 16px 34px rgba(11, 115, 232, .28);
  font-weight: 900;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand small {
  display: block;
  margin-top: -3px;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
}

.menu a:hover,
.menu .current-menu-item a {
  color: var(--blue);
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  box-shadow: var(--soft-shadow);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-size: 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(11, 115, 232, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 115, 232, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.grid-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--soft-shadow);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(24, 160, 88, .12);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5.25vw, 64px);
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  font-size: 23px;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 18px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #075bcc);
  box-shadow: 0 18px 34px rgba(11, 115, 232, .26);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--soft-shadow);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #23415f;
  background: rgba(234, 246, 255, .82);
  font-size: 13px;
  font-weight: 750;
}

.hero-visual {
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(160deg, #fff, #edf8ff 55%, #fff);
  box-shadow: var(--shadow);
}

.media-visual {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(160deg, #fff, #f2f9ff);
  box-shadow: var(--shadow);
}

.hero-visual.media-visual {
  min-height: auto;
}

.media-visual img {
  width: 100%;
  border-radius: 24px;
}

.section-visual {
  margin-bottom: 28px;
}

.visual-card {
  height: 100%;
  display: grid;
  align-content: center;
  gap: 18px;
}

.visual-top {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d6e2ee;
}

.airport-line {
  height: 10px;
  margin: 12px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.airport-line.short {
  width: 56%;
}

.supply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.supply-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.supply-card b {
  display: block;
  color: var(--navy);
}

.supply-card span {
  color: var(--text);
  font-size: 13px;
}

.section {
  padding: 78px 0;
}

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

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--text);
}

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.card::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -56px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: rgba(25, 194, 255, .08);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--blue);
  background: var(--sky);
  font-weight: 900;
}

.card p {
  margin: 12px 0 16px;
  color: var(--text);
}

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

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #344456;
  font-size: 14px;
}

.list li::before {
  content: "OK";
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.band {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(135deg, #071a2f, #0a2746);
  box-shadow: var(--shadow);
}

.band h2,
.band h3 {
  color: #fff;
}

.band p {
  color: #c9d8e9;
}

.benefits,
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.benefit {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
}

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

.compact-benefits .benefit {
  border-color: var(--line);
  color: var(--navy);
  background: rgba(234, 246, 255, .76);
}

.step {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.two-col {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.stacked-panel {
  margin-top: 18px;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #2e4056;
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  background: #fff;
  font: inherit;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 115, 232, .10);
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 13px;
}

.success-message {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 160, 88, .25);
  border-radius: 16px;
  color: #0b6b3a;
  background: rgba(24, 160, 88, .10);
  font-weight: 800;
}

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

.person {
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.person::after {
  display: none;
}

.person img {
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 24px;
  background: var(--soft);
  box-shadow: var(--soft-shadow);
}

.person-body {
  max-width: 320px;
  margin: 10px auto 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.person-body h3 {
  font-size: 18px;
  line-height: 1.1;
}

.role {
  margin-top: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.story-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tag {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--sky);
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  padding: 74px 0 38px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #eef8ff);
}

.page-hero .lead {
  max-width: 860px;
}

.mini {
  color: var(--text);
  font-size: 14px;
}

.legal {
  max-width: 900px;
}

.legal h2 {
  margin-top: 32px;
  font-size: 28px;
}

.legal p,
.legal li {
  color: var(--text);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.site-footer {
  margin-top: 50px;
  padding: 58px 0 28px;
  color: #d7e5f4;
  background: #071a2f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .7fr .9fr;
  gap: 28px;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #c7d6e6;
}

.site-footer p {
  margin: 0;
  color: #c7d6e6;
}

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #99adc4;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .grid-hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .cards,
  .product-grid,
  .benefits,
  .timeline,
  .story-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

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

  .menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .menu.open {
    display: flex;
  }

.mobile-toggle {
    display: grid;
    place-items: center;
    font-size: 0;
  }

  .mobile-toggle::before {
    content: "";
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--navy);
    box-shadow: 0 6px 0 var(--navy), 0 -6px 0 var(--navy);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 70px;
  }

  .brand-logo {
    width: min(190px, 54vw);
  }

  .hero {
    padding: 44px 0 36px;
  }

  h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .cards,
  .product-grid,
  .benefits,
  .timeline,
  .story-grid,
  .team-grid,
  .supply-grid,
  .quote-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 28px;
    border-radius: 24px;
  }

  .hero-visual {
    min-height: 380px;
    padding: 16px;
  }

  .person img {
    height: auto;
  }

  .media-visual {
    padding: 8px;
    border-radius: 22px;
  }

  .media-visual img {
    border-radius: 17px;
  }

  .hero-visual.media-visual {
    min-height: auto;
  }

  .compact-benefits {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .page-hero {
    padding: 48px 0 28px;
  }
}
