/* ============================================
   外壁の危険度診断 - 株式会社ごりらぼ
   静的HTML版スタイルシート
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0 !important;
}

:root {
  --orange: #fe5f04;
  --orange-hover: #e5540a;
  --green: #2e8b57;
  --red: #d32f2f;
  --blue: #0052a4;
  --foreground: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e5e5;
  --warm-white: #fefdfb;
  --font-heading: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: #fff;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

h3 {
  background: none;
  outline: none;
  outline-offset: 0;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}
/* ---------- Container ---------- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1280px;
  }
}

.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  border-bottom: 5px solid var(--orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo img {
  max-height: 50px;
  width: auto;
}

.pc-nav {
  display: none;
  margin-left: auto;
  margin-right: 30px;
}

.pc-nav ul {
  display: flex;
  margin-bottom: 0;
}

.pc-nav li {
  margin: 0 15px;
}

.pc-nav a {
  position: relative;
  color: #333;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 5px 0;
  white-space: nowrap;
  transition: color 0.3s;
}

.pc-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}

.pc-nav a:hover {
  color: var(--orange);
}

.pc-nav a:hover::after {
  width: 100%;
}

@media (min-width: 768px) {
  .pc-nav { display: flex; }
  .hamburger { display: none !important; }
}

/* Hamburger */
.hamburger {
  position: relative;
  width: 30px;
  height: 24px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background-color: var(--orange);
  transition: all 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* SP Drawer */
.sp-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background-color: rgba(255,255,255,0.98);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s;
}

.sp-drawer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sp-drawer ul {
  text-align: center;
  width: 100%;
}

.sp-drawer li {
  margin: 1.5rem 0;
}

.sp-drawer a {
  color: #333;
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.3s;
}

.sp-drawer a:hover {
  color: var(--orange);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

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

.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(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.45), rgba(0,0,0,0.65));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
  padding: 5rem 0 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--orange);
}

.hero-badge span {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

@media (min-width: 640px) {
  .hero-badge span { font-size: 1.125rem; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

.hero h1 .accent {
  color: var(--orange);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.875rem; }
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

@media (min-width: 640px) {
  .hero-desc { font-size: 1.25rem; }
}

.hero-desc strong {
  color: var(--orange);
  font-weight: 900;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--orange);
  color: #fff;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transition: background-color 0.3s;
  animation: pulse-glow 2s ease-in-out infinite;
  width: 100%;
}

@media (min-width: 640px) {
  .cta-btn { width: auto; }
}

.cta-btn:hover {
  background-color: var(--orange-hover);
}

.cta-btn:active {
  transform: scale(0.95);
}

.cta-btn .cta-sub {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cta-btn .cta-sub svg {
  width: 1rem;
  height: 1rem;
}

.cta-btn .cta-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .cta-btn .cta-main { font-size: 1.5rem; }
}

.scroll-indicator {
  margin-top: 3rem;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator svg {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(255,255,255,0.5);
  margin: 0 auto;
}

/* ---------- Problem Section ---------- */
.problem-section {
  padding: 4rem 0;
  background: #fff;
}

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

.section-title {
  text-align: center !important;
  margin-bottom: 2.5rem;
}

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

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center !important;
}

@media (min-width: 640px) {
  .section-title h2 { font-size: 2.75rem; }
}

.section-title .underline-bar {
  width: 4rem;
  height: 0.375rem;
  margin: 0 auto;
  border-radius: 9999px;
  background-color: var(--orange);
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .photo-gallery { gap: 0.75rem; margin-bottom: 3rem; }
}

.photo-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

@media (min-width: 640px) {
  .photo-item { aspect-ratio: 1; }
}

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

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-item .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1), transparent);
}

.photo-item .photo-label {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@media (min-width: 640px) {
  .photo-item .photo-label {
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 1rem;
  }
}

/* Worry items */
.worry-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .worry-list { gap: 1rem; margin-bottom: 3rem; }
}

.worry-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .worry-item { padding: 1.5rem; }
}

