/* ============================================
   BUKELEC - Électricité & Domotique Marseille
   Design System & Global Styles
   ============================================ */

:root {
  --primary: #0B1D3A;
  --primary-light: #1B3A5C;
  --secondary: #2A4A7F;
  --accent: #F0A500;
  --accent-hover: #D4920A;
  --accent-light: rgba(240, 165, 0, 0.1);
  --gray-50: #F8F9FB;
  --gray-100: #EEF0F4;
  --gray-200: #D8DCE4;
  --gray-300: #B0B8C8;
  --gray-600: #5A6478;
  --gray-800: #2D3340;
  --white: #FFFFFF;
  --success: #27AE60;
  --danger: #E74C3C;
  --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 4px 20px rgba(11, 29, 58, 0.1);
  --shadow-lg: 0 8px 40px rgba(11, 29, 58, 0.14);
  --shadow-accent: 0 4px 20px rgba(240, 165, 0, 0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
}

.text-center { text-align: center; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(240, 165, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-call {
  background: var(--success);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 50px;
}

.btn-call:hover {
  background: #219150;
  transform: translateY(-1px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.top-bar {
  background: var(--primary);
  color: var(--gray-300);
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: var(--gray-300);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--primary);
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent);
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--gray-600);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-800);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(240, 165, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

.hero-card h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.hero-card-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card-form input,
.hero-card-form select {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.hero-card-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero-card-form select {
  appearance: none;
  cursor: pointer;
}

.hero-card-form select option {
  background: var(--primary);
  color: var(--white);
}

.hero-card-form input:focus,
.hero-card-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.hero-card-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
  background: var(--white);
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--accent-hover);
  gap: 10px;
}

/* ============================================
   ABOUT / WHY US
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image-placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  text-align: center;
}

.about-image-placeholder svg {
  width: 64px;
  height: 64px;
  fill: rgba(255, 255, 255, 0.2);
  margin-bottom: 12px;
}

.about-stats {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  gap: 16px;
}

.about-stat {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 16px;
  flex: 1;
  text-align: center;
}

.about-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.about-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  margin-bottom: 16px;
}

.about-content > p {
  margin-bottom: 28px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.about-feature strong {
  display: block;
  color: var(--primary);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-800);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-author-detail {
  font-size: 0.85rem;
  color: var(--gray-300);
}

.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.google-rating img,
.google-rating svg {
  height: 32px;
}

.google-rating-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.google-rating-info {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
  color: var(--accent);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-100);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-image {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-image svg {
  width: 80px;
  height: 80px;
  fill: var(--gray-200);
}

.service-detail-content h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-detail-content p {
  margin-bottom: 20px;
}

.service-list {
  margin-bottom: 24px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.service-list li svg {
  width: 18px;
  height: 18px;
  fill: var(--success);
  flex-shrink: 0;
}

/* ============================================
   GALLERY / RÉALISATIONS
   ============================================ */

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--primary);
  background: var(--accent-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: all var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 240px;
}

.gallery-before,
.gallery-after {
  position: relative;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-before img,
.gallery-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-before .gallery-label {
  background: rgba(231, 76, 60, 0.9);
  color: var(--white);
}

.gallery-after .gallery-label {
  background: rgba(39, 174, 96, 0.9);
  color: var(--white);
}

.gallery-placeholder {
  font-size: 0.8rem;
  color: var(--gray-300);
  text-align: center;
  padding: 20px;
}

.gallery-placeholder svg {
  width: 40px;
  height: 40px;
  fill: var(--gray-200);
  margin-bottom: 8px;
}

.gallery-info {
  padding: 20px 24px;
}

.gallery-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.gallery-info p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.gallery-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent-hover);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-info-value {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

.contact-info-value a:hover {
  color: var(--accent);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.contact-form-card h2 {
  margin-bottom: 8px;
}

.contact-form-card > p {
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 4px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
}

.form-control::placeholder {
  color: var(--gray-300);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%235A6478'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.05rem;
}

.form-message {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  border: 1px solid rgba(39, 174, 96, 0.2);
  display: block;
}

.form-message.error {
  background: rgba(231, 76, 60, 0.1);
  color: var(--danger);
  border: 1px solid rgba(231, 76, 60, 0.2);
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-100);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .header-cta .btn-call {
    font-size: 0;
    padding: 10px;
    border-radius: 50%;
  }

  .header-cta .btn-call svg {
    margin: 0;
  }

  .header-cta .btn-call .call-text {
    display: none;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .section {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-section {
    padding: 60px 0;
  }

  .about-stats {
    flex-direction: column;
    gap: 8px;
  }

  .trust-items {
    gap: 24px;
  }

  .gallery-images {
    height: 200px;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 { font-size: 1.8rem; }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .service-card {
    padding: 28px 20px;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .gallery-images {
    height: 160px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up-delay-1 { animation-delay: 0.1s; }
.fade-in-up-delay-2 { animation-delay: 0.2s; }
.fade-in-up-delay-3 { animation-delay: 0.3s; }
.fade-in-up-delay-4 { animation-delay: 0.4s; }

/* ============================================
   UTILITIES
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.highlight { color: var(--accent); }
