/* --- Variables --- */
:root {
  --color-bg: #f8f9fa;
  --color-bg-alt: #ffffff;
  --color-dark: #1a2332;
  --color-dark-soft: #2d3a4f;
  --color-accent: #1e5f74;
  --color-accent-light: #2a7d94;
  --color-text: #333;
  --color-text-muted: #5c6b7a;
  --color-border: #e2e8f0;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --max-width: 1100px;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(26, 35, 50, 0.08);
  --shadow-hover: 0 8px 30px rgba(26, 35, 50, 0.12);
}

/* --- Reset & base --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.logo-accent {
  color: var(--color-accent);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  color: var(--color-dark-soft);
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-soft) 50%, var(--color-accent) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.hero-intro {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero .btn {
  display: inline-block;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: #fff;
  color: var(--color-dark);
  border: none;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* --- Sections --- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 0 3rem;
}

/* --- Feature icons (no emoji) --- */
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.feature-icon-1 {
  background: var(--color-accent);
}

.feature-icon-2 {
  background: var(--color-dark-soft);
}

.feature-icon-3 {
  background: var(--color-accent);
}

/* --- Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- Target groups --- */
.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.target-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.target-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.target-card h4 {
  font-size: 1rem;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.target-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* --- Steps --- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--color-dark);
}

.step p {
  margin: 0;
  color: var(--color-text-muted);
}

/* --- Fee info --- */
.fee-info h3 {
  font-size: 1.25rem;
  color: var(--color-dark);
  margin: 0 0 1.5rem;
}

.fee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.fee-card {
  background: var(--color-bg);
  padding: 1.75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
}

.fee-label {
  font-weight: 600;
  color: var(--color-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.fee-value {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
}

.fee-card p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.fee-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* --- Contact --- */
.contact-section {
  background: var(--color-dark);
  color: #fff;
}

.contact-section .section-intro {
  color: rgba(255, 255, 255, 0.85);
}

.contact-content {
  display: grid;
  gap: 2rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.06);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.contact-info h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.contact-info ul {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-info li {
  margin-bottom: 0.5rem;
}

.contact-info h3 + h3 {
  margin-top: 2rem;
}

.property-types-intro {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.property-types {
  margin: 0 0 2rem;
}

.contact-section .btn-primary {
  background: #fff;
  color: var(--color-dark);
}

.contact-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95);
}

.contact-section h2 {
  color: #fff;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark-soft);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer .logo {
  color: #fff;
}

.footer .logo-accent {
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.2s;
}

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

/* --- Mobile --- */
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .logo {
    font-size: 1rem;
    max-width: 60%;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav.open a {
    padding: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .section {
    padding: 3rem 0;
  }

  .section-intro {
    margin-bottom: 2rem;
  }

  .hero {
    min-height: 80vh;
    padding: 5.5rem 0 3rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-intro {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    min-width: 0;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .target-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-width: 0;
  }

  .target-card {
    padding: 1.25rem;
  }

  .step {
    flex-direction: column;
    gap: 1rem;
  }

  .fee-cards {
    grid-template-columns: 1fr;
  }

  .fee-card {
    padding: 1.25rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .contact-info ul {
    margin-bottom: 1.5rem;
  }

  .footer {
    padding: 2rem 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 75vh;
    padding: 5rem 0 2.5rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-scroll {
    bottom: 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .btn-large {
    width: 100%;
    padding: 1rem;
  }
}
