/* 有限会社 石匠 - Static Site Styles */

:root {
  --stone-white: #ffffff;
  --stone-cream: #f8f6f2;
  --stone-beige: #ede8e0;
  --stone-warm-gray: #e5e0d8;
  --stone-gray: #8c8680;
  --stone-dark: #3d3833;
  --stone-green: #2a3b34;
  --stone-deep-green: #1e2e27;
  --terracotta: #c97857;
  --accent-green: #4d6b4d;
  --accent-brown: #8a5a42;
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --container-px: 1rem;
  --header-h: 4rem;
}

@media (min-width: 768px) {
  :root {
    --container-px: 2rem;
    --header-h: 5rem;
  }
}

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--stone-dark);
  line-height: 1.6;
  background: var(--stone-cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link & keyboard focus (a11y) */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--stone-deep-green);
  color: var(--stone-white);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 0 0 0.375rem 0;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.btn:focus-visible,
.btn-submit:focus-visible,
.btn-phone-header:focus-visible,
.btn-link:focus-visible,
.hamburger:focus-visible,
.faq-question:focus-visible,
.before-after [data-ba]:focus-visible,
.header-nav a:focus-visible,
.mobile-menu a:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.before-after [data-ba] {
  cursor: pointer;
}

.before-after [data-ba]:focus {
  outline: none;
}

.container {
  width: 100%;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.bg-cream { background: var(--stone-cream); }
.bg-white { background: var(--stone-white); }
.bg-beige { background: var(--stone-beige); }
.bg-warm-gray-30 { background: rgba(229, 224, 216, 0.3); }

.font-serif { font-family: var(--font-serif); }
.text-center { text-align: center; }
.text-terracotta { color: var(--terracotta); }
.text-stone-dark { color: var(--stone-dark); }
.text-stone-gray { color: var(--stone-gray); }
.text-white { color: var(--stone-white); }
.text-accent-green { color: var(--accent-green); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
  background: transparent;
}

.site-header.is-scrolled {
  background: rgba(248, 246, 242, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.header-logo { flex: 1; display: flex; align-items: center; }
.header-logo img { height: 2rem; width: auto; object-fit: contain; }

@media (min-width: 768px) {
  .header-logo img { height: 2.5rem; }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .header-nav { display: flex; gap: 2rem; }
}

@media (min-width: 1280px) {
  .header-nav { gap: 2rem; }
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  color: var(--stone-dark);
  padding-bottom: 2px;
}

@media (min-width: 1280px) {
  .header-nav a { font-size: 1rem; }
}

.header-nav a:hover { color: var(--terracotta); }
.header-nav a.is-active {
  color: var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
}

.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-phone-header {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--stone-white);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-phone-header:hover { background: rgba(201, 120, 87, 0.9); }

@media (min-width: 1024px) {
  .btn-phone-header { display: inline-flex; }
}

.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

.hamburger span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--stone-dark);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: rgba(248, 246, 242, 0.98);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--stone-warm-gray);
}

.mobile-menu.is-open { display: block; }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.mobile-menu a {
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--stone-warm-gray);
  color: var(--stone-dark);
}

.mobile-menu a.is-active { color: var(--stone-green); }

.mobile-menu .btn-phone-mobile {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--stone-green);
  color: var(--stone-white);
  border-radius: 9999px;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
  margin-top: var(--header-h);
  background-color: rgba(229, 224, 216, 0.3);
  border-bottom: 1px solid rgba(229, 224, 216, 0.5);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem var(--container-px);
  font-size: 0.875rem;
  color: var(--stone-gray);
}

.breadcrumb a {
  text-decoration: underline;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--stone-green); }
.breadcrumb .current { font-weight: 500; color: var(--stone-dark); }

/* Main */
main { min-height: 100vh; }

/* Section spacing */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

/* Company greeting */
.greeting-section {
  position: relative;
  padding: 4rem 0;
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .greeting-section { padding: 6rem 0; }
}

.greeting-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.greeting-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.greeting-label-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--terracotta);
}

.greeting-label p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--stone-gray);
  margin: 0;
}

.greeting-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--stone-dark);
  line-height: 1.625;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .greeting-quote {
    font-size: 1.5rem;
    display: inline-block;
    white-space: nowrap;
  }
}

.greeting-quote-mark {
  color: var(--terracotta);
  font-size: 1.875rem;
}

