/* ============================================
   MAT TOZ BOYA — Premium Light Theme
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #f7f5f2;
  --bg-soft: #efece7;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --ink: #1a1f2e;
  --ink-soft: #3d4558;
  --muted: #6b7280;
  --line: rgba(26, 31, 46, 0.08);
  --line-strong: rgba(26, 31, 46, 0.12);
  --primary: #1e3a5f;
  --primary-mid: #2c5282;
  --accent: #b8956c;
  --accent-light: #d4b896;
  --accent-soft: rgba(184, 149, 108, 0.14);
  --gold: #c9a227;
  --shadow-sm: 0 4px 20px rgba(26, 31, 46, 0.05);
  --shadow: 0 16px 48px rgba(26, 31, 46, 0.08);
  --shadow-lg: 0 28px 64px rgba(26, 31, 46, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 84px;
  --topbar-h: 40px;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

/* Soft ambient blobs (light) */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 10% 0%, rgba(184, 149, 108, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(30, 58, 95, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(184, 149, 108, 0.08), transparent 55%),
    var(--bg);
}

.bg-grid,
.orb,
#particles {
  display: none;
}

/* ========== TOP BAR ========== */
.topbar {
  height: var(--topbar-h);
  background: var(--primary);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(1180px, 92%);
  margin: 0 auto;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.25s;
}

.topbar a:hover {
  color: var(--accent-light);
}

.topbar .sep {
  opacity: 0.35;
}

/* ========== HEADER / NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(26, 31, 46, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(280px, 55vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.logo-img-footer {
  height: 48px;
  max-width: 240px;
  background: transparent;
}

/* Transparent logo on dark footer — light plate keeps brand colors readable */
.footer .logo {
  background: rgba(255, 255, 255, 0.96);
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  display: inline-flex;
}

.footer .logo-img {
  filter: none;
  opacity: 1;
}

.logo-mark {
  display: none;
}

.logo-text {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--bg-soft);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 0.4rem !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.22);
  padding: 0.7rem 1.35rem !important;
}

.nav-cta:hover {
  background: var(--primary-mid) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(30, 58, 95, 0.28);
}

.nav-cta.active::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== LAYOUT ========== */
main {
  min-height: 50vh;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  height: min(90vh, 760px);
  min-height: 540px;
  overflow: hidden;
  background: var(--primary);
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 9s ease-out;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 22, 40, 0.88) 0%, rgba(12, 22, 40, 0.62) 42%, rgba(12, 22, 40, 0.28) 100%);
  z-index: 1;
}

.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 22, 40, 0.55), transparent 42%),
    radial-gradient(ellipse 50% 60% at 75% 40%, rgba(184, 149, 108, 0.15), transparent 60%);
  z-index: 1;
}

.slide-bg.bg-1 { background-image: url("../assets/hero-1.jpg"); }
.slide-bg.bg-2 { background-image: url("../assets/hero-2.jpg"); }
.slide-bg.bg-3 { background-image: url("../assets/hero-3.jpg"); }

.slide-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, black, transparent);
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 3;
  width: min(1180px, 92%);
  margin: 0 auto;
  max-width: 640px;
  color: #fff;
  padding: 2rem 0;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(24px);
}

.slide-tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px var(--accent-light);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.slide h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.15rem;
  opacity: 0;
  transform: translateY(28px);
  max-width: 100%;
  overflow-wrap: break-word;
}

.slide h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.slide .lead {
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 480px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(28px);
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(28px);
}

.slide.active .slide-tag,
.slide.active h1,
.slide.active .lead,
.slide.active .slide-actions {
  animation: slideInUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide.active h1 { animation-delay: 0.12s; }
.slide.active .lead { animation-delay: 0.24s; }
.slide.active .slide-actions { animation-delay: 0.36s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating side card on slide */
.slide-float {
  position: absolute;
  right: max(4%, calc((100% - 1180px) / 2));
  bottom: 18%;
  z-index: 3;
  width: min(280px, 32vw);
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  color: #fff;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.8s 0.45s ease, transform 0.8s 0.45s ease;
}

.slide.active .slide-float {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slide-float .sf-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--primary);
}

.slide-float strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.slide-float p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* Slider controls */
.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 10;
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: width 0.4s ease, background 0.3s ease;
}

.slider-dots button.active {
  width: 32px;
  background: var(--accent-light);
}

.slider-arrows {
  display: flex;
  gap: 0.5rem;
}

.slider-arrows button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.slider-arrows button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.05);
}

