@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;1,9..144,600&family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg: #f0fdfa;
  --bg-card: #ffffff;
  --text: #134e4a;
  --heading: #042f2e;
  --accent: #0d9488;
  --accent-dark: #0f766e;
  --muted: #5b7c78;
  --promo: #c2410c;
  --header-h: 72px;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.15;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 148, 136, 0.15);
  z-index: 100;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(5%, env(safe-area-inset-left)) 0 max(5%, env(safe-area-inset-right));
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-phone {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-dark);
  white-space: nowrap;
}

.header-phone:hover {
  text-decoration: underline;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--heading);
}
.brand span {
  color: var(--accent);
}

.header-cta {
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--accent-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  top: max(1rem, env(safe-area-inset-top));
  z-index: 200;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  overflow: visible;
}

.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;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5eead4;
  margin-bottom: 0.5rem;
}

.hero__cta-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-call,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-call {
  background: #fff;
  color: var(--heading);
  border: 2px solid #fff;
}

.btn-call:hover {
  background: #ccfbf1;
  border-color: #ccfbf1;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: #fff;
  text-decoration: none;
}

.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  color: #fff;
  background-color: #042f2e;
  background-image: url("../assets/service-hero.png");
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(4, 47, 46, 0.92) 0%,
    rgba(13, 148, 136, 0.55) 55%,
    rgba(4, 47, 46, 0.35) 100%
  );
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(5%, env(safe-area-inset-left)) 0 max(5%, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(auto, 400px);
  gap: 3rem;
  align-items: start;
}

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

.hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.6rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  font-style: italic;
  font-family: var(--font-display);
  opacity: 0.96;
  max-width: 38ch;
}

.promo {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  max-width: 520px;
  background: linear-gradient(135deg, var(--promo), #ea580c);
  border-radius: 12px 12px 12px 4px;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  line-height: 1.25;
  box-shadow: 0 18px 40px -12px rgba(194, 65, 12, 0.55);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem max(5%, env(safe-area-inset-left)) 4rem
    max(5%, env(safe-area-inset-right));
}

.section--wave {
  background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 100%);
}

.section__title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.section__lead {
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 2rem;
  color: var(--muted);
  white-space: pre-line;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border-radius: 0 14px 14px 14px;
  padding: 1.35rem 1.25rem 1.35rem 1.35rem;
  border-left: 4px solid var(--accent);
  box-shadow: 0 14px 36px -28px rgba(4, 47, 46, 0.45);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--accent-dark);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(auto, 380px);
  gap: 2.5rem;
  align-items: start;
}

.list-check {
  list-style: none;
  margin-top: 1rem;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.tagline-strong {
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading);
}

.contact-form {
  border-radius: 18px;
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 148, 136, 0.25);
  box-shadow: 0 20px 50px -30px rgba(4, 47, 46, 0.35);
  width: 100%;
  max-width: 400px;
  justify-self: end;
}

.contact-form h2 {
  font-size: 1.35rem;
}

.form-desc {
  font-size: 0.88rem;
  color: var(--muted);
}

.input-wrap {
  display: grid;
  gap: 0.3rem;
}

.contact-form input {
  width: 100%;
  height: 46px;
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 0 1rem;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  outline: none;
}

.contact-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.contact-form input.invalid {
  border-color: #dc2626;
}

.err-msg {
  color: #dc2626;
  font-size: 0.82rem;
  padding-left: 0.35rem;
}

.submit-btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(13, 148, 136, 0.65);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  display: none;
  padding: 0.65rem;
  border-radius: 10px;
  font-size: 0.88rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: #d1fae5;
  color: #065f46;
}

.form-status.error {
  background: #fee2e2;
  color: #991b1b;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.detail-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.1rem;
}

.detail-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--accent);
  box-shadow: 0 12px 32px -26px rgba(4, 47, 46, 0.35);
}

.detail-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--accent-dark);
}

.detail-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.steps {
  list-style: none;
  counter-reset: step;
  max-width: 52rem;
}

.steps li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3.5rem;
  margin-bottom: 0.75rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(13, 148, 136, 0.15);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  color: var(--heading);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.trust-grid--light .trust-item {
  background: #fff;
  border: 1px solid rgba(13, 148, 136, 0.12);
}

.trust-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
}

.trust-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.12);
  color: var(--accent-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.trust-item p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.trust-item strong {
  color: var(--heading);
}

.section__lead--tight {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.faq {
  max-width: 48rem;
}

.faq-item {
  margin-bottom: 0.65rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 12px;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--heading);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-weight: 800;
  color: var(--accent-dark);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer {
  margin-top: auto;
  padding: 2rem max(5%, env(safe-area-inset-left)) 2rem
    max(5%, env(safe-area-inset-right));
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
  font-size: 0.85rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid rgba(13, 148, 136, 0.12);
}

.site-footer--wide {
  text-align: left;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heading);
  font-size: 1.1rem;
}

.footer-tag {
  color: var(--accent-dark);
  font-weight: 600;
  margin-top: 0.25rem;
}

.footer-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.site-footer .footer-phone {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.footer-copy {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(13, 148, 136, 0.12);
  font-size: 0.78rem;
  color: #94a3b8;
  max-width: 1100px;
  margin: 0 auto;
}

.promo--mobile {
  display: none;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 0.5rem;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .contact-form {
    justify-self: stretch;
    max-width: none;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .promo--desktop {
    display: none;
  }

  .promo--mobile {
    display: block;
    margin-top: 1.25rem;
  }

  .hero {
    clip-path: none;
  }

  .section {
    padding: 2.5rem max(4%, env(safe-area-inset-left)) 2.75rem
      max(4%, env(safe-area-inset-right));
  }

  .detail-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .header-cta {
    display: none;
  }

  .header-phone {
    font-size: 0.82rem;
  }

  .brand {
    font-size: 1rem;
    line-height: 1.2;
    max-width: 55%;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .btn-call,
  .btn-ghost {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

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

  .steps li {
    padding-left: 3.25rem;
  }
}

@media (max-width: 480px) {
  .submit-btn {
    min-height: 48px;
    font-size: 1.05rem;
  }

  .contact-form input {
    min-height: 48px;
  }
}
