/* ===================================
   LUNARIS — Premium Design System
   Inspired by Stripe, Linear, Vercel
   =================================== */

:root {
  --ink: #0f0f0e;
  --ink-soft: #4a4a44;
  --ink-muted: #8a8a80;
  --cream: #faf9f7;
  --cream-dark: #f2efea;
  --cream-mid: #e8e4dc;
  --white: #ffffff;
  --border: #e4e0d8;
  --border-soft: #ede9e1;

  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-light: #eff6ff;
  --accent-mid: #bfdbfe;

  --green: #22c55e;
  --green-light: #dcfce7;
  --red: #dc2626;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-accent: 0 8px 32px rgba(29,78,216,0.22);

  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Syne', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ─── TYPOGRAPHY ─────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&family=Syne:wght@600;700;800&display=swap');

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--ink-soft); line-height: 1.8; }

/* ─── LAYOUT ─────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 100px 0; }
main { padding-top: 88px; }

/* ─── UTILITY ─────────────────────── */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--ink-muted); }

.label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.section-header {
  margin-bottom: 60px;
}
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; }
.section-header.center p { margin: 0 auto; }

/* ─── BUTTONS ─────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1.5px solid transparent;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15,15,14,0.20);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: var(--shadow-accent);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

.btn-contact {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
  font-size: 0.88rem;
  padding: 10px 22px;
}
.btn-contact:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* ─── NAVBAR ─────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 12px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-img {
  height: 30px;
  width: auto;
  border-radius: 6px;
}
.logo-text {
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--accent); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--ink);
  background: var(--cream-dark);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s var(--ease-out), opacity 0.2s;
}
.menu-toggle.active .hamburger:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active .hamburger:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.menu-toggle.active .hamburger:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.active { display: flex; }
.nav-link-mobile {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s;
}
.nav-link-mobile:hover { color: var(--accent); }
.nav-link-mobile:last-child { border-bottom: none; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

/* ─── HERO (City pages) ──────────── */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(29,78,216,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29,78,216,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  max-width: 700px;
}
.hero-title em {
  font-style: normal;
  color: #60a5fa;
}
.hero-description {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.70);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.hero-buttons .btn-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.hero-buttons .btn-primary:hover {
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: 0 8px 28px rgba(255,255,255,0.2);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.50);
  font-weight: 500;
}

/* ─── TRUST BAR ─────────────────── */
.trust {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ─── PRICING ─────────────────────── */
.pricing { background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.2s;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-mid);
}
.pricing-card .btn {
  margin-top: auto;
}

.pricing-card.popular {
  border-color: var(--accent);
  background: var(--ink);
}
.pricing-card.popular h3,
.pricing-card.popular .pack-desc,
.pricing-card.popular .features-list li {
  color: rgba(255,255,255,0.75);
}
.pricing-card.popular .amount { color: var(--white); }
.pricing-card.popular .currency { color: rgba(255,255,255,0.5); }
.pricing-card.popular .check {
  background: rgba(255,255,255,0.12);
  color: #60a5fa;
}
.pricing-card.popular .btn-primary {
  background: var(--white);
  color: var(--ink);
}
.pricing-card.popular .btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.pricing-card.popular .card-icon {
  background: rgba(255,255,255,0.10);
}
.pricing-card h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 12px;
}
.amount {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.currency {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.pack-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
}
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  min-width: 19px;
  border-radius: 6px;
  background: var(--green-light);
  color: #16a34a;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── FEATURES (dark bg) ──────────── */
.features {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29,78,216,0.20) 0%, transparent 65%);
  pointer-events: none;
}
.features .section-header h2 { color: var(--white); }
.features .section-header p { color: rgba(255,255,255,0.60); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background 0.25s, transform 0.28s var(--ease-out), border-color 0.25s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.20);
  transform: translateY(-4px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(29,78,216,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.feature-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1rem; }
.feature-card p { color: rgba(255,255,255,0.60); font-size: 0.9rem; line-height: 1.7; }

/* ─── SEO BLOCKS ─────────────────── */
.seo { background: var(--white); }
.seo > .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.seo__block {
  padding: 44px 0;
  border-bottom: 1px solid var(--border-soft);
}
.seo__block:last-child { border-bottom: none; }
.seo__block h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin-bottom: 18px;
  color: var(--ink);
}
.seo__block h3 {
  font-size: 1.05rem;
  color: var(--accent);
  margin: 24px 0 10px;
}
.seo__block p {
  font-size: 0.96rem;
  line-height: 1.82;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.seo__block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 18px;
}
.seo__block ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.seo__block ul li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.seo-lead {
  font-size: 1.05rem !important;
  color: var(--ink) !important;
  font-weight: 500;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 22px !important;
}

