* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
.card::before,
.hero::before {
  content: "";
  top: 0;
  right: 0;
  position: absolute;
  left: 0;
}
.card,
.card h4,
.card p,
.container,
.hero {
  position: relative;
}
.card,
.cta-primary,
.faq-item {
  transition: 0.3s;
}
.benefit-item,
.card,
.faq-answer {
  overflow: hidden;
}
.benefit-content,
.benefit-item,
.contact-section,
.hero,
.intro-text,
.section h2,
.timeline-header {
  text-align: center;
}

.hero {
  background: linear-gradient(
      135deg,
      rgba(71, 85, 105, 0.95),
      rgba(100, 116, 139, 0.9)
    ),
    url("../../images/house9.webp") center/cover;
  color: #fff;
  padding: clamp(60px, 10vh, 100px) 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero::before {
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(15px, 3vw, 20px);
  z-index: 2;
  width: 100%;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}
.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 2rem);
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}
.hero-phone {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 30px 0;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
  animation: 2s ease-in-out infinite alternate phoneGlow;
}
@keyframes phoneGlow {
  0% {
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    transform: scale(1);
  }
  100% {
    text-shadow: 0 0 40px rgba(251, 191, 36, 0.8),
      0 0 60px rgba(245, 158, 11, 0.4);
    transform: scale(1.02);
  }
}
.section {
  padding: clamp(40px, 8vh, 60px) 0;
}
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 30px;
  color: #475569;
  font-weight: 700;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 4vw, 40px);
  margin: 50px 0;
}
.card {
  background: #fff;
  padding: clamp(25px, 4vw, 40px) clamp(20px, 3vw, 30px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #475569;
}
.card::before {
  height: 100%;
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.02), transparent);
  z-index: 0;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  border-top-color: #334155;
}
.card h4 {
  color: #475569;
  margin-bottom: 15px;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  z-index: 1;
}
.card p {
  z-index: 1;
  line-height: 1.7;
  font-size: clamp(0.9rem, 2vw, 1rem);
}
.bg-gray {
  background: linear-gradient(135deg, #f8fafc 0, #e2e8f0 100%);
}
.cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  padding: clamp(18px, 4vw, 22px) clamp(30px, 6vw, 45px);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  text-decoration: none;
  border-radius: 60px;
  margin: 0 15px 10px;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
  border: none;
  cursor: pointer;
}
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.5);
}
.intro-text {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.timeline-container {
  background: #fff;
  padding: clamp(20px, 4vw, 40px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  margin: 40px 0;
}
.timeline-header {
  color: #475569;
  margin-bottom: 30px;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(25px, 5vw, 50px);
}
.timeline-section h4 {
  margin-bottom: 20px;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}
.timeline-traditional {
  color: #dc2626;
}
.timeline-our-process {
  color: #10b981;
}
.timeline-section ul {
  line-height: 1.8;
  list-style: none;
  padding: 0;
}
.timeline-section li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  font-size: clamp(0.9rem, 2vw, 1rem);
}
.timeline-traditional li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}
.timeline-our-process li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(20px, 4vw, 40px);
}
.benefit-item {
  padding: clamp(20px, 4vw, 30px) 20px;
}
.benefit-icon {
  font-size: clamp(2.5rem, 5vw, 3rem);
  margin-bottom: 15px;
  display: block;
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  padding: clamp(20px, 4vw, 30px);
  margin: 20px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.faq-item h4 {
  color: #475569;
  margin-bottom: 15px;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item p,
.form-input {
  font-size: clamp(0.9rem, 2vw, 1rem);
}
.faq-item h4::after {
  content: "+";
  font-size: 1.5em;
  font-weight: 700;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 15px;
}
.faq-item.active h4::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  transition: max-height 0.3s;
}
.faq-item.active .faq-answer {
  max-height: 200px;
}
.faq-item p {
  line-height: 1.6;
}
.contact-section {
  background: linear-gradient(135deg, #475569, #64748b);
  color: #fff;
}
.contact-section h2 {
  color: #fff;
  margin-bottom: 40px;
}
.form-container {
  max-width: 650px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(25px, 5vw, 40px);
  border-radius: 20px;
  color: #333;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.form-input {
  width: 100%;
  padding: clamp(12px, 3vw, 15px);
  margin: 10px 0;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  transition: 0.3s;
}
.form-input:focus {
  outline: 0;
  border-color: #475569;
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
}
.form-button {
  width: 100%;
  margin-top: 20px;
  border: none;
  cursor: pointer;
}
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .hero {
    min-height: 85vh;
    padding: 50px 0;
  }
  .cta-primary {
    margin: 15px 0;
    width: 100%;
    max-width: 300px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
@media (max-width: 768px) {
  .hero-phone {
    margin: 25px 0 20px;
  }
  .section {
    padding: 40px 0;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .faq-item h4 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .faq-item h4::after {
    align-self: flex-end;
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  ::after,
  ::before {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
  }
}
.cta-primary:focus,
.form-button:focus {
  outline: #fbbf24 solid 3px;
  outline-offset: 2px;
}
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 5vw, 50px);
  margin: 50px 0;
}
.benefits-grid-father {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(20px, 4vw, 40px);
}
.benefit-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
  border-top: 4px solid #475569;
}
.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-top-color: #dc2626;
}
.benefit-icon-img {
  width: 100%;
  height: clamp(120px, 15vw, 160px);
  overflow: hidden;
}
.benefit-icon-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}
.benefit-content {
  padding: clamp(20px, 4vw, 30px);
}
.benefit-item h4 {
  color: #475569;
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.3;
}
.benefit-item p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}
@media (max-width: 480px) {
  .benefits-grid-father {
    grid-template-columns: 1fr;
  }
  .benefit-content {
    padding: 15px;
  }
}
@media (max-width: 768px) {
  .benefits-grid-father {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-grid-father,
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1025px) {
  .benefits-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .benefits-grid-father {
    grid-template-columns: repeat(3, 1fr);
  }
}
