/* HERO */
.hero {
  background: var(--light);
  padding: 0;
}
.hero-bg {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 340px;
  background: none;
  height: 447px;
}
.hero-image {
  flex: 1 1 100%;
  min-width: 320px;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
  display: block;
  object-position: right;
  margin-left: -1px;
}
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 74%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 2.5rem 3.5rem 5vw;
  color: var(--white);
  pointer-events: none;
}
.hero-content > * {
  pointer-events: auto;
}
.hero-content h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}
.hero-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-contact {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 1.5rem;
  font-size: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.hero-contact a {
  color: var(--white);
  text-decoration: underline;
  font-size: 1rem;
}
.icon-mail {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  margin-right: 0.4em;
  display: inline-block;
}
.icon-phone {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  margin-right: 0.4em;
  display: inline-block;
}

.hero-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 2.2rem 2vw 2.2rem 2vw;
  gap: 2rem;
  position: relative;

  .corner-topleft {
    position: absolute;
    top: 24px;
    left: 240px;
    width: 94px;
    height: 94px;
    border-left: 2.5px solid #2d3547;
    border-top: 2.5px solid #2d3547;
    border-radius: 0 0 0 0;
  }

  .corner-bottomright {
    position: absolute;
    bottom: 24px;
    right: 240px;
    width: 94px;
    height: 94px;
    border-right: 2.5px solid #2d3547;
    border-bottom: 2.5px solid #2d3547;
    border-radius: 0 0 0 0;
  }
}

.sub-text {
  font-style: italic;
  color: var(--primary);
  font-size: 1.08rem;
  max-width: 700px;
  text-align: center;
}

/* SERVICES */
.services {
  /* background: var(--light); */
  padding: 3.5rem 2vw 2.5rem 2vw;
}
.service-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.service-card {
  /* background: var(--white); */
  background: var(--light);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem 2rem 2rem;
  max-width: 340px;
  min-width: 260px;
  flex: 1 1 260px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover,
.service-card.active {
  background: var(--primary);
}
.service-card.active h3,
.service-card.active ul,
.service-card.active ul li,
.service-card.active .service-icon,
.service-card:hover h3,
.service-card:hover ul,
.service-card:hover ul li,
.service-card:hover .service-icon {
  color: var(--white);
  fill: var(--white);
}
.service-card.active .service-icon,
.service-card:hover .service-icon {
  filter: brightness(0) invert(1);
}
.service-icon {
  height: 51px;
  margin-bottom: 1.2rem;
}
.service-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}
.service-card ul {
  text-align: left;
  margin: 0 auto;
  color: #444;
  font-size: 1rem;
  padding-left: 1.1em;
}
.service-btn-wrap {
  text-align: center;
  margin-top: 2.5rem;
}
.service-btn {
  display: inline-block;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 0.7em 2.2em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.service-btn:hover {
  background: var(--primary);
  color: var(--white);
}
.arrow {
  font-size: 1.1em;
  margin-left: 0.5em;
}

/* RATES */
.rates {
  background: var(--primary);
  color: var(--white);
  padding: 0;
}
.rates-bg {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 320px;
  background: none;
}
.rates-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #202a45 0%, #202a45cc 55%, #202a4500 100%);
}
.rates-content {
  align-items: flex-start;
  text-align: left;
  padding: 3.5rem 2.5rem 3.5rem 5vw;
  z-index: 2;
  color: var(--white);
}
.rates-group {
  margin-bottom: 2rem;
}

.rates-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}
.rates-group ul {
  margin: 0 0 0.5rem 0;
  padding-left: 1.2em;
  list-style: disc;
  color: #fff;
  font-size: 1.08rem;
}
.rates-group ul li {
  margin-bottom: 0.3em;
}

.rates-note {
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  color: #e5e8ef;
}
.rates-btn-wrap {
  text-align: center;
  margin-top: 2.5rem;
}
.price-btn {
  display: inline-block;
  border: 1.5px solid var(--white);
  color: var(--white);
  background: transparent;
  padding: 0.7em 2.2em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  height: 56px;
}
.price-btn:hover {
  background: var(--white);
  color: var(--primary);
}
.rates-image {
  flex: 1 1 50%;
  min-width: 320px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.rates-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  display: block;
}

/* WHY CHOOSE ME */
.why-choose {
  background: var(--white);
  padding: 3.5rem 2vw 2.5rem 2vw;
  position: relative;
}
.why-choose-inner {
  position: relative;
  max-width: 1100px;
  gap: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 200px;
}
.why-header {
  margin: 0 2.5rem 0 0;
  flex-shrink: 0;
}
.why-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  white-space: nowrap;
}
.why-list {
  list-style: disc inside;
  color: #222;
  font-size: 1.08rem;
  margin: 0;
  padding: 0;
  text-align: left;
}
.corner-topleft {
  position: absolute;
  top: 0;
  left: 250px;
  width: 70px;
  height: 40px;
  border-left: 2.5px solid var(--primary);
  border-top: 2.5px solid var(--primary);
  border-radius: 0 0 0 0;
}
.corner-bottomright {
  position: absolute;
  bottom: 0;
  right: 290px;
  width: 70px;
  height: 40px;
  border-right: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  border-radius: 0 0 0 0;
}

