/* CSS Variables */
:root {
  --background: #fafafa;
  --foreground: #1a2332;
  --card: #ffffff;
  --card-foreground: #1a2332;
  --primary: #1e6b5c;
  --primary-foreground: #fafafa;
  --secondary: #f3f4f6;
  --secondary-foreground: #1a2332;
  --muted: #e5e7eb;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --radius: 0.5rem;
  
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: rgba(30, 107, 92, 0.9);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .header-container {
    height: 5rem;
  }
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .logo {
    font-size: 1.875rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: var(--foreground);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-icon {
  position: relative;
  width: 1.25rem;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  bottom: -6px;
}

.menu-toggle.active .menu-icon {
  background-color: transparent;
}

.menu-toggle.active .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .menu-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.mobile-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--foreground);
}

.mobile-nav-divider {
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 35, 50, 0.9), rgba(26, 35, 50, 0.7), rgba(26, 35, 50, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .hero-content {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.feature-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: rgba(30, 107, 92, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-check svg {
  color: white;
}

/* Sections */
.section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.section-secondary {
  background-color: var(--secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header-light .section-title {
  color: white;
}

.section-header-light .section-description {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* House Types */
.house-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .house-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .house-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.house-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.house-card:hover {
  border-color: rgba(30, 107, 92, 0.5);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.house-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: rgba(30, 107, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.house-card:hover .house-icon {
  background-color: rgba(30, 107, 92, 0.2);
}

.house-icon svg {
  color: var(--primary);
}

.house-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.house-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.house-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.house-note {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
}

.house-note p {
  color: var(--muted-foreground);
  text-align: center;
  line-height: 1.6;
}

.house-note strong {
  color: var(--foreground);
}

/* What's Included */
.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .included-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.included-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: background-color 0.3s ease;
}

.included-item:hover {
  background-color: var(--secondary);
}

.included-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background-color: rgba(30, 107, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.included-item:hover .included-icon {
  background-color: rgba(30, 107, 92, 0.2);
}

.included-icon svg {
  color: var(--primary);
}

.included-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.included-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Why Us */
.section-dark {
  position: relative;
  overflow: hidden;
}

.why-us-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.why-us-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 35, 50, 0.95);
}

.why-us-content {
  position: relative;
  z-index: 10;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.advantage-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.advantage-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.advantage-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: rgba(30, 107, 92, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  background-color: rgba(30, 107, 92, 0.3);
}

.advantage-icon svg {
  color: var(--primary);
}

.advantage-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.advantage-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Process */
.process-section {
  position: relative;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.process-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(243, 244, 246, 0.95);
}

.process-content {
  position: relative;
  z-index: 10;
}

.process-steps {
  max-width: 56rem;
  margin: 0 auto;
}

.process-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .process-step {
    gap: 2.5rem;
  }
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-line {
  position: absolute;
  left: 1.5rem;
  top: 4rem;
  bottom: 0;
  width: 1px;
  background-color: var(--border);
}

@media (min-width: 1024px) {
  .step-line {
    left: 2rem;
  }
}

.process-step:last-child .step-line {
  display: none;
}

.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .step-number {
    width: 4rem;
    height: 4rem;
    font-size: 1.25rem;
  }
}

.step-content {
  flex-grow: 1;
  padding-top: 0.25rem;
}

@media (min-width: 1024px) {
  .step-content {
    padding-top: 0.75rem;
  }
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .step-title {
    font-size: 1.5rem;
  }
}

.step-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Contact Form */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(4px);
}

.contact-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
}

.contact-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .contact-card {
    padding: 2.5rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-input,
.form-select {
  height: 3rem;
}

.form-textarea {
  resize: none;
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 0;
}

.form-success.active {
  display: block;
}

.contact-form.hidden {
  display: none;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: rgba(30, 107, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  color: var(--primary);
}

.success-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.success-description {
  color: var(--muted-foreground);
}

/* FAQ */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(30, 107, 92, 0.5);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--foreground);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.footer-links,
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-list span {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

a.footer-contact:hover {
  color: white;
}

.footer-contact svg {
  color: var(--primary);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright,
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}
