/* ============================================
   SRI KRISHNA ALUMINIUM - Main Stylesheet
   Design System & Component Library
   ============================================ */

/* ----- CSS Custom Properties ----- */
:root {
  --primary: #1a1a2e;
  --primary-light: #2d2d44;
  --secondary: #7f8c8d;
  --accent: #d4a017;
  --accent-light: #f0c040;
  --accent-dark: #b8860b;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-grey: #e9ecef;
  --mid-grey: #6c757d;
  --dark-grey: #343a40;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 20px rgba(212,160,23,0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --max-width: 1200px;
  --header-height: 75px;
  --border: #e9ecef;
  --radius: 12px;
  --bg-light: #f8f9fa;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  text-align: center;
  position: relative;
  padding-bottom: 18px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.section-title-left {
  text-align: left;
  padding-bottom: 0;
}

.service-heading {
  margin-bottom: 20px;
}

.service-heading-text {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .service-heading-text {
    white-space: normal;
  }
}

.service-about .about-text {
  text-align: center;
}

.service-about .about-text p {
  text-align: justify;
}

.service-about .about-feature-item {
  justify-content: center;
}

@media (min-width: 992px) {
  .service-about-grid.service-about-grid--aluminium-extrusions {
    grid-template-columns: 0.88fr 1.12fr;
  }
}

.section-title-left::after {
  left: 0;
  transform: none;
}

.section-subtitle-left {
  text-align: left;
  margin: 0 0 30px;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 25px;
}

.bg-light + .section,
.section + .bg-light {
  position: relative;
}

.bg-light + .section,
.section + .bg-light {
  position: relative;
}

.bg-light + .section::before,
.section + .bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 1px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 15px; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1002;
  background: var(--white);
  height: var(--header-height);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* ----- Logo ----- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
  box-shadow: 0 0 0 4px rgba(212,160,23,0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-img {
  display: block;
  width: auto;
  max-width: 320px;
  max-height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ----- Navigation (Desktop) ----- */
.nav-menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--accent);
  transition: width 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(212,160,23,0.07);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  margin-left: 2px;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

/* ----- Dropdown ----- */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: translateY(6px);
  background: var(--white);
  min-width: 290px;
  max-width: 90vw;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 100;
  list-style: none;
  margin: 0;
  border: 1px solid rgba(0,0,0,0.06);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 24px;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid rgba(0,0,0,0.06);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}

.dropdown-link:hover,
.dropdown-link.active {
  color: var(--accent);
  background: rgba(212,160,23,0.06);
  padding-left: 26px;
}

.nav-item.active > .nav-link {
  color: var(--accent);
}

.nav-item.active > .nav-link::after {
  width: 60%;
}

/* ----- Header Actions ----- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta {
  padding: 9px 22px;
  font-size: 0.83rem;
}

.mobile-cta {
  display: none;
}

/* ----- Hamburger ----- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1002;
  min-width: 42px;
  min-height: 42px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* ----- Mobile Overlay ----- */
.mobile-overlay {
  display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #0f0f1f 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,0.15);
  border: 1px solid rgba(212,160,23,0.3);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 35px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-heading);
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ============================================
   Hero Slider (banners)
   ============================================ */
.hero-slider {
  padding: 0;
}

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

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

.hero-slide-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-slide .hero-title {
  font-size: 2.7rem;
}

.hero-slide-image {
  position: relative;
  margin-top: 55px;
}

.hero-slide-img-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid rgba(212,160,23,0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.hero-slide.active .hero-slide-img-frame {
  transform: rotate(0deg);
}

.hero-slide-img-frame img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.hero-dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 6px;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-slider-arrow:hover {
  background: var(--accent);
  color: var(--primary);
}

.hero-slider-arrow.prev { left: 20px; }
.hero-slider-arrow.next { right: 20px; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,160,23,0.08), transparent);
  z-index: 1;
  pointer-events: none;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(26,26,46,0.4));
  z-index: 1;
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-experience {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--accent);
  color: var(--primary);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.about-experience h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-experience p {
  font-size: 0.8rem;
  font-weight: 600;
  margin: 3px 0 0;
}

