/* ============================================================
   VG ALUMINIUM — Main Stylesheet  |  Red & Black Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --dark:           #080808;
  --charcoal:       #111111;
  --charcoal-mid:   #1A1A1A;
  --grey:           #6B6B6B;
  --grey-light:     #9A9A9A;
  --aluminium:      #C8C8C8;
  --bg:             #F5F5F5;
  --bg-alt:         #EEEEEE;
  --white:          #FFFFFF;
  --red:            #C41010;
  --red-dark:       #9E0C0C;
  --red-light:      #E03535;
  --red-pale:       #FFF0F0;

  /* Aliases so any legacy --blue references render in brand red */
  --blue:           #C41010;
  --blue-light:     #E03535;

  --text-dark:      #0A0A0A;
  --text-body:      #2A2A2A;
  --text-muted:     #6B6B6B;

  --border:         #E0E0E0;
  --radius:         8px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  --shadow-sm:      0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.10);
  --shadow-lg:      0 10px 32px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.10);
  --shadow-xl:      0 20px 60px rgba(0,0,0,0.20);

  --font:           'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:          1200px;
  --pad:            0 24px;
  --t:              0.25s ease;
  --t-fast:         0.15s ease;
}

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

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

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.0625rem; }
p  { color: var(--text-body); line-height: 1.7; }

.text-muted { color: var(--text-muted); }
.text-red   { color: var(--red); }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
}

.section          { padding: 88px 0; }
.section--grey    { background: var(--bg); }
.section--dark    { background: var(--charcoal); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p  { color: rgba(255,255,255,0.65); }

.section-header   { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-pale);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,16,16,0.40);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--t), padding var(--t), box-shadow var(--t);
  padding: 22px 0;
}
.navbar.scrolled,
.navbar.page-nav {
  background: #000;
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 42px; height: 42px;
  background: var(--red);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9375rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.logo-text span {
  font-size: 0.675rem;
  font-weight: 400;
  color: var(--aluminium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 6px;
  background: white;
  padding: 3px 7px;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  position: relative;
  transition: color var(--t-fast);
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--red-light);
  transform: scaleX(0);
  transition: transform var(--t-fast);
  transform-origin: left;
}
.navbar__nav a:hover,
.navbar__nav a.active { color: var(--white); }
.navbar__nav a:hover::after,
.navbar__nav a.active::after { transform: scaleX(1); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--t);
}
.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  background: #000;
  padding: 16px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.navbar__mobile.open { display: block; }
.navbar__mobile a {
  display: block;
  padding: 13px 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--t-fast);
}
.navbar__mobile a:last-of-type { border-bottom: none; }
.navbar__mobile a:hover { color: var(--white); }
.navbar__mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ============================================================
   Hero — Home
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #000000 0%, #0E0E0E 50%, #0A0A0A 100%);
  z-index: 1;
}
/* Subtle grid lines */
.hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.022) 80px, rgba(255,255,255,0.022) 81px),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.022) 80px, rgba(255,255,255,0.022) 81px);
}
/* Red glow */
.hero__bg::after {
  content: '';
  position: absolute;
  right: -5%; top: -20%;
  width: 65%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(196,16,16,0.18) 0%, transparent 68%);
}

.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 130px 24px 90px;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(196,16,16,0.14);
  border: 1px solid rgba(196,16,16,0.35);
  border-radius: 20px;
  padding: 8px 18px;
  margin-bottom: 28px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--red-light);
  letter-spacing: 0.04em;
}
.hero__badge .dot {
  width: 7px; height: 7px;
  background: var(--red-light);
  border-radius: 50%;
  animation: blink 2.2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
  max-width: 740px;
  letter-spacing: -0.025em;
}
.hero__title .accent { color: var(--red-light); }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,0.58);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 68px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
}
.hero__stat-lbl {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Page hero (inner pages) */
.page-hero {
  background: #000;
  padding: 148px 0 88px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.018) 80px, rgba(255,255,255,0.018) 81px),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.018) 80px, rgba(255,255,255,0.018) 81px);
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 60%; height: 100%;
  background: radial-gradient(ellipse, rgba(196,16,16,0.10) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.58); font-size: 1.0625rem; max-width: 580px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px; font-size: 0.875rem;
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,0.18); }
.breadcrumb .cur { color: var(--red-light); }