.why-line {
  flex: 1;
  height: 1px;
  background: #d1d5db;
  min-width: 40px;
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
  .hero-content {
    padding: 3rem 2rem 3rem 4vw;
  }
  
  .hero-bg::before {
    width: 60%;
  }
  
  .hero-content {
    width: 80%;
  }
  
  .hero-sub .corner-topleft {
    left: 100px;
  }
  
  .hero-sub .corner-bottomright {
    right: 100px;
  }
  
  .corner-topleft {
    left: 150px;
  }
  
  .corner-bottomright {
    right: 150px;
  }
}

@media (max-width: 900px) {
  /* Hero section mobile */
  .hero-bg {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  
  .hero-content {
    position: relative;
    width: 100%;
    padding: 2rem 1.5rem;
    background: rgba(45, 53, 71, 0.9);
    order: 2;
  }
  
  .hero-bg::before {
    display: none;
  }
  
  .hero-image {
    order: 1;
    min-height: 250px;
    height: 250px;
    min-width: auto;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-contact {
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .hero-contact div {
    font-size: 0.9rem;
  }
  
  /* Hero sub section mobile */
  .hero-sub {
    padding: 1.5rem 1rem;
    flex-direction: column;
  }
  
  .hero-sub .corner-topleft,
  .hero-sub .corner-bottomright {
    display: none;
  }
  
  .sub-text {
    font-size: 1rem;
    max-width: 100%;
  }
  
  /* Services section mobile */
  .services {
    padding: 2.5rem 1rem;
  }
  
  .service-cards {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .service-card {
    max-width: 100%;
    min-width: auto;
    width: 100%;
    max-width: 400px;
    padding: 1.8rem 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .service-card ul {
    font-size: 0.95rem;
  }
  
  .service-btn-wrap {
    margin-top: 2rem;
  }
  
  /* Rates section mobile */
  .rates-bg {
    flex-direction: column;
    min-height: auto;
  }
  
  .rates-bg::before {
    background: rgba(32, 42, 69, 0.85);
    width: 100%;
  }
  
  .rates-content {
    padding: 2rem 1.5rem;
    order: 2;
    z-index: 2;
  }
  
  .rates-image {
    order: 1;
    min-height: 200px;
    height: 200px;
    min-width: auto;
  }
  
  .rates-header {
    font-size: 1.05rem;
  }
  
  .rates-group ul {
    font-size: 1rem;
  }
  
  .rates-note {
    font-size: 0.9rem;
  }
  
  .rates-btn-wrap {
    margin-top: 1.5rem;
    text-align: left;
  }
  
  /* Why choose section mobile */
  .why-choose {
    padding: 2.5rem 1rem;
  }
  
  .why-choose-inner {
    flex-direction: column;
    gap: 1.5rem;
    min-height: auto;
    align-items: flex-start;
  }
  
  .why-header {
    margin: 0 0 1rem 0;
    width: 100%;
  }
  
  .why-header h2 {
    font-size: 1.3rem;
    white-space: normal;
  }
  
  .why-list {
    font-size: 1rem;
    width: 100%;
  }
  
  .corner-topleft,
  .corner-bottomright {
    display: none;
  }
}

@media (max-width: 600px) {
  /* Extra small screens */
  .hero-content {
    padding: 1.5rem 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  .hero-contact div {
    font-size: 0.85rem;
  }
  
  .hero-sub {
    padding: 1.2rem 0.8rem;
  }
  
  .sub-text {
    font-size: 0.95rem;
  }
  
  .services {
    padding: 2rem 0.8rem;
  }
  
  .service-card {
    padding: 1.5rem 1.2rem;
  }
  
  .service-card h3 {
    font-size: 1.05rem;
  }
  
  .service-card ul {
    font-size: 0.9rem;
  }
  
  .rates-content {
    padding: 1.5rem 1rem;
  }
  
  .rates-group ul {
    font-size: 0.95rem;
  }
  
  .why-choose {
    padding: 2rem 0.8rem;
  }
  
  .why-header h2 {
    font-size: 1.2rem;
  }
  
  .why-list {
    font-size: 0.95rem;
  }
  
  /* Button adjustments for mobile */
  .service-btn,
  .price-btn {
    padding: 0.6em 1.8em;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  /* Very small screens */
  .hero-content h1 {
    font-size: 1.25rem;
  }
  
  .hero-contact {
    font-size: 0.8rem;
  }
  
  .service-card {
    padding: 1.2rem 1rem;
  }
  
  .service-btn,
  .price-btn {
    padding: 0.5em 1.5em;
    font-size: 0.85rem;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-image {
    min-height: 200px;
    height: 200px;
  }
  
  .rates-image {
    min-height: 150px;
    height: 150px;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .hero-sub {
    padding: 1.2rem 1rem;
  }
}
