/* おうち不動産 - style.css */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration:none; color:inherit; transition:color .3s, opacity .3s; }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }
table { border-collapse:collapse; width:100%; }

.container { max-width:1100px; margin:0 auto; padding:0 20px; }
.section { padding:100px 0; }
.section-label {
  font-size:.8rem; font-weight:600; letter-spacing:.15em;
  text-transform:uppercase; color:#222222; margin-bottom:12px;
}
.section-title {
  font-family:'Inter', 'Noto Sans JP', sans-serif; font-size:2rem; font-weight:700;
  line-height:1.4; margin-bottom:16px; color:#222222;
}
.section-desc {
  font-size:1rem; color:#666666; max-width:640px;
  margin:0 auto 48px; text-align:center;
}
.section-header {
  text-align:center;
  margin-bottom:16px;
}

.fade-up {
  opacity:0; transform:translateY(30px);
  transition:opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity:1; transform:translateY(0); }

.sample-banner {
  background:#222222; color:#fff;
  text-align:center; padding:8px 16px; font-size:.78rem;
  font-weight:500; letter-spacing:.05em; position:relative; z-index:1100;
}

.header {
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  background:transparent; transition:all .4s; padding-top:30px;
}
.header.scrolled {
  background:rgba(255,255,255,.97);
  box-shadow:0 2px 20px rgba(0,0,0,0.06);
  padding-top:0;
}
.header-inner {
  max-width:1200px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between; height:70px;
}
.logo {
  display:flex; align-items:center; gap:10px;
  font-weight:700; font-size:1.15rem; color:#222222;
}
.logo-icon { flex-shrink:0; }
.nav {
  display:flex; align-items:center; gap:28px;
}
.nav a {
  font-size:.85rem; font-weight:500; color:#555;
  position:relative; padding:4px 0; transition:color .3s;
}
.nav a::after {
  content:''; position:absolute; bottom:0; left:0; width:0; height:2px;
  background:#222222; transition:width .3s;
}
.nav a:hover::after, .nav a.active::after { width:100%; }
.nav a:hover { color:#222222; }
.nav-cta {
  background:#222222 !important;
  color:#fff !important;
  padding:10px 24px !important; border-radius:6px;
  font-weight:600 !important; transition:background .3s, transform .3s !important;
}
.nav-cta::after { display:none !important; }
.nav-cta:hover {
  background:#444444 !important; transform:translateY(-2px);
}
.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:8px;
}
.hamburger span {
  display:block; width:24px; height:2px;
  background:#222222; transition:all .3s; border-radius:2px;
}
.hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