.worry-item .worry-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.worry-item .worry-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.worry-item p {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: pre-line;
  padding-top: 0.125rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .worry-item p { font-size: 1.25rem; }
}

/* Solution box */
.solution-box {
  border-radius: 1rem;
  padding: 1.5rem;
  background-color: rgba(254,95,4,0.05);
  border: 2px solid rgba(254,95,4,0.2);
}

@media (min-width: 640px) {
  .solution-box { padding: 2rem; }
}

.solution-box .solution-sub {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .solution-box .solution-sub { font-size: 1.5rem; }
}

.solution-box .solution-main {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .solution-box .solution-main { font-size: 1.875rem; }
}

.solution-box .solution-main .accent {
  color: var(--orange);
}

/* ---------- Danger Section ---------- */
.danger-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background-color: #fff5ee;
}

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

.danger-section .dot-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, #fe5f04 1px, transparent 0);
  background-size: 24px 24px;
}

.danger-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--red);
  background-color: rgba(211,47,47,0.08);
  border: 2px solid rgba(211,47,47,0.3);
}

.danger-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.danger-section .section-title h2 .red {
  color: var(--red);
}

.danger-section .section-title p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (min-width: 640px) {
  .danger-section .section-title p { font-size: 1.25rem; }
}

/* Danger cards */
.danger-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .danger-cards { gap: 1.25rem; }
}

.danger-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.danger-card .card-bg {
  position: absolute;
  inset: 0;
}

.danger-card .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

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

.danger-card .card-gradient {
  position: absolute;
  inset: 0;
}

.danger-card .card-content {
  position: relative;
  z-index: 10;
  padding: 1.5rem;
}

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

.danger-card .card-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.875rem;
  color: var(--orange);
}

@media (min-width: 640px) {
  .danger-card .card-number { font-size: 2.25rem; }
}

.danger-card .card-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

@media (min-width: 640px) {
  .danger-card .card-title { font-size: 1.875rem; }
}

.danger-card .card-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.8;
  white-space: pre-line;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .danger-card .card-desc { font-size: 1.125rem; }
}

.danger-card .card-stat {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .danger-card .card-stat { font-size: 1rem; }
}

.danger-card .card-stat svg {
  width: 1rem;
  height: 1rem;
  color: #fde047;
  flex-shrink: 0;
}

/* Warning box */
.warning-box {
  margin-top: 2.5rem;
  text-align: center;
  border-radius: 1rem;
  padding: 1.5rem;
  background-color: rgba(211,47,47,0.04);
  border: 2px solid rgba(211,47,47,0.2);
}

@media (min-width: 640px) {
  .warning-box { margin-top: 3rem; padding: 2rem; }
}

.warning-box .warning-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .warning-box .warning-title { font-size: 1.875rem; }
}

.warning-box p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (min-width: 640px) {
  .warning-box p { font-size: 1.125rem; }
}

.warning-box strong {
  color: var(--foreground);
}

/* ---------- Honesty Section ---------- */
.honesty-section {
  padding: 4rem 0;
  background: #fff;
}

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

.honesty-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--green);
  background-color: rgba(46,139,87,0.06);
  border: 1px solid rgba(46,139,87,0.19);
}

.honesty-badge svg {
  width: 1rem;
  height: 1rem;
}

.honesty-section .section-title h2 {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
}

.honesty-section .section-title h2 .green {
  color: var(--green);
}

.honesty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 640px) {
  .honesty-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.honesty-image {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  position: relative;
}

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

.honesty-image .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46,139,87,0.12), transparent);
}

.promise-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.promise-item .promise-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46,139,87,0.07);
  margin-top: 0.125rem;
}

.promise-item .promise-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
}

.promise-item p {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: pre-line;
}

@media (min-width: 640px) {
  .promise-item p { font-size: 1.25rem; }
}

/* ---------- Free Check Section ---------- */
.freecheck-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background-color: var(--orange);
}

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

.freecheck-section .wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-1px);
}

.freecheck-section .wave-top svg {
  width: 100%;
  display: block;
  height: 60px;
}

.freecheck-section .dot-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
  background-size: 24px 24px;
}

.freecheck-badge {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
}

