/* ==========================================================================
   ATA OTOMASYON - Kurumsal Web Sitesi
   Stil Dosyası
   ========================================================================== */

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

:root {
  /* Ana renkler */
  --primary: #071B33;
  --primary-light: #0B2A4A;
  --primary-dark: #04111F;

  /* Vurgu - koyu petrol mavisi */
  --accent: #155E75;
  --accent-dark: #0E4A5F;
  --accent-soft: #E8F1F4;

  /* Zemin & yüzeyler */
  --background: #FFFFFF;
  --surface: #F6F8FB;
  --surface-alt: #EEF2F6;
  --surface-dark: #0F243D;

  /* Metin */
  --text: #1F2937;
  --text-muted: #64748B;
  --text-light: #FFFFFF;

  /* Kenarlık */
  --border: #D6DEE8;

  --container: 1240px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --transition: 0.25s ease;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { color: var(--text-muted); }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background-color: var(--background);
  color: var(--text);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 6px 0;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.top-bar-info {
  display: flex;
  gap: 6px 20px;
  flex-wrap: wrap;
  align-items: center;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

.top-bar-info svg {
  color: var(--accent);
  flex-shrink: 0;
}

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

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

.top-bar-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.top-bar-social a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}
.top-bar-social a:hover {
  color: var(--accent);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--background);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 0;
  flex-shrink: 0;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--accent-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-menu a {
  display: inline-block;
  padding: 10px 16px;
  color: var(--border);
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--background);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: var(--text-light) !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  box-shadow:
    0 4px 12px rgba(21, 94, 117, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-dark), #082F3D) !important;
  box-shadow:
    0 10px 24px rgba(21, 94, 117, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  color: var(--text-light) !important;
}
.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--background);
  transition: var(--transition);
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10, 25, 41, 0.94), rgba(15, 34, 56, 0.88)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 56px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 56px
    ),
    var(--primary);
  color: var(--background);
  padding: 100px 0 110px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid rgba(232, 241, 244, 0.25);
  border-radius: var(--radius-sm);
}

.hero h1 {
  color: var(--background);
  margin-bottom: 22px;
  font-weight: 800;
}

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

.hero-sub {
  color: var(--accent-soft);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 380px;
  background: linear-gradient(135deg, var(--text), var(--primary-light));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  overflow: hidden;
}

.hero-stat {
  background: var(--primary);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-stat strong {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.hero-stat span {
  font-size: 0.85rem;
  color: var(--accent-soft);
  line-height: 1.4;
}
.hero-stat::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(21, 94, 117, 0.18);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--background);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  background-color: var(--background);
  color: var(--primary);
  border-color: var(--background);
}

.btn-dark {
  background-color: var(--primary);
  color: var(--background);
  border-color: var(--primary);
}
.btn-dark:hover {
  background-color: var(--text);
  border-color: var(--text);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--background);
  border-color: #25d366;
}
.btn-whatsapp:hover { background-color: #1eb358; border-color: #1eb358; }

.btn-arrow::after {
  content: "→";
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 90px 0;
}
.section-sm { padding: 64px 0; }
.section-gray { background-color: var(--surface); }
.section-dark {
  background-color: var(--primary);
  color: var(--background);
}
.section-dark h2, .section-dark h3 { color: var(--background); }
.section-dark p { color: var(--accent-soft); }
.section-dark .eyebrow,
.cta-section .eyebrow,
.page-header .eyebrow { color: var(--accent-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head.section-head-left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head h2 {
  margin-bottom: 16px;
}
.section-head p {
  font-size: 1.05rem;
}

/* ==========================================================================
   Page Header (inner pages)
   ========================================================================== */
.page-header {
  background:
    linear-gradient(135deg, rgba(10, 25, 41, 0.94), rgba(15, 34, 56, 0.92)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 56px
    ),
    var(--primary);
  color: var(--background);
  padding: 70px 0 60px;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}
.page-header h1 {
  color: var(--background);
  margin-bottom: 12px;
}
.breadcrumb {
  font-size: 0.88rem;
  color: var(--accent-soft);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: var(--text-muted); }

/* ==========================================================================
   Service Cards
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height var(--transition);
}
.service-card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--accent-soft);
}
.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Project Cards
   ========================================================================== */
.project-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.project-image {
  height: 220px;
  background: linear-gradient(135deg, var(--text), var(--primary));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 14px
    );
}
.project-image .project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--background);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  z-index: 1;
}
.project-image .project-icon {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.2);
}
.project-image .project-icon svg {
  width: 90px;
  height: 90px;
}