/* ─── FAQ ────────────────────────── */
.faq { background: var(--cream); }
.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq__q h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
  line-height: 1.45;
}
.faq__q svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--ink-muted);
  transition: transform 0.32s var(--ease-out), color 0.2s;
}
.faq__item.open .faq__q svg {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq__item.open .faq__q h3 { color: var(--accent); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq__item.open .faq__a { max-height: 500px; }
.faq__a p {
  font-size: 0.93rem;
  line-height: 1.82;
  color: var(--ink-soft);
  padding-bottom: 22px;
}

/* ─── CTA BAND ─────────────────────── */
.cta-band {
  background: var(--ink);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29,78,216,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.cta-band .btn-primary:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* ─── CONTACT ─────────────────────── */
.contact-sec { background: var(--cream-dark); }
.contact__box {
  display: grid;
  gap: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__info h3 {
  font-size: 1.6rem;
  margin: 0;
}
.contact__info .desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.eml {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.eml:hover { color: var(--accent-hover); text-decoration: underline; }
.eml svg { color: var(--accent); }

.contact__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.contact__live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
}
.contact__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .contact__box {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
@media (max-width: 767px) {
  .contact__box { padding: 28px; gap: 24px; }
}

/* ─── FOOTER ─────────────────────── */
.footer {
  background: var(--ink);
  padding: 64px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__brand img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
  border-radius: 0;
}
.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.75;
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.30);
  margin-bottom: 16px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.48);
  transition: color 0.2s;
}
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer__socials { display: flex; gap: 10px; }
.footer__soc {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.42);
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.footer__soc:hover { background: var(--accent); color: var(--white); }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ─── CARDS / WHY ─────────────────── */
.why { background: var(--cream-dark); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow 0.28s, transform 0.28s var(--ease-out), border-color 0.2s;
}
.why__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--accent-mid);
}
.why__ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.why__card h3 { font-size: 1rem; margin-bottom: 10px; color: var(--ink); }
.why__card p { font-size: 0.88rem; line-height: 1.72; }

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

/* ─── SECTORS ─────────────────────── */
.sectors { background: var(--white); }
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sec-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color 0.2s, background 0.2s, transform 0.28s var(--ease-out);
}
.sec-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-3px);
}
.sec-card__ico { font-size: 1.6rem; margin-bottom: 13px; display: block; }
.sec-card h3 { font-size: 0.93rem; margin-bottom: 8px; color: var(--ink); }
.sec-card p { font-size: 0.84rem; line-height: 1.65; }
@media (max-width: 768px) { .sectors__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sectors__grid { grid-template-columns: 1fr; } }

/* ─── PROCESS ─────────────────────── */
.process { background: var(--white); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.process__step {
  background: var(--cream);
  padding: 36px 28px;
  position: relative;
}
.process__step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.process__step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.process__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.process__step h3 { font-size: 1rem; margin-bottom: 9px; }
.process__step p { font-size: 0.87rem; line-height: 1.65; }
.process__step--a { background: var(--accent); }
.process__step--a .process__num { color: rgba(255,255,255,0.15); }
.process__step--a h3 { color: var(--white); }
.process__step--a p { color: rgba(255,255,255,0.65); }
@media (max-width: 768px) {
  .process__grid { grid-template-columns: 1fr 1fr; }
  .process__step:first-child { border-radius: var(--radius) 0 0 0; }
  .process__step:last-child { border-radius: 0 0 var(--radius) 0; }
}
@media (max-width: 480px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__step { border-radius: 0 !important; }
  .process__step:first-child { border-radius: var(--radius) var(--radius) 0 0 !important; }
  .process__step:last-child { border-radius: 0 0 var(--radius) var(--radius) !important; }
}

/* ─── COMPARATIF ─────────────────── */
.comp { background: var(--cream-dark); }
.comp-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comp-table__hd {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  padding: 14px 28px;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
}
.comp-table__hd span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
}
.comp-table__hd span:last-child { color: var(--accent); }
.comp-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  transition: background 0.15s;
}
.comp-table__row:last-child { border-bottom: none; }
.comp-table__row:hover { background: var(--cream); }
.comp-table__row span, .comp-table__row strong {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.comp-table__row strong { color: var(--ink); }
.cy { color: #16a34a !important; font-weight: 700; }
.cn { color: var(--red) !important; font-weight: 600; }
.cp { color: var(--accent) !important; font-weight: 600; }
@media (max-width: 640px) {
  .comp-table__hd, .comp-table__row {
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
    padding: 11px 14px;
  }
  .comp-table__row span, .comp-table__row strong { font-size: 0.78rem; }
}

/* ─── TESTIMONIALS ─────────────────── */
.testi { background: var(--white); }
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testi-card__stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testi-card__text {
  font-size: 0.91rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-style: italic;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.testi-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.testi-card__role { font-size: 0.78rem; color: var(--ink-muted); }
.testi__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.testi__rating .stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testi__rating p { font-size: 0.88rem; color: var(--ink-muted); }
.testi__rating p strong { color: var(--ink); }
@media (max-width: 900px) { .testi__grid { grid-template-columns: 1fr; } }

/* ─── PORTFOLIO ─────────────────────── */
.portfolio { background: var(--cream-dark); }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.port-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.28s, transform 0.28s var(--ease-out);
}
.port-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.port-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.port-card__body { padding: 20px; }
.port-card__tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.port-card__body h3 { font-size: 0.97rem; margin-bottom: 5px; }
.port-card__body p { font-size: 0.84rem; }
@media (max-width: 768px) { .portfolio__grid { grid-template-columns: 1fr; } }

/* ─── CITIES GRID (internal linking) */
.cities { background: var(--white); }
.cities__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.city-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.22s var(--ease-out);
}
.city-link:hover {
  background: var(--accent-light);
  border-color: var(--accent-mid);
  color: var(--accent);
  transform: translateY(-2px);
}
.city-link::before {
  content: '📍';
  font-size: 0.85rem;
}
@media (max-width: 900px) { .cities__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cities__grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── ANIMATIONS ─────────────────── */
.fade-in, .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.fade-in.visible, .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up[style*="delay"],
.fade-in[style*="delay"] {
  /* delay handled by inline style transition-delay */
}

/* ─── MISC HELPERS ─────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--accent-mid);
}

/* ─── RESPONSIVE GLOBALS ──────────── */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero { padding: 80px 0 60px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
}
