/* ===== Outsorvio — Brand Styles ===== */
:root {
  --bg: #F7F8F3;
  --bg-soft: #FFFFFF;
  --bg-warm: #EDF6EE;
  --ink: #111827;
  --ink-soft: #3F4756;
  --muted: #6B7280;
  --line: #DDE3EA;
  --accent: #E65D3F;
  --accent-deep: #B83D26;
  --accent-soft: #F7C8B8;
  --dark: #101828;
  --white: #FFFFFF;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --serif: 'Libre Baskerville', 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(26, 18, 12, 0.06);
  --shadow: 0 6px 18px rgba(26, 18, 12, 0.08);
  --shadow-lg: 0 22px 40px -12px rgba(26, 18, 12, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 96px 0; position: relative; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.8vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before, .eyebrow.center::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.eyebrow.center { display: inline-flex; }
.italic-accent { font-style: italic; color: var(--accent); }

p { color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }

/* ===== Nav ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 241, 229, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229, 218, 197, 0.6);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-tile {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #E25C3F 0%, #BC4528 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 2px 6px rgba(188, 69, 40, 0.25);
}
.brand-tile img { width: 70%; height: 70%; object-fit: contain; }
.brand-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-warm);
  padding: 3px 9px;
  border-radius: 99px;
  margin-left: 6px;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.93rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
  border-radius: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: #000; transform: translateY(-1px); }
.menu-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-warm); }
  .menu-toggle span { width: 18px; height: 2px; background: var(--ink); display: block; position: relative; }
  .menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
  .menu-toggle span::before { top: -6px; }
  .menu-toggle span::after { top: 6px; }
  .nav-wrap.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .nav-wrap.open .nav-cta {
    display: inline-flex;
    margin: 0 24px 22px;
    width: calc(100% - 48px);
    justify-content: center;
  }
  .nav-wrap.open .nav-links { box-shadow: var(--shadow); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(226, 92, 63, 0.3);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(226, 92, 63, 0.36); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 30%, rgba(226, 92, 63, 0.16), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { max-width: 18ch; margin: 24px auto 22px; }
.hero .lead { margin: 0 auto 32px; text-align: center; }
.hero-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.status-pills {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.status-pills .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}
.status-pills .pill strong { color: var(--ink); font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.dot.green { background: #1FA060; }
.dot.muted { background: #C9BFA9; }

/* ===== Hero mockup ===== */
.hero-mockup {
  margin-top: 56px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.mockup-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.mockup-tabs { display: flex; gap: 12px; align-items: center; font-size: 0.82rem; color: var(--muted); }
.mockup-tabs .crumb { color: var(--ink); font-weight: 600; }
.mockup-search {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 8px;
  font-size: 0.82rem; color: var(--muted);
}
.kpi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.kpi {
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.kpi::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}
.kpi:nth-child(2)::after { background: linear-gradient(90deg, #4F7FFF, #A8C0FF); }
.kpi:nth-child(3)::after { background: linear-gradient(90deg, #1FA060, #7BD2A6); }
.kpi-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.kpi-value { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--ink); letter-spacing: -0.02em; }
.kpi-trend { margin-top: 6px; font-size: 0.78rem; color: #1FA060; font-weight: 500; }

@media (max-width: 720px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .mockup-search { display: none; }
}

/* ===== Section header ===== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head h2 { max-width: 18ch; margin: 18px auto 14px; }
.section-head p { max-width: 56ch; margin: 0 auto; }

/* ===== Numbered Feature Rows ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: 0; }
.feature-text { position: relative; }
.feature-num {
  position: absolute;
  top: 4px; right: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--accent);
  font-size: 0.95rem;
}
.feature-text h3 { margin-bottom: 16px; padding-right: 50px; }
.feature-text p { margin-bottom: 18px; }
.feature-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.feature-link:hover { color: var(--accent); border-color: var(--accent); }

.feature-visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .feature-row.reverse > div:first-child { order: 2; }
}

/* ===== Chat Mockup ===== */
.chat-mock { display: flex; flex-direction: column; gap: 10px; min-height: 320px; }
.chat-msg {
  max-width: 78%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.chat-msg.bot {
  background: var(--bg-warm);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--dark);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg .meta { display: block; font-size: 0.7rem; color: var(--muted); margin-bottom: 4px; }
.chat-msg.user .meta { color: rgba(255,255,255,0.5); }
.typing { color: var(--accent); font-size: 0.78rem; align-self: flex-start; padding-left: 6px; display: flex; gap: 8px; align-items: center; }
.typing-dots { display: inline-flex; gap: 3px; }
.typing-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: bounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ===== Workflow visual ===== */
.workflow {
  display: flex; flex-direction: column; gap: 12px;
}
.wf-step {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.wf-step .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid; place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.wf-step .content { flex: 1; }
.wf-step .content strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.wf-step .content span { font-size: 0.82rem; color: var(--muted); }
.wf-step .badge { font-size: 0.7rem; padding: 4px 8px; border-radius: 6px; background: rgba(31, 160, 96, 0.12); color: #1FA060; font-weight: 600; letter-spacing: 0.04em; }

/* ===== Lead pipeline ===== */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pipe-col { background: var(--bg-soft); border-radius: var(--radius); padding: 14px; border: 1px solid var(--line); min-height: 240px; }
.pipe-head { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.pipe-head .count { background: var(--white); padding: 2px 8px; border-radius: 99px; color: var(--ink); }
.pipe-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.pipe-card .name { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.pipe-card .desc { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.pipe-card .tag { display: inline-block; margin-top: 6px; font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }

/* ===== 3-col proof ===== */
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.proof-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proof-card .num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.proof-card h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 18px 0 8px; }
.proof-card p { font-size: 0.95rem; }
@media (max-width: 880px) {
  .proof-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
}

/* ===== Case study cards ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card .industry { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.case-card h3 { font-size: 1.3rem; line-height: 1.2; }
.case-card .metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.case-card .metric .v { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.case-card .metric .l { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.case-card .quote { font-style: italic; color: var(--ink-soft); font-size: 0.92rem; padding: 12px 0; border-left: 3px solid var(--accent); padding-left: 14px; margin: 6px 0; }
.case-card .quote-by { font-size: 0.78rem; color: var(--muted); margin-top: 4px; font-style: normal; }
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr; } }

/* ===== Pricing/Service tiles ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.svc-card.featured { border-color: var(--accent); box-shadow: 0 12px 30px rgba(226, 92, 63, 0.15); }
.svc-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: 18px; right: 18px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent); color: #fff;
  padding: 4px 10px; border-radius: 99px;
}
.svc-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.svc-card .tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.svc-card .price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.svc-card .price small { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.svc-card .desc { color: var(--ink-soft); margin: 12px 0 22px; font-size: 0.95rem; }
.svc-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.svc-card li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); align-items: flex-start; }
.svc-card li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.svc-card .btn { margin-top: auto; justify-content: center; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }

/* ===== Process steps ===== */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 40px; }
.process-step .step-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3rem;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.process-step h4 { font-family: var(--serif); font-size: 1.3rem; margin: 14px 0 10px; }
@media (max-width: 880px) { .process { grid-template-columns: 1fr; gap: 24px; } }

/* ===== Dark CTA ===== */
.cta-dark {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 100%, rgba(226, 92, 63, 0.45), transparent 70%);
  pointer-events: none;
}
.cta-dark > * { position: relative; z-index: 1; }
.cta-dark h2 { color: #fff; max-width: 18ch; margin: 0 auto 16px; }
.cta-dark p { color: rgba(255,255,255,0.7); max-width: 50ch; margin: 0 auto 28px; }
.cta-dark .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-dark .btn-secondary:hover { border-color: #fff; }

/* ===== Footer ===== */
footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand p { font-size: 0.92rem; color: var(--muted); margin-top: 14px; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ===== Page-specific ===== */
.page-hero {
  padding: 80px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 50% at 50% 20%, rgba(226, 92, 63, 0.12), transparent 70%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; margin: 18px auto 18px; }
.page-hero p { max-width: 56ch; margin: 0 auto; }

/* ===== Form ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }

.contact-side h3 { margin-bottom: 16px; }
.contact-side .info-row { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-side .info-row:last-child { border-bottom: 0; }
.contact-side .info-row .icon-tile { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.contact-side .info-row strong { display: block; color: var(--ink); margin-bottom: 2px; }
.contact-side .info-row span { color: var(--muted); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-q { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: '+'; font-family: var(--sans); font-size: 1.5rem; color: var(--accent); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding-top: 12px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
.faq-item.open .faq-a { display: block; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.divider {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin: 24px 0;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); max-width: 80px; }

/* ===== Outsorvio storefront homepage ===== */
.storefront-home { background: #fff; color: var(--ink); }
.top-strip {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  background: var(--dark); color: #fff; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; padding: 10px 16px; text-align: center;
}
.shop-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.9); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.shop-nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 72px; gap: 24px;
}
.shop-brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-weight: 800; letter-spacing: 0; }
.shop-brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0;
  background: transparent;
}
.shop-brand-mark img { width: 42px; height: 42px; }
.shop-links { display: flex; gap: 28px; font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.shop-links a:hover, .shop-actions a:hover, .store-footer a:hover { color: var(--accent); }
.shop-actions { justify-self: end; display: flex; align-items: center; gap: 18px; font-size: 0.92rem; font-weight: 700; }
.cart-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--dark); border-radius: 4px; }

.store-hero {
  position: relative; min-height: calc(100vh - 112px); padding: 0;
  display: grid; align-items: end; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,24,40,0.84), rgba(16,24,40,0.42) 52%, rgba(16,24,40,0.08));
}
.store-hero-grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0,1.04fr) minmax(320px,0.64fr);
  align-items: end; gap: 44px; padding-top: 110px; padding-bottom: 54px;
}
.store-hero-copy { color: #fff; max-width: 700px; }
.store-hero-copy h1 {
  color: #fff; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.98; letter-spacing: 0; max-width: 10ch; margin-bottom: 24px;
}
.store-hero-copy p { color: rgba(255,255,255,0.84); max-width: 58ch; font-size: 1.08rem; }
.store-hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.storefront-panel {
  background: rgba(255,255,255,0.94); border: 1px solid rgba(255,255,255,0.55);
  border-radius: 8px; padding: 18px; box-shadow: 0 28px 70px rgba(16,24,40,0.28);
}
.panel-header, .automation-line {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
}
.panel-header strong { color: #10825a; }
.panel-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.panel-metrics div { background: #f5f7fb; border: 1px solid var(--line); border-radius: 7px; padding: 16px 12px; }
.panel-metrics strong { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.panel-metrics span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.78rem; }
.conversation-card { background: var(--dark); color: #fff; border-radius: 8px; padding: 18px; margin-bottom: 14px; }
.conversation-card span { color: #7bd4ad; font-size: 0.78rem; font-weight: 700; }
.conversation-card p { color: #fff; margin-top: 8px; }
.automation-line span { background: #eaf7ef; color: #116343; border-radius: 999px; padding: 7px 9px; letter-spacing: 0; text-transform: none; }

.contact-banner { padding: 34px 0; background: #f5f7fb; border-bottom: 1px solid var(--line); }
.contact-banner-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.contact-banner h2, .shop-section-head h2, .faq-layout h2, .about-store h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: 0;
}
.contact-banner p { max-width: 76ch; margin-top: 8px; }
.contact-banner a { font-weight: 800; border-bottom: 2px solid var(--accent); }
.merch-section, .catalog-section, .process-section, .collections-section, .faq-store-section, .about-store { padding: 84px 0; }
.catalog-section { background: #f5f7fb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-section { background: #fff; }
.shop-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.shop-section-head p { max-width: 48ch; }

.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offer-card, .package-card { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 18px; }
.offer-card { display: flex; flex-direction: column; min-height: 100%; }
.offer-art {
  min-height: 210px; border-radius: 6px; display: grid; place-items: center;
  margin-bottom: 18px; overflow: hidden; position: relative;
}
.offer-art::before, .offer-art::after { content: ""; position: absolute; border-radius: 999px; }
.offer-art::before { width: 150px; height: 150px; background: rgba(255,255,255,0.45); }
.offer-art::after { width: 72px; height: 72px; border: 1px solid rgba(255,255,255,0.55); transform: translate(54px, -44px); }
.offer-art span {
  position: relative; z-index: 1; font-weight: 900; letter-spacing: 0.04em; color: #fff;
  background: rgba(16,24,40,0.78); border-radius: 999px; padding: 12px 16px;
}
.offer-art svg {
  position: relative; z-index: 1; width: 80px; height: 80px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.18));
}
.chatbot-art { background: linear-gradient(135deg, #123c69, #1aa06f); }
.web-art { background: linear-gradient(135deg, #e65d3f, #f5b556); }
.automation-art { background: linear-gradient(135deg, #101828, #64748b); }
.voice-art { background: linear-gradient(135deg, #29524a, #d8b64c); }
.offer-card h3, .package-card h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 10px; letter-spacing: 0; }
.offer-card p, .package-card p { font-size: 0.94rem; }
.offer-price { margin-top: auto; padding-top: 16px; font-weight: 900; font-size: 1.05rem; }
.offer-price span { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.offer-card a:not(.btn) { margin-top: 14px; font-weight: 800; color: var(--accent-deep); }

.testimonial-band { padding: 72px 0; background: var(--dark); color: #fff; }
.testimonial-band blockquote {
  margin: 0 auto; max-width: 920px; text-align: center; font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.18;
}
.testimonial-band blockquote span { display: block; font-family: var(--sans); font-size: 0.85rem; color: #7bd4ad; font-weight: 800; margin-bottom: 18px; }
.press-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 42px; color: rgba(255,255,255,0.72); text-align: center; font-family: var(--serif); font-size: 1.4rem; }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.package-card { display: flex; flex-direction: column; min-height: 520px; padding: 28px; }
.package-card.featured { border: 2px solid var(--accent); box-shadow: 0 20px 48px rgba(230,93,63,0.16); }
.package-price { font-family: var(--serif); font-size: 2rem; margin: 24px 0 18px; }
.package-card ul { display: flex; flex-direction: column; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.package-card li { display: flex; gap: 10px; color: var(--ink-soft); }
.package-card li::before { content: ""; width: 8px; height: 8px; background: #19a36f; border-radius: 999px; margin-top: 9px; flex: 0 0 auto; }
.package-card .btn { margin-top: auto; justify-content: center; }

.collections-section { background: #f5f7fb; }
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.collection-card { position: relative; display: grid; align-items: end; min-height: 320px; border-radius: 8px; overflow: hidden; color: #fff; }
.collection-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,40,0.02), rgba(16,24,40,0.78)); }
.collection-card span { position: relative; z-index: 1; padding: 22px; font-family: var(--serif); font-size: 1.35rem; }
.collection-card:hover img { transform: scale(1.04); }

.faq-layout { display: grid; grid-template-columns: 0.72fr 1fr; gap: 60px; }
.faq-layout > div:first-child { position: sticky; top: 112px; align-self: start; }
.faq-store-section .faq-list { max-width: none; margin: 0; border-top: 1px solid var(--line); }
.faq-store-section .faq-item { border-bottom: 1px solid var(--line); padding: 0; }
.faq-store-section .faq-q { width: 100%; text-align: left; padding: 22px 0; font-family: var(--sans); font-weight: 800; color: var(--ink); }
.faq-store-section .faq-a { display: none; padding: 0 0 22px; }
.faq-store-section .faq-item.open .faq-a { display: block; }

.about-store { background: #edf6ee; }
.about-store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-store p { margin-top: 16px; font-size: 1.05rem; }
.about-checks { display: grid; gap: 14px; }
.about-checks span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; font-weight: 800; }

.store-footer { padding: 56px 0 28px; background: #fff; border-top: 1px solid var(--line); margin: 0; }
.store-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; gap: 48px; }
.store-footer h3 { font-family: var(--sans); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.store-footer a { display: block; padding: 4px 0; color: var(--ink-soft); font-weight: 600; }
.store-footer p { margin-top: 12px; max-width: 36ch; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 34px; padding-top: 22px; color: var(--muted); font-size: 0.9rem;
}

@media (max-width: 980px) {
  .shop-nav-inner { grid-template-columns: 1fr auto; }
  .shop-links, .shop-actions { display: none; }
  .shop-nav .menu-toggle {
    display: grid; grid-column: 2; grid-row: 1; justify-self: end; place-items: center;
    width: 40px; height: 40px; border-radius: 8px; background: #f5f7fb;
  }
  .shop-nav .menu-toggle span,
  .shop-nav .menu-toggle span::before,
  .shop-nav .menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    content: "";
  }
  .shop-nav .menu-toggle span {
    position: relative;
  }
  .shop-nav .menu-toggle span::before,
  .shop-nav .menu-toggle span::after {
    position: absolute;
    left: 0;
  }
  .shop-nav .menu-toggle span::before { top: -6px; }
  .shop-nav .menu-toggle span::after { top: 6px; }
  .shop-nav.open .shop-links, .shop-nav.open .shop-actions {
    display: flex; grid-column: 1 / -1; justify-self: stretch; flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 20px;
  }
  .shop-nav.open .cart-link { justify-content: center; }
  .store-hero-grid, .contact-banner-grid, .faq-layout, .about-store-grid { grid-template-columns: 1fr; }
  .store-hero { min-height: auto; }
  .store-hero-grid { padding-top: 90px; }
  .store-hero-copy h1 { max-width: 11ch; }
  .shop-section-head { display: block; }
  .shop-section-head p { margin-top: 12px; }
  .offer-grid, .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid, .store-footer-grid { grid-template-columns: 1fr; }
  .faq-layout > div:first-child { position: static; }
}

@media (max-width: 640px) {
  .top-strip { gap: 8px; }
  .top-strip span:nth-child(n+2) { display: none; }
  .store-hero-copy h1 {
    font-size: 2.72rem;
    max-width: 100%;
  }
  .panel-metrics, .offer-grid, .collection-grid, .press-row { grid-template-columns: 1fr; }
  .automation-line { flex-wrap: wrap; justify-content: flex-start; }
  .package-card { min-height: 0; }
  .store-hero-actions .btn { width: 100%; justify-content: center; }
}
