/* =========================================================
   אביר פרויקטים – Abir Projects landing page
   RTL Hebrew, mobile-first, accessible
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette derived from logo (gold + charcoal on light stone) */
  --gold: #c39a4e;
  --gold-light: #e3c878;
  --gold-dark: #a07a32; /* decorative use only (icons/borders) */
  --gold-text: #7e5f1f; /* AA-compliant gold for text/links on light bg */
  --gold-grad: linear-gradient(135deg, #a07a32 0%, #d8b566 45%, #e9d28f 70%, #b88c3c 100%);

  --charcoal: #2b2f36;
  --charcoal-deep: #21252b;
  --charcoal-soft: #3a3f47;

  --stone: #f5f3ef;
  --stone-2: #ece8e1;
  --white: #ffffff;

  --text: #2b2f36;
  --text-muted: #5d626b;
  --text-on-dark: #f3f1ec;
  --text-on-dark-muted: #b9bdc4;

  --border: #e2ddd3;
  --shadow-sm: 0 2px 8px rgba(33, 37, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(33, 37, 43, 0.10);
  --shadow-lg: 0 20px 50px rgba(33, 37, 43, 0.16);

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Heebo", "Assistant", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--stone);
  line-height: 1.7;
  font-size: 1.05rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--gold-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  right: 16px;
  top: -200px;
  z-index: 2000;
  background: var(--charcoal);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(56px, 9vw, 110px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--dark {
  background: var(--charcoal);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--stone2 {
  background: var(--stone-2);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.6em;
  position: relative;
  padding-inline-start: 34px;
}

.eyebrow::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--gold-grad);
}

.section--dark .eyebrow {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.section--dark .section-sub {
  color: var(--text-on-dark-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease);
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--gold-grad);
  color: #2a2207;
  box-shadow: 0 10px 24px rgba(160, 122, 50, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(160, 122, 50, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--ghost:hover {
  background: var(--charcoal);
  color: #fff;
  transform: translateY(-2px);
}

.section--dark .btn--ghost,
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover {
  background: #fff;
  color: var(--charcoal);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 243, 239, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
  background: rgba(245, 243, 239, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}

.brand img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand:hover {
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-links a:hover {
  background: var(--stone-2);
  text-decoration: none;
  color: var(--gold-text);
}

.nav-cta {
  margin-inline-start: 8px;
  padding: 11px 22px;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--charcoal);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.32s var(--ease);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
  }

  .nav-links.is-open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 12px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-cta {
    margin-top: 14px;
    margin-inline-start: 0;
    align-self: stretch;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--text-on-dark);
  background: var(--charcoal-deep);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(33, 37, 43, 0.82) 0%,
    rgba(33, 37, 43, 0.7) 45%,
    rgba(33, 37, 43, 0.92) 100%
  );
}

.hero__inner {
  padding-block: clamp(70px, 13vw, 150px);
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 200, 120, 0.12);
  border: 1px solid rgba(227, 200, 120, 0.4);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 0.4em;
}

.hero h1 .accent {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text-on-dark-muted);
  max-width: 680px;
  margin-bottom: 2em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 6vw, 64px);
  margin-top: clamp(40px, 7vw, 70px);
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stat .num {
  display: block;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.hero__stat .label {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

@media (min-width: 860px) {
  .about__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about__text h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.about__text .lead {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  font-weight: 600;
}

.about__points {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.about__points svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--gold-dark);
  margin-top: 2px;
}

.about__media {
  position: relative;
}

.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about__badge {
  position: absolute;
  inset-block-end: -22px;
  inset-inline-start: -10px;
  background: var(--gold-grad);
  color: #2a2207;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-weight: 800;
  text-align: center;
}

.about__badge .big {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 620px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
  height: 100%;
}

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

.service-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(195, 154, 78, 0.16), rgba(227, 200, 120, 0.22));
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.5em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* ---------- Before / After ---------- */
.ba-wrap {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .ba-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 70vh;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: pan-y;
  background: #1c1f24;
}

.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba__after-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-inline-end: 3px solid #fff;
}

/* keep the after image full-width inside the clipped wrapper */
.ba__after-wrap .ba__img {
  width: auto;
  height: 100%;
}

.ba__label {
  position: absolute;
  top: 14px;
  z-index: 4;
  background: rgba(33, 37, 43, 0.78);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  pointer-events: none;
}

.ba__label--before {
  inset-inline-end: 14px;
}

.ba__label--after {
  inset-inline-start: 14px;
  background: rgba(160, 122, 50, 0.9);
}

.ba__handle {
  position: absolute;
  top: 0;
  inset-inline-start: 50%;
  width: 44px;
  height: 100%;
  transform: translateX(50%);
  z-index: 5;
  cursor: ew-resize;
  background: transparent;
  border: none;
  padding: 0;
}

.ba__handle::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.ba__handle-grip {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--charcoal);
}

.ba__handle:focus-visible .ba__handle-grip {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.ba__handle-grip svg {
  width: 26px;
  height: 26px;
}

.ba__caption {
  margin-top: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Portfolio ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-text);
}

.filter-btn[aria-pressed="true"] {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  background: #d9d4ca;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(33, 37, 43, 0.85) 0%, rgba(33, 37, 43, 0) 60%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-within .gallery__overlay {
  opacity: 1;
}

.gallery__overlay .tag {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 700;
}

.gallery__overlay strong {
  font-size: 1.1rem;
}

.gallery[hidden] {
  display: none;
}

.gallery__item.is-hidden {
  display: none;
}

/* ---------- Testimonials ---------- */
.testi {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
}

.testi__viewport {
  overflow: hidden;
}

.testi__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.testi__slide {
  flex: 0 0 100%;
  padding: 6px;
}

.testi__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.testi__stars {
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.testi__quote {
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  line-height: 1.6;
  color: #fff;
  font-weight: 500;
  margin-bottom: 22px;
}

.testi__author {
  font-weight: 800;
  color: var(--gold-light);
}

.testi__role {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
}

.testi__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.testi__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.18s var(--ease);
}

.testi__btn:hover {
  background: var(--gold-grad);
  color: #2a2207;
  border-color: transparent;
}

.testi__btn svg {
  width: 22px;
  height: 22px;
}

.testi__dots {
  display: flex;
  gap: 9px;
}

.testi__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.testi__dot[aria-selected="true"] {
  background: var(--gold-light);
  transform: scale(1.3);
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 56px);
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact__info h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.contact__list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__list .ico {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(195, 154, 78, 0.14);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
}

.contact__list .ico svg {
  width: 24px;
  height: 24px;
}

.contact__list .k {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact__list .v {
  font-weight: 700;
  color: var(--charcoal);
  font-size: 1.08rem;
}

a.contact__list-link {
  color: inherit;
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  font-size: 0.96rem;
}

.form-row .req {
  color: #c0392b;
}

.form-control {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--stone);
  color: var(--text);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(195, 154, 78, 0.18);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d626b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  padding-inline-start: 44px;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  color: #c0392b;
  font-size: 0.86rem;
  margin-top: 5px;
  display: none;
}

.form-control[aria-invalid="true"] {
  border-color: #c0392b;
  background: #fff;
}

.form-control[aria-invalid="true"] + .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  margin-bottom: 0;
}

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-align: center;
  display: none;
}

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

.form-status--ok {
  background: #e7f5ec;
  color: #1d7a47;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-deep);
  color: #d2d6dc;
  padding-block: clamp(44px, 6vw, 70px) 28px;
}

.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer__brand img {
  height: 56px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer__brand p {
  max-width: 340px;
  font-size: 0.96rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer a {
  color: #d2d6dc;
  transition: color 0.18s var(--ease);
}

.site-footer a:hover {
  color: var(--gold-light);
  text-decoration: none;
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.footer__bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: 0.86rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-start: 22px;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wa-float:hover {
  transform: scale(1.08);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 34px;
  height: 34px;
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s var(--ease) infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
