/* ============================================================
   Rajapalayam Web Design — Main Stylesheet
   ============================================================ */

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:   #ea580c;
  --indigo-d: #c2410c;
  --indigo-l: #f97316;
  --sky:      #fff7ed;
  --sky-d:    #fed7aa;
  --white:    #ffffff;
  --gray-bg:  #f8fafc;
  --text:     #1e293b;
  --muted:    #64748b;
  --border:   #e2e8f0;
  --success:  #16a34a;
  --error:    #dc2626;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
  --radius:   10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}

/* ── DARK MODE ───────────────────────────────────────────── */
[data-theme="dark"] {
  --white:    #161b22;
  --gray-bg:  #0d1117;
  --text:     #e6edf3;
  --muted:    #9198a1;
  --border:   #2d333b;
  --sky:      #3a2412;
  --sky-d:    #5a3414;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.4);
}

[data-theme="dark"] body { background: var(--gray-bg); }
[data-theme="dark"] .navbar { background: rgba(13,17,23,.92); border-bottom-color: var(--border); }
[data-theme="dark"] .mobile-nav { background: var(--white); border-top-color: var(--border); }
[data-theme="dark"] .nav-dropdown-menu { background: var(--white); border-color: var(--border); }
[data-theme="dark"] .stats-band { background: var(--white); border-bottom-color: var(--border); }
[data-theme="dark"] .service-card,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .testi-card,
[data-theme="dark"] .contact-form { background: var(--white); border-color: var(--border); }
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] select,
[data-theme="dark"] textarea { background: var(--gray-bg); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .check-item::before { background: #14532d; color: #4ade80; }
[data-theme="dark"] .alert-success { background: #0f2e1a; border-color: #166534; color: #4ade80; }
[data-theme="dark"] .alert-error   { background: #2e1010; border-color: #7f1d1d; color: #f87171; }
[data-theme="dark"] .testi-card::before { color: #3a2412; }
[data-theme="dark"] .footer-divider { border-top-color: #1e293b; }
[data-theme="dark"] .home-visual-frame { box-shadow: var(--shadow-lg); }
[data-theme="dark"] .home-float-badge { background: var(--white); border-color: var(--border); }

/* Smooth theme transition */
body, .navbar, .service-card, .portfolio-item, .testi-card, .contact-form,
input, select, textarea, .mobile-nav, .nav-dropdown-menu {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* ── Theme Toggle Button ─────────────────────────────────── */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  transition: transform .2s ease, background .25s ease, border-color .25s ease;
}
.theme-toggle:hover { transform: scale(1.08); }
.theme-toggle:active { transform: scale(.94); }

@media (max-width: 768px) {
  .theme-toggle { bottom: 18px; right: 18px; width: 44px; height: 44px; font-size: 19px; }
}

html { scroll-behavior: smooth; }
#footer-placeholder, #header-placeholder { display: block; line-height: 0; }
#footer-placeholder > *, #header-placeholder > * { line-height: 1.6; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.5vw, 36px); font-weight: 800; }
h3 { font-size: clamp(17px, 2vw, 22px); font-weight: 700; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary  { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.btn-primary:hover  { background: var(--indigo-d); border-color: var(--indigo-d); }
.btn-white    { background: #fff; color: var(--indigo); border-color: #fff; }
.btn-white:hover    { background: var(--sky); }
.btn-outline  { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover  { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline-dark:hover { background: var(--sky); }

/* ── Section Utilities ───────────────────────────────────── */
section { padding: 72px 0; }
.section-bg { background: var(--gray-bg); }

.section-head { text-align: center; margin-bottom: 48px; }
.label {
  display: inline-block;
  background: var(--sky);
  color: var(--indigo);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-head h2 { color: var(--text); margin-bottom: 12px; }
.section-head p  { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

body {
  padding-top: 68px; /* matches .nav-inner height: 68px */
}

@media (max-width: 768px) {
  body { padding-top: 60px; }
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex-shrink: 1;
}
.nav-logo .brand   {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -.3px;
  white-space: nowrap;
  line-height: 1.25;
}
.nav-logo .sub     { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--indigo); background: var(--sky); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 3px; cursor: pointer; }
.nav-dropdown-trigger .caret { font-size: 10px; transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-trigger .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  min-width: 140px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
}
.nav-dropdown-menu a:hover { background: var(--sky); color: var(--indigo); }
.nav-cta { margin-left: 8px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .2s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}
.mobile-nav a:hover { background: var(--sky); color: var(--indigo); }
.mobile-nav .btn-primary { margin-top: 8px; text-align: center; justify-content: center; }

/* ── HERO SLIDER (full-bleed, used by other pages if needed) ─── */
.hero-slider { position: relative; overflow: hidden; padding: 0 !important; }
.slide {
  display: none;
  position: relative;
  min-height: 620px;
  align-items: center;
}
.slide.active { display: flex; }
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.55) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  padding: 56px 20px 76px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fed7aa;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.slide-content h1 { color: #fff; margin-bottom: 16px; }
.slide-content h1 em { color: #fdba74; font-style: normal; }
.slide-content p { color: #fed7aa; font-size: clamp(15px, 2vw, 18px); margin-bottom: 30px; line-height: 1.7; max-width: 520px; margin-left: auto; margin-right: auto; }
.slide-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #ffedd5;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 20px;
}
.hero-badge .dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; flex-shrink: 0; }

/* Slider dots & arrows */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  cursor: pointer;
  transition: .2s;
}
.dot.active { background: #fff; transform: scale(1.3); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,.3); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* ── STATS BAND ──────────────────────────────────────────── */
.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 0;
}
.stat-item {
  text-align: center;
  padding: 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1;
}
.stat-num sup { font-size: 22px; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 5px; }

/* ── SERVICES ────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all .25s ease;
}
.service-card:hover {
  border-color: #fdba74;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.svc-icon {
  width: 54px; height: 54px;
  background: var(--sky);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; }
.svc-more { display: inline-flex; align-items: center; gap: 4px; color: var(--indigo); font-size: 13px; font-weight: 600; margin-top: 14px; }

/* ── PORTFOLIO ───────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.portfolio-item {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  background: var(--white);
  transition: .25s;
}
.portfolio-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-item img { width: 100%; height: 200px; object-fit: cover; }
.portfolio-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(120,40,10,.9) 0%, transparent 100%);
  padding: 48px 18px 18px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0;
  transition: .25s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.p-title { font-size: 16px; font-weight: 700; color: #fff; }
.p-tag {
  display: inline-block;
  background: rgba(249,115,22,.7);
  color: #fed7aa;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.about-img img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--indigo);
  color: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  text-align: center;
}
.about-badge .big   { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1; }
.about-badge .small { font-size: 12px; opacity: .8; margin-top: 4px; }
.inline-label { display: inline-block; }
.about-text h2 { margin: 12px 0 16px; }
.about-text p  { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.about-checks  { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 28px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.check-item::before {
  content: '✓';
  width: 20px; height: 20px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  position: relative;
}
.testi-card::before {
  content: '❝';
  position: absolute;
  top: 14px; right: 18px;
  font-size: 40px;
  color: #ffedd5;
  line-height: 1;
}
.stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--muted); }

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 60%, #f97316 100%);
  padding: 72px 20px;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p  { color: #fed7aa; font-size: 17px; margin-bottom: 32px; }

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; margin-bottom: 10px; }
.contact-info p  { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.c-icon {
  width: 42px; height: 42px;
  background: var(--sky);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.c-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.c-val   { font-size: 15px; font-weight: 600; margin-top: 2px; }

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 20px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
label .req { color: #dc2626; }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--indigo-l);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-submit { margin-top: 6px; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 16px; padding: 14px; }

/* Alert messages */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
}
.alert.show { display: flex; align-items: center; gap: 10px; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #15803d; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  padding: 56px 0 24px;
  color: #94a3b8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand { color: #fb923c; font-size: 18px; font-weight: 800; font-family: var(--font-display); }
.footer-brand .sub   { color: #475569; font-size: 11px; }
.footer-brand p      { font-size: 13px; color: #64748b; line-height: 1.7; margin-top: 14px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
  transition: .15s;
}
.footer-col a:hover { color: #fdba74; }
.footer-divider  { border: none; border-top: 1px solid #1e293b; margin-bottom: 24px; }
.footer-bottom   { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: #475569; }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 70%, #f97316 100%);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; font-size: clamp(28px, 4vw, 44px); }
.page-hero p  { color: #fed7aa; font-size: 17px; max-width: 480px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .4; }

/* ============================================================
   HOME HERO — two-column layout (index.html only)
   Pill + headline + copy + buttons on the left,
   image with floating badge + dot slider on the right.
   Namespaced with "home-" so it never collides with the
   full-bleed .hero-slider used elsewhere.
   ============================================================ */
.home-hero { padding: 56px 0 40px; overflow: hidden; }

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.home-slide-pane { display: none; }
.home-slide-pane.active {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  grid-column: 1 / -1;
  animation: homeFadeIn .45s ease;
}
@keyframes homeFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  color: var(--indigo);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.home-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--indigo);
}

.home-hero-copy h1 { margin-bottom: 16px; color: var(--text); }
.home-hero-copy h1 .accent { color: var(--indigo); }

.home-hero-copy p.lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 30px;
}

.home-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.home-hero-btns .btn { padding: 13px 26px; }

.home-hero-badges { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.home-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.home-badge .dot-ind { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); flex-shrink: 0; }

/* Visual side */
.home-hero-visual { position: relative; width: 100%; max-width: 100%; }

.home-visual-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1.05 / 1;
  width: 100%;
}
.home-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-float-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 18px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: homeFloat 4s ease-in-out infinite;
  max-width: calc(100% - 40px);
}
@keyframes homeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.home-float-badge .hfb-icon {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.home-float-badge .hfb-num { font-weight: 800; font-size: 14px; color: var(--text); white-space: nowrap; }
.home-float-badge .hfb-lbl { font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* Dot slider, sits on the image bottom-left like a caption */
.home-slider-dots {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: flex;
  gap: 7px;
  z-index: 3;
}
.home-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.7);
  cursor: pointer;
  transition: .2s;
}
.home-dot.active { background: var(--indigo); border-color: var(--indigo); width: 20px; border-radius: 5px; }

/* Prev / next arrow buttons, overlaid on the image edges.
   Sized at min 40px+ to stay comfortable touch targets on mobile. */
.home-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.9);
  color: var(--indigo-d);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(3px);
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.home-slider-arrow:hover, .home-slider-arrow:active { background: var(--indigo); color: #fff; transform: translateY(-50%) scale(1.06); }
.home-slider-arrow.prev { left: 14px; }
.home-slider-arrow.next { right: 14px; }

/* ── Responsive: tablet — stack visual above copy ───────── */
@media (max-width: 900px) {
  .home-hero-grid, .home-slide-pane.active { grid-template-columns: 1fr; gap: 32px; }
  .home-hero-visual { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .home-hero-copy p.lede { max-width: 100%; }
}

/* ── Responsive: large phone / small tablet ─────────────── */
@media (max-width: 640px) {
  .home-hero { padding: 28px 0 24px; }
  .home-hero-grid, .home-slide-pane.active { gap: 22px; }
  .home-hero-visual { max-width: 420px; }
  .home-visual-frame { aspect-ratio: 4 / 3; border-radius: 16px; }
  .home-pill { font-size: 12px; padding: 6px 13px; margin-bottom: 14px; }
  .home-hero-copy h1 { margin-bottom: 12px; }
  .home-hero-copy p.lede { font-size: 15px; margin-bottom: 22px; line-height: 1.65; }
  .home-hero-btns { gap: 10px; margin-bottom: 22px; }
  .home-hero-btns .btn { flex: 1 1 150px; justify-content: center; padding: 12px 18px; font-size: 14px; white-space: nowrap; }
  .home-hero-badges { gap: 10px 16px; }
  .home-badge { font-size: 12.5px; }
  .home-float-badge { padding: 9px 13px 9px 9px; gap: 8px; top: 12px; right: 12px; }
  .home-float-badge .hfb-icon { width: 26px; height: 26px; min-width: 26px; font-size: 12px; }
  .home-float-badge .hfb-num { font-size: 12px; }
  .home-float-badge .hfb-lbl { font-size: 10.5px; }
  .home-slider-arrow { width: 36px; height: 36px; font-size: 16px; }
  .home-slider-arrow.prev { left: 10px; }
  .home-slider-arrow.next { right: 10px; }
  .home-slider-dots { left: 14px; bottom: 12px; }
}

/* ── Responsive: small phone ─────────────────────────────── */
@media (max-width: 480px) {
  .home-hero { padding: 22px 0 18px; }
  .home-hero-visual { max-width: 100%; }
  .home-visual-frame { aspect-ratio: 16 / 12; border-radius: 14px; }
  .home-hero-copy h1 { font-size: clamp(24px, 7.5vw, 32px); }
  .home-hero-copy p.lede { font-size: 14px; margin-bottom: 20px; }
  .home-hero-btns { flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .home-hero-btns .btn { width: 100%; flex: none; }
  .home-hero-badges { flex-direction: column; align-items: flex-start; gap: 8px; }
  .home-float-badge { display: none; }
  .home-slider-arrow { width: 34px; height: 34px; font-size: 15px; }
}

/* ── Responsive: very small phone ────────────────────────── */
@media (max-width: 360px) {
  .home-hero-copy h1 { font-size: clamp(22px, 7.5vw, 28px); }
  .home-hero-copy p.lede { font-size: 13.5px; }
  .home-visual-frame { aspect-ratio: 4 / 3; }
  .home-pill { font-size: 11.5px; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo .brand { font-size: 17.5px; }
  .nav-logo .sub   { font-size: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 52px 0; }
  .hero-badges { position: static !important; transform: none !important; margin-top: 24px; flex-direction: column; align-items: center; white-space: normal !important; }
  .hero-badge { white-space: nowrap; }
  .slide-content { padding: 40px 18px; }
}

@media (max-width: 380px) {
  .nav-logo .brand { font-size: 15.5px; }
  .nav-logo .sub   { display: none; }
}

@media (max-width: 520px) {
  .slide { min-height: 480px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 8px; }
}