/* ================================================================
   ELS-UC — Feuille de styles principale
   Pure Player en Communications Unifiées
   ================================================================ */

/* ----------------------------------------------------------------
   CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --clr-orange:      #ff5d20;
  --clr-orange-dark: #e04a10;
  --clr-orange-lite: #fff3ef;
  --clr-teal:        #43adac;
  --clr-teal-dark:   #2e8a89;
  --clr-teal-lite:   #edf8f8;
  --clr-text:        #444f57;
  --clr-text-muted:  #6b7a87;
  --clr-dark:        #1a2535;
  --clr-dark-2:      #242f3e;
  --clr-footer:      #181818;
  --clr-footer-text: #565656;
  --clr-light:       #f4f7fb;
  --clr-white:       #ffffff;
  --clr-border:      #e2e8f0;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 5vw, 2rem);
  --section-pad:   clamp(4rem, 8vw, 6rem);

  /* Motion & Effects */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  0.25s var(--ease);
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.05);
  --shadow-lift: 0 10px 36px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.07);
}

/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ----------------------------------------------------------------
   LAYOUT
   ---------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: var(--section-pad) 0; }

/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-teal);
  background: var(--clr-teal-lite);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-eyebrow--light { background: rgba(67, 173, 172, 0.18); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--clr-dark);
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.text-orange { color: var(--clr-orange); }
.text-teal   { color: var(--clr-teal); }

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-sm  { padding: 0.55rem 1.2rem;  font-size: 0.875rem; }
.btn-md  { padding: 0.72rem 1.5rem;  font-size: 0.95rem; }
.btn-lg  { padding: 0.9rem 2rem;     font-size: 1rem; }

/* Primary — orange */
.btn-primary {
  background: var(--clr-orange);
  color: var(--clr-white);
  border-color: var(--clr-orange);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--clr-orange-dark);
  border-color: var(--clr-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 93, 32, 0.35);
}

/* Ghost — white border, for dark backgrounds */
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: var(--clr-white);
}

/* Teal */
.btn-teal {
  background: var(--clr-teal);
  color: var(--clr-white);
  border-color: var(--clr-teal);
}
.btn-teal:hover, .btn-teal:focus-visible {
  background: var(--clr-teal-dark);
  border-color: var(--clr-teal-dark);
  transform: translateY(-1px);
}

/* White — for orange bg sections */
.btn-white {
  background: var(--clr-white);
  color: var(--clr-orange);
  border-color: var(--clr-white);
}
.btn-white:hover, .btn-white:focus-visible {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* Ghost white — for orange bg sections */
.btn-ghost-white {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-white:hover, .btn-ghost-white:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: var(--clr-white);
}

/* Outline teal — light sections */
.btn-outline-teal {
  background: transparent;
  color: var(--clr-teal);
  border-color: var(--clr-teal);
}
.btn-outline-teal:hover, .btn-outline-teal:focus-visible {
  background: var(--clr-teal);
  color: var(--clr-white);
}

/* ----------------------------------------------------------------
   HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 70px;
}
.logo-link { flex-shrink: 0; line-height: 0; }
.logo-img   { height: 40px; width: auto; }

.main-nav  { margin-left: auto; }
.nav-list  { display: flex; align-items: center; gap: 0.2rem; }
.nav-link  {
  display: block;
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--clr-text);
  border-radius: 7px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--clr-teal);
  background: var(--clr-teal-lite);
}
.nav-cta { margin-left: 0.5rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 7px;
  margin-left: auto;
  border-radius: 7px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--clr-light); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   HERO SECTION (Homepage)
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--clr-dark);
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}
/* Radial gradient accent lights */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(67, 173, 172, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: 25%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 93, 32, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
/* Geometric diagonal element */
.hero-geo {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(160deg, rgba(67,173,172,0.04) 0%, transparent 70%);
  border-left: 1px solid rgba(67, 173, 172, 0.12);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-badge {
  margin-bottom: 1.75rem;
}
.badge-teams {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(67, 173, 172, 0.15);
  border: 1px solid rgba(67, 173, 172, 0.35);
  color: var(--clr-teal);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-teams .badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-teal);
  animation: pulse-teal 2s infinite;
}
@keyframes pulse-teal {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--clr-orange);
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* ----------------------------------------------------------------
   PAGE HERO (inner pages — shorter)
   ---------------------------------------------------------------- */
.page-hero {
  background: var(--clr-dark);
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(67, 173, 172, 0.15) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.page-hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-teal);
  margin-bottom: 1rem;
}
.page-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--clr-white);
  margin-bottom: 1rem;
  font-weight: 800;
}
.page-hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
}

