/* ===== Elit Copy — Design System ===== */
@font-face {
  font-family: 'Neuropol X';
  src: url('../assets/fonts/Neuropol%20X%20Rg.otf') format('opentype');
  font-display: swap;
}

:root {
  --color-bg: #f7f6f3;
  --color-bg-elevated: #efede8;
  --color-bg-card: #ffffff;
  --color-surface: #e8e6e1;
  --color-border: rgba(26, 35, 50, 0.09);
  --color-text: #1a2332;
  --color-text-muted: #5c6678;
  --color-accent: #a82f45;
  --color-accent-light: #c04458;
  --color-accent-dark: #8a2236;
  --color-accent-glow: rgba(168, 47, 69, 0.11);
  --color-navy: #1a2332;
  --color-gold: #b8956b;
  --color-gold-soft: rgba(184, 149, 107, 0.14);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-lg: 0 20px 50px rgba(26, 35, 50, 0.1);
  --shadow-md: 0 8px 28px rgba(26, 35, 50, 0.08);
  --shadow-sm: 0 2px 12px rgba(26, 35, 50, 0.06);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
  --container: 1200px;
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* Blueprint grid background */
.blueprint-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 47, 69, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 47, 69, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 246, 243, 0.94));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}

.logo-image {
  display: block;
  width: 92px;
  height: auto;
  max-height: 92px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  filter: saturate(1.15) contrast(1.08);
  transition: transform var(--transition), filter var(--transition);
}

.logo:hover .logo-image {
  transform: scale(1.04);
  filter: saturate(1.3) contrast(1.12);
}

.logo-text {
  font-family: 'Neuropol X', var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.logo-accent {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 100%;
}

.nav-links a.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--color-accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-glow);
}

.btn-nav {
  padding: 10px 20px;
  background: var(--color-accent);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
}

.btn-nav:hover {
  background: var(--color-accent-light);
  color: #ffffff !important;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  z-index: 1;
  overflow: hidden;
  --mouse-x: 0px;
  --mouse-y: 0px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(168, 47, 69, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
  padding-block: 80px 120px;
  transform: translate(calc(var(--mouse-x) * 0.3), calc(var(--mouse-y) * 0.3));
  transition: transform 0.5s ease-out;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
  animation: glowFloat 12s ease-in-out infinite;
}

.hero-glow-1 {
  width: 420px;
  height: 420px;
  top: 10%;
  right: -8%;
  background: rgba(168, 47, 69, 0.08);
}

.hero-glow-2 {
  width: 320px;
  height: 320px;
  bottom: 15%;
  left: -5%;
  background: var(--color-gold-soft);
  animation-delay: -6s;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 15px) scale(1.05); }
}

.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.12s * var(--i) + 0.2s);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  max-width: 620px;
  text-align: left;
}

.hero-desc {
  margin-inline: 0;
}

.hero-actions {
  justify-content: flex-start;
}

.hero-stats {
  justify-content: flex-start;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--color-accent-glow);
  border-radius: 100px;
  border: 1px solid rgba(168, 47, 69, 0.18);
  animation: eyebrowPulse 4s ease-in-out infinite;
}

@keyframes eyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 47, 69, 0); }
  50% { box-shadow: 0 0 0 6px rgba(168, 47, 69, 0.06); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 28px -24px -24px 28px;
  border: 1px solid rgba(184, 149, 107, 0.34);
  border-radius: var(--radius-lg);
  transform: rotate(3deg);
  z-index: -1;
}

.hero-visual-frame {
  position: relative;
  height: 500px;
  overflow: hidden;
  border: 8px solid #ffffff;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  box-shadow: 0 24px 55px rgba(26, 35, 50, 0.18);
  transform: rotate(-2deg);
}

.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 15, 24, 0.7));
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-visual:hover .hero-visual-frame img {
  transform: scale(1.05);
}

.hero-visual-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(26, 35, 50, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.hero-floating-card-top {
  top: 54px;
  right: -32px;
}

.hero-floating-card-bottom {
  bottom: 38px;
  left: -42px;
}

.floating-card-icon,
.floating-card-check {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  color: var(--color-accent);
  background: var(--color-accent-glow);
  font-family: var(--font-display);
  font-weight: 700;
}

.floating-card-check {
  color: #ffffff;
  background: #2f8c68;
  font-family: var(--font-body);
}

.hero-floating-card strong,
.hero-floating-card small {
  display: block;
  white-space: nowrap;
}

.hero-floating-card strong {
  font-size: 0.78rem;
}

.hero-floating-card small {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 0.7rem;
}

.hero-visual-stamp {
  position: absolute;
  right: 26px;
  bottom: -30px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(184, 149, 107, 0.8);
  border-radius: 50%;
  color: var(--color-accent);
  background: var(--color-bg);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(8deg);
  box-shadow: var(--shadow-md);
}

.hero-visual-stamp small {
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat {
  transition: transform var(--transition);
}

.stat:hover {
  transform: translateY(-3px);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}

.blueprint-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blueprint-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.blueprint-card-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-muted);
  opacity: 0.4;
}

