@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Great+Vibes&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --white: #fff;
  --black: #010f34;
  --heading-color: #010f34;
  --body-color: #788094;
  --ternary: #88a5ad;
  --accent: #ff5500;
  --accent-dark: #e04800;
  --gray: #f5f7fa;
  --border: #ecf1f5;
  --footer: #071433;
  --shadow: 0 18px 50px rgba(1, 15, 52, 0.08);
  --heading-font: "Outfit", sans-serif;
  --body-font: "DM Sans", sans-serif;
  --container: 1170px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--body-color);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: 0.3s ease; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
}
p { margin: 0 0 15px; }
h1 { font-size: 56px; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.accent { color: var(--accent); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 12px 0 0 var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  line-height: 1;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--heading-color);
  opacity: 0;
  transition: 0.3s ease;
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn:hover::before { opacity: 0.18; }
.btn-outline {
  background: transparent;
  color: var(--heading-color);
}
.btn-outline:hover { color: #fff; }
.btn-outline:hover::before { opacity: 1; }
.btn-light {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn-light::before { background: var(--heading-color); }
.btn-light:hover { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; }
.stack > .block { display: none; }
.stack > .block:target,
.stack:not(:has(> .block:target)) > .block.is-default { display: block; }
.topbar { background: #fff; color: #fff; }
.topbar .container { position: relative; }
.topbar .container::before {
  content: "";
  position: absolute;
  top: 0;
  right: -7%;
  width: 100vw;
  height: 100%;
  background: var(--accent);
  border-radius: 0 0 60px 0;
}
.topbar-in {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  font-size: 14px;
  gap: 16px;
}
.follow { display: flex; align-items: center; gap: 14px; }
.socials { display: flex; align-items: center; gap: 12px; }
.topbar p { margin: 0; }
.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--heading-color);
  background: var(--border);
  border-radius: 8px;
}
.topbar .socials a { color: #fff; background: transparent; width: 28px; height: 28px; border-radius: 0; }
.socials.on-light a:hover { background: var(--accent); color: #fff; }
.socials a:hover { transform: translateY(-2px); }
.navwrap { background: transparent; position: relative; }
.navwrap .container { position: relative; }
.navwrap .container::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -7%;
  width: 100vw;
  background: #fff;
  border-radius: 60px 0 0 0;
}
.nav-in {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand img { width: 54px; height: 54px; }
.brand strong {
  display: block;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}
.brand small {
  display: block;
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  margin-top: 3px;
}
.brand.on-dark strong { color: #fff; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > li { position: relative; }
.nav > li > a {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}
.nav > li > a:hover,
.nav > li.active > a { color: var(--accent); }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 20;
}
.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 18px; color: var(--heading-color); font-weight: 500; }
.dropdown a:hover { color: var(--accent); background: var(--gray); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 14px;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Heroes */
.page-hero {
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(1, 15, 52, 0.72), rgba(1, 15, 52, 0.82)),
    url("../images/hero-banner.jpg") center/cover no-repeat;
  padding: 70px 20px 80px;
}
.page-hero h1 { color: #fff; font-size: 64px; margin-bottom: 8px; }
.crumbs { color: rgba(255,255,255,0.85); font-weight: 600; letter-spacing: 0.08em; font-size: 13px; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); margin: 0 8px; }

.home-hero { padding: 30px 0 70px; position: relative; overflow: hidden; }
.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.home-hero h1 { font-size: 62px; letter-spacing: -0.03em; margin-bottom: 18px; }
.home-hero p.lead { font-size: 18px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-visual { position: relative; min-height: 520px; }
.hero-blob {
  position: absolute;
  width: 78%;
  height: 86%;
  right: 0;
  bottom: 20px;
  background: var(--accent);
  border-radius: 46% 54% 48% 52%;
}
.hero-visual img {
  position: absolute;
  width: 86%;
  height: 92%;
  object-fit: cover;
  right: 18px;
  bottom: 0;
  border-radius: 180px 180px 30px 30px;
  box-shadow: var(--shadow);
}
.hero-chip {
  position: absolute;
  left: 0;
  bottom: 46px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 2;
  max-width: 250px;
}
.hero-chip img { width: 46px; height: 46px; min-width: 46px; flex: none; }
.hero-chip b { display: block; color: var(--heading-color); font-family: var(--heading-font); }
.dot-grid {
  position: absolute;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(var(--accent) 1.6px, transparent 1.7px);
  background-size: 12px 12px;
  opacity: 0.8;
}

/* Sections */
.section { padding: 90px 0; }
.section-head { margin-bottom: 40px; }
.section-head p { max-width: 620px; }
.section-head.center p { margin-left: auto; margin-right: auto; }
.soft { background: var(--gray); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.photo-stack { position: relative; min-height: 460px; }
.photo-stack .main {
  width: 78%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
}
.photo-stack .round {
  position: absolute;
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #fff;
  right: 0;
  bottom: 20px;
  box-shadow: var(--shadow);
}
.photo-stack .dots { right: 30px; top: -10px; }
.checks { display: grid; gap: 12px; margin: 18px 0 22px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--heading-color); font-weight: 600; }
.checks svg { flex: none; margin-top: 3px; }
.tabs { display: flex; gap: 18px; margin: 8px 0 14px; flex-wrap: wrap; }
.tabs button {
  border: 0;
  background: transparent;
  color: var(--heading-color);
  font-weight: 700;
  font-family: var(--heading-font);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.tabs button.active { color: var(--accent); border-color: var(--accent); }
.sign {
  font-family: "Great Vibes", cursive;
  font-size: 34px;
  color: var(--heading-color);
  line-height: 1;
}
.sign small { display: block; font-family: var(--body-font); font-size: 14px; color: var(--body-color); margin-top: 4px; }

.stat-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.stat-pill strong {
  font-family: var(--heading-font);
  font-size: 42px;
  color: var(--accent);
  line-height: 1;
}
.stat-pill span { color: var(--heading-color); font-weight: 700; display: block; }

/* Service cards */
.svc-grid, .price-grid, .team-grid, .project-grid, .post-grid, .process-grid, .info-grid {
  display: grid;
  gap: 24px;
}
.svc-grid { grid-template-columns: repeat(3, 1fr); }
.svc-card {
  background: #fff;
  min-height: 250px;
  padding: 28px 26px 70px;
  position: relative;
  filter: drop-shadow(0 16px 28px rgba(1, 15, 52, 0.08));
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}
.svc-card .no {
  color: var(--accent);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
}
.svc-card h3 { font-size: 22px; margin: 8px 0; }
.svc-card p { margin-bottom: 16px; }
.more {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.more:hover { color: var(--accent); }
.svc-ico {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gray);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.banner-cta {
  margin-top: 50px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg width='140' height='140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 80 C40 10, 90 10, 130 70' stroke='rgba(255,255,255,.25)' fill='none' stroke-width='2'/%3E%3C/svg%3E");
  border-radius: 8px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr auto 0.8fr;
  gap: 20px;
  align-items: center;
  padding: 28px 28px 0 40px;
  overflow: hidden;
  position: relative;
}
.banner-cta h2 { color: #fff; font-size: 36px; margin: 6px 0 0; }
.banner-cta img { width: 280px; height: 170px; object-fit: cover; object-position: top; justify-self: end; }
.gear {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,.35);
  display: grid;
  place-items: center;
  color: #fff;
}

/* Team */
.team-grid { grid-template-columns: repeat(4, 1fr); }
.team-card {
  background: linear-gradient(180deg, #f3f6f8 0%, #fff 55%);
  border-radius: 16px;
  text-align: center;
  padding: 28px 16px 22px;
  box-shadow: 0 10px 30px rgba(1, 15, 52, 0.04);
}
.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.team-card h3 { font-size: 20px; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.team-card .meta { color: var(--heading-color); font-weight: 600; font-size: 14px; }

/* Feature row */
.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-photo { position: relative; min-height: 420px; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature-copy { padding: 48px 40px; }
.icon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.icon-list article { display: flex; gap: 12px; }
.icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 85, 0, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.icon-list h3 { font-size: 16px; margin-bottom: 4px; }
.icon-list p { margin: 0; font-size: 14px; }

/* Pricing */
.bill-toggle {
  display: inline-flex;
  background: #fff;
  border-radius: 40px;
  padding: 6px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.bill-toggle button {
  border: 0;
  background: transparent;
  min-width: 110px;
  height: 42px;
  border-radius: 40px;
  font-weight: 700;
  color: var(--heading-color);
}
.bill-toggle button.active { background: var(--accent); color: #fff; }
.price-grid { grid-template-columns: repeat(3, 1fr); }
.price-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
}
.price-card.featured { border-top-color: var(--accent); transform: translateY(-8px); }
.price-card .amount {
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}
.price-card .amount span { font-size: 16px; font-weight: 600; color: var(--body-color); }
.price-card h3 { margin: 10px 0 6px; }
.price-card ul { margin: 18px 0 22px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--heading-color); }
.price-card .btn { width: 100%; }

/* Testimonials */
.quote-band {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,85,0,.18), transparent 28%),
    linear-gradient(120deg, rgba(7,20,51,.92), rgba(1,15,52,.88)),
    url("../images/interior.jpg") center/cover;
  color: #fff;
  border-radius: 0;
  padding: 70px 0;
}
.quote-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; }
.quote-band blockquote { margin: 0 0 18px; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.9); }
.who { display: flex; align-items: center; gap: 12px; }
.who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.who strong { display: block; }
.who span { color: rgba(255,255,255,.75); font-size: 14px; }
.quote-photo { position: relative; }
.quote-photo img { width: 100%; height: 320px; object-fit: cover; border-radius: 18px; }
.quote-mark {
  position: absolute;
  left: -28px;
  top: 30px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 700;
}
.slider-nav { display: flex; gap: 10px; margin-top: 18px; }
.slider-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
}
.slider-nav button:hover { background: var(--accent); border-color: var(--accent); }

.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { background: #fff; border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.t-card header { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.t-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* FAQ + process */
.faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
.faq-photo { position: relative; }
.faq-photo img { width: 100%; height: 460px; object-fit: cover; border-radius: 18px; }
.badge-card {
  position: absolute;
  left: -20px;
  bottom: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  min-width: 180px;
}
.badge-card strong { display: block; font-size: 32px; font-family: var(--heading-font); }
.faq-item { background: #fff; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 8px 24px rgba(1,15,52,.04); overflow: hidden; }
.faq-item button {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item .a { display: none; padding: 0 20px 18px; }
.faq-item.open .a { display: block; }
.faq-item.open button { color: var(--accent); }

.process-grid { grid-template-columns: repeat(4, 1fr); }
.process-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  min-height: 230px;
}
.process-card .no { color: var(--accent); font-family: var(--heading-font); font-weight: 800; }
.process-card h3 { font-size: 20px; }

.post-grid { grid-template-columns: 0.7fr 1.3fr; gap: 28px; align-items: center; }
.post-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.post-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.post-card img { width: 100%; height: 180px; object-fit: cover; }
.post-card div { padding: 16px 16px 18px; }
.post-card h3 { font-size: 18px; }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255,255,255,.78); position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-28deg, rgba(255,255,255,.035) 0 2px, transparent 2px 16px);
  pointer-events: none;
}
.footer-top, .footer-main, .footer-bottom { position: relative; z-index: 1; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 34px 0 10px;
}
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  color: #fff;
}
.footer-social a:hover { background: var(--accent); }
.footer-brand { text-align: center; }
.help-card { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.help-card i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}
.help-card b { display: block; color: #fff; }
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr 1.2fr;
  gap: 30px;
  padding: 30px 0 40px;
}
.site-footer h3 { color: #fff; font-size: 20px; }
.sep { display: flex; gap: 6px; margin: -6px 0 16px; }
.sep span { height: 4px; border-radius: 4px; background: var(--accent); display: block; }
.sep span:nth-child(1) { width: 46px; }
.sep span:nth-child(2) { width: 12px; }
.sep span:nth-child(3) { width: 6px; }
.site-footer li { margin: 0 0 10px; padding-left: 14px; position: relative; }
.site-footer .footer-main li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 0;
  top: 9px;
}
.site-footer a:hover { color: var(--accent); }
.hours li { display: flex; justify-content: flex-start; gap: 16px; padding-left: 0; }
.hours li span:first-child { width: 108px; flex: none; }
.hours li::before { display: none; }
.recent { display: flex; gap: 12px; margin-bottom: 14px; padding-left: 0 !important; }
.recent::before { display: none !important; }
.recent img { width: 74px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.recent small { display: block; color: rgba(255,255,255,.6); }
.footer-bottom {
  background: var(--accent);
  color: #fff;
}
.footer-bottom .container {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-bottom a:hover { color: var(--heading-color); }

/* Inner layouts */
.prose { max-width: 920px; }
.prose h2 { font-size: 30px; margin-top: 28px; }
.prose h3 { font-size: 22px; margin-top: 22px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.prose li { margin: 6px 0; }
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 36px 40px;
}
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.toc a { background: var(--gray); color: var(--heading-color); border-radius: 20px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.toc a:hover { background: var(--accent); color: #fff; }

.detail { display: grid; grid-template-columns: 1.45fr 0.7fr; gap: 30px; align-items: start; }
.panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 18px;
}
.detail-hero-img { width: 100%; height: 360px; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }
.side-list a, .side-list button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: var(--gray);
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 8px;
  color: var(--heading-color);
  font-weight: 600;
  text-align: left;
}
.side-list a:hover, .side-list a.active { background: var(--accent); color: #fff; }
.two-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 18px; }
.two-pics img, .three-pics img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.three-pics { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 12px; margin: 12px 0; }
.search { display: flex; gap: 8px; }
.search input { flex: 1; background: var(--gray); border: 1px solid var(--border); border-radius: 8px; min-height: 48px; padding: 0 14px; }
.search button { width: 48px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; }

.project-grid { grid-template-columns: repeat(4, 1fr); }
.project-card { position: relative; border-radius: 12px; overflow: hidden; display: block; }
.project-card img { width: 100%; height: 220px; object-fit: cover; transition: 0.45s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fff;
  color: var(--heading-color);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 14px;
}

.member { display: grid; grid-template-columns: 320px 1fr; gap: 34px; align-items: center; }
.member img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; }
.skill { margin-bottom: 14px; }
.skill span { display: flex; justify-content: space-between; font-weight: 700; color: var(--heading-color); font-size: 14px; }
.bar { height: 6px; background: var(--border); border-radius: 6px; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.pager a { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 40px; padding: 8px 14px; box-shadow: var(--shadow); color: var(--heading-color); font-weight: 700; }
.pager a:hover { color: var(--accent); }

.info-grid { grid-template-columns: 1fr 1fr; }
.info-card {
  display: flex;
  gap: 12px;
  background: var(--gray);
  border-radius: 12px;
  padding: 16px;
}
.info-card i {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.info-card b { display: block; color: var(--heading-color); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--heading-color); font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--heading-color);
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--ternary); }
.field.error input, .field.error select, .field.error textarea { border-color: #d92d20; background: #fff5f4; }
.err { color: #d92d20; font-size: 13px; min-height: 18px; display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 14px; color: var(--heading-color); font-size: 14px; }
.check input { margin-top: 4px; }
.form-success {
  display: none;
  background: #fff7f2;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px;
  color: var(--heading-color);
  font-weight: 700;
}
.form-success.show { display: block; }
.narrow { max-width: 760px; margin: 0 auto; }

.hidden { display: none !important; }

@media (max-width: 1199px) {
  h1, .home-hero h1, .page-hero h1 { font-size: 46px; }
  .svc-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .topbar .container::before, .navwrap .container::before { left: 0; right: 0; width: 100%; border-radius: 0; }
}
@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(50% - 50vw);
    width: 100vw;
    background: #fff;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    box-shadow: var(--shadow);
    gap: 0;
  }
  .nav.open { display: flex; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 8px 12px; }
  .nav > li.open > .dropdown { display: block; }
  .header-btn { display: none; }
  .home-hero-grid, .split, .feature-band, .quote-grid, .faq-layout, .detail, .member, .contact-grid, .post-grid, .banner-cta {
    grid-template-columns: 1fr;
  }
  .price-grid, .t-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .hero-visual { min-height: 420px; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .help-card, .footer-social { justify-content: center; }
  .banner-cta img { width: 100%; height: 200px; }
  .faq-photo img { height: 320px; }
}
@media (max-width: 767px) {
  .topbar { display: none; }
  .nav-in { height: 78px; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  h1, .home-hero h1, .page-hero h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  .section { padding: 64px 0; }
  .svc-grid, .team-grid, .project-grid, .process-grid, .post-cards, .info-grid, .icon-list, .two-pics, .three-pics, .footer-main {
    grid-template-columns: 1fr;
  }
  .photo-stack { min-height: 0; }
  .photo-stack .main { width: 100%; height: 280px; }
  .photo-stack .round { width: 140px; height: 140px; }
  .legal { padding: 22px 16px; }
  .footer-bottom .container { flex-direction: column; justify-content: center; text-align: center; padding: 12px 0; }
  .hero-visual { min-height: 340px; }
  .member img, .detail-hero-img { height: 240px; }
}
