/* ============================================
   Dentivon Lab — Corporate Website Styles
   ============================================ */

:root {
  --primary: #0c4a6e;
  --primary-dark: #082f49;
  --primary-light: #0ea5e9;
  --accent: #c9a962;
  --accent-light: #dfc88a;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

::selection {
  background: var(--accent);
  color: var(--dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  transition: color var(--transition);
}

/* ---- Preloader ---- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.preloader-logo span {
  color: var(--accent);
}

.preloader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: preloaderMove 1.2s ease-in-out infinite;
}

@keyframes preloaderMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.text-accent {
  color: var(--accent) !important;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background: var(--light) !important;
}

.bg-dark {
  background: var(--dark) !important;
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--gradient);
  border: none;
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(12, 74, 110, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 74, 110, 0.4);
  color: var(--white);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: all var(--transition);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: all var(--transition);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}

/* ---- Navigation ---- */
#mainNav {
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text,
.footer-brand .brand-text {
  color: var(--white);
  transition: color var(--transition);
}

.brand-accent,
.footer-brand .brand-accent {
  color: var(--accent);
}

#mainNav.scrolled .brand-text {
  color: var(--dark);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  letter-spacing: 0.3px;
}

#mainNav.scrolled .nav-link {
  color: var(--text) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 24px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
  color: var(--primary) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#mainNav.scrolled .lang-switch {
  background: var(--light);
  border-color: #e2e8f0;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 1px;
}

#mainNav.scrolled .lang-btn {
  color: var(--text-light);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--dark);
}

.nav-cta {
  border-radius: 50px !important;
  padding: 0.45rem 1.25rem !important;
  font-size: 0.8rem !important;
}

@media (max-width: 991.98px) {
  #mainNav:not(.inner-nav) {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
  }

  #mainNav.inner-nav {
    background: rgba(255, 255, 255, 0.98);
  }

  #mainNav.scrolled {
    background: rgba(255, 255, 255, 0.98);
  }

  .navbar-collapse {
    padding: 1.5rem 0;
  }

  .nav-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #mainNav.scrolled .nav-actions {
    border-color: #e2e8f0;
  }
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-swiper .swiper-slide-active {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 47, 73, 0.88) 0%,
    rgba(15, 23, 42, 0.75) 50%,
    rgba(8, 47, 73, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 169, 98, 0.15);
  border: 1px solid rgba(201, 169, 98, 0.4);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.stat-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-item:first-child {
  padding-top: 0;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.92) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-nav a:hover {
  color: var(--accent);
}

.breadcrumb-nav i {
  font-size: 0.65rem;
}

.breadcrumb-nav span {
  color: var(--accent);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.page-hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin: 0;
  max-width: 560px;
}

.inner-nav,
.inner-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.inner-nav .brand-text,
.inner-nav.scrolled .brand-text {
  color: var(--dark);
}

.inner-nav .nav-link,
.inner-nav.scrolled .nav-link {
  color: var(--text) !important;
}

.inner-nav .lang-switch,
.inner-nav.scrolled .lang-switch {
  background: var(--light);
  border-color: #e2e8f0;
}

.inner-nav .lang-btn,
.inner-nav.scrolled .lang-btn {
  color: var(--text-light);
}

.inner-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Image frames ---- */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-portrait { aspect-ratio: 3 / 4; }

/* ---- About ---- */
.about-image-grid {
  position: relative;
  padding-right: 2rem;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-img.main {
  aspect-ratio: 4 / 5;
}

.about-img.secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 55%;
  aspect-ratio: 16 / 10;
  border: 4px solid var(--white);
}

.about-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--gradient);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.about-badge i {
  font-size: 1.25rem;
  color: var(--accent);
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--text);
}

