/* ============================================
   siTOTis Information Services Inc
   Canadian AI Hosting — Landing Page Styles
   ============================================ */

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

:root {
  --red: #C41E3A;
  --red-dark: #a01830;
  --red-light: #e8354f;
  --slate: #1a1a2e;
  --slate-light: #2a2a4a;
  --grey-light: #f5f5f7;
  --grey: #e5e5e7;
  --white: #ffffff;
  --text: #333;
  --text-light: #666;
  --green: #4ade80;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--red-dark);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--slate);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}

.section--light {
  background: var(--grey-light);
}

.section--dark {
  background: var(--slate);
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-title--light {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--slate);
  white-space: nowrap;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-accent {
  color: var(--red);
}

.logo-tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: -0.3px;
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--red);
  color: var(--white) !important;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  margin-right: 16px;
}

.nav-login-btn:hover {
  background: var(--red-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.nav-dropdown {
  position: relative;
}

.nav-flag-btn {
  background: none;
  border: none;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}

.nav-flag-btn:hover {
  transform: scale(1.1);
}

.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15), 0 0 0 0.5px rgba(0, 0, 0, 0.05);
  padding: 4px;
  min-width: 220px;
  z-index: 1001;
  flex-direction: column;
}

.nav-menu.active {
  display: flex;
}

.nav-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-menu li:last-child {
  border-bottom: none;
}

.nav-link {
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all 0.1s;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
}

.nav-link:hover {
  color: var(--white);
  background: var(--red);
}

.nav-icon {
  font-size: 1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.nav-link--cta {
  background: none;
  color: var(--text);
  margin: 0;
  text-align: left;
}

.nav-link--cta:hover {
  background: var(--red);
  color: var(--white) !important;
}

/* ---------- Hero ---------- */
.hero {
  padding: 160px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--white) 0%, var(--grey-light) 100%);
}

.hero-bg-leaf {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: none;
}

.hero-maple {
  font-size: 20rem;
  line-height: 1;
  opacity: 0.07;
}

.hero-headline {
  position: relative;
  margin-bottom: 20px;
}

.hero-sub {
  position: relative;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-ctas {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.trust-badges {
  position: relative;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.badge-icon {
  flex-shrink: 0;
}

/* ---------- Problem Section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.problem-card {
  text-align: center;
  padding: 32px 24px;
}

.problem-icon {
  margin-bottom: 20px;
}

.problem-card h3 {
  margin-bottom: 12px;
  color: var(--red);
}

.problem-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(196, 30, 58, 0.2);
}

.service-card--clickable {
  cursor: pointer;
}

.service-card--clickable::after {
  content: 'Click for details';
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card--clickable:hover::after {
  opacity: 1;
}

.service-icon {
  margin-bottom: 16px;
}

.service-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tech-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--grey-light);
  color: var(--text);
  border: 1px solid var(--grey);
}

.tech-logo svg {
  flex-shrink: 0;
}

.service-badge {
  display: inline-block;
  background: rgba(196, 30, 58, 0.08);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Personalized AI Section ---------- */
/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.slide-industry {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slide-industry span {
  font-size: 1.4rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--red);
  transform: scale(1.2);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-width: 0;
}

.comparison-card {
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comparison-card--generic .comparison-header {
  background: rgba(255, 255, 255, 0.05);
}

.comparison-card--sitotis .comparison-header {
  background: rgba(196, 30, 58, 0.2);
}

.comparison-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.comparison-badge {
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.comparison-chat {
  padding: 20px;
  background: rgba(0, 0, 0, 0.15);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.chat-msg {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-msg:last-child {
  margin-bottom: 0;
}

.chat-msg--user {
  background: rgba(196, 30, 58, 0.15);
  border-left: 3px solid var(--red);
}

.chat-msg--ai {
  background: rgba(255, 255, 255, 0.05);
}

.chat-msg--good {
  background: rgba(74, 222, 128, 0.08);
  border-left: 3px solid var(--green);
}

.chat-generic {
  font-style: italic;
  opacity: 0.7;
  margin: 8px 0;
}

.chat-specific {
  margin: 8px 0;
  opacity: 0.95;
}

.chat-note {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 8px;
}

.chat-note--good {
  opacity: 0.7;
  color: var(--green);
}

.industry-icons {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.industry-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  width: calc(100% - 72px + 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(196, 30, 58, 0.2));
  z-index: 1;
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--grey);
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(196, 30, 58, 0.2);
}

.industry-card-icon {
  margin-bottom: 16px;
}

.industry-card h3 {
  color: var(--red);
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card--featured {
  border: 2px solid var(--red);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-tier {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 24px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: top;
  line-height: 1.8;
  color: var(--text-light);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--slate);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.pricing-features {
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--grey-light);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%234ade80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.485 3.515a1 1 0 010 1.414l-6.364 6.364a1 1 0 01-1.414 0L3.515 9.1a1 1 0 011.414-1.414L6.707 9.464l5.364-5.364a1 1 0 011.414-.585z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-feature--no {
  color: var(--text-light);
  opacity: 0.6;
}

.pricing-feature--no::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23999' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.646 4.646a.5.5 0 01.708 0L8 7.293l2.646-2.647a.5.5 0 01.708.708L8.707 8l2.647 2.646a.5.5 0 01-.708.708L8 8.707l-2.646 2.647a.5.5 0 01-.708-.708L7.293 8 4.646 5.354a.5.5 0 010-.708z'/%3E%3C/svg%3E");
}

.pricing-feature--yes {
  font-weight: 600;
  color: var(--red);
}

.pricing-note {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
}

.pricing-note a {
  font-weight: 600;
}

/* ---------- Data Sovereignty ---------- */
.sovereignty-content {
  max-width: 900px;
  margin: 0 auto;
}

.sovereignty-diagram {
  margin-bottom: 40px;
}

.diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 16px;
}

.diagram-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 100px;
  text-align: center;
  font-size: 0.82rem;
}

.diagram-node--highlight {
  border-color: rgba(196, 30, 58, 0.4);
  background: rgba(196, 30, 58, 0.1);
}

.diagram-node--server {
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.05);
}

.diagram-node small {
  opacity: 0.6;
  font-size: 0.72rem;
}

.diagram-arrow {
  flex-shrink: 0;
}

.diagram-caption {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.sovereignty-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

.sovereignty-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Green Energy ---------- */
.section--green {
  background: linear-gradient(170deg, #0a2e1a 0%, #143d28 50%, #0f3321 100%);
  color: var(--white);
}

.green-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.green-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.green-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.green-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.green-card h3 {
  color: #4ade80;
  margin-bottom: 8px;
}

.green-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.green-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 36px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.green-stat {
  text-align: center;
}

.green-stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.2;
}

.green-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.green-message {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.badge--green {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge--clickable {
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: all 0.2s;
}

.badge--clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Badge Popups */
.badge-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.badge-popup h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--slate);
}

.badge-popup p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-light);
}

.badge-popup p strong {
  color: var(--text);
}

.service-popup {
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
}

.service-popup-section {
  margin-bottom: 20px;
}

.service-popup-section:last-child {
  margin-bottom: 0;
}

.service-popup-section h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
  margin-bottom: 8px;
  font-weight: 700;
}

.service-popup-section p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-light);
}

.service-popup-section ul {
  padding-left: 0;
}

.service-popup-section li {
  padding: 4px 0 4px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  position: relative;
}

.service-popup-section li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 600;
}

.service-popup-case {
  background: var(--grey-light);
  border-radius: 10px;
  padding: 16px;
  border-left: 3px solid var(--red);
}

.service-popup-case p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.service-popup-case strong {
  color: var(--text);
}

.badge-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}

.badge-popup-close:hover {
  background: var(--grey-light);
  color: var(--text);
}

.badge-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.badge-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-list {
  margin-top: 24px;
}

.about-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.7;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-map-card {
  background: var(--grey-light);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  border: 1px solid var(--grey);
  width: 100%;
  max-width: 360px;
}

.map-pin {
  margin-bottom: 16px;
}

.about-map-card h3 {
  color: var(--red);
  margin-bottom: 4px;
}

.about-map-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--grey);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-group textarea {
  resize: vertical;
}

.contact-form .btn {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: -4px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-method svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-method strong {
  display: block;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 2px;
}

.contact-method a,
.contact-method span {
  font-size: 0.95rem;
  color: var(--text-light);
}

.contact-method a:hover {
  color: var(--red);
}

.contact-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: rgba(196, 30, 58, 0.04);
  border-radius: 10px;
  margin-top: auto;
}

.contact-guarantee svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-guarantee p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--slate);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.footer-tagline {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.5;
  margin-bottom: 12px;
}

.footer-slogan {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  opacity: 0.5;
}

.footer-flag {
  display: flex;
  align-items: center;
  font-size: 2.5rem;
  line-height: 1;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Form Success State ---------- */
.form-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  color: var(--green);
  margin-bottom: 8px;
}

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

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-flag-btn {
    font-size: 2.5rem;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .hero-maple {
    width: 300px;
    height: 300px;
  }

  .trust-badges {
    gap: 12px;
  }

  .badge {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-connector {
    display: none;
  }

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

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

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

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

  .green-stats {
    gap: 32px;
  }

  .diagram-flow {
    flex-direction: column;
    gap: 4px;
  }

  .diagram-arrow svg {
    transform: rotate(90deg);
  }

  .diagram-arrow--return {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .form-group--full {
    grid-column: 1;
  }

  .contact-form .btn {
    grid-column: 1;
  }

  .form-note {
    grid-column: 1;
  }

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

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

  .section {
    padding: 64px 0;
  }

  .section-subtitle {
    margin-bottom: 40px;
  }

  .industry-icons {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
}
