/* ============================================
   YILMAZ MAKİNA - Premium Kurumsal Web Sitesi
   Linde Kırmızı #CC0000 | Koyu #0D0D0D | Turuncu #FF6600
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --red: #CC0000;
  --red-dark: #A30000;
  --red-light: #E60000;
  --red-glow: rgba(204,0,0,0.15);
  --dark: #0D0D0D;
  --dark-800: #1A1A1A;
  --dark-700: #252525;
  --dark-600: #333333;
  --gray-100: #F7F7F8;
  --gray-200: #EDEDEF;
  --gray-300: #D4D4D8;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --orange: #FF6600;
  --orange-dark: #E55C00;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
ul, ol { list-style: none; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--dark); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin-bottom: 1rem; color: var(--gray-500); line-height: 1.8; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--gray-500); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(204,0,0,0.25);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(204,0,0,0.35);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,102,0,0.25);
}
.btn-orange:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,102,0,0.35);
}

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

.btn-ghost {
  background: transparent;
  color: var(--red);
  padding: 0;
  font-weight: 600;
}
.btn-ghost:hover { gap: 14px; }
.btn-ghost svg { transition: var(--transition); }

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* === TOP BAR === */
.top-bar {
  background: var(--dark);
  padding: 10px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top-bar-links { display: flex; align-items: center; gap: 24px; }
.top-bar-links a {
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.top-bar-links a:hover { color: var(--white); }
.top-bar-links svg { width: 14px; height: 14px; opacity: 0.6; }
.top-bar-right { color: var(--gray-500); font-weight: 500; }

/* === HEADER === */
header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
}
.logo-text { display: flex; flex-direction: column; }
.logo-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.logo-text span {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Navigation */
nav { display: flex; align-items: center; }
nav > ul { display: flex; align-items: center; gap: 4px; }
nav > ul > li { position: relative; }
nav > ul > li > a {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
nav > ul > li > a:hover,
nav > ul > li > a.active {
  color: var(--dark);
  background: var(--gray-100);
}
nav > ul > li > a.active { color: var(--red); }

/* Dropdown arrow */
.nav-arrow { width: 12px; height: 12px; transition: var(--transition); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 8px;
  z-index: 100;
}
nav > ul > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
}
.dropdown a:hover {
  background: var(--gray-100);
  color: var(--red);
}
.dropdown .dd-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dropdown a:hover .dd-icon { background: rgba(204,0,0,0.08); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-bg-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, #1a0505 40%, #2a0a0a 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.7) 0%, rgba(13,13,13,0.5) 40%, rgba(13,13,13,0.85) 100%);
  z-index: 2;
}
.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,0,0,0.12);
  border: 1px solid rgba(204,0,0,0.2);
  color: #ff4444;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-content h1 .text-red { color: var(--red-light); }
.hero-content .hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
}
.hero-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-main .img-placeholder-pro {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark-700), var(--dark-800));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 0.8rem;
}
.hero-image-main .img-placeholder-pro svg { opacity: 0.3; }