.about-features i {
  color: var(--primary-light);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- Services ---- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.08), rgba(14, 165, 233, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.service-card:hover .service-icon {
  background: var(--gradient);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.925rem;
  margin: 0;
  line-height: 1.7;
}

/* ---- Process ---- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  opacity: 0.2;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(12, 74, 110, 0.25);
}

.step-content h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 991.98px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

/* ---- Technology ---- */
.tech-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.tech-image {
  aspect-ratio: 16 / 10;
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tech-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--accent);
  color: var(--dark);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.tech-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition);
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.tech-item i {
  font-size: 1.5rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.tech-item span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767.98px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  grid-column: span 3;
}

.gallery-item.ratio-wide {
  grid-column: span 6;
}

.gallery-item.ratio-portrait {
  grid-column: span 3;
}

.gallery-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-item.ratio-wide .gallery-frame {
  aspect-ratio: 16 / 9;
}

.gallery-item.ratio-portrait .gallery-frame {
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 74, 110, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-overlay i {
  color: var(--white);
  font-size: 2rem;
  transform: scale(0.5);
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

@media (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-item,
  .gallery-item.ratio-portrait {
    grid-column: span 3;
  }

  .gallery-item.ratio-wide {
    grid-column: span 6;
  }
}

@media (max-width: 575.98px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.ratio-wide,
  .gallery-item.ratio-portrait {
    grid-column: span 1;
  }
}

/* ---- Videos ---- */
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: all var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dark);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--dark);
  display: block;
}

.video-info {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.video-info span:last-child {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

/* ---- Contact ---- */
.contact-info {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.08), rgba(14, 165, 233, 0.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.25rem;
  color: var(--primary);
}

.contact-item h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.15rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-item a {
  color: var(--text);
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-actions .btn-success {
  background: #25d366;
  border-color: #25d366;
}

.contact-actions .btn-success:hover {
  background: #1da851;
  border-color: #1da851;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  aspect-ratio: 16 / 9;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- Home sections ---- */
.home-preview-img {
  aspect-ratio: 4 / 3;
}

.home-preview-img {
  aspect-ratio: 4 / 3;
}

/* ---- Home contact strip ---- */
.home-contact-strip {
  background: var(--light);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.contact-strip-cards {
  display: grid;
  gap: 1rem;
}

.contact-strip-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all var(--transition);
}

.contact-strip-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.contact-strip-card i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-strip-card h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.contact-strip-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-strip-card a {
  color: var(--text);
}

.contact-strip-card a:hover {
  color: var(--primary);
}

/* ---- Service detail blocks ---- */
.service-detail-block {
  padding: 3rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.service-detail-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-detail-block:first-child {
  padding-top: 0;
}

/* ---- Gallery preview & categories ---- */
.gallery-preview {
  max-width: 100%;
}

.gallery-categories {
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---- Featured video ---- */
.featured-video {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.video-card.featured {
  box-shadow: var(--shadow-lg);
}

.video-card.featured .video-frame {
  aspect-ratio: 16 / 9;
}

/* ---- Compact process timeline ---- */
.process-timeline-compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.process-timeline-compact::before {
  display: none;
}

.process-timeline-compact .step-number {
  width: 56px;
  height: 56px;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.process-timeline-compact .step-content h4 {
  font-size: 1rem;
}

.process-timeline-compact .step-content p {
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  .process-timeline-compact {
    grid-template-columns: 1fr;
  }
}

.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.contact-form-wrapper {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
}

.contact-form .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.3px;
}

.contact-form .form-control {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all var(--transition);
  background: var(--white);
}

.contact-form .form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.contact-form .form-control:disabled {
  background: #f1f5f9;
  opacity: 0.7;
  cursor: not-allowed;
}

.form-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(201, 169, 98, 0.1);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text);
}

.form-notice i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  padding: 0.3rem 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact {
  margin-top: 1rem;
}

.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-contact-link:hover {
  color: var(--accent);
}

.footer-contact-link i {
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-address {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-copy {
  font-size: 0.85rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Back to Top ---- */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-md);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 0 80px;
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--text-light);
  max-width: 420px;
  margin: 0 auto 2rem;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .about-image-grid {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .about-img.secondary {
    right: 1rem;
  }

  .about-badge {
    left: 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}