.freecheck-section h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

@media (min-width: 640px) {
  .freecheck-section h2 { font-size: 2.75rem; }
}

.freecheck-section .freecheck-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}

@media (min-width: 640px) {
  .freecheck-section .freecheck-desc { font-size: 1.25rem; }
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .steps-grid { gap: 1.25rem; }
}

.step-item {
  text-align: center;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

@media (min-width: 640px) {
  .step-icon { width: 5rem; height: 5rem; }
}

.step-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #fff;
}

@media (min-width: 640px) {
  .step-icon svg { width: 2.25rem; height: 2.25rem; }
}

.step-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .step-label { font-size: 0.875rem; }
}

.step-title {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

@media (min-width: 640px) {
  .step-title { font-size: 1.25rem; }
}

.step-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  white-space: pre-line;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .step-desc { font-size: 1rem; }
}

/* ---------- Diagnosis Form Section ---------- */
.form-section {
  padding: 4rem 0;
  background-color: #f5f5f0;
}

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

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-header .form-pre {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .form-header .form-pre { font-size: 1.25rem; }
}

.form-header h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  text-align: center !important;
  margin-top: 0;
}

@media (min-width: 640px) {
  .form-header h2 { font-size: 2.75rem; }
}

.form-header .form-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.form-header .form-time svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--orange);
}

.form-header .form-time span {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange);
}

@media (min-width: 640px) {
  .form-header .form-time span { font-size: 1.25rem; }
}

.form-header .form-time .time-num {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0.25rem;
}

@media (min-width: 640px) {
  .form-header .form-time .time-num { font-size: 1.875rem; }
}

/* Form card */
.form-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

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

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group .required {
  font-size: 0.875rem;
  margin-left: 0.25rem;
  color: var(--red);
}

.form-group .form-hint {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.form-group input[type="file"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--foreground);
  font-size: 1.125rem;
  font-family: var(--font-body);
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input[type="file"] {
  padding: 12px 16px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(254,95,4,0.2);
}

.form-group input::placeholder {
  color: rgba(107,114,128,0.4);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
}

.form-group .contact-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Photo guide */
.photo-guide {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 1rem;
  margin-bottom: 1rem;
}

.photo-guide .guide-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.photo-guide .guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.guide-item {
  text-align: center;
}

.guide-item .guide-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.375rem;
}

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

.guide-item .guide-img.bad {
  border: 2px solid #fca5a5;
}

.guide-item .guide-img.good {
  border: 2px solid #4ade80;
}

.guide-item .guide-badge {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-item .guide-badge.bad {
  background-color: #ef4444;
}

.guide-item .guide-badge.good {
  background-color: #22c55e;
}

.guide-item .guide-badge svg {
  width: 1rem;
  height: 1rem;
  color: #fff;
}

.guide-item .guide-label {
  font-size: 0.75rem;
  font-weight: 700;
}

.guide-item .guide-label.bad {
  color: #ef4444;
}

.guide-item .guide-label.good {
  color: var(--green);
}

.guide-item .guide-desc {
  font-size: 0.625rem;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 0.125rem;
}

/* Photo upload area */
.upload-area {
  width: 100%;
  border: 2px dashed rgba(254,95,4,0.4);
  border-radius: 0.75rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: border-color 0.3s, background-color 0.3s;
  cursor: pointer;
}

.upload-area:hover {
  border-color: rgba(254,95,4,0.7);
  background-color: rgba(254,95,4,0.03);
}

.upload-area .upload-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: rgba(254,95,4,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-area .upload-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--orange);
}

.upload-area .upload-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange);
}

.upload-area .upload-hint {
  font-size: 1rem;
  color: var(--muted);
}

/* Photo preview grid */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.preview-item .remove-btn {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.75rem;
  height: 1.75rem;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.preview-item .remove-btn svg {
  width: 1rem;
  height: 1rem;
  color: #fff;
}

/* Upload choice modal */
.upload-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 640px) {
  .upload-modal-overlay { align-items: center; }
}

