@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-primary: #F9F7F2;
  --bg-dark: #1C1F2A;
  --accent: #E8985E;
  --accent-hover: #D4834A;
  --text-primary: #2D3748;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

html {
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background: var(--bg-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.mandatory-notice {
  background: rgba(232, 152, 94, 0.1);
  color: var(--accent);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(232, 152, 94, 0.2);
}

main {
  flex: 1 0 auto;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  text-align: center;
}

.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2D3748 100%);
  color: var(--white);
  padding: 4rem 2rem;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.service-item span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.cta-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow: var(--shadow);
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.center-btn {
  display: block;
  margin: 3rem auto 0;
}

.process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.step {
  background: var(--bg-primary);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.3;
}

.step h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.construction-start {
  background: linear-gradient(135deg, #F9F7F2 0%, #F0EBE3 100%);
}

.construction-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.construction-text h2 {
  margin-bottom: 1.5rem;
}

.construction-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
}

.construction-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.construction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.cases {
  background: var(--white);
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.case-image {
  position: relative;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.case-details {
  padding: 2.5rem;
}

.case-details h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.case-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.spec i {
  color: var(--accent);
  font-size: 1.1rem;
}

.case-details > p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.faq {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2D3748 100%);
  color: var(--white);
}

.faq h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
  backdrop-filter: blur(10px);
}

.faq-item h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.faq-item p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.7;
}

.contact {
  background: var(--white);
}

.contact h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: var(--white);
  transition: border-color 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.submit-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 1rem 3rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
  width: 100%;
  box-shadow: var(--shadow);
}

.submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

footer {
  background: var(--bg-dark);
  color: var(--white);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo a {
  color: var(--white);
}

.footer-notice {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact h4,
.footer-links h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
}

.disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: popupSlide 0.3s ease;
}

@keyframes popupSlide {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: var(--text-primary);
}

.popup-content img {
  margin: 0 auto 1.5rem;
}

.popup-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.popup-content p {
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 968px) {
  .header-inner {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
  }
  
  nav ul {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    gap: 1rem;
  }
  
  .hero-content,
  .construction-content,
  .case-card {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section-container {
    padding: 3rem 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-services {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .case-specs {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-container {
    padding: 2.5rem 1rem;
  }
  
  .hero {
    padding: 3rem 1rem;
  }
  
  .popup {
    padding: 2rem 1.5rem;
  }

  .header-inner {
    justify-content: center;
  }

  .logo a {
    flex-direction: column;
  }

  .logo a span,
  .footer-contact p,
  .footer-notice {
    word-break: break-all;
  }
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--white);
  min-height: calc(100vh - 200px);
  word-break: break-word;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--accent-hover);
}

@media (max-width: 640px) {
  .legal-content {
    padding: 30px 15px;
  }
  
  .legal-content h1 {
    font-size: 1.75rem;
  }
  
  .legal-content h2 {
    font-size: 1.5rem;
  }
  
  .legal-content h3 {
    font-size: 1.25rem;
  }
}