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

:root {
  --bg:        #0d1117;
  --bg-card:   #161b22;
  --border:    #30363d;
  --primary:   #f59e0b;
  --primary-hover: #d97706;
  --fg:        #e6edf3;
  --muted:     #8b949e;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); line-height: 1.7; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Layout ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 24px rgba(245,158,11,0.25);
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 6px 32px rgba(245,158,11,0.35); }
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.4); border-color: rgba(245,158,11,0.3); }

/* ── 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; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ════════════════════════════════
   HEADER / NAV
════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s, padding 0.3s, border-color 0.3s, box-shadow 0.3s;
}
#site-header.scrolled {
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-badge {
  width: 2.25rem;
  height: 2.25rem;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.nav-logo-badge img { width: 1.625rem; height: 1.625rem; object-fit: contain; }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--fg); }
.nav-logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta { flex-shrink: 0; }

/* Hamburger */
#mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0.25rem;
}

#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
#mobile-menu a:hover { background: rgba(255,255,255,0.05); color: var(--primary); }
#mobile-menu .btn { width: 100%; justify-content: center; margin-top: 0.5rem; border-radius: var(--radius-sm); }

@media (max-width: 767px) {
  .nav-links, .nav-cta { display: none; }
  #mobile-menu-toggle { display: block; }
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.hero-badge svg { color: var(--primary); }

.hero-title { margin-bottom: 1.25rem; }
.hero-title em { font-style: normal; color: var(--primary); }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-uptime-badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-uptime-badge .badge-icon {
  width: 2.25rem; height: 2.25rem;
  background: rgba(245,158,11,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.hero-uptime-badge .badge-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.hero-uptime-badge .badge-value { font-size: 0.95rem; font-weight: 700; color: var(--fg); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 7rem; padding-bottom: 3rem; }
  .hero-image-wrap { aspect-ratio: 16/9; }
}

/* ════════════════════════════════
   SERVICES SECTION
════════════════════════════════ */
.section { padding: 6rem 0; }
.section-alt { background: rgba(255,255,255,0.02); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-2px);
}

.service-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1); }

.service-card h4 { font-size: 1.1rem; color: var(--fg); transition: color 0.2s; }
.service-card:hover h4 { color: var(--primary); }
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; flex: 1; }
.service-learn-more {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
  transition: gap 0.2s;
}
.service-card:hover .service-learn-more { gap: 0.5rem; }

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

/* Service colours */
.icon-orange { background: rgba(245,158,11,0.1); color: #f59e0b; }
.icon-blue   { background: rgba(59,130,246,0.1); color: #3b82f6; }
.icon-green  { background: rgba(34,197,94,0.1);  color: #22c55e; }
.icon-purple { background: rgba(168,85,247,0.1); color: #a855f7; }
.icon-red    { background: rgba(239,68,68,0.1);  color: #ef4444; }
.icon-teal   { background: rgba(20,184,166,0.1); color: #14b8a6; }

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
.section-card-bg { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Image column */
.about-image-wrap { position: relative; }
.about-image-inner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.about-image-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  pointer-events: none;
}
.about-exp-card {
  position: absolute;
  bottom: 2rem; left: 2rem; right: 2rem;
  background: rgba(13,17,23,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.about-exp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.about-exp-label { font-weight: 700; font-size: 1.05rem; color: var(--fg); }
.about-exp-value { font-weight: 700; font-size: 1.15rem; color: var(--primary); }
.about-exp-bar {
  height: 8px;
  background: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}
.about-exp-fill {
  height: 100%;
  width: 100%;
  background: var(--primary);
  border-radius: 9999px;
  transform-origin: left;
  animation: fillBar 1.5s ease 0.5s both;
}
@keyframes fillBar {
  from { width: 0; }
  to { width: 100%; }
}

/* Text column */
.about-content h2 { margin-bottom: 1rem; }
.about-content p { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.75; font-size: 1.05rem; }

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--fg);
}
.check-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-inner { aspect-ratio: 4 / 5; }
}

/* ════════════════════════════════
   TESTIMONIALS
════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: border-color 0.2s ease;
}
.testimonial-card:hover { border-color: rgba(245,158,11,0.3); }
.testimonial-body { position: relative; }
.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(245,158,11,0.15);
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  pointer-events: none;
}
.testimonial-text {
  color: var(--fg);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 500;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.875rem; color: var(--fg); display: block; }
.author-role { font-size: 0.75rem; color: var(--muted); display: block; }

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

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-detail-icon {
  width: 3rem; height: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-detail-label { font-size: 0.85rem; font-weight: 700; color: var(--fg); }
.contact-detail-value { font-size: 0.85rem; color: var(--muted); }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--fg); }
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { width: 100%; padding: 1rem; font-size: 1rem; border-radius: var(--radius-md); margin-top: 0.5rem; }

.form-message { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.875rem; display: none; }
.form-message.success { display: block; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #22c55e; }
.form-message.error   { display: block; background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #ef4444; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.875rem; margin: 1rem 0 1.5rem; line-height: 1.7; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--primary); }

.footer-col h4 { font-size: 0.875rem; font-weight: 700; color: var(--fg); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }

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

/* ════════════════════════════════
   SERVICE DETAIL PAGE
════════════════════════════════ */
.service-hero {
  padding: 8rem 0 4rem;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--border);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }
.service-hero-inner { display: flex; align-items: flex-start; gap: 1.5rem; }
.service-hero-icon {
  width: 4rem; height: 4rem;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-hero h1 { margin-bottom: 0.75rem; }
.service-hero .hero-desc { font-size: 1.125rem; max-width: 680px; margin-bottom: 2rem; }
.service-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover { border-color: rgba(245,158,11,0.3); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.feature-card-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.feature-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.85rem; }

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

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--fg);
  font-size: 0.95rem;
}
.benefits-list li::before {
  content: '';
  width: 1.25rem; height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.who-for-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.who-for-card h2 { margin-bottom: 0.75rem; }
.who-for-card p { margin-bottom: 1.5rem; }

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

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .other-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .other-services-grid { grid-template-columns: 1fr; } }

/* ── Utilities ── */
.text-primary { color: var(--primary); }
.text-muted   { color: var(--muted); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