.project-body {
  padding: 28px;
}
.project-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.project-meta span { display: inline-flex; align-items: center; gap: 5px; }

.project-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.project-card p { font-size: 0.95rem; }

.project-locations {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.project-locations strong { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Shared dark section with grid texture (Why-Us, Değerlerimiz, vb.)
   ========================================================================== */
.section-dark.why-us,
.section-dark.section-grid {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}
.section-dark.why-us::before,
.section-dark.section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 56px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 56px
    );
  pointer-events: none;
  z-index: 0;
}
.section-dark.why-us .container,
.section-dark.section-grid .container { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.why-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 34px 30px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  opacity: 0.85;
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(21, 94, 117, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(4, 17, 31, 0.5);
}

.why-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  margin-bottom: 22px;
  box-shadow:
    0 6px 16px rgba(21, 94, 117, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.why-card-icon svg { width: 24px; height: 24px; }

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-light);
  letter-spacing: -0.005em;
}
.why-card p {
  font-size: 0.94rem;
  color: var(--accent-soft);
  opacity: 0.88;
  line-height: 1.65;
  margin: 0;
}

/* Legacy classes (kept for backward compatibility, no longer used on homepage) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature-item { padding: 0; }
.feature-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-soft);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--background);
}
.feature-item p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Process Steps
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.process-step {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: "0" counter(step);
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
}
.process-step .process-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--accent-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.process-step p { font-size: 0.92rem; }

/* ==========================================================================
   Gallery Cards
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--text), var(--primary));
  cursor: pointer;
  transition: var(--transition);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 14px
    );
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.gallery-card-content {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
  color: var(--background);
  background: linear-gradient(180deg, rgba(10, 25, 41, 0.0) 0%, rgba(10, 25, 41, 0.85) 100%);
}
.gallery-card-icon svg {
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.5);
}
.gallery-card h3 {
  color: var(--background);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.gallery-card span {
  font-size: 0.82rem;
  color: var(--accent-soft);
}

/* ==========================================================================
   About / Values
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p { margin-bottom: 16px; font-size: 1rem; }
.about-text p:last-child { margin-bottom: 0; }

.about-visual {
  background: linear-gradient(135deg, var(--text), var(--primary));
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 14px
    );
}
.about-visual-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: var(--background);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--accent);
}

/* Values grid - matches Why-Us card design language (light theme) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.value-card {
  position: relative;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  opacity: 0.9;
}
.value-card:hover {
  border-color: rgba(21, 94, 117, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.value-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  margin-bottom: 22px;
  box-shadow:
    0 6px 16px rgba(21, 94, 117, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.value-card-icon svg { width: 24px; height: 24px; }

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -0.005em;
}
.value-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* Dark-context overrides — value-card on .section-dark mirrors .why-card */
.section-dark .value-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section-dark .value-card:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(21, 94, 117, 0.55);
  box-shadow: 0 18px 40px rgba(4, 17, 31, 0.5);
}
.section-dark .value-card h3 { color: var(--text-light); }
.section-dark .value-card p {
  color: var(--accent-soft);
  opacity: 0.88;
}
.section-dark .value-card-icon {
  box-shadow:
    0 6px 16px rgba(21, 94, 117, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Stats Strip - Floating premium card on darker navy
   ========================================================================== */
.stats-strip {
  background: var(--primary-dark);
  padding: 90px 0;
  color: var(--text-light);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background:
    linear-gradient(180deg, rgba(11, 42, 74, 0.55), rgba(15, 36, 61, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(4, 17, 31, 0.45);
  max-width: 1080px;
  margin: 0 auto;
}
.stats-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 18px rgba(21, 94, 117, 0.55);
}

.stat-item {
  position: relative;
  padding: 10px 18px;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.stat-item strong {
  display: block;
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
}
.stat-item span {
  display: block;
  font-size: 0.86rem;
  color: var(--accent-soft);
  opacity: 0.82;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Legacy .stats-grid (for older usage) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

/* Light variant — used on the About page stats bar */
.stats-strip.stats-strip--light {
  background: var(--surface);
  color: var(--text);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-strip--light .stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-strip--light .stat-item {
  position: relative;
  padding: 10px 18px;
}
.stats-strip--light .stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--border);
}
.stats-strip--light .stat-item strong {
  color: var(--primary);
}
.stats-strip--light .stat-item span {
  color: var(--text-muted);
  opacity: 1;
  font-weight: 500;
}

/* ==========================================================================
   CTA Section - Premium Card
   ========================================================================== */
.cta-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.96), rgba(15, 36, 61, 0.92)),
    var(--primary-dark);
  color: var(--text-light);
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 56px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.022) 0,
      rgba(255, 255, 255, 0.022) 1px,
      transparent 1px,
      transparent 56px
    );
  pointer-events: none;
  z-index: 0;
}
.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 94, 117, 0.5), transparent);
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }

.cta-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 56px;
  background:
    linear-gradient(180deg, rgba(11, 42, 74, 0.55), rgba(15, 36, 61, 0.38));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(4, 17, 31, 0.45);
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 18px rgba(21, 94, 117, 0.6);
}
.cta-card .eyebrow {
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.cta-card h2 {
  color: var(--text-light);
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.cta-card p {
  color: var(--accent-soft);
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.02rem;
  line-height: 1.7;
  opacity: 0.92;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Premium CTA buttons (pill style) */
.btn-cta-primary,
.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  color: var(--text-light);
  white-space: nowrap;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow:
    0 6px 16px rgba(21, 94, 117, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-cta-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), #082F3D);
  box-shadow:
    0 14px 30px rgba(21, 94, 117, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  color: var(--text-light);
}

.btn-cta-whatsapp {
  background: linear-gradient(135deg, #25D366, #1EB358);
  box-shadow:
    0 6px 16px rgba(37, 211, 102, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-cta-whatsapp:hover {
  background: linear-gradient(135deg, #1EB358, #169248);
  box-shadow:
    0 14px 30px rgba(37, 211, 102, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  color: var(--text-light);
}
.btn-cta-whatsapp svg { width: 18px; height: 18px; }

.btn-cta-primary.btn-arrow::after,
.btn-cta-whatsapp.btn-arrow::after {
  content: "→";
  margin-left: 2px;
  transition: transform 0.25s ease;
}
.btn-cta-primary.btn-arrow:hover::after,
.btn-cta-whatsapp.btn-arrow:hover::after {
  transform: translateX(3px);
}

.cta-micro {
  display: flex;
  gap: 14px 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  color: rgba(232, 241, 244, 0.72);
}
.cta-micro span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cta-micro svg {
  color: var(--accent-soft);
  opacity: 0.75;
  flex-shrink: 0;
}
.cta-micro a {
  color: inherit;
  font-weight: 500;
  transition: color 0.25s ease;
}
.cta-micro a:hover {
  color: var(--text-light);
}

/* Legacy support (existing pages still using these inside CTA) */
.cta-section h2 { color: var(--text-light); margin-bottom: 14px; }
.cta-section p { color: var(--accent-soft); margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .hero-ctas { justify-content: center; }

/* ==========================================================================
   Map Card (Contact Page Workshop Location)
   ========================================================================== */
.map-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.map-frame {
  position: relative;
  width: 100%;
  height: 420px;
  background: var(--surface);
  line-height: 0;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  padding: 22px 28px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
}
.map-footer-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.map-footer-text strong {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.map-footer-text span {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.map-footer .btn-cta-primary {
  flex-shrink: 0;
}

/* ==========================================================================
   Instagram Card (Contact Page Social)
   ========================================================================== */
.instagram-card {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 48px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}
.instagram-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}
.instagram-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.instagram-card-visual {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(21, 94, 117, 0.28);
}
.instagram-card-visual svg {
  width: 44px;
  height: 44px;
}
.instagram-card-body {
  flex: 1;
  min-width: 0;
}
.instagram-handle {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 5px 11px;
  background: var(--accent-soft);
  border-radius: 999px;
}
.instagram-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -0.005em;
}
.instagram-card p {
  font-size: 0.95rem;
  margin-bottom: 22px;
  color: var(--text-muted);
  line-height: 1.65;
}
.instagram-card .btn-cta-primary {
  align-self: flex-start;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.contact-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 10px; }
.contact-card a, .contact-card p {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  word-break: break-word;
}
.contact-card a:hover { color: var(--accent); }
.contact-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 6px;
  font-weight: 400;
}

.addresses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.address-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 30px;
}
.address-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.address-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.address-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Contact form */
.contact-form-wrap {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--background);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary);
  color: var(--accent-soft);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-col h4 {
  color: var(--background);
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; color: var(--accent-soft); }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: var(--accent-soft); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}
.footer-contact-item a:hover { color: var(--accent); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--background);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 0;
}
.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-soft);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--background);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--accent-soft);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 320px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 70px 0; }
  /* Values grid: tablet 2 cols (6 cards → 2x3 balanced) */
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 768px) {
  .top-bar { font-size: 0.78rem; }
  .top-bar-inner { padding: 8px 0; gap: 4px 14px; }
  .top-bar-info { gap: 4px 14px; }
  .top-bar-info span { font-size: 0.78rem; }
  .top-bar-social { width: 100%; justify-content: flex-end; }
  .navbar { height: 66px; }
  .logo img { height: 40px; }
  .footer-logo img { height: 38px; }

  .menu-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
  }
  .nav-menu a.active::after { display: none; }
  .nav-menu a.active { color: var(--accent); }
  .nav-cta {
    margin-top: 16px;
    text-align: center;
    padding: 14px 22px !important;
    justify-content: center;
  }

  .section { padding: 60px 0; }
  .hero { padding: 50px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  /* CTA card responsive */
  .cta-section { padding: 70px 0; }
  .cta-card { padding: 42px 26px; border-radius: 12px; }
  .cta-card::before { width: 72px; }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-actions .btn-cta-primary,
  .cta-actions .btn-cta-whatsapp {
    justify-content: center;
    width: 100%;
    padding: 15px 22px;
  }
  .cta-micro {
    gap: 12px 22px;
    font-size: 0.8rem;
    padding-top: 22px;
  }

  /* Values grid mobile: single column */
  .values-grid { grid-template-columns: 1fr; gap: 14px; }
  .value-card { padding: 28px 24px; border-radius: 16px; }
  .value-card::before { left: 24px; width: 36px; }
  .value-card-icon { width: 44px; height: 44px; margin-bottom: 18px; }
  .value-card-icon svg { width: 20px; height: 20px; }

  /* Why-Us / Stats responsive */
  .section-dark.why-us { padding: 70px 0 80px; }
  .why-grid { gap: 16px; }
  .why-card { padding: 28px 24px; border-radius: 16px; }
  .why-card::before { left: 24px; width: 36px; }
  .why-card-icon { width: 44px; height: 44px; margin-bottom: 18px; }
  .why-card-icon svg { width: 20px; height: 20px; }

  .stats-strip { padding: 60px 0; }
  .stats-card {
    grid-template-columns: 1fr 1fr;
    padding: 30px 18px;
    gap: 24px 0;
    border-radius: 16px;
  }
  .stats-card::before { width: 72px; }
  .stat-item { padding: 8px 10px; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item:nth-child(2)::before,
  .stat-item:nth-child(4)::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
  }
  .stat-item strong { font-size: 2.1rem; }
  .stat-item span { font-size: 0.78rem; letter-spacing: 0.04em; }

  /* Stats light variant — mobile 2 columns */
  .stats-strip--light .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }
  .stats-strip--light .stat-item + .stat-item::before { display: none; }
  .stats-strip--light .stat-item:nth-child(2)::before,
  .stats-strip--light .stat-item:nth-child(4)::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: var(--border);
  }

  /* Map card responsive */
  .map-frame { height: 300px; }
  .map-footer { padding: 18px 20px; gap: 14px; }
  .map-footer-text strong { font-size: 0.95rem; }
  .map-footer-text span { font-size: 0.84rem; }
  .map-footer .btn-cta-primary {
    width: 100%;
    justify-content: center;
  }

  /* Instagram card responsive */
  .instagram-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding: 36px 26px;
  }
  .instagram-card::before {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
  }
  .instagram-card-visual { width: 78px; height: 78px; border-radius: 14px; }
  .instagram-card-visual svg { width: 38px; height: 38px; }
  .instagram-card .btn-cta-primary { align-self: center; width: 100%; justify-content: center; }

  .addresses-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px; }

  .hero-stat strong { font-size: 1.9rem; }
  .stat-item strong { font-size: 2.1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 50px 0; }
  .service-card, .project-body, .contact-card { padding: 24px; }
  .hero-visual { height: 280px; }
  .hero-stat { padding: 20px 18px; }
  .hero-stat strong { font-size: 1.6rem; }
}