.greeting-quote-mark:first-child {
  margin-right: 0.25rem;
}

.greeting-quote-mark:last-child {
  margin-left: 0.25rem;
}

.greeting-text {
  font-size: 1rem;
  color: #000;
  line-height: 1.625;
  margin: 0 0 1.5rem;
}

.greeting-text:last-of-type {
  margin-bottom: 2rem;
}

.greeting-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.greeting-signature i {
  color: var(--terracotta);
  font-size: 1rem;
}

.greeting-signature p {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--stone-dark);
  margin: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stone-dark);
  text-align: center;
}

@media (min-width: 768px) {
  .section-title { font-size: 1.875rem; }
}

/* トップページ：ヒーロー以外のセクション見出し */
.page-home .section-title,
.page-home .home-heading,
.page-home .cta-content h2 {
  font-size: 36px;
}

.page-home .cta-content h2 {
  line-height: 1.35;
}

.page-home .cta-content h2 .spacer-block {
  height: 0.25rem;
}

@media (min-width: 768px) {
  .page-home .section-title,
  .page-home .home-heading,
  .page-home .cta-content h2 {
    font-size: 36px;
  }

  .page-home .cta-content h2 .spacer-block {
    height: 0.375rem;
  }
}

.page-home .section-title-tight {
  line-height: 1.3;
}

.page-home .section-title-tight .spacer-block {
  height: 0.25rem;
}

@media (min-width: 768px) {
  .page-home .section-title-tight .spacer-block {
    height: 0.375rem;
  }
}

.section-subtitle {
  text-align: center;
  font-size: 0.875rem;
  color: var(--stone-gray);
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.badge {
  display: none;
  align-items: center;
  background: var(--terracotta);
  color: var(--stone-white);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
}

@media (min-width: 640px) { .badge { display: inline-flex; } }
.badge-dark { background: var(--stone-dark); }

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 3.5rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--stone-white);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-terracotta:hover { background: rgba(201, 120, 87, 0.9); }

.btn-terracotta-md {
  background: var(--terracotta);
  color: var(--stone-white);
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-terracotta-md:hover { background: rgba(201, 120, 87, 0.9); }

.btn-terracotta-sm {
  background: var(--terracotta);
  color: var(--stone-white);
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.btn-terracotta-sm:hover { background: rgba(201, 120, 87, 0.9); }

.btn-white {
  background: var(--stone-white);
  color: #000;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:hover { background: var(--stone-cream); }

.btn-white-terracotta {
  background: var(--stone-white);
  color: var(--terracotta);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white-terracotta:hover { background: var(--stone-deep-green); color: var(--terracotta); }

.btn-outline {
  background: var(--stone-white);
  color: var(--stone-dark);
  border: 2px solid var(--stone-warm-gray);
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-outline:hover { background: var(--stone-cream); }

.btn-link {
  color: var(--terracotta);
  font-weight: 500;
  font-size: 1rem;
  background: none;
  padding: 0;
}

.btn-link:hover { text-decoration: underline; }

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .btn-group { flex-direction: row; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero { min-height: 100vh; }
}

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

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

.hero-content {
  position: relative;
  width: 100%;
  padding: 5rem var(--container-px) 5rem;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-content { padding: 7rem var(--container-px); }
}

.hero-inner {
  max-width: 42rem;
  margin: 0 auto;
  position: relative;
}

.hero-blur {
  position: absolute;
  inset: -2rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 9999px;
  filter: blur(48px);
  z-index: -1;
}

@media (min-width: 768px) {
  .hero-blur { inset: -4rem; background: rgba(255, 255, 255, 0.9); }
}

@media (min-width: 1024px) {
  .hero-blur { inset: -6rem; }
}

.hero-text {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--stone-deep-green);
  line-height: 1.35;
  margin: 0 0 1rem;
}

@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero h1 .accent { color: var(--accent-green); display: inline-block; margin-top: 0.25rem; }

.hero h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-brown);
  line-height: 1.625;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) { .hero h2 { font-size: 1.5rem; } }
@media (min-width: 1024px) { .hero h2 { font-size: 1.875rem; } }

.hero p {
  font-size: 0.875rem;
  color: var(--stone-dark);
  margin-bottom: 2.5rem;
  line-height: 1.625;
}

@media (min-width: 768px) { .hero p { font-size: 1rem; } }
@media (min-width: 1024px) { .hero p { font-size: 1.125rem; } }

/* Cards grid */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) { .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }

.card {
  background: var(--stone-white);
  border-radius: 1rem;
  padding: 1.5rem;
}

@media (min-width: 768px) { .card { padding: 2rem; } }

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(201, 120, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon i { font-size: 1.5rem; color: var(--terracotta); }

.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--stone-dark);
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) { .card h3 { font-size: 1.25rem; } }

