/* ── Variables ── */
:root {
  --color-primary: #2563EB;
  --color-primary-dark: #1d4ed8;
  --color-white: #ffffff;
  --color-gray-light: #f3f4f6;
  --color-gray-mid: #e5e7eb;
  --color-text: #111827;
  --color-text-muted: #6b7280;

  --font-base: 'Inter', sans-serif;
  --nav-height: 68px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray-mid);
}

.navbar__container {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.navbar__logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links {
  display: flex;
  gap: 1.75rem;
}

.navbar__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.navbar__links a:hover {
  color: var(--color-primary);
}

.navbar__cta {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-primary);
  padding: 0.5rem 1.125rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease;
}

.navbar__cta:hover {
  background-color: var(--color-primary-dark);
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-height));
  background: linear-gradient(135deg, #1e3a8a 0%, #2563EB 55%, #60a5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero__container {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__badge {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__headline {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: #bfdbfe;
  max-width: 480px;
  line-height: 1.6;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #16a34a;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 0.625rem;
  margin-top: 0.5rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.hero__cta:hover {
  background-color: #15803d;
  transform: translateY(-2px);
}

.hero__cta-icon {
  flex-shrink: 0;
}

/* ── Services ── */
.services {
  background-color: var(--color-white);
  padding: 5rem 1.5rem;
}

.services__container {
  max-width: 1120px;
  margin: 0 auto;
}

.services__header {
  text-align: center;
  margin-bottom: 3rem;
}

.services__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.services__subtitle {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.services__card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-mid);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.services__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}

.services__icon svg {
  width: 100%;
  height: 100%;
}

.services__card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}

.services__card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.services__card-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.15s ease;
}

.services__card-link:hover {
  color: var(--color-primary-dark);
}

/* ── Before & After ── */
.ba {
  background-color: var(--color-white);
  padding: 5rem 1.5rem;
}

.ba__container {
  max-width: 1120px;
  margin: 0 auto;
}

.ba__header {
  text-align: center;
  margin-bottom: 3rem;
}

.ba__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.ba__subtitle {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.ba__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ba__card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-gray-mid);
}

.ba__images {
  display: flex;
  position: relative;
}

.ba__side {
  flex: 1;
  position: relative;
}

.ba__placeholder {
  background-color: #e5e7eb;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: #9ca3af;
  font-weight: 500;
}

.ba__label {
  position: absolute;
  bottom: 0.625rem;
  left: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 0.3rem;
}

.ba__label--before {
  background-color: #fee2e2;
  color: #dc2626;
}

.ba__label--after {
  background-color: #dcfce7;
  color: #16a34a;
}

.ba__divider {
  width: 2px;
  background-color: var(--color-white);
  position: relative;
  z-index: 1;
}

.ba__treatment {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-white);
}

/* ── Testimonials ── */
.testimonials {
  background-color: var(--color-gray-light);
  padding: 5rem 1.5rem;
}

.testimonials__container {
  max-width: 1120px;
  margin: 0 auto;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.testimonials__subtitle {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonials__card {
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.testimonials__stars {
  display: flex;
  gap: 0.125rem;
  font-size: 1.125rem;
  color: #f59e0b;
}

.testimonials__comment {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  flex: 1;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-gray-mid);
}

.testimonials__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.testimonials__info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.testimonials__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.testimonials__location {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ── Contact ── */
.contact {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
  border-top: 1px solid #E5E7EB;
}

.contact__container {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.contact__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1F2937;
}

.contact__lead {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: #6B7280;
  line-height: 1.6;
}

.contact__details {
  margin-top: 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: left;
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EFF6FF;
  border-radius: 10px;
  flex-shrink: 0;
}

.contact__detail div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact__detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B7280;
}

.contact__detail-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1F2937;
  line-height: 1.4;
}

.contact__wa {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: #25D366;
  color: #ffffff;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.contact__wa:hover {
  background-color: #1ebe5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.contact__form {
  width: 100%;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: left;
}

.contact__field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1F2937;
}

.contact__field input,
.contact__field select,
.contact__field textarea {
  font-family: var(--font-base);
  font-size: 0.9375rem;
  color: #1F2937;
  background-color: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.6875rem 0.875rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.contact__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

.contact__field textarea {
  resize: vertical;
  min-height: 90px;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: #9CA3AF;
}

.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background-color: #fff;
}

.contact__wa--full {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

/* ── Footer ── */
.footer {
  background-color: #111827;
  padding: 2.5rem 1.5rem;
}

.footer__container {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__logo-icon {
  font-size: 1.375rem;
  line-height: 1;
}

.footer__logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: #6b7280;
}

.footer__nav {
  display: flex;
  gap: 1.75rem;
}

.footer__nav a {
  font-size: 0.9375rem;
  color: #9ca3af;
  transition: color 0.15s ease;
}

.footer__nav a:hover {
  color: var(--color-white);
}

.footer__copy {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

}

@media (max-width: 640px) {
  .navbar__links {
    display: none;
  }

  .hero {
    padding: 3rem 1.25rem;
  }

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

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

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

  .footer__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
