*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #1f2a2e;
  background: #f7f9fb;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e7edf1;
  box-shadow: 0 2px 6px rgba(19, 35, 47, 0.08);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 80px;
  width: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(19, 35, 47, 0.12);
}

.btn--call {
  background: #0f7f95;
  color: #ffffff;
}

.btn--call .btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.btn--call img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.btn--whatsapp {
  background: #5cd44f;
  color: #ffffff;
}

.btn--whatsapp img {
  width: 22px;
  height: 22px;
}

.btn__text strong {
  font-weight: 700;
}

.btn--primary {
  background: #4aa3b2;
  color: #ffffff;
}

.btn--primary.btn--wide {
  width: 100%;
  justify-content: center;
}

.hero {
  position: relative;
  background: url("https://firebasestorage.googleapis.com/v0/b/persianasymas-usa.firebasestorage.app/o/images%2F1fe70006-slide1-homeb_100000000000000000001o.jpg?alt=media")
    center/100% auto no-repeat;
  color: #ffffff;
  padding: 72px 0 80px;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.3));
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero__copy h1 {
  text-transform: uppercase;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin-bottom: 16px;
}

.hero__copy p {
  margin: 0 0 16px;
  line-height: 1.6;
  font-size: 1rem;
}

.hero__tags {
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero__tags--dark {
  color: #1f2a2e;
  text-shadow: none;
}

.hero__card {
  background: rgba(255, 255, 255, 0.85);
  color: #2b3a3f;
  padding: 24px 26px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 12px;
}

.hero__text-mobile {
  display: none;
}

.hero__card h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.hero__card p {
  margin: 0 0 8px;
  color: #4f5c60;
}

.hero__card label {
  display: block;
}

.hero__card input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid #d4dde1;
  font-size: 0.95rem;
}

.form-status {
  font-size: 0.9rem;
  min-height: 1rem;
}

.form-status[data-state="success"] {
  color: #1b8a3d;
}

.form-status[data-state="error"] {
  color: #b3261e;
}

.form-status[data-state="loading"] {
  color: #3a6d76;
}

.bar {
  background: #4aa3b2;
  color: #ffffff;
  text-align: center;
  padding: 16px 0;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.section {
  padding: 64px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 36px;
}

.section__header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000000;
}

.section__header p {
  margin: 12px 0 0;
  color: #5b6a6f;
  font-size: 1.05rem;
}

.section--why {
  background: #f9fcff;
}

.section__title {
  text-align: center;
  margin: 0 auto 24px;
  font-size: 26px;
  letter-spacing: 0.4px;
  color: #000000;
  text-transform: uppercase;
}

.section--why .section__title {
  margin-bottom: 36px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 44px 36px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.feature-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 6px;
  text-align: left;
  box-shadow: none;
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  align-items: start;
  column-gap: 16px;
  row-gap: 6px;
}

.feature-card__icon {
  margin-bottom: 0;
  grid-area: icon;
  align-self: start;
}

.feature-card__icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #000000;
  grid-area: title;
  text-align: center;
}

.feature-card p {
  margin: 0;
  max-width: none;
  grid-area: text;
  text-align: center;
  font-size: 1.05rem;
}

.section--video {
  background: #f6f7f9;
}