.hero-float-card {
  position: absolute;
  bottom: -24px;
  left: -32px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-float-card .hf-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-float-card .hf-text {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
  line-height: 1.4;
}
.hero-float-card .hf-text strong { display: block; color: var(--dark); font-size: 0.9rem; }

/* Small image cards floating */
.hero-mini-card {
  position: absolute;
  top: -16px;
  right: -24px;
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}
.hero-mini-card img { width: 100%; height: 100%; object-fit: cover; }

/* === STATS BAR === */
.stats-bar {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 36px 20px;
  color: var(--white);
  position: relative;
  transition: var(--transition);
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.stat-item:hover { background: rgba(255,255,255,0.03); }
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--white), var(--gray-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-number .stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  -webkit-text-fill-color: var(--red);
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === SERVICES GRID === */
.services { padding: 100px 0; background: var(--gray-100); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204,0,0,0.08);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(204,0,0,0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-icon svg { width: 26px; height: 26px; color: var(--red); }
.service-card:hover .service-icon {
  background: var(--red);
}
.service-card:hover .service-icon svg { color: var(--white); }

.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { font-size: 0.85rem; margin-bottom: 20px; flex: 1; }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--red);
}
.service-card .card-link svg { width: 16px; height: 16px; transition: var(--transition); }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* === ABOUT / FAMILY SECTION === */
.about-section { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 200px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-content h2 { margin-bottom: 20px; }
.about-content h2 .text-red { color: var(--red); }
.about-content > p { font-size: 1.05rem; }

.about-quote {
  background: var(--gray-100);
  border-left: 4px solid var(--red);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.about-quote p {
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
  font-style: italic;
  margin: 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
}
.about-feature-icon {
  width: 28px;
  height: 28px;
  background: rgba(204,0,0,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-icon svg { width: 14px; height: 14px; color: var(--red); }

/* === IMAGE GALLERY ROW === */
.gallery-strip {
  padding: 0;
  overflow: hidden;
  background: var(--dark);
}
.gallery-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.gallery-item {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.6));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 0.8rem; font-weight: 600; }

/* Placeholder for gallery items without images */
.gallery-item .img-placeholder-pro {
  width: 100%;
  height: 100%;
  background: var(--dark-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === WHY US === */
.why-section { padding: 100px 0; background: var(--gray-100); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.why-card:hover {
  border-color: rgba(204,0,0,0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(204,0,0,0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-card-icon svg { width: 24px; height: 24px; color: var(--red); }
.why-card h4 { margin-bottom: 8px; font-size: 1rem; }
.why-card p { font-size: 0.88rem; margin: 0; }

/* === REFERENCES === */
.references { padding: 100px 0; }
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.ref-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}
.ref-card:hover {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ref-card .ref-logo {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-400);
}
.ref-card .ref-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

/* === CTA SECTION === */
.cta-section {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204,0,0,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: var(--gray-400); font-size: 1.1rem; margin-bottom: 36px; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* === CONTACT === */
.contact-section { padding: 100px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--gray-100);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-card:hover { background: var(--white); box-shadow: var(--shadow-md); }
.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card-icon svg { width: 20px; height: 20px; color: var(--white); }
.contact-card h4 { font-size: 0.85rem; color: var(--gray-500); font-weight: 600; margin-bottom: 2px; }
.contact-card p { margin: 0; color: var(--dark); font-weight: 500; font-size: 0.95rem; }
.contact-card a { color: var(--red); font-weight: 600; }

.contact-form-wrapper {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form-wrapper h3 { margin-bottom: 8px; }
.contact-form-wrapper > p { margin-bottom: 28px; font-size: 0.9rem; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 4px rgba(204,0,0,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}
.form-group textarea { height: 110px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* === PAGE HERO (subpages) === */
.page-hero {
  background: var(--dark);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(204,0,0,0.06));
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; position: relative; z-index: 2; }
.page-hero p { color: var(--gray-400); font-size: 1.05rem; position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  margin-top: 20px;
  font-size: 0.82rem;
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--orange); font-weight: 500; }

/* === SERVICE DETAIL === */
.service-detail { padding: 80px 0; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
}
.service-content h2 { margin: 32px 0 16px; font-size: 1.4rem; }
.service-content h2:first-of-type { margin-top: 0; }
.service-content p { font-size: 1rem; }
.service-content ul { margin: 16px 0; }
.service-content ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--gray-600);
  font-size: 0.95rem;
}
.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.service-content .service-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  aspect-ratio: 16/9;
}
.service-content .service-img img { width: 100%; height: 100%; object-fit: cover; }

.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
}
.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.sidebar-link {
  display: block;
  padding: 10px 0;
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover,
.sidebar-link.active { color: var(--red); padding-left: 6px; }

.sidebar-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark)) !important;
  text-align: center;
  color: var(--white);
}
.sidebar-cta h3 { color: var(--white) !important; border-color: rgba(255,255,255,0.2) !important; }
.sidebar-cta p { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.sidebar-cta .phone-big {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-top: 12px;
}

/* === MAP === */
.map-section { padding: 100px 0; background: var(--gray-100); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}
.map-frame iframe { width: 100%; height: 450px; border: 0; }
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.region-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.region-card h3 {
  color: var(--red);
  margin-bottom: 16px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.region-card ul { columns: 2; gap: 24px; }
.region-card ul li {
  padding: 5px 0 5px 18px;
  position: relative;
  color: var(--gray-600);
  font-size: 0.9rem;
}
.region-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* === TIMELINE === */
.timeline-section { padding: 80px 0; background: var(--gray-100); }
.timeline-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--orange));
}
.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 48px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border: 3px solid var(--red);
  border-radius: 50%;
  z-index: 2;
}
.timeline-item:first-child .timeline-dot { background: var(--red); }
.timeline-year {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.timeline-item h3 { margin-bottom: 8px; }
.timeline-item p { margin: 0; font-size: 0.95rem; }

/* === FOOTER === */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}
.footer-about { max-width: 280px; }
.footer-about .logo { margin-bottom: 16px; }
.footer-about .logo-mark { width: 40px; height: 40px; font-size: 0.9rem; }
.footer-about .logo-text strong { color: var(--white); font-size: 1.05rem; }
.footer-about .logo-text span { font-size: 0.58rem; }
.footer-about p { font-size: 0.88rem; color: rgba(255,255,255,0.5); }

.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links li a:hover { color: var(--white); transform: translateX(3px); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 9999;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: var(--transition);
}
.whatsapp-float a:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(37,211,102,0.45);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; visibility: visible; }

/* === MOBILE CALL BAR === */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  background: var(--red);
  padding: 14px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.mobile-call-bar svg { width: 20px; height: 20px; }

/* === IMAGE PLACEHOLDER (professional) === */
.img-placeholder-pro {
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  min-height: 200px;
  color: var(--gray-400);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 20px;
}
.img-placeholder-pro svg { width: 32px; height: 32px; opacity: 0.3; }

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-content .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn { display: none; }
  .mobile-toggle { display: flex; }
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 8px;
  }
  nav.open { display: block; }
  nav > ul { flex-direction: column; gap: 0; }
  nav > ul > li > a { padding: 14px 16px; border-radius: 8px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-100);
    border-radius: 8px;
    margin: 4px 0;
  }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2)::after { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: 1fr; }
  .region-card ul { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(n+4) { display: none; }
  .mobile-call-bar { display: block; }
  .whatsapp-float { bottom: 80px; }
  body { padding-bottom: 56px; }
  .hero { min-height: 80vh; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none !important; }
  .services-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; padding: 60px 0; }
  .container { padding: 0 16px; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(n+3) { display: none; }
}
