/* ============================================================
   Roomcility Theme — Main Stylesheet
   ============================================================ */

:root {
  --blue-darkest: #0a1628;
  --blue-dark:    #0f2b5b;
  --blue-mid:     #0078d4;
  --blue-bright:  #2196f3;
  --blue-light:   #deebf7;
  --blue-pale:    #f0f6ff;
  --accent:       #0078d4;
  --accent-hover: #106ebe;
  --white:        #ffffff;
  --text-dark:    #1a1a2e;
  --text-muted:   #5a6a80;
  --border:       #d0e3f5;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── TYPOGRAPHY ── */
.section-label {
  display: inline-block;
  color: var(--blue-mid);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
}

.section-header { margin-bottom: 3.5rem; }

/* ── NAV ── */
.rc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 100;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,120,212,0.25);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  overflow: hidden;
}

.rc-nav .nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
}

.rc-nav .nav-logo span { color: var(--blue-mid); }

.rc-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.rc-nav ul a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.rc-nav ul a:hover { color: var(--white); }

.rc-nav .nav-cta {
  background: var(--blue-mid);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.rc-nav .nav-cta:hover { background: var(--accent-hover); }

/* ── HERO ── */
.rc-hero {
  min-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-darkest) 0%, var(--blue-dark) 55%, #0d3d7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 6% 80px;
  position: relative;
  overflow: hidden;
}

.rc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(0,120,212,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(33,150,243,0.12) 0%, transparent 70%);
}

.rc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

.rc-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.rc-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,120,212,0.2);
  border: 1px solid rgba(0,120,212,0.4);
  color: #90caf9;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.rc-hero .hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4fc3f7;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.rc-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 1.4rem;
}

.rc-hero h1 em {
  font-style: normal;
  color: #64b5f6;
}

.rc-hero .subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(0,120,212,0.45);
  display: inline-block;
}

.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: #64b5f6; letter-spacing: -1px; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── SECTIONS SHARED ── */
.rc-section { padding: 90px 6%; }

/* ── WAT IS ROOMCILITY ── */
.rc-section-wat {
  background: var(--blue-pale);
  position: relative;
  overflow: hidden;
}

.rc-section-wat::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,120,212,0.07) 0%, transparent 70%);
}

.wat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.wat-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,78,140,0.1);
}

@media (max-width: 900px) {
  .wat-mockup {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wat-mockup > div {
    min-width: 600px;
  }
}

/* ── FEATURES ── */
.rc-section-features { background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-bright));
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(0,78,140,0.12);
  transform: translateY(-4px);
  border-color: rgba(0,120,212,0.3);
}

.feature-card:hover::before { opacity: 1; }

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ── DEMO ── */
.rc-section-demo {
  background: linear-gradient(135deg, #0a1628 0%, #0f2b5b 60%, #0d3d7a 100%);
  padding: 90px 4%;
  position: relative;
  overflow: hidden;
}

.rc-section-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.demo-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.demo-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.demo-header .section-title { color: var(--white); }
.demo-header .section-sub { margin: 0 auto; color: rgba(255,255,255,0.65); }

.demo-frame-wrapper {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  max-width: 1000px;
  margin: 0 auto;
}

.demo-frame-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.demo-frame-dot { width: 12px; height: 12px; border-radius: 50%; }
.demo-frame-dot.red   { background: #ff5f56; }
.demo-frame-dot.amber { background: #febc2e; }
.demo-frame-dot.green { background: #28c840; }

.demo-frame-url {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Sora', sans-serif;
  margin-left: 8px;
}

.demo-iframe {
  width: 100%;
  height: calc(100vh - 200px);
  min-height: 820px;
  border: none;
  border-radius: 10px;
  display: block;
}

@media (max-width: 900px) {
  .demo-iframe {
    height: calc(100vh - 160px);
    min-height: 700px;
  }
  .demo-frame-wrapper {
    padding: 14px;
    border-radius: 14px;
  }
}

@media (max-width: 600px) {
  .demo-iframe {
    height: calc(100vh - 120px);
    min-height: 800px;
  }
}

.demo-caption {
  text-align: center;
  color: #ffffff;
  font-size: 0.78rem;
  margin-top: 1.2rem;
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* ── HOE HET WERKT ── */
.rc-section-hoe { background: var(--blue-pale); }

.steps-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 39px;
  top: 80px;
  width: 2px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, var(--blue-mid), rgba(0,120,212,0.1));
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,120,212,0.35);
  position: relative;
  z-index: 1;
}

.step-content { padding-top: 1.2rem; }

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── PRIJZEN ── */
.rc-section-prijzen { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,78,140,0.1); }

.pricing-card.featured {
  background: linear-gradient(145deg, var(--blue-dark), #0d3d7a);
  border-color: var(--blue-mid);
  box-shadow: 0 8px 40px rgba(0,120,212,0.3);
  color: white;
}

.pricing-badge {
  display: inline-block;
  background: var(--blue-mid);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.plan-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-dark); }
.pricing-card.featured .plan-name { color: white; }

.plan-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -1px; margin: 1rem 0 0.25rem; color: var(--text-dark); }
.pricing-card.featured .plan-price { color: white; }
.plan-price span { font-size: 0.9rem; font-weight: 400; }