/* ============================================================
   Service Cards (Home)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--t);
  transform-origin: left;
}
.service-card:hover {
  border-color: rgba(196,16,16,0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--red-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--red);
}
.service-card__icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.service-card p  { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }

.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--red);
  transition: gap var(--t-fast);
}
.service-card__link:hover { gap: 10px; }

/* ============================================================
   Features / Why Choose Us
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
.feature-item { text-align: center; padding: 44px 28px; }
.feature-item__icon {
  width: 72px; height: 72px;
  background: rgba(196,16,16,0.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--red-light);
}
.feature-item h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.feature-item p  { color: rgba(255,255,255,0.55); font-size: 0.9375rem; }

/* Stats Bar */
.stats-bar { background: var(--red); padding: 44px 0; }
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 { font-size: 2.5rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.stat-item p  { font-size: 0.8125rem; color: rgba(255,255,255,0.72); text-transform: uppercase; letter-spacing: 0.07em; }

/* ============================================================
   Project Cards
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--charcoal);
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.project-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 22px;
  opacity: 0;
  transition: opacity var(--t);
}
.project-card:hover img { transform: scale(1.05); }
.project-card:hover .project-card__overlay { opacity: 1; }

.project-card--show .project-card__overlay { opacity: 1; }

.project-card__tag {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--red-light); margin-bottom: 6px;
}
.project-card h3 { color: var(--white); font-size: 1rem; font-weight: 600; }

/* Filter buttons */
.filter-buttons {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 44px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--t-fast);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

/* ============================================================
   Services Detail Page
   ============================================================ */
.service-section {
  padding: 88px 0;
}
.service-section:nth-child(even) { background: var(--bg); }

.service-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.service-section:nth-child(even) .service-section__inner { direction: rtl; }
.service-section:nth-child(even) .service-section__content { direction: ltr; }

.service-section__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-section__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-section:hover .service-section__img img { transform: scale(1.03); }

.service-section__content .section-label { margin-bottom: 12px; }
.service-section__content h2 { margin-bottom: 16px; font-size: clamp(1.5rem, 3vw, 2.125rem); }
.service-section__content > p { color: var(--text-muted); margin-bottom: 28px; line-height: 1.75; }

.benefits-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; }
.benefit-item .bullet {
  width: 20px; height: 20px;
  background: var(--red);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.benefit-item .bullet svg { width: 11px; height: 11px; color: white; }

.use-cases {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.use-cases h4 {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.use-cases ul { display: flex; flex-wrap: wrap; gap: 8px; }
.use-cases li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.8125rem;
  color: var(--text-body);
  font-weight: 500;
}

/* ============================================================
   About Page
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
}
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--red);
  color: white;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-img-badge strong { display: block; font-size: 2.25rem; font-weight: 800; line-height: 1; }
.about-img-badge span  { font-size: 0.8125rem; opacity: 0.88; margin-top: 2px; display: block; }

.about-content .section-label { margin-bottom: 12px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p  { margin-bottom: 18px; color: var(--text-muted); line-height: 1.8; }

.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; }
.check-list li .check {
  width: 22px; height: 22px;
  background: var(--red-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0; margin-top: 1px;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  text-align: center;
  transition: all var(--t);
}
.value-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(196,16,16,0.35);
}
.value-card svg  { color: var(--red-light); margin-bottom: 16px; }
.value-card h3   { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.value-card p    { font-size: 0.875rem; color: rgba(255,255,255,0.50); line-height: 1.65; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t);
  text-align: center;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}
.team-card__img img { width: 100%; height: 100%; object-fit: cover; }
.team-card__info { padding: 20px; }
.team-card__info h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card__info span { font-size: 0.8125rem; color: var(--red); font-weight: 600; }

/* ============================================================
   Contact Page
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-muted); margin-bottom: 36px; }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.875rem; font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group label .req { color: var(--red); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,16,16,0.10);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-light); }
.form-group textarea { resize: vertical; min-height: 118px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-success { display: none; text-align: center; padding: 48px 20px; }
.form-success.show { display: block; }
.form-success__icon {
  width: 64px; height: 64px;
  background: #fce4e4;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--red);
}
.form-success h3 { margin-bottom: 12px; }
.form-success p   { color: var(--text-muted); }

.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 18px; }

.contact-row {
  display: flex; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row__icon {
  width: 40px; height: 40px;
  background: var(--red-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.contact-row__text strong { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 2px; }
.contact-row__text span  { font-size: 0.875rem; color: var(--text-muted); }

.map-placeholder {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 220px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.area-list { display: flex; flex-direction: column; gap: 2px; }
.area-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.area-item:last-child { border-bottom: none; }
.area-item .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #6B0808 0%, #9E0C0C 40%, #C41010 100%);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.04) 80px, rgba(255,255,255,0.04) 81px),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.04) 80px, rgba(255,255,255,0.04) 81px);
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(0,0,0,0.35) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p  { color: rgba(255,255,255,0.82); font-size: 1.0625rem; max-width: 540px; margin: 0 auto 36px; }
.cta-section .section-label { background: rgba(255,255,255,0.15); color: white; margin-bottom: 20px; }

.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: #000;
  color: rgba(255,255,255,0.55);
  padding: 76px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.72;
  margin: 18px 0 24px;
  color: rgba(255,255,255,0.42);
  max-width: 270px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.50);
  transition: all var(--t-fast);
}
.footer-socials a:hover { background: var(--red); color: white; }

.footer-col h4 {
  font-size: 0.8rem; font-weight: 700;
  color: var(--white);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.44); transition: color var(--t-fast); }
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: rgba(255,255,255,0.44);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-contact-list li:last-child { border-bottom: none; }
.footer-contact-list li svg { color: var(--red-light); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: rgba(255,255,255,0.28);
}

/* ============================================================
   Animations
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up:nth-child(2) { transition-delay: 0.15s; }
.fade-up:nth-child(3) { transition-delay: 0.25s; }
.fade-up:nth-child(4) { transition-delay: 0.35s; }

/* Scroll-to-top */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--red);
  color: white; border: none;
  border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all var(--t);
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid,
  .service-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .service-section:nth-child(even) .service-section__inner { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .about-img-badge { bottom: 12px; right: 12px; }
}

@media (max-width: 768px) {
  :root { --radius-xl: 16px; }
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 28px 20px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { max-width: 320px; width: 100%; justify-content: center; }
  .hero__stats { gap: 28px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section-header { margin-bottom: 36px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Navbar: logo on right + enlarged (desktop)
   ============================================================ */
@media (min-width: 769px) {
  .navbar__inner { justify-content: flex-start; gap: 32px; }
  .navbar__nav  { order: 1; }
  .navbar__cta  { order: 2; }
  .navbar__logo { order: 3; margin-left: auto; }
  .navbar .logo-img { height: 80px; }
}