.card p { font-size: 1rem; color: var(--stone-gray); line-height: 1.625; margin: 0; }

.card.bg-cream { background: var(--stone-cream); }
.card.bg-beige { background: var(--stone-beige); }

/* Works page cards */
.works-card {
  background: var(--stone-cream);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.works-box {
  background: var(--stone-white);
  border-radius: 0.75rem;
  padding: 1rem;
}

.works-comment {
  background: var(--stone-beige);
  border-radius: 0.75rem;
  padding: 1rem;
}

/* Service / Work cards */
.media-card {
  background: var(--stone-white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--stone-warm-gray);
  transition: box-shadow 0.3s;
}

.media-card:hover { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }

.media-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.media-card-img.ratio-7-4 { aspect-ratio: 7 / 4.5; }
.media-card-img.ratio-4-3 { aspect-ratio: 4 / 3; }
.media-card-img.ratio-10-7 { aspect-ratio: 10 / 7; }

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.media-card:hover .media-card-img img { transform: scale(1.05); }

.media-card-body { padding: 1.25rem 1.5rem; }

.media-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--stone-dark);
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .media-card-body h3 { font-size: 1.25rem; }
}

.tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--terracotta);
  color: var(--stone-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Flow */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .flow-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.flow-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) { .flow-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .flow-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.flow-step { position: relative; }

.flow-card {
  background: var(--stone-white);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-align: center;
  height: 100%;
}

.flow-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 120, 87, 0.2);
  margin-bottom: 1rem;
}

@media (min-width: 768px) { .flow-num { font-size: 3rem; } }

.flow-arrow {
  display: none;
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--stone-green);
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .flow-grid .flow-arrow { display: flex; }
}

@media (min-width: 1024px) {
  .flow-grid-4 .flow-arrow { display: flex; color: var(--terracotta); }
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 56rem; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--stone-warm-gray);
  border-radius: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: rgba(248, 246, 242, 0.5);
  transition: background 0.2s;
  font-size: 1rem;
  font-weight: 700;
  color: var(--stone-dark);
}

@media (min-width: 768px) { .faq-question { font-size: 1.125rem; } }

.faq-question:hover { background: var(--stone-cream); }

.faq-question i {
  color: var(--terracotta);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.is-open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 1.25rem 1.5rem;
  background: var(--stone-white);
  font-size: 1rem;
  color: var(--stone-dark);
  line-height: 1.625;
}

.faq-item.is-open .faq-answer { display: block; }

/* Company info */
.info-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.info-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.info-item i { color: var(--terracotta); margin-top: 0.25rem; flex-shrink: 0; }
.info-item p { margin: 0; }
.info-item .label { font-weight: 700; color: var(--stone-dark); }

.rounded-img {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

/* CTA section */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
}

@media (min-width: 768px) { .cta-section { padding: 6rem 0; } }

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--container-px);
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--stone-white);
  margin: 0 0 1rem;
  line-height: 1.625;
}

@media (min-width: 768px) { .cta-content h2 { font-size: 2.25rem; } }

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.625;
}

@media (min-width: 768px) { .cta-content p { font-size: 1.125rem; } }

/* Page header */
.page-header {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) { .page-header { padding: 6rem 0; } }

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--stone-white);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.35;
  position: relative;
  z-index: 1;
  padding: 0 var(--container-px);
}

@media (min-width: 768px) { .page-header h1 { font-size: 2.25rem; } }

.page-header .spacer-block {
  height: 0.25rem;
}

@media (min-width: 768px) {
  .page-header .spacer-block {
    height: 0.375rem;
  }
}

.spacer-block { display: block; height: 0.5rem; }
@media (min-width: 768px) { .spacer-block { height: 0.75rem; } }

/* Footer */
.site-footer {
  background: var(--stone-green);
  color: var(--stone-white);
  padding: 3rem 0;
}