.hero {
  position:relative; min-height:100vh; display:flex;
  align-items:center; justify-content:center; overflow:hidden;
  background:#F5F5F5;
}
.hero-bg { position:absolute; inset:0; overflow:hidden; }
.hero-line, .hero-shape, .hero-dots, .hero-grid, .hero-shield,
.hero-gradient, .hero-pattern, .hero-cloud, .hero-wave,
.hero-line-1, .hero-line-2, .hero-line-3,
.hero-shape-1, .hero-shape-2,
.hero-cloud-1, .hero-cloud-2, .hero-cloud-3 {
  position:absolute;
}
.hero-line-1 { top:20%; left:0; right:0; height:1px; background:#222222; opacity:.08; }
.hero-line-2 { top:50%; left:0; right:0; height:1px; background:#222222; opacity:.05; }
.hero-line-3 { top:80%; left:0; right:0; height:1px; background:#222222; opacity:.08; }
.hero-shape-1 {
  width:300px; height:300px; border-radius:50%;
  background:#222222; opacity:.04; top:10%; right:-50px;
}
.hero-shape-2 {
  width:200px; height:200px; border-radius:50%;
  background:#444444; opacity:.04; bottom:15%; left:-30px;
}
.hero-dots {
  inset:0;
  background-image:radial-gradient(#222222 1px, transparent 1px);
  background-size:40px 40px; opacity:.04;
}
.hero-grid {
  inset:0;
  background-image:linear-gradient(#222222 1px, transparent 1px),
    linear-gradient(90deg, #222222 1px, transparent 1px);
  background-size:60px 60px; opacity:.03;
}
.hero-shield {
  top:50%; left:50%; transform:translate(-50%,-50%);
  width:400px; height:400px; border:1px solid #222222;
  border-radius:50%; opacity:.05;
}
.hero-gradient {
  inset:0; background:linear-gradient(135deg, #F5F5F5 0%, transparent 60%);
}
.hero-pattern {
  inset:0;
  background-image:repeating-linear-gradient(45deg,#222222 0,#222222 1px,transparent 0,transparent 40px);
  opacity:.02;
}
.hero-line { height:1px; background:#222222; opacity:.1; }
.hero-line-bottom { width:60px; height:1px; background:#222222; margin:30px auto 0; opacity:.4; }
.hero-cloud { border-radius:50%; background:#222222; opacity:.04; }
.hero-cloud-1 { width:200px; height:100px; top:20%; left:10%; animation:floatCloud 20s ease-in-out infinite; }
.hero-cloud-2 { width:150px; height:75px; top:40%; right:15%; animation:floatCloud 25s ease-in-out infinite reverse; }
.hero-cloud-3 { width:120px; height:60px; bottom:25%; left:30%; animation:floatCloud 18s ease-in-out infinite; }
.hero-wave {
  bottom:0; left:0; right:0; height:60px;
  background:#fff; border-radius:100% 100% 0 0;
}
@keyframes floatCloud {
  0%,100% { transform:translateX(0) translateY(0); }
  50% { transform:translateX(20px) translateY(-10px); }
}
.hero-content {
  position:relative; z-index:2; text-align:center;
  max-width:800px; padding:120px 24px 60px;
}
.hero-sub {
  font-size:.88rem; font-weight:600; letter-spacing:.15em;
  color:#222222; margin-bottom:20px;
}
.hero-title {
  font-family:'Inter', 'Noto Sans JP', sans-serif; font-size:3rem; font-weight:700;
  line-height:1.3; color:#222222; margin-bottom:20px;
}
.hero-desc {
  font-size:1.05rem; color:#666666; line-height:1.9; margin-bottom:36px;
}
.hero-actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.hero-trust { margin-top:32px; }
.hero-trust-item {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.82rem; color:#666666;
}
.hero-certifications {
  display:flex; gap:20px; justify-content:center; margin-top:32px; flex-wrap:wrap;
}
.hero-cert {
  display:flex; align-items:center; gap:6px;
  font-size:.78rem; color:#666666; font-weight:500;
}
.hero-badges {
  display:flex; gap:16px; justify-content:center; margin-top:28px; flex-wrap:wrap;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:6px;
  font-size:.8rem; color:#666666;
  background:rgba(0,0,0,.04);
  padding:6px 14px; border-radius:20px;
}
.hero-scroll {
  position:absolute; bottom:40px; left:50%; transform:translateX(-50%);
  text-align:center; z-index:2;
}
.hero-scroll span {
  font-size:.7rem; letter-spacing:.15em; color:#222222; display:block; margin-bottom:8px;
}
.hero-scroll-line {
  width:1px; height:50px; background:#222222; margin:0 auto;
  animation:scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { opacity:0; transform:scaleY(0); transform-origin:top; }
  50% { opacity:1; transform:scaleY(1); transform-origin:top; }
  100% { opacity:0; }
}

.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 36px; border-radius:6px; font-size:.95rem; font-weight:600;
  cursor:pointer; transition:all .3s; border:2px solid transparent;
}
.btn-primary {
  background:#222222; color:#fff;
  border-color:#222222;
}
.btn-primary:hover {
  background:#444444; border-color:#444444;
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(34,34,34,.25);
}
.btn-outline {
  background:transparent; color:#222222; border-color:#222222;
}
.btn-outline:hover {
  background:#222222; color:#fff;
  transform:translateY(-2px);
}
.btn-full { width:100%; }

.about-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:60px;
  align-items:center; margin-top:48px;
}
.about-text { font-size:.95rem; color:#666666; }
.about-text p { margin-bottom:16px; }
.about-lead {
  font-size:1.1rem; font-weight:700; color:#222222;
  border-left:4px solid #222222; padding-left:16px;
  margin-bottom:24px !important; line-height:1.7;
}
.about-image svg { width:100%; height:auto; border-radius:12px; }
.about-stats {
  display:flex; justify-content:center; align-items:center; gap:40px;
  margin-top:48px; padding:32px; background:#ffffff;
  border-radius:12px; border:1px solid #f0f0f0;
}
.about-stat { text-align:center; }
.about-stat-num {
  font-size:1.8rem; font-weight:900; color:#222222;
  display:block; line-height:1;
}
.about-stat-label { font-size:.8rem; color:#666666; margin-top:6px; display:block; }
.about-stat-divider { width:1px; height:40px; background:#f0f0f0; }
.about-features {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px;
}
.about-feature {
  text-align:center; padding:28px 20px; background:#ffffff;
  border-radius:12px; border:1px solid #f0f0f0;
}
.about-feature-icon { margin-bottom:16px; }
.about-feature h3 { font-size:.95rem; font-weight:700; color:#222222; margin-bottom:8px; }
.about-feature p { font-size:.82rem; color:#666666; line-height:1.6; }
.about-metrics {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px;
}
.about-metric {
  text-align:center; padding:28px 20px; background:#ffffff;
  border:1px solid #f0f0f0; border-radius:12px;
}
.about-metric-icon { margin-bottom:12px; }
.about-metric h3 { font-size:.95rem; font-weight:700; color:#222222; margin-bottom:8px; }
.about-metric p { font-size:.82rem; color:#666666; line-height:1.6; }

.services-grid {
  display:grid; grid-template-columns:repeat(2,1fr); gap:28px; margin-top:48px;
}
.service-card {
  background:#ffffff; border:1px solid #f0f0f0;
  border-radius:12px; padding:36px 28px;
  transition:transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 40px rgba(34,34,34,.08);
  border-color:#222222;
}
.service-icon { margin-bottom:20px; }
.service-icon svg { width:52px; height:52px; }
.service-num { font-size:2rem; font-weight:900; color:#222222; opacity:.2; margin-bottom:12px; }
.service-card h3 { font-size:1.1rem; font-weight:700; margin-bottom:12px; color:#222222; }
.service-card p { font-size:.88rem; color:#666666; line-height:1.7; margin-bottom:16px; }
.service-list { padding-top:12px; border-top:1px solid #f0f0f0; }
.service-list li {
  font-size:.83rem; color:#555;
  padding:6px 0 6px 20px; position:relative;
}
.service-list li::before {
  content:''; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:8px; height:8px; border-radius:50%; background:#222222; opacity:.4;
}

.works-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:48px;
}
.work-card {
  background:#ffffff; border:1px solid #f0f0f0;
  border-radius:12px; overflow:hidden;
  transition:transform .3s, box-shadow .3s;
}
.work-card:hover {
  transform:translateY(-4px);
  box-shadow:0 8px 30px rgba(0,0,0,0.06);
}
.work-image svg { width:100%; height:auto; display:block; }
.work-info { padding:24px; }
.work-tag {
  display:inline-block; font-size:.72rem; font-weight:600; color:#222222;
  background:rgba(34,34,34,.1); padding:4px 12px; border-radius:20px; margin-bottom:12px;
}
.work-info h3 { font-size:1rem; font-weight:700; margin-bottom:10px; color:#222222; }
.work-info p { font-size:.85rem; color:#666666; line-height:1.7; }
.work-stars { display:flex; gap:2px; margin-bottom:10px; }

.numbers {
  background:#F5F5F5;
}
.numbers-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px; margin-top:48px;
}
.number-card { text-align:center; padding:24px 16px; }
.number-value {
  font-size:2.8rem; font-weight:900; color:#222222; line-height:1;
  margin-bottom:8px; display:flex; align-items:baseline;
  justify-content:center; gap:4px;
}
.number-unit { font-size:1rem; font-weight:700; color:#222222; opacity:.6; }
.number-line { width:30px; height:2px; background:#222222; margin:10px auto; opacity:.3; }
.number-label { font-size:.85rem; color:#666666; margin-top:4px; }

.flow-steps { max-width:700px; margin:48px auto 0; }
.flow-step {
  display:flex; gap:24px; padding:28px 0;
  border-bottom:1px solid #f0f0f0; align-items:flex-start;
}
.flow-step:last-child { border-bottom:none; }
.flow-number {
  font-size:1.5rem; font-weight:900; color:#222222;
  flex-shrink:0; width:50px; text-align:center; opacity:.5;
}
.flow-icon { flex-shrink:0; }
.flow-body h3 { font-size:1.05rem; font-weight:700; margin-bottom:8px; color:#222222; }
.flow-body p { font-size:.88rem; color:#666666; line-height:1.7; }

.cta-banner {
  background:linear-gradient(135deg,#222222,#444444);
  padding:80px 0;
}
.cta-inner { text-align:center; max-width:700px; margin:0 auto; }
.cta-line { width:60px; height:1px; background:#fff; margin:0 auto 24px; opacity:.4; }
.cta-content h2 {
  font-family:'Inter', 'Noto Sans JP', sans-serif; font-size:1.5rem; font-weight:700;
  color:#fff; margin-bottom:16px;
}
.cta-content p {
  font-size:.95rem; color:rgba(255,255,255,.9);
  margin-bottom:32px; line-height:1.8;
}
.cta-banner .btn-primary {
  background:#fff;
  color:#222222; border-color:#fff;
}
.cta-banner .btn-primary:hover { opacity:.9; transform:translateY(-2px); }

.faq-list { max-width:760px; margin:48px auto 0; }
.faq-item { border-bottom:1px solid #f0f0f0; }
.faq-question {
  display:flex; align-items:center; gap:16px; padding:20px 0;
  cursor:pointer; transition:color .3s;
}
.faq-q {
  display:flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50%;
  background:#222222; color:#fff;
  font-weight:700; font-size:.85rem; flex-shrink:0;
}
.faq-question h3 {
  font-size:.95rem; font-weight:600; flex:1;
  color:#222222; line-height:1.5; transition:color .3s;
}
.faq-question:hover h3 { color:#222222; }
.faq-answer { display:none; padding:0 0 20px 48px; }
.faq-item.open .faq-answer { display:flex; gap:16px; }
.faq-a {
  display:flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50%;
  background:#F5F5F5; color:#222222;
  font-weight:700; font-size:.85rem; flex-shrink:0;
}
.faq-answer p { font-size:.9rem; color:#666666; line-height:1.8; }

.method-grid, .standards-grid, .promise-grid, .expertise-grid, .reason-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:48px;
}
.method-card, .standard-card, .promise-card, .expertise-card, .reason-card {
  background:#ffffff; border:1px solid #f0f0f0;
  border-radius:12px; padding:32px 24px; text-align:center;
  transition:transform .3s;
}
.method-card:hover, .standard-card:hover, .promise-card:hover,
.expertise-card:hover, .reason-card:hover { transform:translateY(-4px); }
.method-step, .standard-num, .reason-num {
  font-size:.78rem; font-weight:700; color:#222222;
  letter-spacing:.1em; margin-bottom:12px; display:block;
}
.method-card h3, .standard-card h3, .promise-card h3,
.expertise-card h3, .reason-card h3 {
  font-size:1rem; font-weight:700; margin-bottom:10px; color:#222222;
}
.method-card p, .standard-card p, .promise-card p,
.expertise-card p, .reason-card p {
  font-size:.85rem; color:#666666; line-height:1.7;
}
.promise-icon { margin-bottom:12px; }
.reason-grid { grid-template-columns:repeat(3,1fr); }

.company-table {
  max-width:760px; margin:48px auto 0; background:#ffffff;
  border-radius:12px; overflow:hidden; border:1px solid #f0f0f0;
}
.company-table table { width:100%; }
.company-table th, .company-table td {
  padding:16px 24px; font-size:.9rem;
  border-bottom:1px solid #f0f0f0; text-align:left; vertical-align:top;
}
.company-table th {
  background:#F5F5F5; font-weight:600; width:30%; color:#222222;
}
.company-table td { color:#666666; }
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom:none; }

.contact { background:#F5F5F5; }
.contact-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:48px; margin-top:48px;
}
.contact-info { display:flex; flex-direction:column; gap:28px; }
.contact-item { display:flex; gap:16px; align-items:flex-start; }
.contact-item svg { flex-shrink:0; margin-top:4px; }
.contact-item strong {
  display:block; font-size:.85rem; font-weight:700;
  color:#222222; margin-bottom:4px;
}
.contact-item p { font-size:.88rem; color:#666666; line-height:1.6; }
.contact-phone {
  text-align:center; padding:32px; background:#ffffff;
  border:1px solid #f0f0f0; border-radius:12px; margin-bottom:24px;
}
.contact-phone-label { font-size:.85rem; color:#666666; margin-bottom:8px; }
.contact-phone-number { font-size:1.8rem; font-weight:900; color:#222222; letter-spacing:.05em; }
.contact-phone-time { font-size:.8rem; color:#666666; margin-top:6px; }

.contact-form {
  background:#ffffff; border-radius:12px; padding:36px;
  border:1px solid #f0f0f0;
}
.form-group { margin-bottom:20px; }
.form-group label {
  display:block; font-size:.85rem; font-weight:600;
  color:#222222; margin-bottom:6px;
}
.form-group input, .form-group textarea, .form-group select {
  width:100%; padding:12px 16px; font-size:.9rem;
  border:1px solid #f0f0f0; border-radius:6px;
  background:#fff; color:#333;
  transition:border-color .3s; font-family:inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline:none; border-color:#222222;
  box-shadow:0 0 0 3px rgba(34,34,34,.1);
}
.form-group textarea { resize:vertical; }
.form-group select option { background:#ffffff; }

.footer {
  background:#222;
  color:#999; padding:60px 0 0;
}
.footer-inner {
  display:flex; justify-content:space-between; align-items:flex-start;
  padding-bottom:40px; border-bottom:1px solid #333;
}
.footer-logo {
  font-size:1.15rem; font-weight:700;
  color:#fff; display:block; margin-bottom:8px;
}
.footer-brand p { font-size:.82rem; color:#888; }
.footer-links { display:flex; gap:24px; flex-wrap:wrap; }
.footer-links a {
  font-size:.82rem; color:#999; transition:color .3s;
}
.footer-links a:hover { color:#222222; }
.footer-bottom {
  padding:24px 0; display:flex; justify-content:space-between;
  align-items:center; font-size:.78rem;
}
.footer-credit a { color:#222222; }
.footer-credit a:hover { text-decoration:underline; }

@media (max-width:1024px) {
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .works-grid { grid-template-columns:repeat(2,1fr); }
  .method-grid, .standards-grid, .promise-grid, .expertise-grid { grid-template-columns:repeat(2,1fr); }
  .about-features, .about-metrics { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .hamburger { display:flex; }
  .nav {
    position:fixed; top:0; right:-100%; width:80%; max-width:320px;
    height:100vh; background:#fff; flex-direction:column;
    padding:100px 32px 40px; gap:0;
    box-shadow:-4px 0 20px rgba(0,0,0,0.1);
    transition:right .3s; z-index:999;
  }
  .nav.open { right:0; }
  .nav a { padding:16px 0; border-bottom:1px solid #f0f0f0; font-size:.95rem; width:100%; }
  .nav-cta { margin-top:20px; text-align:center; }
  .hero-title { font-size:2rem; }
  .section-title { font-size:1.5rem; }
  .section { padding:70px 0; }
  .about-grid, .contact-grid { grid-template-columns:1fr; gap:32px; }
  .services-grid, .works-grid { grid-template-columns:1fr; }
  .numbers-grid { grid-template-columns:repeat(2,1fr); gap:16px; }
  .about-stats { flex-direction:column; gap:20px; }
  .about-stat-divider { width:40px; height:1px; }
  .about-features, .about-metrics { grid-template-columns:1fr; }
  .method-grid, .standards-grid, .promise-grid, .expertise-grid, .reason-grid { grid-template-columns:1fr; }
  .footer-inner { flex-direction:column; gap:24px; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
  .contact-form { padding:24px; }
  .company-table th { display:block; width:100%; border-bottom:none; padding-bottom:4px; }
  .company-table td { display:block; padding-top:0; }
}
@media (max-width:480px) {
  .hero-title { font-size:1.6rem; }
  .hero-desc { font-size:.9rem; }
  .numbers-grid { grid-template-columns:1fr 1fr; }
  .number-value { font-size:2.2rem; }
  .btn { padding:12px 28px; font-size:.88rem; }
  .hero-certifications { flex-direction:column; align-items:center; }
}

/* ==================== Extended Animations ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==================== Enhanced Card Styles ==================== */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity .3s;
}
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card:hover::before {
  opacity: 1;
}
.work-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity .3s;
}
.work-card {
  position: relative;
}
.work-card:hover::after {
  opacity: .5;
}

/* ==================== Enhanced Typography ==================== */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 16px;
  border-radius: 2px;
  opacity: .4;
}
.section-header .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

/* ==================== Enhanced Number Cards ==================== */
.number-card {
  position: relative;
}
.number-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  border-radius: 1px;
  opacity: .2;
}

/* ==================== Enhanced Flow Steps ==================== */
.flow-step {
  position: relative;
}
.flow-step::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 1px;
  opacity: .1;
}
.flow-step:first-child::before {
  top: 50%;
}
.flow-step:last-child::before {
  bottom: 50%;
}

/* ==================== Loading State ==================== */
.btn.loading {
  pointer-events: none;
  opacity: .7;
}
.btn.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin-left: 8px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================== Tooltip ==================== */
[data-tooltip] {
  position: relative;
  cursor: help;
}
[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: .75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
[data-tooltip]:hover::before {
  opacity: 1;
}

/* ==================== Scroll indicator ==================== */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 10001;
  transition: width .15s;
}

/* ==================== Back to top button ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 100;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==================== Enhanced Form Styles ==================== */
.form-group input::placeholder,
.form-group textarea::placeholder {
  opacity: .5;
}
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(0,0,0,.15);
}
.form-group label .required {
  color: #e53e3e;
  margin-left: 4px;
  font-size: .75rem;
}
.form-group .form-help {
  font-size: .75rem;
  margin-top: 4px;
  opacity: .6;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.form-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.form-success p {
  font-size: .9rem;
  opacity: .7;
}

/* ==================== Breadcrumbs (if needed) ==================== */
.breadcrumbs {
  font-size: .8rem;
  padding: 12px 0;
  opacity: .6;
}
.breadcrumbs a {
  transition: opacity .3s;
}
.breadcrumbs a:hover {
  opacity: .8;
}
.breadcrumbs span {
  margin: 0 8px;
}

/* ==================== Badge styles ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.badge-new {
  background: rgba(34,197,94,.1);
  color: #22c55e;
}
.badge-popular {
  background: rgba(239,68,68,.1);
  color: #ef4444;
}

/* ==================== Overlay ==================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==================== Print styles ==================== */
@media print {
  .header,
  .sample-banner,
  .hero,
  .cta-banner,
  .cta,
  .back-to-top,
  .scroll-indicator,
  .hamburger,
  .nav-overlay {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .section {
    padding: 30px 0;
    page-break-inside: avoid;
  }
  .container {
    max-width: 100%;
  }
  a {
    color: #000;
  }
  .footer {
    background: #fff;
    color: #333;
    border-top: 1px solid #ccc;
  }
}

/* ==================== High contrast mode ==================== */
@media (prefers-contrast: high) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==================== Reduced motion ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ==================== Selection ==================== */
::selection {
  background: rgba(0,0,0,.08);
}

/* ==================== Focus visible ==================== */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ==================== Table responsive ==================== */
@media (max-width: 600px) {
  .company-table {
    border-radius: 8px;
  }
  .company-table th,
  .company-table td {
    padding: 12px 16px;
    font-size: .85rem;
  }
}

/* ==================== Landscape phone ==================== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
}

/* ==================== Extra-wide screens ==================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.4rem;
  }
}

/* ==================== Safe area for notch phones ==================== */
@supports (padding: max(0px)) {
  .header-inner {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  .footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ==================== Smooth image loading ==================== */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity .3s;
}
img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* ==================== Custom scrollbar ==================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,.25);
}

/* ==================== Skip to content ==================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  font-size: .85rem;
  z-index: 10002;
  transition: top .3s;
}
.skip-link:focus {
  top: 0;
}

/* ==================== Section divider ==================== */
.section-divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: none;
  opacity: .1;
}

/* ==================== Realestate-specific styles ==================== */

/* Listings */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.listing-card {
  background: #ffffff;
  border: 1px solid #e0efe0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.listing-image {
  position: relative;
}
.listing-image svg {
  width: 100%;
  height: auto;
  display: block;
}
.listing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #43A047;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}
.listing-info {
  padding: 24px;
}
.listing-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 8px;
}
.listing-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: #43A047;
  margin-bottom: 8px;
}
.listing-specs {
  font-size: .82rem;
  color: #666666;
  margin-bottom: 12px;
}
.listing-link {
  font-size: .85rem;
  font-weight: 600;
  color: #43A047;
  transition: opacity .3s;
}
.listing-link:hover {
  opacity: .7;
}

/* Strength */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.strength-card {
  background: #ffffff;
  border: 1px solid #e0efe0;
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  transition: transform .3s;
}
.strength-card:hover {
  transform: translateY(-4px);
}
.strength-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #43A047;
  opacity: .25;
  line-height: 1;
  margin-bottom: 16px;
}
.strength-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222222;
}
.strength-card p {
  font-size: .85rem;
  color: #666666;
  line-height: 1.7;
}

/* Voices */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.voice-card {
  background: #F0F9F0;
  border: 1px solid #e0efe0;
  border-radius: 12px;
  padding: 32px 24px;
  transition: transform .3s;
}
.voice-card:hover {
  transform: translateY(-4px);
}
.voice-text {
  font-size: .88rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: italic;
}
.voice-author {
  border-top: 1px solid #e0efe0;
  padding-top: 12px;
}
.voice-name {
  font-size: .82rem;
  font-weight: 600;
  color: #666666;
}

/* Area */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.area-card {
  background: #ffffff;
  border: 1px solid #e0efe0;
  border-radius: 12px;
  padding: 28px 24px;
}
.area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 10px;
}
.area-card p {
  font-size: .85rem;
  color: #666666;
  line-height: 1.7;
}

/* Market */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.market-card {
  background: #ffffff;
  border: 1px solid #e0efe0;
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform .3s;
}
.market-card:hover {
  transform: translateY(-4px);
}
.market-date {
  font-size: .75rem;
  font-weight: 600;
  color: #43A047;
  margin-bottom: 10px;
}
.market-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 10px;
  line-height: 1.5;
}
.market-card p {
  font-size: .82rem;
  color: #666666;
  line-height: 1.7;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.partner-item {
  background: #ffffff;
  border: 1px solid #e0efe0;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}
.partner-item h3 {
  font-size: .9rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 8px;
}
.partner-item p {
  font-size: .8rem;
  color: #666666;
  line-height: 1.6;
}

/* Access */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.access-info h3 {
  font-size: .95rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 8px;
  margin-top: 20px;
}
.access-info h3:first-child {
  margin-top: 0;
}
.access-info p {
  font-size: .88rem;
  color: #666666;
  line-height: 1.7;
}
.access-map svg {
  width: 100%;
  height: auto;
  border-radius: 12px;
  color: #43A047;
}

/* FAQ toggle */
.faq-toggle {
  font-size: 1.4rem;
  color: #43A047;
  transition: transform .3s;
  flex-shrink: 0;
  font-weight: 300;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* Responsive extras */
@media (max-width: 1024px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .listings-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
}