/* ----------------------------------------------------------------
   TEAMS BANNER
   ---------------------------------------------------------------- */
.teams-banner {
  background: linear-gradient(135deg, #4a4fc4 0%, #5b5ecf 100%);
  padding: 1.4rem 0;
}
.teams-banner-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.teams-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--clr-white);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.teams-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--clr-white);
  font-family: var(--font-display);
}
.teams-desc {
  flex: 1;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  min-width: 200px;
  line-height: 1.55;
}
.teams-banner .btn { flex-shrink: 0; }

/* ----------------------------------------------------------------
   FEATURES GRID (Homepage)
   ---------------------------------------------------------------- */
.section-features { background: var(--clr-light); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--clr-border);
  border-top: 3px solid var(--clr-teal);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1.1rem;
  display: block;
  line-height: 1;
}
.feature-title {
  font-size: 1.05rem;
  color: var(--clr-teal);
  margin-bottom: 0.65rem;
  font-weight: 700;
}
.feature-desc {
  color: var(--clr-text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   WHY ELS-UC SECTION (dark bg)
   ---------------------------------------------------------------- */
.section--dark { background: var(--clr-dark); }
.section--dark-2 { background: var(--clr-dark-2); }

.section--dark .section-title,
.section--dark-2 .section-title { color: var(--clr-white); }
.section--dark .section-desc,
.section--dark-2 .section-desc  { color: rgba(255,255,255,0.6); }
.section--dark .section-eyebrow,
.section--dark-2 .section-eyebrow { background: rgba(67,173,172,0.18); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.why-num {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--clr-orange);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.why-content h3 {
  color: var(--clr-white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.why-content p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   INTEGRATIONS GRID
   ---------------------------------------------------------------- */
.section-integrations { background: var(--clr-white); }
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}
.integration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.integration-item:hover {
  border-color: var(--clr-teal);
  box-shadow: 0 4px 16px rgba(67,173,172,0.14);
  transform: translateY(-2px);
}
.integration-icon {
  width: 54px; height: 54px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--clr-teal-lite), var(--clr-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--clr-teal);
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.2;
}
.integration-item span {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* ----------------------------------------------------------------
   CTA BANNER (orange)
   ---------------------------------------------------------------- */
.section-cta {
  background: linear-gradient(135deg, var(--clr-orange) 0%, #ff7a45 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.section-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--clr-white);
  margin-bottom: 1rem;
  position: relative;
}
.section-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ----------------------------------------------------------------
   PRODUCT DETAIL SECTIONS (xphone.html)
   ---------------------------------------------------------------- */
.product-section {
  padding: var(--section-pad) 0;
}
.product-section:nth-child(even) { background: var(--clr-light); }

.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.product-split--reverse { direction: rtl; }
.product-split--reverse > * { direction: ltr; }

.product-text .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-orange);
  margin-bottom: 0.75rem;
}
.product-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--clr-dark);
  margin-bottom: 1rem;
}
.product-text p {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--clr-text);
}
.product-features-list li::before {
  content: '✓';
  color: var(--clr-teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.product-visual {
  background: linear-gradient(135deg, var(--clr-teal-lite) 0%, var(--clr-light) 100%);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--clr-teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.product-visual::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(67,173,172,0.15) 0%, transparent 65%);
}
.product-visual-icon {
  font-size: 3.5rem;
  line-height: 1;
}
.product-visual-label {
  color: var(--clr-text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
}

/* Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.spec-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--clr-dark);
  color: var(--clr-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.spec-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--clr-border);
  color: var(--clr-text);
  vertical-align: top;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: var(--clr-light); }
.spec-table td:first-child {
  font-weight: 600;
  color: var(--clr-dark);
  white-space: nowrap;
  width: 40%;
}

/* ----------------------------------------------------------------
   ABOUT PAGE
   ---------------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--clr-dark);
  margin-bottom: 1.25rem;
}
.about-intro-text p {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-highlight {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.highlight-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-orange);
  border-radius: var(--radius);
}
.highlight-card-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}
.highlight-card h4 {
  font-size: 0.95rem;
  color: var(--clr-dark);
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.highlight-card p {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
  border-color: var(--clr-teal);
}
.value-icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; }
.value-title {
  font-size: 1rem;
  color: var(--clr-teal);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.value-desc { font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.65; }

/* Partner section */
.partner-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.partner-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--clr-dark);
  margin-bottom: 1rem;
}
.partner-text p {
  color: var(--clr-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.partner-logos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.partner-logo-card {
  padding: 2rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.partner-logo-card img {
  max-height: 60px;
  max-width: 180px;
  width: auto;
  margin: 0 auto;
}
.partner-logo-card p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.5rem;
  color: var(--clr-dark);
  margin-bottom: 0.5rem;
}
.contact-info > p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--clr-teal-lite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}
.contact-item-text p, .contact-item-text a {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: color var(--transition);
}
.contact-item-text a:hover { color: var(--clr-orange); }

/* Form */
.contact-form-wrap {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 {
  font-size: 1.3rem;
  color: var(--clr-dark);
  margin-bottom: 0.5rem;
}
.contact-form-wrap > p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-dark);
  letter-spacing: 0.03em;
}
label .req { color: var(--clr-orange); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  font-size: 0.925rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  line-height: 1.5;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-teal);
  box-shadow: 0 0 0 3px rgba(67, 173, 172, 0.15);
}
input::placeholder, textarea::placeholder { color: #b0bec5; }
textarea { resize: vertical; min-height: 130px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--clr-teal);
  flex-shrink: 0;
}
.form-checkbox label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--clr-text-muted);
  cursor: pointer;
}