.blueprint-card-header .dot:first-child { background: #ff5f57; opacity: 1; }
.blueprint-card-header .dot:nth-child(2) { background: #febc2e; opacity: 1; }
.blueprint-card-header .dot:nth-child(3) { background: #28c840; opacity: 1; }

.blueprint-label {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-blueprint);
}

.blueprint-card-body {
  padding: 24px;
}

.blueprint-svg {
  width: 100%;
  color: var(--color-blueprint);
  opacity: 0.8;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.badge-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--color-accent-glow);
  color: var(--color-accent);
  border-radius: 50%;
  font-weight: 700;
}

.hero-badge strong {
  display: block;
  font-size: 0.9rem;
}

.hero-badge span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Sections ===== */
.section {
  position: relative;
  padding-block: 100px;
  z-index: 1;
}

.section-header {
  margin-bottom: 56px;
}

.section-header-center {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  padding-block: 80px 100px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-tag::before,
.section-tag::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-accent), transparent);
  border-radius: 999px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .lead {
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--color-text);
}

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

.about-features {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-features li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px;
  margin: -16px;
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition);
}

.about-features li:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(6px);
}

.feature-icon {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.6;
}

.about-features strong {
  display: block;
  margin-bottom: 4px;
}

.about-features p {
  font-size: 0.9rem;
  margin: 0;
}

.about-visual {
  position: relative;
}

.about-image {
  aspect-ratio: 4/3;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: transform var(--transition-spring), filter var(--transition), opacity 0.9s ease-in-out;
}

.about-photo.is-changing {
  opacity: 0;
}

.about-image:hover .about-photo {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.about-quote {
  margin-top: 24px;
  padding: 24px;
  background: var(--color-bg-card);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.about-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.about-quote cite {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* ===== Services ===== */
.services {
  background: var(--color-bg-elevated);
}

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

.service-card {
  position: relative;
  padding: 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 47, 69, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(168, 47, 69, 0.22);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-card-featured {
  grid-row: span 1;
  background: linear-gradient(145deg, #ffffff, rgba(168, 47, 69, 0.04));
  border-color: rgba(168, 47, 69, 0.16);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 20px;
  transition: transform var(--transition-spring);
  position: relative;
  z-index: 1;
}

.service-card h3,
.service-card p,
.service-tag {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.service-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  background: var(--color-accent-glow);
  border-radius: 100px;
}

/* ===== Process ===== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.process-step {
  text-align: center;
  padding: 24px;
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.4;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border), var(--color-accent), var(--color-border));
  margin-top: 48px;
  opacity: 0.5;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding-block: 64px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.12), rgba(74, 158, 255, 0.06));
  border-block: 1px solid var(--color-border);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

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

.phone-icon {
  font-size: 1.2rem;
}

/* ===== Gallery ===== */
.gallery {
  background: var(--color-bg-elevated);
}

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

.gallery-item {
  height: 220px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 0;
  transition: transform var(--transition-spring), border-color var(--transition), box-shadow var(--transition);
}

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

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(168, 47, 69, 0.22);
  box-shadow: var(--shadow-lg);
}

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

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin-inline: auto;
}

.contact-map {
  grid-column: 1 / -1;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(168, 47, 69, 0.15);
}

.contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.contact-card a {
  color: var(--color-accent);
  transition: color var(--transition);
}

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

.contact-map {
  margin-top: 0;
}

.map-placeholder {
  aspect-ratio: 16/9;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.map-placeholder span {
  font-weight: 600;
  color: var(--color-text);
}

.map-placeholder small {
  display: none;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsappPulse 3s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
}

.contact-form {
  padding: 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

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

.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2em;
}

.form-note.success {
  color: #28c840;
}

.form-note.error {
  color: #ff5f57;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

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

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

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

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===== Animations on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  transform: translateX(-28px);
}

.reveal-left.visible {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-right.visible {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal-scale.visible {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .blueprint-grid {
    animation: none;
  }

  .hero-animate {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 48px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual-frame {
    height: 420px;
  }

  .hero-floating-card-top {
    right: -16px;
  }

  .hero-floating-card-bottom {
    left: -18px;
  }

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
    padding-block: 58px 104px;
  }

  .hero-content {
    text-align: center;
    margin-inline: auto;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 560px);
    min-height: 390px;
    margin-inline: auto;
  }

  .hero-visual-frame {
    height: 390px;
  }

  .hero-visual-stamp {
    right: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

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

  .gallery-item {
    height: 180px;
    padding: 0;
  }

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

  .hero-scroll {
    display: none;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
}

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

  .section-tag {
    gap: 8px;
    letter-spacing: 0.11em;
  }

  .section-tag::before,
  .section-tag::after {
    width: 14px;
  }
}
