/* =========================================================
   Lakshmi Communications – Main Stylesheet
   ========================================================= */

:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --ink: #0d1b35;
  --ink-soft: #56708a;
  --line: #d5e0ee;
  --brand: #d72228;
  --accent: #00a8e8;
  --accent-warm: #f4a229;
  --hero-bg: #08142d;
  --hero-mid: #10254f;
  --shadow: 0 20px 55px rgba(12,28,64,0.13);
  --shadow-sm: 0 6px 20px rgba(12,28,64,0.09);
  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 10px;

  /* SVG pattern used in hero + page-hero */
  --pat-dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='rgba(255%2C255%2C255%2C0.1)'/%3E%3C/svg%3E");
  --pat-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cline x1='0' y1='0' x2='80' y2='0' stroke='rgba(255%2C255%2C255%2C0.04)' stroke-width='1'/%3E%3Cline x1='0' y1='0' x2='0' y2='80' stroke='rgba(255%2C255%2C255%2C0.04)' stroke-width='1'/%3E%3Ccircle cx='0' cy='0' r='2' fill='rgba(255%2C255%2C255%2C0.08)'/%3E%3Ccircle cx='80' cy='80' r='2' fill='rgba(255%2C255%2C255%2C0.08)'/%3E%3Ccircle cx='40' cy='40' r='2.5' fill='rgba(42%2C101%2C247%2C0.16)'/%3E%3C/svg%3E");
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.66;
}

h1, h2, h3, h4, .brand, .btn, summary {
  font-family: "Plus Jakarta Sans", sans-serif;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }

.container { width: min(1180px, 92vw); margin: 0 auto; }
.site-shell { overflow: clip; }

/* ─── Topbar ─── */
.topbar {
  background: #10241a;
  color: rgba(225,238,255,0.78);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.52rem 0;
}
.topbar p { margin: 0; }

