/* TitanBudStroy */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f9ff;
  --bg-accent: #fff7ef;
  --text: #18222c;
  --muted: #5f6f7a;
  --line: #d9e2ea;
  --accent: #0f8f7c;
  --accent-dark: #0a6c5d;
  --accent-soft: #ddfbf3;
  --orange: #ff7f32;
  --orange-soft: #fff1e6;
  --blue: #2b6dff;
  --blue-soft: #e9f0ff;
  --red: #ff5d5d;
  --red-soft: #ffecec;
  --yellow: #f3b300;
  --yellow-soft: #fff5cf;
  --green: #51c07a;
  --green-soft: #ebfff2;
  --dark: #101923;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(20,33,43,.08);
  --radius: 28px;
  --container: 1240px;
  --header-height: 84px;
}

* { box-sizing: border-box; min-width: 0; }
html, body { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: 84px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(15,143,124,.08), transparent 26%),
    radial-gradient(circle at 85% 16%, rgba(255,127,50,.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 56%, #ffffff 100%);
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  width: 100%;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(217,226,234,.95);
}
.header-row {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; flex-direction: column; gap: 4px; min-width: 220px; }
.brand-title { font-size: 1.16rem; font-weight: 700; letter-spacing: -.03em; }
.brand-subtitle { font-size: .72rem; text-transform: uppercase; letter-spacing: .22em; color: #7b8894; line-height: 1.45; }

.nav { display: flex; justify-content: center; align-items: center; gap: 22px; min-width: 0; }
.nav a { font-size: .92rem; color: var(--muted); white-space: nowrap; transition: color .25s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn, .contact-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--text); transition: transform .25s ease, background .25s ease;
  cursor: pointer;
}
.btn:hover, .contact-chip:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #13b19a 100%);
  border-color: transparent; color: var(--white); font-weight: 600;
}
.btn-primary:hover { background: linear-gradient(135deg, #0b7565 0%, #0f9b86 100%); }
.btn-secondary { background: linear-gradient(135deg, var(--orange-soft) 0%, #ffffff 100%); }

.menu-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--white);
  align-items: center; justify-content: center;
  cursor: pointer; flex: 0 0 auto;
}
.menu-toggle svg:last-child, .menu-toggle.active svg:first-child { display: none; }
.menu-toggle.active svg:last-child { display: block; }

.mobile-panel {
  display: none;
  width: 100%;
  border-top: 1px solid var(--line);
  padding: 10px 0 18px;
}
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a { padding: 14px 16px; border-radius: 18px; color: #33424f; }
.mobile-nav a:hover { background: #f4faf8; }
.mobile-contacts { display: grid; gap: 10px; margin-top: 12px; }

.section { padding: 96px 0; scroll-margin-top: calc(var(--header-height) + 18px); }
.section-soft { background: var(--bg-soft); }
.section-accent { background: var(--bg-accent); }

.hero { padding-top: 40px; padding-bottom: 96px; }
.hero-grid, .about-layout, .focus-frame, .direction-grid, .resources-shell, .workflow-grid, .contact-shell, .footer-grid {
  display: grid; gap: 28px;
}
.hero-grid { grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); align-items: stretch; }
.about-layout { display: grid; gap: 8px; }
.about-panels { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 34px; }
.focus-frame { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
.direction-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 38px; }
.resources-shell { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: start; }
.workflow-grid { grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 38px; }
.contact-shell { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: start; }
.footer-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid #c9f4ea; color: var(--accent-dark);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .22em;
}
.hero-copy, .focus-text, .resources-content, .contact-main { display: flex; flex-direction: column; }

.hero h1 {
  margin: 18px 0 0;
  max-width: 780px;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.hero-lead {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 1.03rem;
  line-height: 1.74;
  color: var(--muted);
}
.hero-actions, .contact-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px;
}
.hero-rates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 30px;
}
.rate-card {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fffd 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.rate-num { font-size: 1rem; font-weight: 700; color: var(--accent); }
.rate-text { margin-top: 12px; color: #33414f; line-height: 1.6; }

.section-title { max-width: 760px; }
.section-title.center { margin: 0 auto; text-align: center; }
.section-title.narrow { max-width: 920px; }
.section-title h2 {
  margin: 16px 0 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.section-title p {
  margin: 16px 0 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.78;
}

.image-panel, .panel-card, .direction-card, .resource-item, .work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-panel { position: relative; overflow: hidden; }
.clean-photo::after, .clean-photo .image-badge, .clean-photo .image-title { display: none !important; }
.image-hero { min-height: 520px; }
.image-rect { min-height: 420px; }
.image-wide { height: clamp(260px, 32vw, 400px); }
.hero-media .image-panel { height: 100%; }
.image-panel img { width: 100%; height: 100%; object-fit: cover; }
.image-panel:hover img { transform: scale(1.04); }
.image-panel img, .direction-card, .work-card { transition: transform .3s ease, box-shadow .3s ease; }

.panel-card { padding: 22px; }
.panel-top { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.panel-card p { margin: 14px 0 0; color: var(--muted); line-height: 1.72; }
.panel-red { background: linear-gradient(180deg, var(--red-soft) 0%, #ffffff 100%); }
.panel-blue { background: linear-gradient(180deg, var(--blue-soft) 0%, #ffffff 100%); }
.panel-yellow { background: linear-gradient(180deg, var(--yellow-soft) 0%, #ffffff 100%); }
.panel-green { background: linear-gradient(180deg, var(--green-soft) 0%, #ffffff 100%); }

.focus-lines { display: grid; gap: 14px; margin-top: 24px; }
.focus-line {
  display: flex; gap: 12px; align-items: flex-start; padding: 18px 18px;
  border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(20,33,43,.05);
}
.focus-line svg { flex: 0 0 auto; color: var(--accent); }
.focus-line span { color: #33414f; line-height: 1.64; }

.direction-card { padding: 24px; }
.direction-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.direction-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.72; }
.direction-card.tall { grid-row: span 2; background: linear-gradient(180deg, #ffffff 0%, #f6fffc 100%); }
.direction-card.wide { grid-column: span 2; background: linear-gradient(180deg, #ffffff 0%, #fff7ef 100%); }

.resource-list { display: grid; gap: 14px; margin-top: 26px; }
.resource-item {
  padding: 18px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9f2 100%);
  color: #33414f;
  line-height: 1.62;
}

.work-card { padding: 22px; min-height: 100%; }
.work-num {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange) 0%, #ffad7b 100%);
  color: var(--white); font-size: .9rem; font-weight: 700;
}
.work-card h3 { margin: 18px 0 0; font-size: 1.1rem; line-height: 1.3; }
.work-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.72; }

.footer {
  background: linear-gradient(180deg, #101923 0%, #172534 100%);
  border-top: 1px solid rgba(217,226,234,.14);
  color: rgba(227,235,240,.9);
  width: 100%;
}
.footer-grid { padding: 54px 0; }
.footer-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 28px;
  max-width: 100%;
}
.footer .brand-title, .footer .footer-title { color: var(--white); }
.footer .brand-subtitle, .footer p, .footer a, .footer .footer-note { color: rgba(209,221,228,.82); }
.footer-links { display: grid; gap: 10px; margin-top: 16px; max-width: 100%; }
.footer-links a:hover { color: var(--white); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .06s; }
.delay-2 { transition-delay: .12s; }
.delay-3 { transition-delay: .18s; }
.delay-4 { transition-delay: .24s; }

.icon {
  width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.9;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

.mobile-only { display: none; }
.desktop-only { display: block; }
.mobile-inline-image { margin-top: 22px; }

@media (max-width: 1280px) {
  .header-row { gap: 18px; }
  .nav { gap: 18px; }
  .nav a { font-size: .88rem; }
  .contact-chip { padding: 12px 18px; }
}

@media (max-width: 1180px) {
  .about-panels,
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 980px) {
  body { padding-top: 76px; }
  :root { --header-height: 76px; }

  .nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-panel.open { display: block; }

  .hero-grid,
  .about-panels,
  .focus-frame,
  .direction-grid,
  .resources-shell,
  .workflow-grid,
  .contact-shell,
  .footer-grid,
  .footer-side {
    grid-template-columns: 1fr !important;
  }

  .mobile-only { display: block; }
  .desktop-only { display: none; }

  .hero { padding-top: 16px; }
  .hero-rates { grid-template-columns: 1fr; }
  .image-hero { min-height: 360px; }
  .image-rect { min-height: 340px; }
  .image-wide { height: clamp(220px, 42vw, 340px); }
  .direction-card.tall,
  .direction-card.wide {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .container { width: min(calc(100% - 24px), var(--container)); }

  .site-header, .mobile-panel { width: 100%; max-width: 100%; }
  .header-row { grid-template-columns: 1fr auto; gap: 12px; }
  .brand { min-width: 0; }

  .hero h1 { font-size: 30px; line-height: 1; }
  .section-title h2 { font-size: 24px; }

  .hero-lead,
  .section-title p,
  .panel-card p,
  .focus-line span,
  .direction-card p,
  .resource-item,
  .work-card p {
    line-height: 1.68;
  }

  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .btn, .contact-chip { width: 100%; }

  .panel-card,
  .direction-card,
  .resource-item,
  .work-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .image-hero,
  .image-rect { min-height: 300px; }
  .image-wide { height: 240px; }
  .mobile-inline-image { margin-top: 20px; }

  .footer-grid {
    grid-template-columns: 1fr !important;
    padding: 40px 0;
    gap: 28px;
  }
  .footer-side {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .footer-side > div,
  .footer-grid > div,
  .footer-links {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .footer-links a,
  .footer-note {
    font-size: 15px;
    line-height: 1.5;
  }
  .footer-title { margin-bottom: 8px; }
}


/* v2 redesign */
body {
  background: #ffffff;
}

.hero-cover {
  position: relative;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,25,35,.48) 0%, rgba(16,25,35,.58) 100%);
}

.hero-center {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy-centered {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}

.hero-cover .eyebrow {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.hero-cover h1,
.hero-cover .hero-lead {
  color: #ffffff;
}

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

.hero-copy-centered .hero-rates {
  width: 100%;
}

.hero-copy-centered .rate-card {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.hero-copy-centered .rate-num,
.hero-copy-centered .rate-text {
  color: #ffffff;
}

.directions-photo {
  margin-top: 34px;
}

.directions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px 22px;
  margin-top: 28px;
}

.direction-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.direction-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #13b19a 100%);
  color: #ffffff;
  font-size: .9rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.direction-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.direction-body p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  background: linear-gradient(180deg, #063e35 0%, #072d27 100%);
}

@media (max-width: 980px) {
  .hero-cover {
    min-height: auto;
    padding: 88px 0 72px;
  }

  .directions-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-copy-centered .hero-rates {
    grid-template-columns: 1fr;
  }

  .direction-item {
    padding-left: 20px;
    padding-right: 20px;
  }
}