.plan-period { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.pricing-card.featured .plan-period { color: rgba(255,255,255,0.6); }
.plan-sla {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--blue-pale);
  color: var(--blue-mid);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.pricing-card.featured .plan-sla {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}
.pricing-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2.5rem auto 0;
}

.plan-features { list-style: none; margin-bottom: 2rem; flex: 1; }

.plan-features li {
  padding: 0.45rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
}

.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.8); }

.plan-features li::before { content: '✓'; color: var(--blue-mid); font-weight: 800; flex-shrink: 0; }
.pricing-card.featured .plan-features li::before { color: #64b5f6; }

.plan-btn {
  display: block;
  text-align: center;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.plan-btn-outline { border: 2px solid var(--blue-mid) !important; color: var(--blue-mid); background: transparent; }
.plan-btn-outline:hover { background: var(--blue-pale); }

.plan-btn-solid { background: var(--blue-mid); color: white; border: 2px solid var(--blue-mid) !important; }
.plan-btn-solid:hover { background: var(--accent-hover); transform: translateY(-2px); }

.plan-btn-white { background: white; color: var(--blue-dark); border: 2px solid white !important; }
.plan-btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

.pricing-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 2.5rem auto 0;
}

.pricing-extra-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--blue-pale);
}

.pricing-extra-card .extra-icon { font-size: 1.3rem; margin-bottom: 0.5rem; }
.pricing-extra-card .extra-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--text-dark); }
.pricing-extra-card .extra-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACT ── */
.rc-section-contact {
  background: linear-gradient(135deg, var(--blue-darkest) 0%, var(--blue-dark) 100%);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-left .section-title { color: white; }
.contact-left .section-sub { color: rgba(255,255,255,0.65); }

.contact-team { display: flex; gap: 1.5rem; margin-top: 2.5rem; flex-wrap: wrap; }

.team-member { display: flex; align-items: center; gap: 0.9rem; }

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), #1565c0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}

.team-info-name { font-size: 0.9rem; font-weight: 700; color: white; }
.team-info-role { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form .form-row { margin-bottom: 1.2rem; }

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.3); }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue-mid);
  background: rgba(255,255,255,0.12);
}

.contact-form select option { background: var(--blue-dark); color: white; }
.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form .form-submit {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  background: var(--blue-mid);
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}