.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 11;
  transition: width 0.05s linear;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #c9a87a 100%);
  color: #1a1f2e;
  box-shadow: 0 8px 28px rgba(184, 149, 108, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(184, 149, 108, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
}

.btn-dark:hover {
  background: var(--primary-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(30, 58, 95, 0.04);
}

/* ========== STATS ========== */
.stats {
  padding: 0;
  margin-top: -48px;
  position: relative;
  z-index: 5;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.stat-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-radius: calc(var(--radius) - 4px);
  transition: background 0.3s;
}

.stat-card:hover {
  background: var(--bg);
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ========== SECTIONS ========== */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.25rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== SERVICE CARDS ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 149, 108, 0.4);
}

.service-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none !important;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04) !important;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 22, 40, 0.55), transparent 55%);
  pointer-events: none;
}

.service-badge {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.service-body {
  padding: 1.75rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--accent-soft), rgba(30, 58, 95, 0.06));
  border: 1px solid var(--line);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.service-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.2rem;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.service-card li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23b8956c'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ========== PHOTO GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  width: 100%;
  min-width: 0;
  background: var(--bg-soft);
  transform: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: none !important;
  transition: transform 0.45s ease;
  image-orientation: from-image;
}

.gallery-item:hover img {
  transform: scale(1.04) !important;
}

.gallery-item .g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 22, 40, 0.78), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.15rem 1.25rem;
  pointer-events: none;
}

.gallery-item:hover .g-overlay {
  opacity: 1;
}

.gallery-item .g-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* ========== FEATURE STRIP (photo + text) ========== */
.feature-strip {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--bg-white);
  min-height: 420px;
}

.feature-strip.reverse {
  direction: rtl;
}

.feature-strip.reverse > * {
  direction: ltr;
}

.feature-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none !important;
  transition: transform 0.5s ease;
}

.feature-strip:hover .feature-photo img {
  transform: scale(1.03) !important;
}

.feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, 0.15));
  pointer-events: none;
}

.feature-copy {
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}

.feature-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.feature-copy .btn {
  align-self: flex-start;
  margin-top: 0.75rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 14, 23, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ========== PROCESS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 600;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ========== PAGE HERO (inner) ========== */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background:
    linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 149, 108, 0.12), transparent 70%);
  top: -120px;
  right: 10%;
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.page-hero h1 .gradient {
  color: var(--accent);
  font-style: italic;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.15rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ========== CONTENT BLOCKS ========== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-text h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

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

.content-visual {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 0;
  background: var(--primary);
}

.content-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.content-block:hover .content-visual img {
  transform: scale(1.04);
}

.vision-card,
.mission-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.vision-card::before,
.mission-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.vision-card h2,
.mission-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vision-card p,
.mission-card p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.vision-card p strong,
.mission-card p strong {
  color: var(--ink);
  font-weight: 600;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.value-item {
  padding: 1.75rem 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.value-item .v-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.value-item h4 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.value-item p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.highlight {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.highlight:hover {
  border-color: rgba(184, 149, 108, 0.4);
  box-shadow: var(--shadow);
}

.highlight .h-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.highlight h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.highlight p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.about-panel {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.about-panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.about-panel ul {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.about-panel li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.about-panel li span:first-child {
  color: var(--muted);
  flex: 0 0 auto;
}

.about-panel li span:last-child {
  font-weight: 600;
  color: var(--primary);
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.info-card .i-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-soft), rgba(30, 58, 95, 0.06));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.info-card p,
.info-card a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.info-card a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.contact-form > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
}

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(184, 149, 108, 0.12);
  border: 1px solid rgba(184, 149, 108, 0.35);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
  animation: slideInUp 0.4s ease;
}

/* ========== CTA BAND ========== */
.cta-band {
  margin: 1rem 0 5rem;
  padding: 4rem 2.5rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(12, 22, 40, 0.88) 0%, rgba(30, 58, 95, 0.82) 100%),
    url("../assets/cta-bg.jpg") center / cover no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(184, 149, 108, 0.28), transparent 45%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  position: relative;
  line-height: 1.3;
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-band .btn {
  position: relative;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer .logo {
  margin-bottom: 1rem;
  color: #fff;
}

.footer .logo-text strong {
  color: #fff;
}

.footer .logo-text span {
  color: var(--accent-light);
}

.footer .logo-mark {
  box-shadow: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(184, 149, 108, 0.4));
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.6);
}

.footer h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.footer a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ========== MOBILE ========== */
@media (max-width: 960px) {
  .slide-float {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .content-block,
  .about-grid,
  .contact-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip.reverse {
    direction: ltr;
  }

  .feature-photo {
    min-height: 260px;
    max-height: 300px;
  }

  .content-block.reverse {
    direction: ltr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-panel {
    position: static;
  }

  .hero-slider {
    height: auto;
    min-height: 560px;
  }

  .slide {
    padding: 3rem 0 5.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    gap: 0.25rem;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 0.95rem 1rem;
    border-radius: 12px;
  }

  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
    margin-top: 0.5rem !important;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .process-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: -32px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topbar-right {
    display: none;
  }
}