.upload-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.upload-modal {
  position: relative;
  width: 100%;
  max-width: 24rem;
  margin: 0 1rem 1.5rem;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

@media (min-width: 640px) {
  .upload-modal { margin-bottom: 0; }
}

.upload-modal .modal-header {
  padding: 1.25rem;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
}

.upload-modal .modal-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.upload-modal .modal-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.upload-modal .modal-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #f3f4f6;
  transition: all 0.3s;
  cursor: pointer;
  text-align: left;
}

.upload-modal .modal-option:hover {
  border-color: rgba(254,95,4,0.3);
  background-color: rgba(254,95,4,0.03);
}

.upload-modal .modal-option .option-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: rgba(254,95,4,0.08);
}

.upload-modal .modal-option .option-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--orange);
}

.upload-modal .modal-option .option-title {
  font-size: 1rem;
  font-weight: 700;
}

.upload-modal .modal-option .option-desc {
  font-size: 0.875rem;
  color: var(--muted);
}

.upload-modal .modal-footer {
  padding: 1rem;
  border-top: 1px solid #f3f4f6;
}

.upload-modal .modal-cancel {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  border-radius: 0.75rem;
  transition: background-color 0.3s;
}

.upload-modal .modal-cancel:hover {
  background-color: #f9fafb;
}

/* Privacy note */
.privacy-note {
  border-radius: 0.75rem;
  padding: 1rem;
  background-color: rgba(46,139,87,0.03);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.privacy-note svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--green);
}

.privacy-note p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Submit button */
.submit-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--orange);
  color: #fff;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: var(--orange-hover);
}

.submit-btn:active {
  transform: scale(0.95);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn .submit-sub {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.submit-btn .submit-sub svg {
  width: 1rem;
  height: 1rem;
}

.submit-btn .submit-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .submit-btn .submit-main { font-size: 1.5rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3rem 0 3.5rem;
  background-color: #2d2d2d;
  text-align: center;
}

.footer-brand {
  margin-bottom: 1.75rem;
}

.footer-brand .footer-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  background-color: var(--orange);
  border: 1px solid rgba(255,255,255,0.15);
}

.footer-brand .footer-icon span {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 900;
  font-size: 1.5rem;
}

.footer-brand .footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1.125rem;
  margin-top: 0.25rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-contact {
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
  }
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact a svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-contact a span {
  font-weight: 900;
  font-size: 1.25rem;
}

.footer-contact .divider {
  display: none;
  color: rgba(255,255,255,0.3);
}

@media (min-width: 640px) {
  .footer-contact .divider { display: block; }
}

.footer-contact .hours {
  color: rgba(255,255,255,0.55);
  font-size: 1.125rem;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-links { gap: 2rem; }
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 1.125rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copyright {
  color: rgba(255,255,255,0.35);
  font-size: 0.875rem;
}

/* ---------- Thanks Page ---------- */
.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 68px;
}

.thanks-content {
  text-align: center;
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .thanks-content { padding: 6rem 1rem; }
}

.thanks-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  background-color: rgba(46,139,87,0.08);
}

.thanks-icon svg {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--green);
}

.thanks-content h1 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .thanks-content h1 { font-size: 2.25rem; }
}

.thanks-content .thanks-desc {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .thanks-content .thanks-desc { font-size: 1.25rem; }
}

/* Info cards */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(46,139,87,0.19);
  background-color: rgba(46,139,87,0.02);
}

.info-card .info-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46,139,87,0.08);
}

.info-card .info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
}

.info-card .info-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.info-card .info-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Thanks actions */
.thanks-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
  margin: 0 auto;
}

.thanks-phone-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  padding: 1.25rem 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
}

.thanks-phone-btn:hover {
  background-color: var(--orange-hover);
}

.thanks-phone-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.thanks-back-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  border: 1px solid var(--border);
  transition: background-color 0.3s;
}

.thanks-back-btn:hover {
  background-color: #f9fafb;
  color: var(--muted) !important;
}

.thanks-back-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---------- Animations ---------- */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254,95,4,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(254,95,4,0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { position: relative; z-index: 10; }
.hidden { display: none; }