.contact-form .form-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── FOOTER ── */
.rc-footer {
  background: var(--blue-darkest);
  padding: 2rem 6%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.rc-footer p { font-size: 0.82rem; color: #ffffff; }
.rc-footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
.rc-footer a:hover { color: rgba(255,255,255,0.8); }

/* ── FADE-IN ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }


/* ── DATA SOVEREIGNTY ── */
.rc-section-data { background: var(--blue-pale); }

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

.data-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}

.data-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.data-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.data-icon-blue { background: var(--blue-pale); }
.data-icon-green { background: #e8f5e9; }

.data-card-title { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin: 0 0 2px; }
.data-card-sub   { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

.data-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.25rem; }

.data-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.data-item span { flex-shrink: 0; font-weight: 700; }
.data-item-blue span { color: var(--blue-mid); }
.data-item-green span { color: #2e7d32; }

.data-notice {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
}

.data-notice-blue  { background: var(--blue-pale); color: var(--blue-mid); }
.data-notice-green { background: #e8f5e9; color: #2e7d32; }

.data-hosting {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.data-hosting-item { display: flex; align-items: flex-start; gap: 12px; }
.data-hosting-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1; }
.data-hosting-title { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin: 0 0 4px; }
.data-hosting-text  { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wat-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-extras { grid-template-columns: 1fr !important; }
  .rc-nav ul { display: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .rc-section { padding: 60px 5%; }
  .rc-hero { padding: 90px 5% 60px; }
  .rc-hero h1 { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .step { grid-template-columns: 56px 1fr; gap: 1.2rem; }
  .step-num { width: 56px; height: 56px; font-size: 1.2rem; }
  .step:not(:last-child)::after { left: 27px; }
  .pricing-extras { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .demo-frame-topbar { gap: 5px; }
  .demo-frame-url { font-size: 0.65rem; padding: 4px 8px; }
  .section-title { font-size: 1.6rem; }
  .rc-nav .nav-logo { font-size: 1.1rem; }
  .rc-nav .nav-cta { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
  .rc-nav { padding: 0 4%; gap: 0; justify-content: space-between; }
}


/* ============================================================
   CALCULATOR SECTION  (section-calculator.php)
   ============================================================ */

.rc-section-calculator { background: var(--white); }

/* Facility toggles */
.calc-card {
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 20px;
}

.calc-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.calc-fac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.calc-fac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
}

.calc-fac-item:hover { border-color: var(--blue-mid); background: #e8f4fd; }
.calc-fac-item.on    { border-color: var(--blue-mid); background: #daeeff; }
.calc-fac-item input { display: none; }

.calc-fac-box {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  transition: all .15s;
  color: var(--white);
}
.calc-fac-item.on .calc-fac-box { background: var(--blue-mid); border-color: var(--blue-mid); }

.calc-fac-icon { font-size: 16px; line-height: 1; }
.calc-fac-name { font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.3; }
.calc-fac-mins { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.calc-fac-item.on .calc-fac-mins { color: #c47400; }

/* Sliders */
.calc-sliders {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.calc-slider-card {
  flex: 1; min-width: 200px;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
  overflow: hidden;
}

.calc-sl-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.calc-sl-label strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 2px;
}

.calc-slider-card input[type=range] {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
.calc-slider-card input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--blue-mid);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-mid);
}

/* Compare cards */
.calc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-ccard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.calc-bad  { border-top: 3px solid #e53e3e; }
.calc-good { border-top: 3px solid #38a169; }

.calc-ccard-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 3px;
}
.calc-bad  .calc-ccard-tag { color: #e53e3e; }
.calc-good .calc-ccard-tag { color: #38a169; }

.calc-ccard-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.calc-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--blue-pale);
  gap: 8px;
  transition: opacity .25s;
}

.calc-row.off { opacity: .2; }

.calc-row-name  { color: var(--text-muted); font-size: 12px; flex: 1; }

.calc-row-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 20px;
  background: #fff0f0;
  color: #c53030;
  white-space: nowrap;
}

.calc-row-time {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  min-width: 44px;
  text-align: right;
}
.calc-bad  .calc-row-time { color: #c47400; }
.calc-good .calc-row-time { color: #2f855a; }

.calc-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 14px;
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-total-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-total-val {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.bad-val  { color: #e53e3e; }
.good-val { color: #38a169; }

.calc-bar-wrap { margin-top: 12px; }
.calc-bar-track {
  background: var(--border);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.calc-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.calc-fill-bad  { background: #e53e3e; opacity: .7; }
.calc-fill-good { background: #38a169; }
.calc-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Savings banner */
.calc-savings {
  background: linear-gradient(120deg, var(--blue-pale), #e8f8f2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.calc-sav-val {
  font-size: 44px;
  font-weight: 800;
  color: var(--blue-mid);
  line-height: 1;
  letter-spacing: -1px;
}

.calc-sav-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}

.calc-sav-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.calc-stat { text-align: center; }
.calc-stat-v { font-size: 20px; font-weight: 800; color: var(--text-dark); }
.calc-stat-l { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; line-height: 1.4; }

.calc-footnote {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  .calc-compare { grid-template-columns: 1fr; }
  .calc-savings { flex-direction: column; align-items: center; text-align: center; }
  .calc-sav-main { text-align: center; }
  .calc-sav-stats { gap: 16px; justify-content: center; width: 100%; }
  .calc-stat { min-width: 120px; }
}
