/* ═══════════════════════════════════════════════════
   Finchdata Ltd  —  Responsive Stylesheet
   Modern rebuild, mobile-first
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,400&display=swap');

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

:root {
  --ink:      #1e2530;
  --steel:    #2e3d50;
  --mid:      #4a5568;
  --muted:    #718096;
  --accent:   #e07b1a;
  --accent2:  #1a6fa8;
  --light:    #f5f7fa;
  --white:    #ffffff;
  --border:   #dde2ea;
  --radius:   6px;
  --shadow:   0 4px 24px rgba(30,37,48,.12);
  --nav-h:    68px;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-w:    1100px;
  --px:       clamp(16px, 5vw, 48px);
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--mid);
  background: var(--light);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--accent); }

/* ─── Utility ───────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section    { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--steel); color: var(--white); }

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-dark .section-title { color: var(--white); }
.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
}
.section-dark .section-lead { color: rgba(255,255,255,.7); }
.section-header { margin-bottom: 40px; }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: #c96a12;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,123,26,.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent2);
  border: 2px solid var(--accent2);
}
.btn-outline:hover {
  background: var(--accent2);
  color: var(--white);
}

/* ─── Top Bar ───────────────────────────────────── */
.topbar {
  background: var(--ink);
  padding: 6px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.7); }
.topbar a:hover { color: var(--accent); }
.topbar-contact { display: flex; gap: 24px; align-items: center; }
.topbar-contact span::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}

/* ─── Header / Nav ──────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--steel);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  gap: 24px;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img { height: 48px; width: auto; border-radius: 4px; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}
.logo-text span { color: var(--accent); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-menu a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
}
.nav-menu a:hover,
.nav-menu a.active {
  background: var(--accent);
  color: var(--white);
}
.nav-menu a.active { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero Slider ───────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  height: clamp(280px, 45vw, 480px);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,30,45,.75) 30%, rgba(20,30,45,.2));
  display: flex;
  align-items: flex-end;
  padding: 0 var(--px) 36px;
}
.hero-caption {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: .05em;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  max-width: 560px;
}
.hero-dots {
  position: absolute;
  bottom: 16px; right: var(--px);
  display: flex; gap: 8px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, border-color .2s;
}
.hero-dot.active {
  background: var(--accent);
  border-color: var(--white);
}

/* ─── Services Strip (home) ─────────────────────── */
.services-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border-bottom: 3px solid var(--border);
}
.service-card {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--light); }
.service-card-img {
  width: 100%; height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.service-card p {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.service-link {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link::after { content: ' →'; }
.service-link:hover { color: var(--accent); }

/* ─── Feature Band (home intro) ─────────────────── */
.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-band img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.feature-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.feature-band p { margin-bottom: 16px; }
.feature-band .phone {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}

/* ─── Testimonials ──────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: .3;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--mid);
  margin-bottom: 20px;
  padding-top: 16px;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  font-size: .9rem;
  display: block;
}
.testimonial-card cite span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: .85rem;
}

/* ─── About page ────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-grid img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-content h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.about-content p { margin-bottom: 14px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--accent);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .9rem; color: var(--muted); }

/* ─── Services page ─────────────────────────────── */
.services-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30,37,48,.18);
}
.service-detail-card img {
  width: 100%; height: 180px;
  object-fit: cover;
}
.sdc-body { padding: 24px; }
.sdc-body h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.sdc-body p { font-size: .95rem; color: var(--muted); }

/* ─── Contact page ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 1rem;
}
.contact-detail-text { font-size: .95rem; }
.contact-detail-text strong { display: block; color: var(--ink); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mid);
}
.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent2);
}
.form-group textarea { min-height: 140px; }

/* ─── Page Hero (inner pages) ───────────────────── */
.page-hero {
  background: var(--steel);
  padding: 48px 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
}
.page-hero p {
  color: rgba(255,255,255,.65);
  margin-top: 8px;
  font-size: 1.05rem;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent); }

/* ─── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text {
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: block;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color .15s, padding-left .15s;
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact-item {
  display: flex; gap: 8px;
  margin-bottom: 10px;
  font-size: .9rem;
  align-items: flex-start;
}
.footer-contact-item strong {
  color: rgba(255,255,255,.5);
  min-width: 50px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Accent bar ─────────────────────────────────── */
.accent-bar {
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent2));
}

/* ─── News items ─────────────────────────────────── */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--white);
  border-left: 4px solid var(--accent2);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem;
  color: var(--mid);
  box-shadow: 2px 2px 12px rgba(30,37,48,.06);
}
.news-item strong {
  display: block;
  color: var(--ink);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
  color: var(--accent);
  font-family: var(--font-head);
}

/* ─── Two-col intro layout ──────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two-col-wide { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .services-strip,
  .services-detail,
  .about-grid,
  .feature-band,
  .contact-grid,
  .footer-grid,
  .two-col,
  .two-col-wide { grid-template-columns: 1fr; }

  .stats-row { grid-template-columns: repeat(3,1fr); }

  .service-card { border-right: none; border-bottom: 1px solid var(--border); }
  .service-card:last-child { border-bottom: none; }

  .feature-band img { max-height: 260px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--steel);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 200;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; width: 100%; }

  .topbar-contact { display: none; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row .stat-box:last-child { grid-column: span 2; }

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

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

  .hero { height: clamp(220px, 55vw, 320px); }

  .section { padding: 40px 0; }

  .contact-detail-icon { width: 30px; height: 30px; font-size: .8rem; }
}

@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stats-row .stat-box:last-child { grid-column: span 1; }
}
