﻿/* =========================================================
   The Falcon Eye â€” Modern Security Website Styles
   ========================================================= */

:root {
  --navy: #0d1b2a;
  --navy-deep: #07111c;
  --slate: #1b3a4b;
  --steel: #2c5364;
  --amber: #f0a500;
  --amber-hot: #ffb81c;
  --amber-dim: rgba(240, 165, 0, 0.15);
  --mist: #e8eef3;
  --paper: #f5f8fb;
  --ink: #15202b;
  --muted: #5c6b78;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(7, 17, 28, 0.18);
  --radius: 18px;
  --header-h: 92px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--navy-deep);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-eye {
  position: relative;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
}

.loader-eye img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  animation: pulse 1.4s ease-in-out infinite;
}

.loader-eye span {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.75; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-hot));
  color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(240, 165, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(240, 165, 0, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--amber);
  color: var(--amber);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(13, 27, 42, 0.2);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.88rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(7, 17, 28, 0.18);
}

.top-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar a:hover {
  color: var(--amber);
}

.top-bar-right {
  display: flex;
  gap: 0.85rem;
}

.nav-wrap {
  background: rgba(13, 27, 42, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background-color: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav > a,
.nav-dropdown > a {
  color: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 0.85rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.main-nav > a:hover,
.nav-dropdown > a:hover,
.main-nav > a.active,
.nav-dropdown > a.active {
  color: var(--amber);
  background: rgba(240, 165, 0, 0.08);
}

.main-nav .nav-cta {
  margin-left: 0.4rem;
  color: var(--navy-deep) !important;
  background: linear-gradient(135deg, var(--amber), var(--amber-hot)) !important;
  padding: 0.7rem 1.2rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a i {
  font-size: 0.7rem;
  margin-left: 0.2rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s var(--ease);
  z-index: 50;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
}

.dropdown-menu a i {
  color: var(--amber);
  width: 1.1rem;
}

.dropdown-menu a:hover {
  background: var(--mist);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 17, 28, 0.88) 0%, rgba(13, 27, 42, 0.55) 48%, rgba(7, 17, 28, 0.75) 100%),
    url("../images/content/hero-cctv.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(240, 165, 0, 0.22), transparent 28%),
    linear-gradient(to top, rgba(7, 17, 28, 0.95), transparent 45%);
  pointer-events: none;
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(240, 165, 0, 0.03) 3px,
    rgba(240, 165, 0, 0.03) 4px
  );
  animation: scan 8s linear infinite;
  pointer-events: none;
  opacity: 0.45;
}

@keyframes scan {
  0% { background-position: 0 0; }
  100% { background-position: 0 120px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}

.hero-brand span {
  color: var(--amber);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero-content p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-float {
  position: absolute;
  right: 8%;
  bottom: 18%;
  z-index: 2;
  width: min(340px, 34vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(240, 165, 0, 0.35);
  display: grid;
  place-items: center;
  animation: floaty 5s ease-in-out infinite;
}

.hero-float::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  animation: spin 18s linear infinite;
}

.hero-float img {
  width: 58%;
  filter: drop-shadow(0 20px 40px rgba(240, 165, 0, 0.35));
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Sections */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background:
    radial-gradient(circle at 10% 20%, rgba(240, 165, 0, 0.12), transparent 28%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, #123047);
  color: var(--white);
}

.section-muted {
  background:
    linear-gradient(180deg, #eef3f7, #f7fafc 40%, #eef3f7),
    radial-gradient(circle at 90% 10%, rgba(44, 83, 100, 0.08), transparent 25%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.8rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.section-dark .eyebrow {
  color: var(--amber-hot);
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head p,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

/* Feature strip */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}

.feature-chip {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease);
}

.feature-chip:hover {
  transform: translateY(-6px);
}

.feature-chip i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--amber-dim);
  color: #c48400;
  flex-shrink: 0;
}

.feature-chip h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-chip p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 320px;
  color: var(--white);
  isolation: isolate;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  z-index: -2;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 17, 28, 0.95) 10%, rgba(7, 17, 28, 0.25) 70%);
  z-index: -1;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
}

.service-card-body .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(240, 165, 0, 0.18);
  color: var(--amber);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.service-card .link {
  color: var(--amber);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* About preview */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual .main-shot {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}

.about-visual .main-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: -1rem;
  bottom: 2rem;
  background: linear-gradient(135deg, var(--amber), var(--amber-hot));
  color: var(--navy-deep);
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(240, 165, 0, 0.35);
  max-width: 190px;
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.checklist {
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.checklist i {
  color: var(--amber);
  margin-top: 0.25rem;
}

/* Proactive / capability rows */
.capability-list {
  display: grid;
  gap: 1rem;
}

.capability-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s, transform 0.25s;
}

.capability-item:hover {
  border-color: rgba(240, 165, 0, 0.45);
  transform: translateX(6px);
}

.capability-item .num {
  font-family: var(--font-display);
  color: var(--amber);
  font-size: 1.2rem;
}

.capability-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.capability-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.media-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/11;
  box-shadow: var(--shadow);
}

.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame .play-hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(7, 17, 28, 0.28);
}

.media-frame .play-hint span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(240, 165, 0, 0.92);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  animation: pulse 2s ease-in-out infinite;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.industry-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(7, 17, 28, 0.08);
  transition: transform 0.3s var(--ease);
}