.form-submit { margin-top: 1.75rem; }
.form-note {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 0.75rem;
}

/* Success message */
.form-success {
  display: none;
  padding: 1.25rem;
  background: var(--clr-teal-lite);
  border: 1px solid rgba(67,173,172,0.3);
  border-radius: var(--radius);
  color: var(--clr-teal-dark);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--clr-footer);
  padding-top: 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 1.25rem;
  /* invert to white for dark bg */
  filter: brightness(0) invert(1) opacity(0.85);
}
.footer-brand p {
  color: var(--clr-footer-text);
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.footer-certified {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.cert-badge {
  padding: 0.3rem 0.6rem;
  background: rgba(80, 89, 201, 0.25);
  border: 1px solid rgba(80, 89, 201, 0.4);
  border-radius: 5px;
  color: #8b91e3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-col h4 {
  color: var(--clr-white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--clr-footer-text);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--clr-teal); }
.footer-col p {
  color: var(--clr-footer-text);
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
}
.footer-partner-badge {
  max-height: 45px;
  width: auto;
  margin-top: 1.5rem;
  filter: brightness(0) invert(1) opacity(0.4);
  transition: opacity var(--transition);
}
.footer-partner-badge:hover { filter: brightness(0) invert(1) opacity(0.65); }

.footer-bottom {
  padding: 1.25rem 0;
}
.footer-bottom p {
  text-align: center;
  color: var(--clr-footer-text);
  font-size: 0.78rem;
}
.footer-bottom a {
  color: var(--clr-footer-text);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--clr-teal); }

/* ----------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   ---------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }

  .product-split { gap: 2.5rem; }
  .about-intro   { gap: 2.5rem; }
  .partner-block { gap: 2rem; }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .main-nav  { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .main-nav.open {
    display: block;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--clr-white);
    padding: 1.5rem var(--container-pad);
    overflow-y: auto;
    z-index: 199;
    border-top: 1px solid var(--clr-border);
  }
  .main-nav.open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .main-nav.open .nav-link {
    font-size: 1.05rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
  }
  .main-nav.open .nav-cta-mobile {
    display: block;
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
    background: var(--clr-orange);
    color: var(--clr-white);
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
  }

  /* Hero */
  .hero-stats   { gap: 1.5rem; }
  .hero-geo     { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  /* Teams banner */
  .teams-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Product splits */
  .product-split,
  .about-intro,
  .partner-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-split--reverse { direction: ltr; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem 1.25rem; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: auto; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }
  .page-hero-title { font-size: 1.75rem; }

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

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions .btn { justify-content: center; }

  .integrations-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

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

/* Focus visible — accessibility */
:focus-visible {
  outline: 2px solid var(--clr-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip to main content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.75rem 1.25rem;
  background: var(--clr-teal);
  color: var(--clr-white);
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }
