/* ============================================
   SIVAM INNOVATIONS — Global Design System
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --clr-primary: #1a2744;
  --clr-primary-light: #253a5e;
  --clr-primary-dark: #0f1a2e;
  --clr-accent: #e8882f;
  --clr-accent-light: #f0a35c;
  --clr-accent-dark: #c96f1e;
  --clr-white: #ffffff;
  --clr-off-white: #f5f6f8;
  --clr-gray-100: #ecedef;
  --clr-gray-200: #d1d3d8;
  --clr-gray-300: #a0a3ab;
  --clr-gray-400: #6b6f7a;
  --clr-gray-500: #444750;
  --clr-text: #222222;
  --clr-text-light: #555555;
  --clr-success: #2ecc71;
  --clr-overlay: rgba(15, 26, 46, 0.85);

  /* Typography */
  --ff-heading: 'Outfit', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --fs-hero: clamp(2.2rem, 5vw, 4rem);
  --fs-h1: clamp(1.8rem, 4vw, 3rem);
  --fs-h2: clamp(1.4rem, 3vw, 2.2rem);
  --fs-h3: clamp(1.1rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
  --shadow-accent: 0 4px 20px rgba(232, 136, 47, 0.3);

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: var(--space-2xl) 0;
}

.section--gray {
  background: var(--clr-off-white);
}

.section--dark {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.section__label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-xs);
}

.section__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  font-size: var(--fs-body);
  color: var(--clr-text-light);
  max-width: 650px;
  line-height: 1.7;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__header .section__subtitle {
  margin: 0 auto;
}

.text-accent {
  color: var(--clr-accent);
}

.text-center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background: var(--clr-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 136, 47, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

.btn--dark {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn--dark:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--clr-white);
}

.btn--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.3);
}

.btn--sm {
  padding: 10px 24px;
  font-size: var(--fs-small);
}

.btn svg,
.btn i {
  width: 18px;
  height: 18px;
}

/* ---------- Header / Navbar ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(26, 39, 68, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-img,
.footer__grid .header__logo-img {
  max-width: 250px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 18px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav__cta {
  margin-left: 12px;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  transition: all var(--transition);
  border-radius: 2px;
}

.header__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--clr-primary-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 26, 46, 0.92) 0%, rgba(26, 39, 68, 0.75) 50%, rgba(15, 26, 46, 0.85) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: var(--header-height);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 136, 47, 0.15);
  border: 1px solid rgba(232, 136, 47, 0.3);
  color: var(--clr-accent-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-lg);
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero__title .highlight {
  color: var(--clr-accent);
  position: relative;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 550px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: var(--space-xl);
}

.hero__stats {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-number {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: var(--fw-extrabold);
  color: var(--clr-accent);
}

.hero__stat-label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ---------- Hero (Page-level for inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--clr-primary);
  color: var(--clr-white);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(232, 136, 47, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(232, 136, 47, 0.05) 0%, transparent 50%);
}

.page-hero__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  position: relative;
  margin-bottom: var(--space-xs);
}

.page-hero__breadcrumb {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.page-hero__breadcrumb a {
  color: var(--clr-accent-light);
}

.page-hero__breadcrumb a:hover {
  color: var(--clr-accent);
}

/* ---------- Cards ---------- */
.card {
  background: var(--clr-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--clr-gray-100);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card__body {
  padding: var(--space-md);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(232, 136, 47, 0.1), rgba(232, 136, 47, 0.05));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--clr-accent);
  font-size: 1.5rem;
}

.card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.card__text {
  font-size: var(--fs-small);
  color: var(--clr-text-light);
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-accent);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  margin-top: var(--space-sm);
  transition: gap var(--transition);
}

.card__link:hover {
  gap: 10px;
}

/* ---------- Grid Layouts ---------- */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Differentiators Section ---------- */
.diff-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--clr-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--clr-gray-100);
  transition: all var(--transition);
}

.diff-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.diff-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-sm);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.diff-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--clr-accent);
  fill: none;
  stroke-width: 1.5;
}

.diff-card__title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.diff-card__text {
  font-size: var(--fs-small);
  color: var(--clr-text-light);
}

/* ---------- Testimonials ---------- */
.testimonials__slider {
  position: relative;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  min-width: 100%;
  padding: 0 var(--space-sm);
}

.testimonial__inner {
  background: var(--clr-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-gray-100);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__stars {
  color: var(--clr-accent);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 4px;
}

.testimonial__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--clr-text-light);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial__author {
  font-weight: var(--fw-semibold);
  color: var(--clr-text);
}

.testimonial__role {
  font-size: var(--fs-small);
  color: var(--clr-gray-300);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-lg);
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-gray-200);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.testimonials__dot.active {
  background: var(--clr-accent);
  transform: scale(1.2);
}

/* ---------- Contact Strip / CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary));
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--clr-white);
}

.cta-band__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-xs);
}

.cta-band__text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.cta-band__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--clr-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand-text {
  font-size: var(--fs-small);
  line-height: 1.8;
  margin-top: var(--space-sm);
}

.footer__heading {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer__links a:hover {
  color: var(--clr-accent);
  padding-left: 6px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: var(--fs-small);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-accent);
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--clr-accent);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: var(--clr-white);
}

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--clr-primary);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-cta__inner {
  display: flex;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sticky-cta .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  font-size: var(--fs-small);
  border-radius: var(--border-radius);
}

/* ---------- About Page — Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: var(--clr-gray-200);
}

.timeline__item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
}

.timeline__marker {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--clr-white);
  border: 3px solid var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  z-index: 1;
}

.timeline__content {
  background: var(--clr-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-gray-100);
  flex: 1;
}

.timeline__title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
}

.timeline__text {
  font-size: var(--fs-small);
  color: var(--clr-text-light);
}

/* ---------- About Page — Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.value-card {
  padding: var(--space-lg);
  background: var(--clr-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--clr-gray-100);
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  background: linear-gradient(135deg, rgba(232, 136, 47, 0.12), rgba(232, 136, 47, 0.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-card__title {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.value-card__text {
  font-size: var(--fs-small);
  color: var(--clr-text-light);
}

/* ---------- Services Page ---------- */
.service-detail {
  background: var(--clr-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-gray-100);
  transition: all var(--transition);
}

.service-detail:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-detail__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--clr-gray-100);
}

.service-detail__body {
  padding: var(--space-lg);
}

.service-detail__number {
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: var(--fw-extrabold);
  color: rgba(232, 136, 47, 0.12);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.service-detail__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.service-detail__text {
  font-size: var(--fs-small);
  color: var(--clr-text-light);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.service-detail__list {
  margin-bottom: var(--space-sm);
}

.service-detail__list-title {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  margin-bottom: 8px;
  color: var(--clr-text);
}

.service-detail__list ul {
  padding-left: 0;
}

.service-detail__list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-small);
  color: var(--clr-text-light);
  margin-bottom: 6px;
}

.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
}

/* ---------- Projects / Gallery ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--clr-gray-200);
  border-radius: 50px;
  background: transparent;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--clr-text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
}

.masonry-grid {
  columns: 3;
  column-gap: var(--space-md);
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.masonry-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 26, 46, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

.masonry-item:hover .masonry-item__overlay {
  opacity: 1;
}

.masonry-item__title {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  font-size: 1rem;
}

.masonry-item__category {
  color: var(--clr-accent-light);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  margin-bottom: 8px;
  color: var(--clr-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--clr-gray-200);
  border-radius: var(--border-radius);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--clr-text);
  transition: border-color var(--transition);
  background: var(--clr-white);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(232, 136, 47, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-error {
  color: #e74c3c;
  font-size: var(--fs-xs);
  margin-top: 4px;
  display: none;
}

.contact-info-card {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
}

.contact-info-card__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}

.contact-info-card__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: var(--space-md);
}

.contact-info-card__item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card__item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-accent);
  fill: none;
}

.contact-info-card__item-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.contact-info-card__item-value {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
}

.contact-info-card__item-value a {
  color: var(--clr-white);
}

.contact-info-card__item-value a:hover {
  color: var(--clr-accent);
}

.contact-map {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-top: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Payment Section */
.payment-section {
  text-align: center;
  padding: var(--space-xl) 0;
}

.payment-logos {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.payment-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: var(--space-sm);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--border-radius);
  min-width: 100px;
  transition: all var(--transition);
}

.payment-logo:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-sm);
}

.payment-logo__icon {
  font-size: 2rem;
}

.payment-logo__name {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-light);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Nav */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--clr-primary-dark);
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    transition: right var(--transition);
    z-index: 1000;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    padding: 14px 18px;
    border-radius: var(--border-radius);
    font-size: var(--fs-body);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-sm);
  }

  .header__hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero__stats {
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .hero__stat-number {
    font-size: 1.5rem;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Sticky CTA visible on mobile */
  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Masonry */
  .masonry-grid {
    columns: 1;
  }

  /* Timeline */
  .timeline::before {
    left: 22px;
  }

  .timeline__marker {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .hero__title {
    font-size: 2rem;
  }
}