.about-text {
  padding: 10px 0;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 16px;
}

.about-text h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  color: var(--primary);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.page-about .about-text p {
  text-align: justify;
}

.about-text ul {
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
}

.about-text ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.about-feature-item i {
  color: var(--accent);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(212,160,23,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.service-link:hover {
  gap: 10px;
  color: var(--accent-dark);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose {
  background: var(--off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 35px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--light-grey);
  border-bottom: 3px solid transparent;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--accent);
  border-color: var(--accent);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(212,160,23,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.why-card:hover .why-icon {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

.why-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  background: var(--primary);
}

.process-section .section-title {
  color: var(--white);
}

.process-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(212,160,23,0.2);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: rgba(212,160,23,0.1);
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  transition: var(--transition);
}

.process-step:hover .process-number {
  background: var(--accent);
  color: var(--primary);
}

.process-step h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-section h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(26,26,46,0.8);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

.cta-section .btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.cta-section .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.cta-section .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay i {
  font-size: 2rem;
  color: var(--accent);
}

.gallery-category {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============================================
   PRODUCT GALLERY (Service Pages)
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background: var(--white);
  aspect-ratio: 4/3;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: inherit;
  transition: transform 0.5s ease;
}

.product-card:hover::before {
  transform: scale(1.06);
}

@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Gallery Filter */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 22px;
  border: 2px solid var(--light-grey);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--white);
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--accent);
  color: var(--primary);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.95rem;
  background: rgba(0,0,0,0.6);
  padding: 8px 20px;
  border-radius: 50px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(212,160,23,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-info-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.contact-info-text a {
  color: var(--text-dark);
  font-weight: 500;
}

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

.contact-form-group {
  margin-bottom: 18px;
}

.contact-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--light-grey);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  background: var(--white);
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,160,23,0.1);
}

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

.contact-form .btn {
  width: 100%;
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
  padding: 140px 0 70px;
  background: var(--primary);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(212,160,23,0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(212,160,23,0.03) 0%, transparent 50%);
  pointer-events: none;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 10px;
  position: relative;
}

.page-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 0.88rem;
  position: relative;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

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

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

.breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-logo {
  display: block;
  max-width: 200px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.footer-about > p {
  margin-top: 6px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-read-more:hover {
  color: var(--white);
}

.footer-read-more i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.footer-read-more:hover i {
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary);
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact i {
  color: var(--accent);
  margin-top: 4px;
  min-width: 16px;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
}

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

.footer-bottom {
  margin-top: 50px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
  color: var(--white);
}

@keyframes whatsappPulse {
  0% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.service-detail-content h2 {
  margin-bottom: 20px;
}

.service-detail-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.service-detail-content ul {
  margin: 20px 0;
}

.service-detail-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-detail-content ul li i {
  color: var(--accent);
  margin-top: 4px;
}

.service-detail-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.benefit-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--light-grey);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.benefit-item i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
  transition: transform 0.3s ease;
}

.benefit-item:hover i {
  transform: scale(1.15);
}

.benefit-item h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.benefit-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.benefit-item[href] {
  display: block;
  text-decoration: none;
}

.benefit-item[href]:hover h4,
.benefit-item[href]:hover p {
  color: var(--primary);
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.testimonial-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--light-grey);
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.testimonial-author h4 {
  font-size: 0.95rem;
  margin: 0;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Laptop / 1280px */
@media (max-width: 1280px) {
  .container { max-width: 1100px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .hero-title { font-size: 2.8rem; }
}

/* Small Desktop / 1100px */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-link { padding: 8px 12px; font-size: 0.82rem; }
}

/* Tablet Landscape / 1024px */
@media (max-width: 1024px) {
  .container { padding: 0 25px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .hero-title { font-size: 2.5rem; }
  .about-grid { gap: 40px; }
  .service-detail-grid { gap: 35px; }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 25px; }
  .hero-stat-item h3 { font-size: 1.6rem; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .section { padding: 60px 0; }
}

/* Tablet / 992px */
@media (max-width: 992px) {
  :root { --header-height: 64px; }

  .hamburger { display: flex; }

  /* ---- Mobile header: clean, modern, safe-area aware ---- */
  .header {
    height: auto;
    min-height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  }

  .header-inner {
    height: var(--header-height);
    min-height: var(--header-height);
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .logo-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .brand-name {
    font-size: 1.125rem;
    line-height: 1.25;
  }

  .brand-tag {
    font-size: 0.5rem;
    letter-spacing: 0.7px;
  }

  .header-actions { flex-shrink: 0; }

  .hamburger {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
  }

  .nav-menu {
    padding: calc(80px + env(safe-area-inset-top, 0px)) 24px calc(30px + env(safe-area-inset-bottom, 0px));
  }

  /* Full-screen mobile menu */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 24px 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    gap: 2px;
  }

  .nav-item { width: 100%; }

  .nav-link {
    padding: 14px 20px;
    font-size: 1.05rem;
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
  }

  .nav-link::after { display: none; }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(212,160,23,0.08);
    color: var(--accent);
  }

  .nav-arrow { transition: transform 0.3s ease; }

  .nav-dropdown.open .nav-arrow { transform: rotate(180deg); }

  /* Mobile dropdown accordion */
  .nav-dropdown { position: static; }

  .dropdown-menu {
    position: static;
    left: auto;
    right: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.35s ease, padding 0.35s ease;
    background: transparent;
  }

  .dropdown-menu::before { display: none; }

  .nav-dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 0 0 8px 20px;
  }

  .dropdown-link {
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal;
    border-radius: 6px;
  }

  .dropdown-link:hover,
  .dropdown-link.active {
    padding-left: 26px;
  }

  /* Mobile CTA */
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    margin-top: 24px;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  /* Hide desktop CTA */
  .header-cta { display: none; }

  .header-actions { gap: 8px; }

  .hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-overlay.active { display: block; }

  .hero { min-height: 0; height: auto; text-align: center; padding: calc(var(--header-height) + env(safe-area-inset-top, 0px)) 0 70px; }
  .hero-content { max-width: 100%; }
  .hero-slide-content { min-width: 0; width: 100%; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .hero-stat-item { text-align: center; }

  .hero-slide.active { position: relative; inset: auto; height: auto; }
  .hero-slide-inner { grid-template-columns: 1fr; gap: 35px; }
  .hero-slide .hero-title { font-size: 2rem; }
  .hero-slide-image { width: 100%; max-width: 420px; margin: 0 auto; }
  .hero-slide-img-frame img { height: 300px; }

  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-image img { height: auto; }
  .about-experience { right: -10px; bottom: -15px; padding: 15px 20px; }
  .about-experience h3 { font-size: 2rem; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .about-text h2 { text-align: center; }
  .about-text p { text-align: center; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .service-card { padding: 25px 18px; }

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

  .process-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-grid .contact-info { order: 2; }
  .contact-grid > div:not(.contact-info) { order: 1; }

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

  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-image img { height: 280px; }
  .service-detail-image { order: -1; }

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

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

  .page-banner { padding: calc(120px + env(safe-area-inset-top, 0px)) 0 50px; }
  .page-banner h1 { font-size: 2rem; }

  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 0.95rem; margin-bottom: 35px; }
  .section { padding: 50px 0; }

  .cta-section { padding: 50px 0; }
  .cta-section h2 { font-size: 1.6rem; }

  .contact-form-group input,
  .contact-form-group select,
  .contact-form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .whatsapp-btn {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
    right: 16px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .back-to-top.back-to-top {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    left: 16px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .footer-social { justify-content: center; }
  .footer-social a { width: 44px; height: 44px; }
  .footer {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  .map-container { height: 300px; }
}

/* iPad Air / 820px */
@media (max-width: 820px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .about-grid { gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner { padding: 120px 0 50px; }
}

/* Tablet Portrait / 768px */
@media (max-width: 768px) {
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .service-card { padding: 20px 15px; }
  .service-card h3 { font-size: 1rem; }
  .about-grid { gap: 25px; }
  .about-image img { height: auto; }
  .about-experience { right: -10px; bottom: -12px; padding: 12px 18px; }
  .about-experience h3 { font-size: 1.8rem; }
  .process-grid { grid-template-columns: 1fr; gap: 25px; }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .page-banner h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { margin-bottom: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile / 480px */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-stats { flex-direction: column; gap: 15px; align-items: center; }
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 22px 16px; }

  .about-features { grid-template-columns: 1fr; }
  .about-image img { height: auto; }

  .process-grid { grid-template-columns: 1fr; gap: 25px; }

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

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

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

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

  .page-banner { padding: calc(100px + env(safe-area-inset-top, 0px)) 0 40px; }
  .page-banner h1 { font-size: 1.5rem; }

  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.9rem; }
  .section { padding: 40px 0; }

  .cta-section h2 { font-size: 1.3rem; }
  .cta-section p { font-size: 0.95rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 280px; }

  .contact-info-item { flex-direction: column; align-items: flex-start; }

  .about-experience { right: 0; bottom: -10px; }
  .about-experience h3 { font-size: 1.6rem; }
  .about-experience p { font-size: 0.75rem; }

  .service-detail-image img { height: 200px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .map-container { height: 250px; }
}

/* Small Mobile / 375px */
@media (max-width: 375px) {
  .container { padding: 0 12px; }

  .brand { gap: 8px; }
  .logo-img { width: 48px; height: 48px; }
  .logo-icon { width: 48px; height: 48px; font-size: 1.1rem; }
  .brand-name { font-size: 1rem; }
  .brand-tag { font-size: 0.4375rem; letter-spacing: 0.5px; }
}

/* Extra Small Mobile / 340px */
@media (max-width: 340px) {
  .logo-img { width: 46px; height: 46px; }
  .logo-icon { width: 46px; height: 46px; }
  .brand-name { font-size: 0.9375rem; }
  .brand-tag { font-size: 0.40625rem; }
}

/* ============================================
   MOBILE HERO SLIDER - Full-width banner
   Phone layout: full-bleed background image,
   dark overlay and overlaid centered content.
   Active slide is kept in-flow so the banner
   grows with its content (no clipping).
   ============================================ */
@media (max-width: 767px) {
  .hero {
    min-height: 0;
    height: auto;
    display: block;
    text-align: center;
    padding: calc(var(--header-height) + env(safe-area-inset-top, 0px)) 0 0;
  }

  .hero-slider { position: relative; }

  .hero-slide.active {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 480px;
    overflow: hidden;
  }

  .hero-slider .container { padding: 0; }

  .hero-slide-inner {
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 68px 20px 72px;
  }

  /* Full-bleed background image (anchored to the slide) */
  .hero-slide-image {
    position: absolute;
    inset: 0;
    margin: 0;
    max-width: none;
    z-index: 0;
  }

  .hero-slide-img-frame {
    position: absolute;
    inset: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .hero-slide-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Content layer above image + overlay */
  .hero-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 0;
  }

  .hero-badge { margin-bottom: 16px; }

  .hero-title,
  .hero-slide .hero-title {
    font-size: clamp(1.625rem, 4.5vw + 0.75rem, 2rem);
    font-weight: 800;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 100%;
    margin: 0 auto 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    margin: 0 0 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    padding: 12px 24px;
  }
  .hero-buttons .btn:last-child { margin-bottom: 0; }

  /* Slider controls */
  .hero-slider-dots {
    bottom: 16px;
    gap: 12px;
    z-index: 5;
  }

  .hero-dot {
    width: 14px;
    height: 14px;
  }

  .hero-dot.active {
    width: 34px;
    border-radius: 7px;
  }

  .hero-slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .hero-slider-arrow.prev { left: 10px; }
  .hero-slider-arrow.next { right: 10px; }

  /* Content below the banner */
  .section { padding: 48px 0; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.95rem; line-height: 1.7; margin-bottom: 32px; }
  h2, h3 { overflow-wrap: break-word; }
  .about-text p { line-height: 1.7; }
}

/* Small phones / 480px */
@media (max-width: 480px) {
  .hero-slide.active { min-height: 440px; }
  .hero-slide-inner { padding: 60px 16px 68px; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-buttons { max-width: 320px; }
  .hero-buttons .btn { min-height: 50px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 28px; }
}

/* Extra small phones / 375px */
@media (max-width: 375px) {
  .hero-slide.active { min-height: 420px; }
  .hero-slide-inner { padding: 56px 16px 64px; }
  .hero-title,
  .hero-slide .hero-title { font-size: 1.625rem; }
}

/* Tiny phones / 340px */
@media (max-width: 340px) {
  .hero-slide.active { min-height: 400px; }
  .hero-title,
  .hero-slide .hero-title { font-size: 1.5rem; }
  .hero-slide-inner { padding: 52px 12px 60px; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   MISC UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.ms-2 { margin-left: 8px; }
.bg-light { background: var(--off-white); }
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }
.w-100 { width: 100%; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  width: 45px;
  height: 45px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ============================================
   ERROR PAGE
   ============================================ */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-code {
  font-size: 6rem;
  color: var(--accent);
  margin-bottom: 0;
  line-height: 1.1;
}

.error-title {
  margin-bottom: 20px;
}

.error-desc {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 30px;
}

/* ============================================
   BLOG
   ============================================ */
.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.blog-search {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.blog-search-input {
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 0.88rem;
  outline: none;
  min-width: 220px;
  background: var(--white);
}

.blog-search-input:focus {
  border-color: var(--accent);
}

.blog-search-btn {
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.blog-search-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-cat {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-light);
  transition: var(--transition);
}

.blog-cat:hover,
.blog-cat.active {
  background: var(--accent);
  color: var(--primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-image {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.blog-cat-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212,160,23,0.12);
  color: var(--accent-dark);
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--text-dark);
  transition: color 0.2s ease;
}

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

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.blog-read-more i {
  transition: transform 0.2s ease;
  font-size: 0.75rem;
}

.blog-read-more:hover {
  color: var(--accent-dark);
}

.blog-read-more:hover i {
  transform: translateX(4px);
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.blog-empty i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0.4;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.page-link:hover,
.page-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

/* Blog Post Single */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-post-meta i {
  margin-right: 4px;
}

.blog-post-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.blog-post-image img {
  width: 100%;
  border-radius: var(--radius);
}

.blog-post-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.blog-post-body p {
  margin-bottom: 16px;
}

.blog-post-body img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

.blog-post-tags {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-post-nav {
  margin-top: 32px;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.sidebar-cta {
  background: var(--primary);
  color: var(--white);
}

.sidebar-cta h4 {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.sidebar-cta p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.recent-posts li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-posts a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.recent-posts img {
  width: 60px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.recent-post-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.recent-posts a:hover .recent-post-title {
  color: var(--accent);
}

.recent-post-date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Post Share */
.blog-post-share {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-post-share span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.blog-post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-muted);
  transition: var(--transition);
}

.blog-post-share a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Related Services */
.blog-related-services {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

.blog-related-services h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.blog-related-services p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.related-services-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* FAQs on Blog */
.blog-faqs {
  margin-top: 32px;
}

.blog-faqs h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: var(--white);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  user-select: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
  background: rgba(212,160,23,0.03);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212,160,23,0.1);
  color: var(--accent);
  font-size: 0.75rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.faq-question:hover .faq-icon {
  background: var(--accent);
  color: var(--primary);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  padding: 0 20px 0 54px;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Related Articles Section */
.related-articles-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-articles-section .section-title {
  margin-bottom: 30px;
}

.blog-reading-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-post-meta span {
  margin-right: 16px;
}

@media (max-width: 991px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-search-input { min-width: auto; width: 100%; }
  .blog-search { width: 100%; }
  .blog-search-input { flex: 1; }
}