/* ─── Sticky Site Header ─── */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ─── Navigation ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.brand > span {
  display: grid;
  gap: 0.06rem;
  line-height: 1.2;
}
.brand > span:not(.brand-mark) {
  display: none;
}
.brand small {
  color: rgba(225,238,255,0.6);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brand-mark {
  flex-shrink: 0;
  width: 220px;
  height: 50px;
  background:
    url("assets/images/lakshmicomm_logo.png") center/contain no-repeat,
    #ffffff;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu > li { position: relative; }
.menu > li > a {
  display: block;
  padding: 0.58rem 0.82rem;
  text-decoration: none;
  color: #123b85;
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: var(--r-sm);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.menu > li > a:hover,
.menu > li > a.is-current { background: rgba(215,34,40,0.09); color: #d72228; }

.menu-cta {
  padding: 0.72rem 1.1rem !important;
  border-radius: 999px !important;
  background: rgba(215,34,40,0.1) !important;
  border: 1px solid rgba(215,34,40,0.32);
  color: #d72228 !important;
}
.menu-cta:hover { background: rgba(215,34,40,0.18) !important; }

/* Dropdown */
.has-sub > a::after { content: " ▾"; font-size: 0.65rem; opacity: 0.55; }
.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 230px;
  background: #ffffff;
  border: 1px solid rgba(18,59,133,0.12);
  border-radius: 14px;
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 300;
  box-shadow: 0 24px 48px rgba(11,34,78,0.2);
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sub-menu li { list-style: none; }
.sub-menu a {
  display: block;
  padding: 0.62rem 0.88rem;
  border-radius: 9px;
  font-size: 0.91rem;
  color: #123b85;
  text-decoration: none;
  transition: background 0.15s;
}
.sub-menu a:hover { background: rgba(215,34,40,0.08); color: #d72228; }

.menu-toggle {
  display: none;
  padding: 0.65rem 0.88rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(18,59,133,0.25);
  background: #ffffff;
  color: #123b85;
  font: inherit;
  cursor: pointer;
}

/* ─── Hero Background (homepage) ─── */
.hero {
  position: relative;
  color: #fff;
  overflow: clip;
  background:
    var(--pat-dot),
    var(--pat-grid),
    radial-gradient(ellipse at 10% 30%, rgba(0,168,232,0.22) 0%, transparent 38%),
    radial-gradient(ellipse at 88% 12%, rgba(215,34,40,0.28) 0%, transparent 36%),
    radial-gradient(ellipse at 55% 85%, rgba(24,61,142,0.35) 0%, transparent 42%),
    linear-gradient(148deg, #08142d 0%, #0f2348 52%, #17387f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/banner-corporate.svg") center/cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.hero-slider {
  position: relative;
  z-index: 1;
}

/* ─── Hero Slider ─── */
.hero-slider { padding: 1.6rem 0 5.5rem; }

.hero-slide {
  display: none;
  gap: 2.5rem;
  min-height: 585px;
  align-items: center;
}
.hero-slide.is-active {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
}

.hero-copy, .hero-visual, .hero-metrics, .hero-chart { min-width: 0; }

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8fd3ff;
}
.eyebrow.dark { color: var(--brand); }

h1, .hero-slide h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 4.8vw, 4.3rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
}
.hero-slide h2 { color: #fff; }

.lead {
  margin: 0;
  max-width: 60ch;
  font-size: 1.05rem;
  color: rgba(225,237,252,0.87);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
  margin-top: 1.8rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

.btn-solid {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
  box-shadow: 0 12px 28px rgba(15,62,167,0.3);
}
.btn-solid:hover { box-shadow: 0 18px 36px rgba(15,62,167,0.38); }

.btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.07);
}
.btn-dark {
  color: #fff;
  background: linear-gradient(135deg, #0d2448, var(--brand));
  box-shadow: 0 12px 28px rgba(13,36,72,0.3);
}

/* ─── Hero Visual Cards ─── */
.hero-visual {
  position: relative;
  min-height: 450px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 30px 36px 18px 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.13);
}
.visual-card, .metric-card, .chart-card {
  position: absolute;
  border-radius: 22px;
  padding: 1.15rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.visual-card span, .chart-card p {
  display: block;
  margin: 0 0 0.42rem;
  color: #a3d9ff;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.visual-card strong, .metric-card strong { display: block; font-size: 1.15rem; line-height: 1.35; }
.visual-primary  { left: 0;   top: 46px;  width: 66%; }
.visual-secondary{ right: 0;  top: 182px; width: 57%; }
.visual-tertiary { left: 8%;  bottom: 20px; width: 61%; }

.hero-metrics { display: grid; gap: 1rem; align-content: center; }
.metric-card  { position: relative; padding: 1.3rem; }
.metric-card strong { font-size: 2.3rem; margin-bottom: 0.3rem; }
.metric-card span { color: rgba(225,238,252,0.83); }

.hero-chart { display: flex; align-items: center; justify-content: center; }
.chart-card { position: relative; width: min(100%, 420px); }
.chart-card ul { margin: 0; padding-left: 1.1rem; color: rgba(225,238,252,0.9); }
.chart-card li + li { margin-top: 0.44rem; }

/* Slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.slider-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s;
}
.slider-arrow:hover { background: rgba(255,255,255,0.14); }
.slider-dots { display: flex; gap: 0.52rem; }
.slider-dot {
  width: 10px; height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.slider-dot.is-active { background: #fff; width: 24px; }

/* ─── Partner strip ─── */
.partner-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.partner-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

/* ─── Page Hero Banner (inner pages) ─── */
.page-hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  text-align: center;
  color: #fff;
  overflow: clip;
  background:
    var(--pat-dot),
    var(--pat-grid),
    var(--page-hero-accent, radial-gradient(ellipse at 15% 40%, rgba(0,168,232,0.22) 0%, transparent 40%)),
    radial-gradient(ellipse at 85% 10%, rgba(215,34,40,0.26) 0%, transparent 34%),
    linear-gradient(148deg, #08142d 0%, #0f2348 55%, #17387f 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/banner-corporate.svg") center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 52px;
  background: linear-gradient(to bottom right, transparent 49%, var(--page-after-bg, #f5f8fc) 51%);
}
.page-hero-content { position: relative; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(220,234,252,0.65);
  font-size: 0.88rem;
}
.breadcrumb a { color: #7ec8ff; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.45; }

/* ─── Page Sections ─── */
.section { padding: 5.2rem 0; }
.section-soft {
  background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
}
.section-dark {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(215,34,40,0.18) 0%, transparent 30%),
    linear-gradient(138deg, #09182f 0%, #0d2448 100%);
  color: #fff;
}
.section-accent {
  background: linear-gradient(138deg, #0a3060 0%, #0e4580 100%);
  color: #fff;
}

.section-head { margin-bottom: 2.2rem; }
.section-head.center { text-align: center; }
.section-head.light h2,
.section-head.light p,
.section-head.light .eyebrow { color: #fff; }

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h3 { margin: 0 0 0.6rem; font-size: 1.18rem; line-height: 1.3; }

/* ─── Two-column section layout ─── */
.section-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.section-copy p:not(.eyebrow) { color: var(--ink-soft); margin-top: 0.9rem; }

/* ─── Cards (shared base) ─── */
.card-base {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

/* ─── Overview/About panel ─── */
.overview-panel { display: grid; gap: 1rem; }
.overview-stat {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.overview-stat strong {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 1.1rem;
  color: var(--brand);
}
.overview-stat span { color: var(--ink-soft); }

/* ─── Service grid ─── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(215,34,40,0.12), rgba(0,168,232,0.1));
  color: var(--brand);
}
.service-index {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(215,34,40,0.09);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.82rem;
}
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.service-card .link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  font-size: 0.9rem;
}

/* ─── Solutions layout ─── */
.solution-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}
.solution-list { display: grid; gap: 1rem; }
.solution-item {
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.solution-item p { color: var(--ink-soft); margin: 0; }
.solution-panel {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.solution-panel ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}
.solution-panel li + li { margin-top: 0.4rem; }

/* ─── Work / Portfolio grid ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.work-card {
  padding: 1.4rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.work-card h3, .work-card p { color: #fff; margin: 0; }
.work-card p { color: rgba(225,238,252,0.78); margin-top: 0.5rem; }
.work-label {
  margin: 0 0 0.75rem;
  color: #93c5ff;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

/* Work cards on light background */
.work-grid--light .work-card {
  background: var(--surface);
  border-color: var(--line);
}
.work-grid--light .work-card h3 { color: var(--ink); }
.work-grid--light .work-card p { color: var(--ink-soft); }
.work-grid--light .work-label { color: var(--brand); }

/* ─── Process steps ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.process-card {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.process-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(215,34,40,0.14), rgba(0,168,232,0.1));
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.process-card p { color: var(--ink-soft); margin: 0; font-size: 0.94rem; }

/* ─── Stats row ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
  padding: 3rem 0;
}
.stat-item strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
  color: var(--brand);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.stat-item span { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }

/* Stats on dark bg */
.stats-row--light .stat-item strong { color: #7ec8ff; }
.stats-row--light .stat-item span   { color: rgba(225,238,252,0.8); }

/* ─── Feature list ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature-item {
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.feature-item h4 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.feature-item p  { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ─── Tech tags ─── */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.tag {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(215,34,40,0.09);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.83rem;
}

/* ─── Testimonial cards ─── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.testi-card {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.testi-quote { color: var(--ink-soft); font-style: italic; margin: 0 0 1rem; }
.testi-author strong { font-size: 0.95rem; }
.testi-author span   { color: var(--ink-soft); font-size: 0.84rem; }

/* ─── Industries ─── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.industry-item {
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: #0d4b74;
}

/* ─── FAQ ─── */
.faq-list { display: grid; gap: 0.85rem; width: min(860px, 100%); margin: 0 auto; }
.faq-item {
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.faq-item[open] { border-color: rgba(215,34,40,0.35); }
summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); margin: 0.7rem 0 0; }

/* ─── Contact Section ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 0.8rem; }
.contact-copy p { color: var(--ink-soft); }
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: var(--surface-soft);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.ci-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(215,34,40,0.12), rgba(0,168,232,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.ci-label { font-size: 0.78rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.ci-value { font-weight: 700; }

.contact-form {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.9rem;
}
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

input, select, textarea {
  width: 100%;
  padding: 0.88rem 1rem;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  background: #fbfdff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(215,34,40,0.1);
}
textarea { resize: vertical; }

/* ─── CTA Banner ─── */
.cta-band {
  background:
    var(--pat-dot),
    linear-gradient(138deg, #0a2a5e 0%, #0e3d97 100%);
  padding: 4.5rem 0;
  text-align: center;
  color: #fff;
}
.cta-band h2 { margin-bottom: 0.8rem; }
.cta-band p  { color: rgba(225,238,252,0.82); max-width: 58ch; margin: 0 auto 1.8rem; }

/* ─── Footer ─── */
.footer {
  background: #06101f;
  color: rgba(215,228,248,0.75);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-col p:not(.footer-title) { font-size: 0.91rem; margin-top: 0.7rem; }
.footer-title {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-col a  { text-decoration: none; color: rgba(215,228,248,0.72); font-size: 0.92rem; transition: color 0.18s; }
.footer-col a:hover { color: #fff; }
.footer-brand { color: #fff; }
.footer-brand .brand { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* ─── Reveal animation ─── */
.reveal, .reveal-delay {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.show, .reveal-delay.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-delay.show { transition-delay: 0.17s; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .service-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero-slide.is-active,
  .section-grid,
  .solution-layout,
  .contact-grid,
  .work-grid,
  .testi-grid,
  .feature-grid,
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .brand-mark {
    width: 170px;
    height: 40px;
  }

  .menu-toggle { display: inline-flex; }
  .menu {
    position: absolute;
    right: 4vw;
    top: 74px;
    width: min(310px, 92vw);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(18,59,133,0.14);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 300;
  }
  .menu.open { display: flex; }
  .menu > li > a { padding: 0.7rem 1rem; }
  .menu-cta { text-align: center; margin-top: 0.3rem; }
  .has-sub > a::after { content: none; }
  .sub-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #f3f7ff;
    border: 1px solid rgba(18,59,133,0.1);
    box-shadow: none;
    padding: 0.3rem 0.5rem;
    border-radius: 10px;
    width: auto;
    display: block;
  }
  .sub-menu a { font-size: 0.89rem; }

  .topbar-inner { flex-direction: column; gap: 0.2rem; }

  .hero-slide.is-active,
  .section-grid,
  .solution-layout,
  .contact-grid,
  .work-grid,
  .testi-grid,
  .feature-grid,
  .industry-grid,
  .footer-top,
  .partner-inner,
  .process-grid,
  .service-grid,
  .stats-row { grid-template-columns: 1fr; }

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

  .hero.is-active { min-height: auto; }
  .hero-visual { min-height: 360px; }
  .visual-primary, .visual-secondary, .visual-tertiary { width: auto; left: 0; right: 0; }
  .visual-primary  { top: 18px; }
  .visual-secondary{ top: 136px; }
  .visual-tertiary { top: 256px; bottom: auto; }
  .hero-slider { padding-bottom: 3.5rem; }
  .slider-controls { justify-content: center; }
}

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 3.2rem 0; }
}

/* ─── Floating WhatsApp Button ─── */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  z-index: 200;
  text-decoration: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.floating-whatsapp:hover {
  background: #20ba5f;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
}

@media (max-width: 820px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* ─── Portfolio Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 66.67%;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-content {
  padding: 1.6rem;
}

.gallery-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 0.6rem;
}

.gallery-item h3 {
  margin: 0 0 0.8rem 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.4;
}

.gallery-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.gallery-link:hover {
  color: var(--brand);
  gap: 0.4rem;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: zoomIn 0.3s ease;
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--accent);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .gallery-content {
    padding: 1.2rem;
  }
  
  .lightbox-close {
    top: -30px;
    font-size: 1.6rem;
  }
}

/* ─── Legal Pages (Privacy & Terms) ─── */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  margin-top: 2.8rem;
  margin-bottom: 1.2rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--line);
  color: var(--ink);
  font-size: 1.6rem;
}

.legal-content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 1.15rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--ink);
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.8rem;
}

.legal-content li {
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.legal-content a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.legal-content a:hover {
  border-bottom-color: var(--brand);
}

.legal-content address {
  background: var(--surface-soft);
  padding: 1.6rem;
  border-radius: var(--r-md);
  border-left: 4px solid var(--accent);
  font-style: normal;
  line-height: 1.8;
  margin: 2rem 0;
}

.legal-content address p {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 820px) {
  .legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
  }
  
  .legal-content h3 {
    font-size: 1.05rem;
  }
  
  .legal-content {
    font-size: 0.95rem;
  }
}
