/* ============================================
   ELEVATE FLOW — One-page site
   Colors: white, dark gray, yellow
   ============================================ */

:root {
  --white: #ffffff;
  --gray-50: #f7f7f8;
  --gray-100: #ececee;
  --gray-200: #d8d8dc;
  --gray-500: #6b6b76;
  --gray-700: #3a3a44;
  --gray-900: #1f1f24;
  --yellow: #f5c518;
  --yellow-dark: #d4a90f;
  --yellow-soft: #fff8dc;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 4px 14px rgba(31, 31, 36, 0.08);
  --shadow-md: 0 12px 32px rgba(31, 31, 36, 0.12);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 3px solid rgba(245, 197, 24, 0.55);
  outline-offset: 3px;
}

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 140ms var(--ease), box-shadow 180ms var(--ease);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--yellow);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--gray-900);
  background: var(--gray-50);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  overflow: visible;
  font-weight: 800;
  color: var(--gray-900);
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-700);
  transition: color 180ms var(--ease);
}

.site-nav a:not(.btn):hover {
  color: var(--gray-900);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 70%);
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 112px);
}

.hero-inner {
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--gray-900);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--gray-500);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- Sections --- */
.section {
  padding: clamp(64px, 8vw, 96px) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
}

/* --- Services --- */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--yellow-soft);
  color: var(--gray-900);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.96rem;
}

/* --- About --- */
.about {
  background: var(--gray-50);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.about-copy p {
  margin-bottom: 16px;
  color: var(--gray-700);
}

.about-highlight {
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.about-highlight li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-highlight li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-highlight li:first-child {
  padding-top: 0;
}

.about-highlight strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-highlight span {
  display: block;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

/* --- Contact --- */
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-email-line {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.contact-email-line a {
  color: var(--gray-900);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
  transition: color 180ms var(--ease);
}

.contact-email-line a:hover {
  color: var(--yellow-dark);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.25);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--gray-500);
  min-height: 1.4em;
}

.form-status.success {
  color: #1d6b3a;
  font-weight: 600;
}

.form-status.error {
  color: #b42318;
  font-weight: 600;
}

/* --- Footer --- */
.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 28px 0;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms var(--ease);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a:not(.btn) {
    padding: 12px;
    border-radius: var(--radius);
  }

  .site-nav a:not(.btn):hover {
    background: var(--gray-50);
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 6px;
  }

  .site-header {
    position: relative;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