.industry-card:hover {
  transform: translateY(-8px);
}

.industry-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.industry-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.industry-card:hover .thumb img {
  transform: scale(1.06);
}

.industry-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.industry-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.industry-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.8rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card .value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card .label {
  color: rgba(255, 255, 255, 0.72);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 17, 28, 0.92), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
}

.project-card .tag {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

/* Testimonials */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 12px 30px rgba(7, 17, 28, 0.08);
}

.testimonial-card .stars {
  color: var(--amber);
  margin-bottom: 0.8rem;
  letter-spacing: 0.08em;
}

.testimonial-card p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
}

.testimonial-card .who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slate), var(--navy));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.testimonial-card strong {
  display: block;
}

.testimonial-card small {
  color: var(--muted);
}

/* Brands */
.brand-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.brand-pill {
  min-width: 140px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  letter-spacing: 0.04em;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 3.2rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(240, 165, 0, 0.28), transparent 30%),
    linear-gradient(120deg, var(--navy-deep), var(--slate));
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 46ch;
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  padding: 5rem 0 4rem;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 17, 28, 0.92), rgba(27, 58, 75, 0.78)),
    url("../images/content/page-hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

.page-hero .breadcrumb {
  display: flex;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a:hover {
  color: var(--amber);
}

.page-hero p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.78);
}

/* Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.contact-card,
.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid #edf1f5;
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--amber-dim);
  color: #c48400;
  display: grid;
  place-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #d7e0e8;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #fbfcfd;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-dim);
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-success {
  background: #e8f8ef;
  color: #146c43;
}

.alert-error {
  background: #fdecea;
  color: #b42318;
}

/* Service detail */
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.detail-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.detail-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(7, 17, 28, 0.05);
}

.detail-points i {
  color: var(--amber);
  margin-top: 0.2rem;
}

.side-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 1.8rem;
  position: sticky;
  top: 120px;
}

.side-panel h3 {
  font-family: var(--font-display);
  margin-bottom: 0.8rem;
}

.side-panel p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.2rem;
}

.side-panel ul {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.side-panel li {
  display: flex;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
}

.side-panel li i {
  color: var(--amber);
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 4.5rem;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.18), transparent 65%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin: 1rem 0 1.2rem;
  max-width: 36ch;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.65rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--amber);
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--amber);
  margin-top: 0.25rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  transition: 0.25s;
}

.footer-social a:hover {
  background: var(--amber);
  color: var(--navy-deep);
  border-color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* Floaters */
.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(7, 17, 28, 0.25);
}

.whatsapp-float {
  right: 1.25rem;
  bottom: 1.25rem;
  background: #25d366;
  font-size: 1.55rem;
}

