/* ===== QApps — styles.css ===== */

:root {
  --brand: #73182c;
  --brand-dark: #57101f;
  --brand-deep: #3c0915;
  --accent: #e3a857;
  --accent-dark: #c4853b;
  --ink: #2b2226;
  --ink-soft: #574a4f;
  --ink-faint: #6f6165;
  --bg: #ffffff;
  --bg-alt: #f8f4f2;
  --line: #ece3e1;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(115, 24, 44, 0.10);
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-wordmark {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.01em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

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

/* ===== Hero ===== */

.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(227, 168, 87, 0.20), transparent 60%),
    linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 70%, var(--brand-dark) 100%);
  color: #fff;
  padding: 96px 0 88px;
}

.hero-inner { max-width: 780px; }

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--brand-deep);
  box-shadow: 0 4px 18px rgba(227, 168, 87, 0.35);
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost:hover { border-color: #fff; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats li { display: flex; flex-direction: column; }

.hero-stats strong { font-size: 1.15rem; color: var(--accent); }

.hero-stats span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

/* ===== Sections ===== */

.section { padding: 88px 0; }

.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.section-lead {
  color: var(--ink-faint);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ===== Service cards ===== */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin-top: 24px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(115, 24, 44, 0.25);
}

.card-icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(115, 24, 44, 0.10), rgba(227, 168, 87, 0.16));
  color: var(--brand);
}

.card-icon svg { width: 100%; height: 100%; }

.card h3 { font-size: 1.25rem; color: var(--brand-deep); }

.card > p { color: var(--ink-soft); font-size: 0.98rem; }

.card-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.card-list li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
}

/* ===== Process ===== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  counter-reset: step;
}

.process-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.process-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.process-step h3 { font-size: 1.1rem; color: var(--brand-deep); }

.process-step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ===== About ===== */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.about-grid p { color: var(--ink-soft); }

.ticks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding: 7px 0 7px 32px;
  font-weight: 500;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-dark);
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
}

.about-panel {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: var(--radius);
  background:
    radial-gradient(400px 260px at 80% 20%, rgba(227, 168, 87, 0.28), transparent 65%),
    linear-gradient(150deg, var(--brand-deep), var(--brand));
}

.about-panel-card {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.about-panel-card p { margin: 6px 0; }

.about-panel-card strong { color: #fff; font-size: 1.1rem; }

.logo-mark-lg {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 2.6rem;
  color: #fff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ===== Contact ===== */

.section-contact {
  background:
    radial-gradient(900px 400px at 15% 110%, rgba(227, 168, 87, 0.18), transparent 60%),
    linear-gradient(160deg, var(--brand-deep), var(--brand-dark));
  color: #fff;
}

.section-contact .section-title { color: #fff; }

.section-contact .section-eyebrow { color: var(--accent); }

.section-contact .section-lead { color: rgba(255, 255, 255, 0.75); }

.contact-inner { text-align: center; }

.section-contact .section-lead { margin-left: auto; margin-right: auto; }

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

a.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-value { color: #fff; font-weight: 600; }

/* ===== Footer ===== */

.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.footer-inner p { margin: 0; }

/* ===== Responsive ===== */

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-methods { grid-template-columns: 1fr; }
}

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

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav a:last-child { border-bottom: none; }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-radius: 10px;
  }

  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .process { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
