/* ===== CSS Variables (mockup palette) ===== */
:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-accent: #F26522;
  --color-accent-hover: #d9561a;
  --color-accent-light: #FEF3EC;
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;
  --color-navy: #111827;

  --font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5rem;

  --container-max: 75rem;
  --header-height: 5rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 4px 20px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 12px 40px rgba(17, 24, 39, 0.1);

  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

address { font-style: normal; }

/* ===== Shared ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: var(--space-xl);
}

.eyebrow {
  margin: 0 0 var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.section-header { margin-bottom: var(--space-lg); }

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

.section-header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

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

.btn-outline {
  background: #fff;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-light);
}

.btn-sm {
  padding: 0.5625rem 1.125rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-md);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-navy);
  flex-shrink: 0;
}

.logo:hover { color: var(--color-navy); }

.logo-icon { flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav .nav-list {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--color-navy); }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--color-navy);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding-block: var(--space-xl) var(--space-2xl);
  background: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-content { max-width: 34rem; }

.hero h1 {
  margin: 0 0 var(--space-md);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-navy);
}

.hero-subheadline {
  margin: 0 0 var(--space-lg);
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
}

/* ===== Services ===== */
.services {
  background: #fff;
  border-top: 1px solid var(--color-border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.service-card {
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: var(--space-sm);
  min-height: 2rem;
}

.service-card h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.service-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ===== About ===== */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-content h2 {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.about-content > p {
  margin: 0 0 var(--space-lg);
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.about-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-navy);
}

.about-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.about-visual {
  border-radius: var(--radius-xl);
}

.about-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

/* ===== Contact ===== */
.contact {
  background: var(--color-border-light);
  border-top: 1px solid var(--color-border);
}

.contact-content {
  text-align: left;
}

.contact-content h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.contact-intro {
  margin: 0 0 var(--space-lg);
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-accent);
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.contact-detail-value,
.contact-item-body a {
  color: var(--color-navy);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-item-body a {
  font-weight: 500;
}

.contact-item-body a:hover {
  color: var(--color-accent);
}

/* ===== Footer ===== */
.site-footer.is-hidden,
.site-footer[hidden] {
  display: none;
}

.site-footer {
  padding-block: var(--space-lg);
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
}

.footer-logo:hover { color: #fff; }

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-logo-name {
  font-size: 0.9375rem;
  font-weight: 700;
}

.footer-logo-tagline {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-links a:hover { color: #fff; }

.footer-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.875rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  text-align: right;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 64rem) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .hero-visual { order: -1; }

  .hero-illustration { max-width: 420px; }

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

  .footer-logo,
  .footer-links { justify-content: center; }

  .footer-copy { text-align: center; }
}

@media (max-width: 48rem) {
  .nav-toggle { display: flex; }

  .header-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) clamp(1rem, 4vw, 2rem);
    display: none;
    box-shadow: var(--shadow-md);
  }

  .header-actions.is-open { display: flex; }

  .site-nav .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.625rem 0;
  }

  .header-cta { margin-top: var(--space-xs); }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .section { padding-block: var(--space-lg); }

  .hero { padding-block: var(--space-lg); }
}