.back-to-top {
  right: 1.25rem;
  bottom: 5.2rem;
  background: var(--navy);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-step {
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 28px rgba(7, 17, 28, 0.06);
  position: relative;
}

.process-step .step {
  font-family: var(--font-display);
  color: var(--amber);
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.process-step h3 {
  margin-bottom: 0.4rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Skip link + detail extras */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  z-index: 10000;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.nav-drop-btn {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-drop-btn:hover,
.nav-drop-btn.active {
  color: var(--amber);
  background: rgba(240, 165, 0, 0.08);
}

.nav-drop-btn i {
  font-size: 0.7rem;
}

.benefits-grid,
.gallery-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.benefit-card,
.related-card,
.process-mini {
  background: var(--white);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(7, 17, 28, 0.06);
}

.benefit-num {
  font-family: var(--font-display);
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.benefit-card h3,
.process-mini h3 {
  margin-bottom: 0.4rem;
}

.benefit-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 8px 20px rgba(7, 17, 28, 0.05);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.mini-steps {
  margin: 1rem 0 1.4rem;
  display: grid;
  gap: 0.7rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.related-card {
  display: grid;
  gap: 0.45rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.related-card i {
  color: var(--amber);
  font-size: 1.2rem;
}

.related-card span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.btn-block {
  display: flex;
  width: 100%;
  margin-top: 0.7rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--amber);
  font-weight: 600;
  margin-top: 0.7rem;
  font-size: 0.92rem;
}

.capability-list.light .capability-item {
  background: #fff;
  border-color: #e6eef4;
  color: var(--ink);
}

.capability-list.light .capability-item p {
  color: var(--muted);
}

.industry-card .body a:not(.text-link) {
  color: inherit;
}

.project-card {
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-strip,
  .services-grid,
  .industry-grid,
  .projects-grid,
  .testimonial-slider,
  .stats-row,
  .process-grid,
  .footer-grid,
  .benefits-grid,
  .gallery-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-float {
    display: none;
  }

  .about-grid,
  .two-col,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .about-badge {
    left: 1rem;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .top-bar {
    font-size: 0.78rem;
  }

  .top-bar-inner {
    min-height: 34px;
  }

  .top-email {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.62rem;
  }

  .nav-wrap {
    position: relative;
  }

  .nav-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 17, 28, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.1rem;
    gap: 0.2rem;
    border-bottom: 1px solid var(--line);
    display: none;
    max-height: min(78vh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    margin: 0.2rem 0 0.4rem;
    display: none;
    min-width: 0;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.85);
  }

  .main-nav .nav-cta {
    margin: 0.5rem 0 0;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    align-items: center;
  }

  .hero-content {
    padding: 3.2rem 0 3rem;
    max-width: 100%;
  }

  .hero-brand {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-content h1 {
    max-width: none;
    font-size: clamp(1.1rem, 5vw, 1.35rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .feature-strip {
    margin-top: -1.5rem;
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 3.2rem 0 2.6rem;
  }

  .section {
    padding: 3.4rem 0;
  }

  .cta-band {
    padding: 1.6rem;
    border-radius: 20px;
  }

  .cta-band .btn {
    width: 100%;
  }

  .whatsapp-float,
  .back-to-top {
    width: 48px;
    height: 48px;
    right: 0.9rem;
  }

  .whatsapp-float {
    bottom: 0.9rem;
  }

  .back-to-top {
    bottom: 4.5rem;
  }
}

@media (max-width: 640px) {
  .feature-strip,
  .services-grid,
  .industry-grid,
  .projects-grid,
  .testimonial-slider,
  .stats-row,
  .process-grid,
  .footer-grid,
  .form-grid,
  .benefits-grid,
  .gallery-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-right {
    gap: 0.65rem;
  }

  .brand-text small {
    display: none;
  }

  .about-badge {
    left: 0.75rem;
    bottom: 0.75rem;
    max-width: 150px;
    padding: 0.85rem 1rem;
  }

  .about-badge strong {
    font-size: 1.5rem;
  }

  .media-frame {
    border-radius: 16px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .container {
    width: calc(100% - 1.1rem);
  }

  .btn {
    padding: 0.8rem 1.15rem;
  }
}
