:root {
  /* Palette: white + blue + gray (tints/shades only) */
  --bg: #ffffff;
  --surface: #f8fafc;
  --fg: #0f172a; /* deep gray */
  --muted: #475569; /* slate gray */
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --nav-height: 96px;
}

[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #0a1020;
  --fg: rgba(234, 240, 255, 0.92);
  --muted: rgba(198, 210, 235, 0.76);
  --blue: #4f8cff;
  --blue-2: #2f6bff;
  --border: rgba(234, 240, 255, 0.12);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Noto Sans";
  background: var(--surface);
  color: var(--fg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 50;
  transition: background-color 200ms ease, backdrop-filter 200ms ease,
    border-color 200ms ease, box-shadow 200ms ease;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transform: translateY(-14px);
  opacity: 0;
  animation: navDrop 700ms ease forwards;
}

@keyframes navDrop {
  from {
    transform: translateY(-14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav .container {
  height: 100%;
}

.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 120px;
}

.brand img {
  height: 92px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(15, 23, 42, 0.14));
  opacity: 0;
  transform: translateY(-3px) scaleX(2.05) scaleY(1.9);
  transform-origin: left center;
  animation: brandIn 700ms ease forwards;
  animation-delay: 120ms;
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(-3px) scaleX(2.05) scaleY(1.9);
  }
  to {
    opacity: 1;
    transform: translateY(2px) scaleX(2.05) scaleY(1.9);
  }
}

.brand strong {
  letter-spacing: 0.2px;
  font-weight: 750;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--fg);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background 150ms ease, color 150ms ease;
  font-weight: 700;
}

.nav-links a {
  text-shadow: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(37, 99, 235, 0.08);
  color: var(--fg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
  justify-content: flex-end;
}

.menu-btn {
  width: 44px;
  height: 44px;
  padding: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  color: var(--fg);
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: transform 120ms ease, background 150ms ease, border-color 150ms ease;
  user-select: none;
  white-space: nowrap;
}

.btn:hover {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-color: color-mix(in srgb, var(--border) 70%, var(--fg) 30%);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.theme-toggle {
  color: var(--fg);
}

.theme-toggle.btn-icon {
  width: 38px;
  height: 38px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  font-size: 1rem;
  line-height: 1;
  display: block;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  border-color: rgba(37, 99, 235, 0.22);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #3b82f6, var(--blue));
}

.btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
}

.menu-btn {
  display: none;
}

/* Hero (anasayfa) */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  filter: brightness(0.45) saturate(1.05) contrast(1.02);
  transform: scale(1.01);
  transition: opacity 900ms ease, filter 1100ms ease, transform 1100ms ease;
}

.hero.is-loaded .hero-img {
  opacity: 1;
  transform: scale(1);
}

@keyframes heroPan {
  0% {
    transform: translate3d(3%, 0, 0) scale(1.08);
  }
  50% {
    transform: translate3d(-3%, 0, 0) scale(1.08);
  }
  100% {
    transform: translate3d(3%, 0, 0) scale(1.08);
  }
}

@keyframes heroDim {
  0% {
    opacity: 1;
  }
  46% {
    opacity: 1;
  }
  52% {
    opacity: 0.9;
  }
  58% {
    opacity: 1;
  }
  94% {
    opacity: 1;
  }
  100% {
    opacity: 0.9;
  }
}

/* subtle motion only on home hero */
.hero.hero-simple.is-loaded .hero-img {
  animation: heroPan 44s ease-in-out infinite;
  filter: brightness(1) saturate(1.05) contrast(1.02);
  will-change: transform;
  transform-origin: center;
  backface-visibility: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(0, 0, 0, 0.14) 100%
  );
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero.is-loaded .hero-overlay {
  opacity: 1;
}

/* move "dimming" to overlay to avoid image flicker */
.hero.hero-simple.is-loaded .hero-overlay {
  animation: heroDim 44s ease-in-out infinite;
  will-change: opacity;
}

.hero-content {
  position: relative;
  padding: 58px 0 54px;
}

/* Simple hero: only slogan + button */
.hero-simple .hero-content {
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 0 44px;
  text-align: center;
}

.hero-simple .hero-center {
  max-width: 900px;
  padding-top: 46px;
}

