/*
Theme Name: Plasma Alliance
Theme URI: https://plasmaaliance.ae/
Author: Plasma Alliance Medical Trading
Description: Light one-page landing theme for Plasma Alliance Medical Trading.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: plasma-alliance
*/

:root {
  --pa-ink: #102238;
  --pa-muted: #64748b;
  --pa-line: #dbe5ee;
  --pa-bg: #f7fbfd;
  --pa-panel: #ffffff;
  --pa-blue: #1e72a8;
  --pa-cyan: #23a6b9;
  --pa-green: #2e8b72;
  --pa-gold: #c2923d;
  --pa-shadow: 0 20px 55px rgba(16, 34, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--pa-ink);
  background: var(--pa-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
}

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

.site-shell {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(233, 246, 250, 0.9) 0%, rgba(247, 251, 253, 0.2) 48%, #ffffff 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 229, 238, 0.8);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: min(272px, 58vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #28445e;
  font-size: 0.92rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

.contact-link {
  border: 1px solid rgba(30, 114, 168, 0.24);
  border-radius: 999px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--pa-blue);
  box-shadow: 0 10px 25px rgba(30, 114, 168, 0.18);
}

.hero {
  position: relative;
  padding: 84px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pa-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 650px;
  color: #435a70;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--pa-blue);
  box-shadow: 0 16px 32px rgba(30, 114, 168, 0.22);
}

.button.secondary {
  border: 1px solid var(--pa-line);
  color: #17324c;
  background: #ffffff;
}

.hero-media {
  position: relative;
  min-height: 486px;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: 8px;
  background: #edf5f8;
  box-shadow: var(--pa-shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo.large {
  inset: 0 0 auto 54px;
  height: 355px;
}

.hero-photo.small {
  right: 42px;
  bottom: 0;
  width: 46%;
  height: 195px;
}

.hero-stat {
  position: absolute;
  left: 0;
  bottom: 56px;
  width: 220px;
  border: 1px solid rgba(219, 229, 238, 0.95);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(16, 34, 56, 0.14);
}

.hero-stat strong {
  display: block;
  color: var(--pa-blue);
  font-size: 2.1rem;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-bottom: 10px;
  color: #344d64;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section {
  padding: 84px 0;
  background: #ffffff;
}

.section.alt {
  background: #f1f8fa;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.section-title p {
  margin: 16px 0 0;
  color: var(--pa-muted);
  font-size: 1.07rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 48px;
  align-items: start;
}

.copy {
  color: #344d64;
  font-size: 1.02rem;
}

.copy p {
  margin: 0 0 18px;
}

.feature-panel {
  border: 1px solid var(--pa-line);
  border-radius: 8px;
  padding: 28px;
  background: var(--pa-panel);
  box-shadow: 0 18px 42px rgba(16, 34, 56, 0.08);
}

.feature-panel h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.feature-panel p {
  margin: 0;
  color: var(--pa-muted);
}

.photo-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 42px;
}

.photo-band img,
.market-photo img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(16, 34, 56, 0.12);
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.mission-card {
  border-left: 5px solid var(--pa-cyan);
  padding: 28px 30px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 34, 56, 0.09);
}

.mission-card p {
  margin: 0;
  color: #344d64;
  font-size: 1.13rem;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.metric {
  border: 1px solid var(--pa-line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.metric strong {
  display: block;
  color: var(--pa-blue);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--pa-muted);
  font-size: 0.92rem;
}

.registration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 44px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--pa-line);
  padding: 14px 0;
}

.info-row dt {
  color: var(--pa-muted);
  font-weight: 700;
}

.info-row dd {
  margin: 0;
  font-weight: 750;
}

.contact-panel {
  border-radius: 8px;
  padding: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #1e72a8 0%, #238f9f 60%, #2e8b72 100%);
  box-shadow: 0 18px 42px rgba(30, 114, 168, 0.23);
}

.contact-panel h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.1;
}

.contact-panel p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
}

.email-link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--pa-ink);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--pa-line);
  color: var(--pa-muted);
  background: #ffffff;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (min-width: 901px) and (max-width: 1100px) {
  .header-inner,
  .section-inner {
    width: min(100% - 48px, 980px);
  }

  .site-nav {
    gap: 18px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 68px 0 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.9fr);
    gap: 36px;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-photo.large {
    left: 30px;
    height: 320px;
  }

  .hero-photo.small {
    right: 16px;
    height: 172px;
  }

  .hero-stat {
    bottom: 42px;
    width: 196px;
  }

  .section {
    padding: 72px 0;
  }

  .content-grid,
  .market-layout,
  .registration {
    gap: 34px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .header-inner,
  .section-inner {
    width: min(100% - 44px, 760px);
  }

  .header-inner {
    min-height: 88px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 14px 0;
  }

  .logo img {
    width: 252px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .contact-link {
    padding: 8px 14px;
  }

  .hero {
    padding: 58px 0 66px;
  }

  .hero-grid,
  .content-grid,
  .mission-grid,
  .market-layout,
  .registration {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 720px;
    font-size: clamp(3rem, 9vw, 4.7rem);
  }

  .lead {
    max-width: 680px;
  }

  .hero-media {
    min-height: 438px;
    margin-top: 8px;
  }

  .hero-photo.large {
    left: 0;
    right: 104px;
    height: 318px;
  }

  .hero-photo.small {
    right: 0;
    width: 42%;
    height: 186px;
  }

  .hero-stat {
    bottom: 44px;
    width: 205px;
  }

  .section {
    padding: 72px 0;
  }

  .content-grid,
  .mission-grid,
  .market-layout,
  .registration {
    gap: 32px;
  }

  .feature-panel {
    max-width: none;
    width: 100%;
  }

  .photo-band {
    grid-template-columns: 1fr 1fr;
  }

  .market-photo img {
    max-height: 420px;
  }

  .mission-grid .market-photo {
    order: -1;
  }

  .contact-panel {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner,
  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: auto;
    justify-content: center;
    padding: 16px 0;
  }

  .logo {
    margin: 0 auto;
  }

  .logo img {
    width: min(238px, 76vw);
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section {
    padding: 58px 0;
  }

  .hero-grid,
  .content-grid,
  .mission-grid,
  .market-layout,
  .registration {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  h1 {
    font-size: clamp(2.36rem, 13vw, 3.8rem);
    line-height: 1.02;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .section-title h2 {
    font-size: clamp(1.9rem, 10vw, 2.65rem);
    line-height: 1.08;
  }

  .lead {
    margin-top: 20px;
    font-size: 1.04rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .hero-photo {
    position: relative;
    border-width: 5px;
  }

  .hero-photo.large {
    inset: auto;
    height: 275px;
  }

  .hero-photo.small {
    right: auto;
    bottom: auto;
    width: 100%;
    height: 188px;
  }

  .hero-stat {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: 18px;
  }

  .hero-stat strong {
    font-size: 2rem;
  }

  .feature-panel,
  .mission-card,
  .contact-panel,
  .metric {
    padding: 22px;
  }

  .photo-band,
  .metrics {
    grid-template-columns: 1fr;
  }

  .photo-band img,
  .market-photo img {
    min-height: 210px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .email-link {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
  }
}
