/* ========================================
   Phino Technologies – Single Page Site
   Responsive, modern, professional
   ======================================== */

:root {
  /* Colors – aligned with PHINO logo blue #183a1e */
  --primary: #183a1e;
  --primary-dark: #0f2414;
  --primary-light: #2f6b38;
  --accent: #3d8f4a;
  --accent-soft: #e8f2e9;
  --dark: #0A0A1A;
  --dark-soft: #1A1A2E;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --bg: #F7F8FC;
  --white: #FFFFFF;
  --border: #E2E5F0;
  --gradient: linear-gradient(135deg, #183a1e 0%, #2f6b38 50%, #4a9b52 100%);
  --gradient-dark: linear-gradient(160deg, #050510 0%, #0A0A1A 40%, #12122A 100%);
  --shadow: 0 4px 24px rgba(24, 58, 30, 0.10);
  --shadow-lg: 0 12px 40px rgba(24, 58, 30, 0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(24, 58, 30, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 58, 30, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-nav {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo-img {
  height: 56px;
  width: auto;
  max-width: 210px;
  display: block;
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.header .logo {
  height: auto;
  max-height: 64px;
}

.header .logo-img {
  height: 56px;
  max-width: 210px;
}

.logo-img-footer {
  height: 56px !important;
  max-width: 200px !important;
  width: auto !important;
  filter: none !important;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
  background: var(--gradient-dark);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 75% 15%, rgba(24, 58, 30, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(61, 143, 74, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(47, 107, 56, 0.15) 0%, transparent 60%);
}

/* Animated tech grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 143, 74, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 143, 74, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(24, 58, 30, 0.45);
  top: -10%;
  right: -5%;
  animation-duration: 14s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(61, 143, 74, 0.32);
  bottom: 5%;
  left: -8%;
  animation-duration: 18s;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(74, 155, 82, 0.28);
  top: 40%;
  left: 40%;
  animation-duration: 10s;
  animation-delay: -2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.08); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Particles canvas container */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(61, 143, 74, 0.18);
  border: 1px solid rgba(61, 143, 74, 0.35);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: rgba(255,255,255,0.5);
  font-size: 1.25rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--accent-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
}

/* ========== SERVICES ========== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
}

.services-grid > .service-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
}

.service-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card.featured {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card > p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  min-height: 4.5em;
  line-height: 1.5;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-soft);
  margin-bottom: 0.4rem;
}

.service-features i {
  color: var(--primary);
  font-size: 0.75rem;
}

.service-features {
  margin-bottom: 1.5rem;
  flex: 1;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.7rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--gradient);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(24, 58, 30, 0.28);
  transition: var(--transition);
  text-align: center;
}

.btn-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 58, 30, 0.35);
  color: var(--white);
}

.service-card.featured .btn-service {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: none;
}

.service-card.featured .btn-service:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(24, 58, 30, 0.35);
}

/* ========== ADVANTAGES ========== */
.advantages {
  background: var(--bg);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.adv-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.advantage-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.advantage-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========== INFRASTRUCTURE ========== */
.infrastructure {
  background: var(--white);
}

.infra-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.infra-text .section-tag {
  margin-bottom: 0.75rem;
}

.infra-text .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.infra-text > p {
  color: var(--gray);
  margin-bottom: 2rem;
}

.infra-phases {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.phase {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.phase-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.phase h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.phase p {
  color: var(--gray);
  font-size: 0.9rem;
}

.infra-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.infra-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.infra-card:hover {
  border-color: var(--primary-light);
  background: var(--accent-soft);
}

.infra-card i {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.infra-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.infra-card p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ========== MARKET ========== */
.market {
  background: var(--bg);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.market-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.big-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.market-stat-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}

.market-highlight {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
}

.highlight-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.highlight-content > p {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  max-width: 700px;
  line-height: 1.7;
}

.highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.highlight-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--accent);
}

/* ========== CTA ========== */
.cta-section {
  background: var(--white);
  padding: 4rem 0;
}

.cta-box {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  color: white;
}

.cta-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-content p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cta-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.12);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-feat i {
  font-size: 1.1rem;
}

/* ========== ABOUT ========== */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text .section-tag {
  margin-bottom: 0.75rem;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.about-text .lead {
  font-size: 1.1rem;
  color: var(--dark-soft);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.value {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.value i {
  color: var(--primary);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
}

.founder-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.about-card .role {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.founder-skills li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--dark-soft);
  margin-bottom: 0.65rem;
}

.founder-skills i {
  color: var(--primary);
  margin-top: 0.15rem;
  font-size: 0.85rem;
}

/* ========== CONTACT ========== */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-soft);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 58, 30, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.info-card > i {
  width: 42px;
  height: 42px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

.info-card a {
  color: var(--primary);
  font-weight: 500;
}

.info-card a:hover {
  text-decoration: underline;
}

.partners-mini {
  margin-top: 0.5rem;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.partners-mini > p {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.partner-logos span {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-soft);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 1.15rem;
  height: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 300px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.footer-links h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  color: var(--gray-light);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
  clear: both;
  width: 100%;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.footer-tagline {
  color: #7ec98a;
  font-weight: 500;
  flex-shrink: 0;
}

.footer-grid {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .infra-content,
  .about-grid,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 1rem;
  }

  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 110px 0 70px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .market-grid {
    grid-template-columns: 1fr;
  }

  .infra-visual {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

/* Form success state */
.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-success i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray);
}

/* ========== BUSINESS MODEL CANVAS ========== */
.bmc {
  background: var(--bg);
}

.bmc-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0.75rem;
}

/* Classic BMC layout:
   Partners (2) | Activities (2) | Value (2) | Relationships (2) | Segments (2)
   Partners     | Resources (2)  | Value     | Channels (2)      | Segments
   Costs (5)                              | Revenues (5)
*/
.bmc-partners {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.bmc-activities {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}

.bmc-resources {
  grid-column: 3 / 5;
  grid-row: 2 / 3;
}

.bmc-value {
  grid-column: 5 / 7;
  grid-row: 1 / 3;
}

.bmc-relationships {
  grid-column: 7 / 9;
  grid-row: 1 / 2;
}

.bmc-channels {
  grid-column: 7 / 9;
  grid-row: 2 / 3;
}

.bmc-segments {
  grid-column: 9 / 11;
  grid-row: 1 / 3;
}

.bmc-costs {
  grid-column: 1 / 6;
  grid-row: 3 / 4;
}

.bmc-revenues {
  grid-column: 6 / 11;
  grid-row: 3 / 4;
}

.bmc-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  min-height: 0;
}

.bmc-block:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.bmc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent-soft);
}

.bmc-header i {
  width: 28px;
  height: 28px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.bmc-header h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.bmc-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.bmc-block li {
  font-size: 0.78rem;
  color: var(--dark-soft);
  line-height: 1.4;
  padding-left: 0.85rem;
  position: relative;
}

.bmc-block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.bmc-block li strong {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Value proposition – highlight */
.bmc-value {
  background: linear-gradient(160deg, #183a1e 0%, #2f6b38 100%);
  border-color: transparent;
  color: white;
}

.bmc-value .bmc-header {
  border-bottom-color: rgba(255,255,255,0.2);
}

.bmc-value .bmc-header i {
  background: rgba(255,255,255,0.2);
  color: white;
}

.bmc-value .bmc-header h3 {
  color: white;
}

.bmc-value li {
  color: rgba(255,255,255,0.92);
}

.bmc-value li::before {
  color: var(--accent);
}

.bmc-value li strong {
  color: white;
}

/* Costs & Revenues bottom row */
.bmc-costs {
  background: #FEF3F2;
  border-color: #FECACA;
}

.bmc-costs .bmc-header i {
  background: #FEE2E2;
  color: #DC2626;
}

.bmc-revenues {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.bmc-revenues .bmc-header i {
  background: #DCFCE7;
  color: #16A34A;
}

/* Responsive BMC */
@media (max-width: 992px) {
  .bmc-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bmc-partners,
  .bmc-activities,
  .bmc-resources,
  .bmc-value,
  .bmc-relationships,
  .bmc-channels,
  .bmc-segments,
  .bmc-costs,
  .bmc-revenues {
    grid-column: auto;
    grid-row: auto;
  }

  .bmc-value {
    grid-column: 1 / -1;
  }

  .bmc-costs,
  .bmc-revenues {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .bmc-grid {
    grid-template-columns: 1fr;
  }

  .bmc-value {
    grid-column: auto;
  }

  .bmc-block li {
    font-size: 0.85rem;
  }

  .bmc-header h3 {
    font-size: 0.95rem;
  }
}

/* ========== PROJECTIONS / CHARTS ========== */
.projections {
  background: var(--white);
}

.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.chart-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.chart-card:hover {
  box-shadow: var(--shadow);
}

.chart-card-header {
  margin-bottom: 1.25rem;
}

.chart-card-header h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.chart-card-header h3 i {
  color: var(--primary);
  font-size: 0.95rem;
}

.chart-card-header p {
  font-size: 0.85rem;
  color: var(--gray);
}

.chart-wrap {
  position: relative;
  height: 260px;
  width: 100%;
}

.chart-legend-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  justify-content: center;
}

.leg-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gray);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-primary { background: #183a1e; }
.dot-accent { background: #3d8f4a; }

/* KPI strip */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.kpi-item {
  background: var(--gradient-dark);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  color: white;
}

.kpi-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.kpi-label {
  font-size: 0.8rem;
  color: var(--gray-light);
}

/* Scenario cards */
.scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.scenario-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-top: 3px solid var(--primary);
}

.scenario-card.scenario-optimiste {
  border-top-color: #16A34A;
}

.scenario-card.scenario-pessimiste {
  border-top-color: #DC2626;
}

.scenario-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  background: var(--accent-soft);
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.scenario-badge.optimiste {
  background: #DCFCE7;
  color: #16A34A;
}

.scenario-badge.pessimiste {
  background: #FEE2E2;
  color: #DC2626;
}

.scenario-card h4 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.scenario-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.scenario-card li {
  font-size: 0.85rem;
  color: var(--dark-soft);
  line-height: 1.4;
}

.scenario-card li strong {
  color: var(--dark);
}

@media (max-width: 992px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }

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

  .scenario-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .kpi-strip {
    grid-template-columns: 1fr;
  }

  .chart-wrap {
    height: 220px;
  }
}

/* ========== MODEL SIMPLE (Value / Activities / Segments) ========== */
.model-simple {
  background: var(--bg);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.model-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.model-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.model-value .model-icon {
  background: var(--gradient);
  color: white;
}

.model-activities .model-icon {
  background: var(--accent-soft);
  color: var(--primary);
}

.model-segments .model-icon {
  background: #e8f2e9;
  color: #2f6b38;
}

.model-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-soft);
}

.model-value h3 {
  border-bottom-color: rgba(24, 58, 30, 0.22);
}

.model-segments h3 {
  border-bottom-color: #cfe3d2;
}

.model-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.model-card li {
  font-size: 0.92rem;
  color: var(--dark-soft);
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
}

.model-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.model-segments li::before {
  color: #2f6b38;
}

.model-card li strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.model-card li em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

/* Highlight value card */
.model-value {
  background: linear-gradient(160deg, #183a1e 0%, #2f6b38 100%);
  border-color: transparent;
  color: white;
}

.model-value h3 {
  color: white;
  border-bottom-color: rgba(255,255,255,0.2);
}

.model-value li {
  color: rgba(255,255,255,0.92);
}

.model-value li::before {
  color: var(--accent);
}

.model-value li strong {
  color: white;
}

@media (max-width: 900px) {
  .model-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== IPDCP CONFORMITÉ ========== */
.ipdcp {
  background: var(--white);
}

.ipdcp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ipdcp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}

.ipdcp-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.ipdcp-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--accent-soft);
}

.ipdcp-card-header i {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ipdcp-card-header h3 {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.3;
}

.ipdcp-lead {
  font-size: 0.95rem;
  color: var(--dark-soft);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.ipdcp-lead strong {
  color: var(--primary);
}

.ipdcp-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ipdcp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--dark-soft);
  line-height: 1.45;
}

.ipdcp-list i {
  color: var(--primary);
  margin-top: 0.2rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ipdcp-card-checklist {
  background: linear-gradient(160deg, #183a1e 0%, #2f6b38 100%);
  border-color: transparent;
  color: white;
}

.ipdcp-card-checklist .ipdcp-card-header {
  border-bottom-color: rgba(255,255,255,0.2);
}

.ipdcp-card-checklist .ipdcp-card-header i {
  background: rgba(255,255,255,0.2);
  color: white;
}

.ipdcp-card-checklist .ipdcp-card-header h3 {
  color: white;
}

.ipdcp-card-checklist .ipdcp-list li {
  color: rgba(255,255,255,0.92);
}

.ipdcp-card-checklist .ipdcp-list i {
  color: #7ec98a;
}

.ipdcp-why {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ipdcp-why li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.why-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ipdcp-why strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.ipdcp-why p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 900px) {
  .ipdcp-grid {
    grid-template-columns: 1fr;
  }
}



/* === Services grid responsive (final, high priority) === */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
  .service-card > p {
    min-height: 0 !important;
  }
}


/* ========== ABOUT TEAM SKILLS ========== */
.about .section-header {
  margin-bottom: 2.5rem;
}

.team-skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.team-skill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.team-skill:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.team-skill-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.team-skill h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.team-skill p {
  font-size: 0.78rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.35;
}

.about-collective {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  text-align: center;
}

.about-collective > p {
  color: var(--dark-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 1.35rem;
}

.about-collective .about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

@media (max-width: 1100px) {
  .team-skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .team-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-collective {
    padding: 1.35rem 1.15rem;
  }
}


/* Hero slogan + MSP line */
.hero-slogan {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--accent);
  margin: -0.25rem 0 1.15rem;
  letter-spacing: -0.01em;
  max-width: 520px;
  line-height: 1.35;
}

.hero-msp {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 0 1.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
}

.hero-msp strong {
  color: #7ec98a;
  font-weight: 600;
}
