/* Varaha Bora Group — shared styles */
:root {
  --navy: #1a2b48;
  --navy-deep: #0f1728;
  --silver: #a8a9ad;
  --silver-dim: #6b7280;
  --charcoal: #121212;
  --paper: #f4f6f9;
  --white: #fafbfc;
  --line: rgba(168, 169, 173, 0.25);
  --shadow: 0 24px 80px rgba(15, 23, 40, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  /* India branch subtle warmth (same family, accent only) */
  --ember: #c45c2e;
  --ember-soft: rgba(196, 92, 46, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--paper);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Diagonal motif from logo */
.diagonal-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--silver), transparent);
  transform: skewX(-28deg);
  margin: 0.5rem 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--silver);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--silver);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(168, 169, 173, 0.08);
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    right: 1rem;
    top: 100%;
    margin-top: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    min-width: 200px;
    padding: 0.5rem;
    background: var(--navy-deep);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }
}

/* Layout */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--tight {
  padding-top: 2rem;
}

.section__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--white);
}

.section__lead {
  max-width: 58ch;
  color: var(--silver);
  margin: 0 0 2rem;
}

/* Hero (home) */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(26, 43, 72, 0.55), transparent),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(168, 169, 173, 0.08), transparent),
    linear-gradient(180deg, #0a0c10 0%, var(--charcoal) 100%);
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 169, 173, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 169, 173, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--silver);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 16ch;
  color: var(--white);
}

.hero__title span {
  color: var(--silver);
  font-weight: 500;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--silver);
  max-width: 52ch;
  margin: 0 0 2.5rem;
}

/* Branch cards (home) */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .branch-grid {
    grid-template-columns: 1fr;
  }
}

.branch-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.branch-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.branch-card--uae {
  background:
    linear-gradient(160deg, rgba(26, 43, 72, 0.95) 0%, rgba(15, 23, 40, 0.88) 100%),
    url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=900&q=80") center/cover;
}

.branch-card--uae:hover {
  border-color: rgba(168, 169, 173, 0.45);
}

.branch-card--india {
  background:
    linear-gradient(160deg, rgba(196, 92, 46, 0.35) 0%, rgba(18, 18, 18, 0.92) 55%),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=900&q=80") center/cover;
}

.branch-card--india:hover {
  border-color: rgba(196, 92, 46, 0.5);
}

.branch-card__flag {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.branch-card__unit {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--silver);
  margin-bottom: 0.35rem;
}

.branch-card__name {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.branch-card__loc {
  font-size: 0.95rem;
  color: var(--silver);
  margin: 0 0 1.25rem;
}

.branch-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}

.branch-card__cta svg {
  transition: transform 0.2s ease;
}

.branch-card:hover .branch-card__cta svg {
  transform: translateX(4px);
}

/* Maps */
.maps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .maps-grid {
    grid-template-columns: 1fr;
  }
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-deep);
}

.map-card__head {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.map-card__head h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--white);
}

.map-card__head p {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--silver-dim);
}

.map-card iframe {
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(180deg, #243a5c 0%, var(--navy) 100%);
  color: var(--white);
  border-color: rgba(168, 169, 173, 0.25);
  box-shadow: 0 8px 24px rgba(26, 43, 72, 0.4);
}

.btn--primary:hover {
  background: #2d4a73;
}

.btn--ghost {
  background: transparent;
  color: var(--silver);
  border-color: var(--line);
}

.btn--ghost:hover {
  color: var(--white);
  border-color: var(--silver-dim);
}

.branch-india .btn--primary {
  background: linear-gradient(180deg, #d66a3a 0%, var(--ember) 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(196, 92, 46, 0.35);
}

.branch-india .btn--primary:hover {
  background: #e07848;
}

/* Content sections (branch pages) */
.panel {
  background: rgba(26, 43, 72, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.branch-india .panel {
  background: rgba(196, 92, 46, 0.08);
  border-color: rgba(196, 92, 46, 0.2);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.5);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(168, 169, 173, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--silver);
}

.branch-india .service-card__icon {
  background: var(--ember-soft);
  color: #e8a080;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--white);
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--silver-dim);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project-tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.project-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-tile__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--white);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.65rem;
  color: var(--silver);
  font-size: 0.95rem;
}

.contact-list a {
  color: var(--white);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--silver);
  text-decoration: none;
}

.social-row a:hover {
  color: var(--white);
  border-color: var(--silver-dim);
  text-decoration: none;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-pill {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--silver);
}

.value-pill strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: #0a0c10;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--silver-dim);
}

@media (max-width: 900px) {
  .site-footer .wrap {
    grid-template-columns: 1fr;
  }
}

.site-footer h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver);
  margin: 0 0 0.75rem;
}

.site-footer a {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--silver-dim);
  text-align: center;
}

/* Branch page hero variant */
.page-hero {
  padding: clamp(3rem, 10vw, 5rem) 0 2rem;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% -20%, rgba(26, 43, 72, 0.5), transparent);
  pointer-events: none;
}

.branch-india .page-hero::before {
  background: radial-gradient(ellipse 70% 80% at 50% -20%, rgba(196, 92, 46, 0.25), transparent);
}

.page-hero .wrap {
  position: relative;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
  color: var(--white);
}

.page-hero__lead {
  color: var(--silver);
  max-width: 56ch;
  margin: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--silver);
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--white);
  text-decoration: none;
}
