/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* ---------------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--amber-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-glow-amber);
}
.btn--primary:hover {
  background: var(--amber-400);
  box-shadow: 0 0 0 1px rgba(242, 168, 36, 0.4), 0 16px 46px rgba(242, 168, 36, 0.38);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-on-dark);
}
.btn--outline:hover {
  border-color: var(--blue-300);
  background: rgba(127, 176, 255, 0.08);
}

.btn--outline-dark {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--navy-900);
}
.btn--outline-dark:hover {
  border-color: var(--blue-500);
  background: var(--blue-glow-soft);
}

.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2.25rem; font-size: var(--fs-base); }

/* ---------------------------------- Header / Nav ---------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
  background: rgba(11, 26, 63, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--dur-med) var(--ease-out);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

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

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--text-on-dark);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-word span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--blue-300);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links {
  display: flex;
  gap: var(--space-6);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-on-dark-muted);
  position: relative;
  padding-block: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-links a:hover { color: var(--text-on-dark); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--amber-500);
  transition: width var(--dur-med) var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
  font-weight: 500;
}

.nav-phone svg { width: 17px; height: 17px; color: var(--amber-500); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text-on-dark);
}

/* ---------------------------------- Mobile nav drawer ---------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 84px 0 0 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--navy-950);
  transform: translateY(-12px);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--container-pad);
}
.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-dark);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-on-dark);
}
.mobile-nav__phone {
  color: var(--amber-500) !important;
  font-family: var(--font-mono) !important;
  font-size: var(--fs-base) !important;
}
.mobile-nav__cta {
  margin-top: var(--space-4);
  text-align: center;
  background: var(--amber-500);
  color: var(--navy-950) !important;
  border-radius: var(--radius-full);
  border-bottom: none !important;
  font-family: var(--font-display) !important;
}

@media (min-width: 981px) {
  .mobile-nav { display: none !important; }
}

/* ---------------------------------- Icon badge (matches flyer circle icons) ---------------------------------- */
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  color: var(--white);
  flex-shrink: 0;
  position: relative;
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.icon-badge::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(127, 176, 255, 0.4);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

/* ---------------------------------- Cards ---------------------------------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
}

/* Service card */
.service-card {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-blue);
  border-color: transparent;
}

.service-card:hover .icon-badge {
  box-shadow: 0 0 0 6px var(--blue-glow-soft), 0 8px 24px var(--blue-glow);
  transform: scale(1.06);
}

.service-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy-900);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.service-card__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: var(--lh-snug);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--amber-500);
  transform: rotate(45deg);
}

/* Stat / trust card */
.stat-card {
  text-align: left;
  padding: var(--space-5);
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--text-on-dark);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-card__num span {
  font-size: var(--fs-lg);
  color: var(--amber-500);
}

.stat-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-top: var(--space-2);
}

/* Why-choose-us check row */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--border-dark);
}
.check-row:last-child { border-bottom: none; }

.check-row__mark {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-glow-soft);
  border: 1px solid rgba(127, 176, 255, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-300);
}
.check-row__mark svg { width: 15px; height: 15px; }

.check-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-on-dark);
  font-size: var(--fs-base);
}
.check-row__desc {
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
  margin-top: 2px;
}

/* Gallery card */
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  isolation: isolate;
}
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-card:hover img { transform: scale(1.08); }

.gallery-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,14,36,0) 40%, rgba(6,14,36,0.85) 100%);
  z-index: 1;
}

.gallery-card__label {
  position: absolute;
  left: var(--space-4); bottom: var(--space-4);
  z-index: 2;
  color: #fff;
}
.gallery-card__label .eyebrow { color: var(--amber-400); }
.gallery-card__label .eyebrow::before { background: var(--amber-400); }
.gallery-card__label strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin-top: 4px;
}

/* Testimonial card */
.testimonial-card {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: var(--amber-500);
}
.testimonial-card__stars svg { width: 16px; height: 16px; }

.testimonial-card__quote {
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  color: var(--navy-900);
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy-900);
}
.testimonial-card__loc {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}

/* ---------------------------------- Badges / pills ---------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 14px; height: 14px; color: var(--blue-500); }

/* ---------------------------------- Forms ---------------------------------- */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.field label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.field input,
.field select,
.field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-on-dark);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(238, 242, 251, 0.35); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: rgba(255, 255, 255, 0.09);
}

.field textarea { resize: vertical; min-height: 120px; }

/* Native <option> list is rendered by the OS/browser, not by our dark
   theme — force dark text on a light background there so choices stay
   readable, while the closed <select> keeps the light on-dark text. */
.field select { color: var(--text-on-dark); }
.field select option {
  color: var(--gray-900);
  background: var(--white);
}
.field select:invalid { color: rgba(238, 242, 251, 0.55); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
  margin-top: var(--space-3);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.form-note svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--blue-300); }

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-5);
  font-weight: 500;
}
.form-status--success {
  display: block;
  background: rgba(52, 199, 130, 0.12);
  border: 1px solid rgba(52, 199, 130, 0.35);
  color: #6fe3ac;
}
.form-status--error {
  display: block;
  background: rgba(240, 90, 90, 0.12);
  border: 1px solid rgba(240, 90, 90, 0.35);
  color: #ff9d9d;
}

/* ---------------------------------- Divider shapes (signature diagonal motif) ---------------------------------- */
.diagonal-top {
  clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%);
}
.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
}

/* ---------------------------------- Back to top ---------------------------------- */
.back-to-top {
  position: fixed;
  right: var(--space-6);
  bottom: var(--space-6);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(127,176,255,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility var(--dur-med);
  z-index: var(--z-nav);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top svg { width: 18px; height: 18px; }

/* ---------------------------------- WhatsApp floating button ---------------------------------- */
.whatsapp-float {
  position: fixed;
  left: var(--space-6);
  bottom: var(--space-6);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  border: 1px solid rgba(255,255,255,0.25);
  z-index: var(--z-nav);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; position: relative; z-index: 1; }

.whatsapp-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappPulse {
  0%   { transform: scale(1);   opacity: 0.65; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__ring { animation: none; display: none; }
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 50px; height: 50px;
    left: var(--space-4);
    bottom: var(--space-4);
  }
  .whatsapp-float svg { width: 25px; height: 25px; }
  .back-to-top {
    width: 44px; height: 44px;
    right: var(--space-4);
    bottom: var(--space-4);
  }
}