.video-embed {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section--services {
  background: #4aa3b2;
  color: #ffffff;
}

.section--services .section__header h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.section__header--light p {
  color: #e8f2f4;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.section--types {
  background: #4aa3b2;
  color: #ffffff;
}

.section--types .section__header h2 {
  color: #ffffff;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.section--work {
  background: #ffffff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.work-grid img,
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.section--gallery {
  background: #f6f7f9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.section--steps {
  position: relative;
  background: url("https://firebasestorage.googleapis.com/v0/b/persianasymas-usa.firebasestorage.app/o/images%2F810b63dc-cortinas-y-persianas-para-casa-hunter-douglas_10000001460jv00000001o.jpg?alt=media")
    center/cover no-repeat;
  color: #ffffff;
}

.section--steps .section__header h2,
.section--steps .section__header p,
.section--steps .step-card h3 {
  color: #ffffff;
}

.steps__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.steps__content {
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.step-card {
  text-align: center;
  padding: 16px 12px;
}

.step-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 12px;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.step-card p {
  margin: 0;
  color: #e9eef0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.section--testimonials {
  background: #ffffff;
}

.section--testimonials .section__header h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: #d1d1d1;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.testimonial-stars img {
  width: 28px;
  height: 28px;
}

.testimonial-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.testimonial-card p {
  margin: 0;
  color: #2f2f2f;
  line-height: 1.6;
  font-size: 1.05rem;
}

.section--contact {
  position: relative;
  background: url("https://firebasestorage.googleapis.com/v0/b/persianasymas-usa.firebasestorage.app/o/images%2F810b63dc-cortinas-y-persianas-para-casa-hunter-douglas_100000009m0lt0f900001o.jpg?alt=media")
    center/cover no-repeat;
  color: #ffffff;
}

.contact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.contact__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.contact__map {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.contact__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.contact__info p {
  margin: 0 0 16px;
  color: #e9eef0;
  line-height: 1.6;
  font-size: 1.05rem;
}

.contact__info h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.contact__actions {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  justify-items: center;
}

.contact__info {
  text-align: center;
}

.contact__actions .btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  font-size: 1rem;
  padding: 12px 18px;
}

.site-footer {
  background: #f4f5f7;
  color: #6d7276;
  padding: 18px 0;
  border-top: 1px solid #e2e6ea;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.footer__address {
  font-weight: 600;
}

.footer__link {
  color: #6d7276;
  text-decoration: underline;
  font-weight: 600;
}

.type-card {
  text-align: center;
}

.type-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.type-card h3 {
  margin: 12px 0 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.service-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-card span {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  background: #0f1011;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid #ffffff;
  text-align: center;
}

.grid {
  display: grid;
  gap: 32px;
}

.grid--why {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 12px 24px rgba(19, 35, 47, 0.08);
}

.card--feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.feature__icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.feature__body h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature__body p {
  margin: 0;
  color: #56646a;
  line-height: 1.5;
}

@media (max-width: 720px) {
  body {
    background: #ffffff;
  }
  .header__content {
    justify-content: center;
  }

  .brand img {
    height: 64px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 0 0 32px;
    background: #ffffff;
  }

  .hero .container {
    width: 100%;
    margin: 0;
  }

  .hero__overlay {
    display: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    position: relative;
    min-height: 260px;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    text-align: center;
    background: url("https://firebasestorage.googleapis.com/v0/b/persianasymas-usa.firebasestorage.app/o/images%2F1fe70006-slide1-homeb_100000000000000000001o.jpg?alt=media")
      center/cover no-repeat;
  }

  .hero__copy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65));
  }

  .hero__copy > * {
    position: relative;
    z-index: 1;
  }

  .hero__copy p:not(.hero__tags),
  .hero__copy .btn,
  .hero__copy .hero__tags {
    display: none;
  }

  .hero__copy h1 {
    margin: 0;
    font-size: 1.4rem;
  }

  .hero__text-mobile {
    display: grid;
    gap: 12px;
    padding: 18px;
    text-align: center;
    color: #1f2a2e;
  }

  .hero__text-mobile p {
    margin: 0;
  }

  .hero__text-mobile .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__card {
    width: min(92%, 340px);
    margin: 0 auto;
  }

  .section {
    padding: 48px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    text-align: center;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "icon"
      "text";
    row-gap: 8px;
  }

  .feature-card__icon {
    align-self: center;
  }

  .feature-card h3,
  .feature-card p {
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 220px;
  }

  .types-grid {
    grid-template-columns: 1fr;
  }

  .type-card img {
    height: 220px;
  }

  .work-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .work-grid img,
  .gallery-grid img {
    height: 220px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact__content {
    grid-template-columns: 1fr;
  }

  .contact__map iframe {
    height: 260px;
  }

  .footer__content {
    justify-content: center;
  }
}
