/* DivineCode Studio — warm peach & orange (light theme) */
:root {
  --peach: #fdebd0;
  --peach-soft: #fff5e8;
  --peach-mid: #f5e0c4;
  --white: #ffffff;
  --ink: #3d2f26;
  --ink-soft: #5c4d42;
  --ink-muted: #7a6a5e;
  --orange: #e67e22;
  --orange-dark: #d35400;
  --orange-soft: rgba(230, 126, 34, 0.14);
  --burgundy: #5c2023;
  --border-light: rgba(61, 47, 38, 0.08);
  --border-orange: rgba(230, 126, 34, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 4px 24px rgba(61, 47, 38, 0.06);
  --shadow-md: 0 12px 40px rgba(61, 47, 38, 0.08);
  --shadow-orange: 0 8px 28px rgba(230, 126, 34, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.65;
  background-color: var(--peach);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 100% 70% at 10% 0%, rgba(255, 255, 255, 0.85), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(230, 126, 34, 0.08), transparent 45%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(253, 235, 208, 1), var(--peach));
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23E67E22' stop-opacity='0.2'/%3E%3Cstop offset='100%25' stop-color='%235C2023' stop-opacity='0.12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='0.35'%3E%3Ccircle cx='400' cy='400' r='260'/%3E%3Ccircle cx='400' cy='400' r='180'/%3E%3Ccircle cx='400' cy='400' r='100'/%3E%3Cpath d='M400 140 L400 660 M140 400 L660 400'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 820px 820px;
  background-position: center 15%;
  background-repeat: no-repeat;
  pointer-events: none;
}

a {
  color: var(--orange-dark);
  text-decoration: none;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--burgundy);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  filter: drop-shadow(0 4px 12px rgba(230, 126, 34, 0.2));
}

.brand-mark {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-orange);
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  letter-spacing: 0.04em;
}

.nav-toggle:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--burgundy));
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-list a:hover {
  color: var(--ink);
}

.nav-list a:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4vw 1.5rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 0.6rem 0;
  }
}

/* —— Section rhythm —— */
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin: 0 0 0.5rem;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-sub {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  max-width: 640px;
  font-size: 1.02rem;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 2.5rem;
  max-width: 120px;
  opacity: 0.9;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 126, 34, 0.45), transparent);
}

.section-divider span {
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

section {
  position: relative;
  padding: 4rem 0;
}

main > section:not(.hero):nth-of-type(even) {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.42) 40%, transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

/* —— Hero + wave —— */
.hero {
  position: relative;
  padding: 3rem 0 5.5rem;
  border-bottom: none;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(72px, 12vw, 120px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.65' d='M0,64L80,58.7C160,53,320,43,480,48C640,53,800,75,960,74.7C1120,75,1280,53,1360,42.7L1440,32L1440,120L1360,120C1280,120,1120,120,960,120C800,120,640,120,480,120C320,120,160,120,80,120L0,120Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='0.9' d='M0,88L60,85.3C120,83,240,77,360,74.7C480,72,600,72,720,77.3C840,83,960,93,1080,90.7C1200,88,1320,72,1380,64L1440,56L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-card {
    text-align: left;
  }
}

.hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange-dark);
}

.tagline {
  font-size: 0.95rem;
  color: var(--orange-dark);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1.35rem;
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.55;
  border-radius: 2px;
}

.hero-card h2 {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.hero-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-glow-ring {
  position: absolute;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.18) 0%, transparent 68%);
  filter: blur(18px);
  animation: pulse-glow 5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.hero-logo-frame {
  position: relative;
  z-index: 1;
  padding: 2rem 2.25rem 2.5rem;
  background: linear-gradient(165deg, var(--white), var(--peach-soft));
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--orange-soft);
  max-width: 340px;
  margin: 0 auto;
}

.hero-logo-frame img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(61, 47, 38, 0.12));
}

.circuit-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  border: 1px dashed rgba(230, 126, 34, 0.28);
  animation: spin-slow 48s linear infinite;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .circuit-accent {
    animation: none;
  }

  .hero-glow-ring {
    animation: none;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.45rem;
  border: 1px solid var(--border-light);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--border-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--orange-soft);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.5;
}

.stat strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.tech-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-row {
  background: var(--white);
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--orange);
  box-shadow: var(--shadow-sm);
}

.tech-row h3 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange-dark);
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  font-size: 0.82rem;
  padding: 0.38rem 0.85rem;
  background: var(--peach-soft);
  border-radius: 999px;
  color: var(--ink-soft);
  border: 1px solid var(--border-light);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tag:hover {
  background: var(--orange-soft);
  border-color: var(--border-orange);
  box-shadow: 0 2px 12px rgba(230, 126, 34, 0.12);
}

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.domain-pill {
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, var(--white), var(--peach-soft));
  border: 1px solid var(--border-orange);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.domain-pill:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.model-card {
  padding: 1.35rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.model-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

.model-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.model-card span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 1.15rem;
}

.quote-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--burgundy);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}

.quote-card:hover {
  box-shadow: var(--shadow-md);
}

.quote-card blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

.quote-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.quote-card .role {
  font-size: 0.82rem;
  color: var(--orange-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--burgundy), var(--orange));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-orange);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.client-tile {
  background: var(--white);
  padding: 1.3rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.client-tile:hover {
  transform: translateY(-2px);
  border-color: var(--border-orange);
}

.client-tile strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.client-tile span {
  font-size: 0.88rem;
  color: var(--orange-dark);
  font-weight: 600;
}

.global-note {
  margin-top: 1.75rem;
  padding: 1.15rem 1.35rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  border: 1px dashed var(--border-orange);
  text-align: center;
  color: var(--ink-soft);
}

.global-note strong {
  color: var(--ink);
}

.contact-section {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35));
  border-top: 1px solid var(--border-light);
}

.contact-form-shell {
  max-width: 560px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 2.25rem;
  align-items: start;
}

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

.contact-info p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.contact-info strong {
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}

.contact-info a {
  font-weight: 600;
}

.contact-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 1.5rem;
  line-height: 1.5;
}

.contact-note code {
  font-size: 0.78rem;
  background: var(--peach-mid);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--ink-soft);
}

.form-card {
  background: var(--white);
  padding: 1.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
}

.form-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.35), transparent 45%, rgba(92, 32, 35, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-row {
  margin-bottom: 1.05rem;
  position: relative;
  z-index: 1;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.label-hint {
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: normal;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--peach-soft);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.85;
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row input:hover,
.form-row textarea:hover {
  border-color: var(--border-orange);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--orange-soft);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-block;
  padding: 0.82rem 1.75rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white) !important;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-orange);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(230, 126, 34, 0.35);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: var(--white) !important;
  color: var(--orange-dark) !important;
  border: 2px solid var(--orange) !important;
  box-shadow: none !important;
}

.btn-ghost:hover {
  background: var(--orange-soft) !important;
  border-color: var(--orange-dark) !important;
  filter: none;
  box-shadow: var(--shadow-sm) !important;
}

.form-msg {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
  animation: form-msg-in 0.45s ease;
}

@keyframes form-msg-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-msg {
    animation: none;
  }
}

.btn:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none;
}

.btn[aria-busy='true'] {
  pointer-events: none;
}

.form-msg.ok {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-msg.err {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ffcdd2;
}

.site-footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--peach-soft), var(--peach));
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
}

/* Floating callback tab (reference-style) */
.float-callback {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 44px;
  text-decoration: none;
  color: inherit;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  box-shadow: -4px 8px 24px rgba(61, 47, 38, 0.12);
  transition: width 0.2s ease, box-shadow 0.2s ease;
}

.float-callback:hover {
  box-shadow: -6px 12px 32px rgba(230, 126, 34, 0.2);
}

.float-callback__icon {
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  color: var(--white);
  width: 100%;
  padding: 0.65rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.float-callback__label {
  background: var(--white);
  color: var(--ink);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 0.35rem;
  border-left: 1px solid var(--border-light);
}

@media (max-width: 900px) {
  .float-callback {
    top: auto;
    bottom: 1.25rem;
    transform: none;
    flex-direction: row;
    width: auto;
    right: 1rem;
    border-radius: 999px;
  }

  .float-callback__label {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0.65rem 1rem 0.65rem 0.25rem;
    border-left: none;
    font-size: 0.72rem;
  }

  .float-callback__icon {
    width: auto;
    padding: 0.65rem 0.85rem;
    border-radius: 999px 0 0 999px;
  }
}