@media (min-width: 768px) { .site-footer { padding: 4rem 0; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-brand img {
  height: 2rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .footer-brand img { height: 2.5rem; } }

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

.footer-phone:hover { background: rgba(255, 255, 255, 0.2); }
.footer-phone i { color: var(--terracotta); }

.footer-col h3 { font-weight: 700; font-size: 1rem; margin: 0 0 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--terracotta); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

/* Form */
.form-card {
  background: var(--stone-white);
  border-radius: 1rem;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) { .form-card { padding: 2.5rem; } }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--stone-dark);
  margin-bottom: 0.5rem;
}

.form-group .required { color: var(--terracotta); }

.form-control {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--stone-warm-gray);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--stone-dark);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 1px var(--terracotta);
}

.form-control:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.form-control[aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: #b42318;
}

.form-message-title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
}

.form-control::placeholder { color: var(--stone-gray); }

textarea.form-control { resize: vertical; min-height: 9rem; }

.char-count {
  font-size: 0.875rem;
  color: var(--stone-gray);
  text-align: right;
  margin-top: 0.375rem;
}

.form-message {
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.form-message.success {
  background: rgba(42, 59, 52, 0.1);
  border: 1px solid rgba(42, 59, 52, 0.3);
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.form-message i { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.form-message.success i { color: var(--stone-green); }
.form-message.error i { color: #ef4444; }

.form-message h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.form-message.success h3 { color: var(--stone-green); }
.form-message.error h3 { color: #dc2626; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: var(--stone-white);
  border-radius: 9999px;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.2s;
}

.btn-submit:hover { background: rgba(201, 120, 87, 0.9); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Phone banner */
/* Responsive section headings (matches text-2xl → md:text-3xl) */
.heading-fluid,
.contact-heading {
  font-size: clamp(1.375rem, 4.2vw + 0.5rem, 1.875rem);
  line-height: 1.4;
}

.phone-banner {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  max-width: 64rem;
  margin: 0 auto;
}

.phone-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

@media (min-width: 768px) { .phone-banner img { height: 400px; } }

.phone-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 56, 51, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Zigzag */
.zigzag-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .zigzag-item { grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-bottom: 6rem; }
  .zigzag-item.reversed .zigzag-text { order: 2; }
  .zigzag-item.reversed .zigzag-img { order: 1; }
}

.zigzag-num {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(201, 120, 87, 0.15);
  line-height: 1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .zigzag-num { font-size: 6rem; } }

.zigzag-img {
  height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
}

@media (min-width: 768px) { .zigzag-img { height: 20rem; } }
@media (min-width: 1024px) { .zigzag-img { height: 24rem; } }

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

/* Before/After */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.before-after > div {
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s;
}

.before-after img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

@media (min-width: 768px) { .before-after img { height: 14rem; } }

.before-after .label-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--terracotta);
  color: var(--stone-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
}

.before-after > div.is-dim { opacity: 0.5; }
.before-after > div.is-active { opacity: 1; }

/* Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--stone-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.info-table th,
.info-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 1rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .info-table th, .info-table td { padding: 1.25rem 2rem; }
}

.info-table th {
  font-weight: 700;
  color: var(--stone-dark);
  background: var(--stone-cream);
  width: 9rem;
  vertical-align: top;
}

@media (min-width: 768px) { .info-table th { width: 12rem; } }

.info-table tr:not(:last-child) td,
.info-table tr:not(:last-child) th { border-bottom: 1px solid var(--stone-warm-gray); }

/* Area tags */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  background: var(--stone-cream);
  color: var(--stone-dark);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--stone-warm-gray);
}

.area-tag i { color: var(--stone-green); margin-right: 0.375rem; }

/* Map */
.map-embed {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--stone-warm-gray);
}

.map-embed iframe { width: 100%; height: 450px; border: 0; display: block; }

/* Consult box */
.consult-box {
  background: var(--stone-cream);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.consult-box p { font-size: 0.875rem; font-weight: 700; margin: 0 0 0.5rem; }
.consult-box li {
  font-size: 0.875rem;
  color: var(--stone-gray);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.consult-box li i { color: var(--terracotta); margin-top: 0.125rem; flex-shrink: 0; }

/* Utility */
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.text-lg { font-size: 1.125rem; }
.leading-relaxed { line-height: 1.625; }
.flex-col-full { display: flex; flex-direction: column; height: 100%; }
.flex-1 { flex: 1; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); }
.hidden { display: none !important; }