.hero-simple .slogan {
  margin-top: 0;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.8px;
  color: #ffffff;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}

.hero-simple .hero-actions {
  justify-content: center;
}

.btn-hero {
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.btn-hero:hover {
  background: rgba(0, 0, 0, 0.46);
  border-color: rgba(255, 255, 255, 0.28);
}

.section-title-center {
  text-align: center;
}

.section-title-center h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-services .service-list {
  justify-items: center;
}

.section-services .service {
  width: 100%;
  max-width: 360px;
  text-align: left;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-simple .slogan,
.hero-simple .hero-actions {
  opacity: 0;
  animation: fadeUp 700ms ease forwards;
  animation-delay: 220ms;
}

.hero-simple .hero-actions {
  animation-delay: 360ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero-simple .slogan,
  .hero-simple .hero-actions {
    opacity: 1;
    animation: none;
  }

  .hero.hero-simple.is-loaded .hero-img {
    animation: none;
    transform: scale(1);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 26px;
  align-items: start;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  color: rgba(234, 240, 255, 0.92);
  font-size: 13px;
  width: fit-content;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

h1 {
  margin: 16px 0 10px;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
  max-width: 62ch;
}

.slogan {
  margin-top: 14px;
  font-weight: 750;
  letter-spacing: 0.3px;
  color: var(--fg);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cards {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.card {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Page header (internal pages) */
.page-hero {
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-hero-inner {
  padding: 44px 0 32px;
}

.page-hero .kicker {
  display: none;
}

.breadcrumb {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* Sections */
.section {
  padding: 58px 0;
  background: transparent;
  border-top: 0;
}

.section.section-process {
  padding-top: 44px;
}

.section.alt {
  background: transparent;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  display: grid;
  min-height: 168px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, border-color 180ms ease,
    box-shadow 220ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--border) 60%, var(--blue));
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.project-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translateY(-102%);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-card-media {
  transform: translateY(0);
}

.project-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.project-card-body {
  position: relative;
  padding: 16px;
  display: grid;
  gap: 6px;
  align-content: end;
  min-height: 168px;
}

.project-card strong {
  font-size: 14px;
}

.project-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.project-card:hover strong,
.project-card:hover span {
  color: rgba(255, 255, 255, 0.94);
}

.project-details {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.project-detail {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.project-detail {
  margin-top: 8px;
  padding: 18px 0 6px;
  transform-origin: center top;
}

.project-detail-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.about-content {
  max-width: 980px;
  margin: 0 auto;
}

.about-long-text {
  max-width: 100%;
}

.about-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.about-stat-number {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--fg);
}

.about-stat-label {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.about-focus h3 {
  margin: 0 0 10px;
  text-align: center;
}

.about-focus ul {
  margin: 0 auto;
  max-width: 76ch;
  color: var(--muted);
}

.project-detail.is-entering {
  opacity: 0;
  transform: scale(0.98);
}

.project-detail.is-leaving {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 180ms ease, transform 220ms ease;
}

.project-detail:not(.is-entering):not(.is-leaving) {
  opacity: 1;
  transform: scale(1);
  transition: opacity 220ms ease, transform 260ms ease;
}

.project-gallery {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.pg-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
}

.pg-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pg-viewport::-webkit-scrollbar {
  display: none;
}

.pg-track {
  display: flex;
  gap: 14px;
  padding: 0 2px;
}

.pg-track img {
  width: min(520px, 86%);
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  scroll-snap-align: center;
  box-shadow: none;
}

@media (max-width: 960px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .pg-btn {
    display: none;
  }
  .pg-track img {
    width: 86%;
    height: 240px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.process-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--border));
  background: color-mix(in srgb, var(--blue) 8%, var(--bg));
  opacity: 0;
  transform: translateY(6px) scale(0.88);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 520ms ease;
  will-change: transform, opacity;
}

.process-step.is-visible .process-circle {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.process-step:nth-child(1) .process-circle {
  transition-delay: 0ms;
}
.process-step:nth-child(2) .process-circle {
  transition-delay: 90ms;
}
.process-step:nth-child(3) .process-circle {
  transition-delay: 180ms;
}
.process-step:nth-child(4) .process-circle {
  transition-delay: 270ms;
}

.process-title {
  font-weight: 800;
  letter-spacing: 0.1px;
}

.process-steps-compact {
  grid-template-columns: 1fr;
}

.process-steps-compact .process-step {
  grid-template-columns: auto 1fr;
  grid-template-rows: none;
  justify-items: start;
  text-align: left;
  gap: 12px;
  align-items: center;
}

@media (max-width: 960px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-step {
    gap: 14px;
    padding-bottom: 6px;
  }
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.ref-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: auto;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 520ms ease;
}

.ref-item::after {
  content: none;
  position: absolute;
  inset: 0;
  background: rgba(71, 85, 105, 0.55);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.section.is-visible .ref-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section.is-visible .ref-item:nth-child(1) {
  transition-delay: 0ms;
}
.section.is-visible .ref-item:nth-child(2) {
  transition-delay: 90ms;
}
.section.is-visible .ref-item:nth-child(3) {
  transition-delay: 180ms;
}
.section.is-visible .ref-item:nth-child(4) {
  transition-delay: 270ms;
}
.section.is-visible .ref-item:nth-child(5) {
  transition-delay: 360ms;
}

.ref-item img {
  width: 100%;
  max-width: 210px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none;
  transform: translateZ(0);
}

.ref-item:hover::after {
  opacity: 0.42;
}

.ref-item:nth-child(1),
.ref-item:nth-child(2),
.ref-item:nth-child(3) {
  grid-column: span 2;
}

.ref-item:nth-child(4) {
  grid-column: 2 / span 2;
}

.ref-item:nth-child(5) {
  grid-column: 4 / span 2;
}

@media (max-width: 960px) {
  .ref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ref-item {
    height: auto;
  }
  .ref-item:nth-child(1),
  .ref-item:nth-child(2),
  .ref-item:nth-child(3),
  .ref-item:nth-child(4),
  .ref-item:nth-child(5) {
    grid-column: auto;
  }
}

.service {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-radius: 16px;
  padding: 16px;
  transition: transform 140ms ease, box-shadow 180ms ease, border-color 180ms ease,
    background 180ms ease;
}

.service strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.service span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.service:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--border) 60%, var(--blue));
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

[data-theme="dark"] .service:hover {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.panel {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.panel h3 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.media-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.project-carousel {
  width: 100%;
}

.pc-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.pc-track {
  display: flex;
  gap: 14px;
  align-items: stretch;
  will-change: transform;
  transform: translateX(0);
  transition: transform 820ms cubic-bezier(0.22, 1, 0.36, 1), opacity 380ms ease;
  padding: 0 14%;
  opacity: 0;
}

.project-carousel.is-ready .pc-track {
  opacity: 1;
}

.pc-slide {
  flex: 0 0 clamp(240px, 70%, 520px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: var(--shadow);
  transform: scale(0.94);
  opacity: 0.55;
  filter: grayscale(1) contrast(1.02);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 520ms ease,
    filter 520ms ease;
}

.pc-slide.is-active {
  transform: scale(1);
  opacity: 1;
  filter: none;
}

.pc-slide img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .pc-track {
    padding: 0 12%;
  }
  .pc-slide img {
    height: 260px;
  }
}

.panel ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.panel li {
  margin: 6px 0;
  line-height: 1.5;
  font-size: 13px;
}

.contact-form {
  margin-top: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.map-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  overflow: hidden;
}

.map-title {
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border-bottom: 1px solid var(--border);
}

.map-embed {
  height: 260px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field-full {
  grid-column: 1 / -1;
}

@media (max-width: 960px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  background: var(--bg);
  padding: 44px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 16px;
}

.footer .muted {
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.footer h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.footer a {
  color: var(--muted);
}

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

.footer ul {
  margin: 0;
  padding-left: 16px;
}

.footer li {
  margin: 8px 0;
  font-size: 13px;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-label {
  font-weight: 750;
  color: var(--fg);
  margin-bottom: 2px;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  font-size: 12px;
  color: var(--muted);
}

/* WhatsApp fixed button */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
}

.wa a {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #075e54;
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  color: #ffffff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.wa a:hover {
  background: #064c44;
  border-color: rgba(6, 76, 68, 0.8);
}

.wa svg {
  width: 22px;
  height: 22px;
  display: block;
}

[data-theme="dark"] .wa a {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .hero-img,
  .hero-overlay,
  .hero-simple .slogan,
  .hero-simple .hero-actions,
  .service {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    border-radius: 999px;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    padding: 14px 20px 18px;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }

  [data-theme="dark"] .nav.is-open .nav-links {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .nav.is-open .nav-links a {
    padding: 12px 12px;
    border-radius: 14px;
    color: var(--fg);
  }

  [data-theme="dark"] .nav.is-open .nav-links a:hover,
  [data-theme="dark"] .nav.is-open .nav-links a[aria-current="page"] {
    background: color-mix(in srgb, var(--blue) 18%, transparent);
    color: var(--fg);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand strong {
    display: none;
  }

  :root {
    --nav-height: 84px;
  }

  .brand img {
    height: 72px;
    transform: translateY(-2px) scale(1.48);
    animation: none;
    opacity: 1;
  }
}
