/* ================================================================
   MOUNTAINWAYS CONSTRUCTION — style.css
   Mobile-first responsive design
================================================================ */

/* ---- Custom Properties ---- */
:root {
  --primary:       #1A2332;
  --primary-dark:  #0f1620;
  --accent:        #D4721A;
  --accent-dark:   #B85D0F;
  --text:          #1F2937;
  --text-muted:    #6B7280;
  --bg-light:      #F8F7F4;
  --white:         #FFFFFF;
  --border:        #E5E7EB;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.07);
  --shadow:        0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.16);
  --radius:        8px;
  --radius-lg:     16px;
  --ease:          0.25s ease;
  --container:     1180px;
  --font-head:     'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
}

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212,114,26,0.38);
}

.btn--dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn--lg  { padding: 0.9rem 2rem; font-size: 0.97rem; }
.btn--full { width: 100%; justify-content: center; }

/* ================================================================
   SECTION COMMON
================================================================ */
.section { padding: 5rem 0; }

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.9rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

/* ================================================================
   SCROLL ANIMATIONS
   Only hide elements when JS is confirmed running (.js-ready on <html>).
   Without JS, content is always visible.
================================================================ */
.fade-up {
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-ready .fade-up {
  opacity: 0;
  transform: translateY(28px);
}
.js-ready .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   HEADER / NAV
================================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--ease), box-shadow var(--ease);
}
.header.scrolled {
  background: var(--primary);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.nav {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 1rem;
}

.nav__logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  line-height: 1;
}
.logo-accent { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 0.1rem;
  margin-left: auto;
}
.nav__link {
  color: rgba(255,255,255,0.82);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
}
.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav__phone {
  margin-left: 0.75rem;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  flex-shrink: 0;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(212,114,26,0.18) 0%, transparent 55%),
    linear-gradient(160deg, #0a1220 0%, #1A2332 45%, #1e3352 100%);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 6rem;
  max-width: 680px;
}

.hero__tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-size: clamp(2.6rem, 7.5vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.03;
  margin-bottom: 1.2rem;
}
.text-accent { color: var(--accent); }

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__divider {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}
.hero__divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================================
   STATS
================================================================ */
.stats {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat { padding: 1rem 0.5rem; }
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat__label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

/* ================================================================
   SERVICES
================================================================ */
.services { background: var(--bg-light); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  width: 58px;
  height: 58px;
  background: rgba(212,114,26,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: background var(--ease), color var(--ease);
  flex-shrink: 0;
}
.service-card:hover .service-card__icon {
  background: var(--accent);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.65rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card-link {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--ease);
  margin-top: auto;
}
.card-link:hover { gap: 0.65rem; }
.card-link i { font-size: 0.78rem; }

/* ================================================================
   ABOUT
================================================================ */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* Visual card */
.about__visual { position: relative; }

.about__img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #1A2332 0%, #2d4a6b 100%);
}

.about__mountains-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about__mountains-svg svg { width: 100%; height: 100%; }

.about__card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
}
.about__icon {
  font-size: 3.5rem;
  color: rgba(255,255,255,0.18);
}
.about__card-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.about__badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}

/* Body text */
.about__body h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.about__body > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.check-list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.check-list li i { color: var(--accent); font-size: 1.05rem; flex-shrink: 0; }

/* ================================================================
   PROJECTS
================================================================ */
.projects { background: var(--bg-light); }

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

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  display: flex;
  align-items: flex-start;
  padding: 0.9rem;
}

/* Gradient placeholders — replace with real photo backgrounds when available:
   .project-card__thumb--1 { background-image: url('../images/project-1.jpg'); background-size: cover; }
*/
.project-card__thumb--1 {
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 45%), url('../images/house_concrete2.jpg') center/cover;
}
.project-card__thumb--2 {
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 45%), url('../images/House_After.jpg') center/cover;
}
.project-card__thumb--3 {
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 45%), url('../images/desk_house.jpg') center/cover;
}
.project-card__thumb--4 {
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 45%), url('../images/Parking_lot.jpg') center/cover;
}
.project-card__thumb--5 {
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 45%), url('../images/small_framing.jpg') center/cover;
}
.project-card__thumb--6 {
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 45%), url('../images/demolition_after.jpg') center/cover;
}

.project-tag {
  background: rgba(212,114,26,0.92);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
}

.project-card__body { padding: 1.2rem 1.25rem 1.35rem; }
.project-card__body h4 {
  font-size: 0.98rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}
.project-card__body p { font-size: 0.85rem; color: var(--text-muted); }

.projects__fb {
  text-align: center;
  margin-top: 2.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.projects__fb i { color: #1877F2; margin-right: 0.3rem; }
.projects__fb a { color: var(--accent); font-weight: 600; }
.projects__fb a:hover { text-decoration: underline; }

/* ================================================================
   BEFORE / AFTER
================================================================ */
.before-after { background: var(--white); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ba-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.ba-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.ba-compare {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-light);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.ba-img--before { opacity: 1; }
.ba-compare.is-after .ba-img--before { opacity: 0; }
.ba-compare.is-after .ba-img--after  { opacity: 1; }

.ba-chip {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: rgba(26,35,50,0.72);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 50px;
  pointer-events: none;
  transition: background var(--ease);
}
.ba-compare.is-after .ba-chip { background: rgba(212,114,26,0.88); }

.ba-toggle {
  position: absolute;
  bottom: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.5rem 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.ba-toggle:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.ba-toggle i { font-size: 0.72rem; }

.ba-card__body { padding: 1.2rem 1.25rem 1.35rem; }
.ba-card__body h4 {
  font-size: 0.98rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}
.ba-card__body p { font-size: 0.85rem; color: var(--text-muted); }

/* ================================================================
   CONTACT
================================================================ */
.contact { background: var(--white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4.5rem;
  align-items: start;
}

.contact__info h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.contact__info > p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact__details { display: flex; flex-direction: column; gap: 1.25rem; }

.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact__item-icon {
  width: 44px;
  height: 44px;
  background: rgba(212,114,26,0.1);
  color: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__item div { display: flex; flex-direction: column; }
.contact__item strong {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  font-family: var(--font-head);
  margin-bottom: 0.15rem;
}
.contact__item a,
.contact__item span {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}
.contact__item a:hover { color: var(--accent); }

/* Form */
.contact__form-wrap {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.38rem; }
.form-group label {
  font-family: var(--font-head);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group 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' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,114,26,0.14);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #059669;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.75rem 1rem;
  background: rgba(5,150,105,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(5,150,105,0.2);
}
.hidden { display: none !important; }

/* ================================================================
   FOOTER
================================================================ */
.footer { background: var(--primary); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 1.25rem 3rem;
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 1.4rem;
  max-width: 280px;
}

.footer__socials { display: flex; gap: 0.65rem; }
.footer__socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: background var(--ease);
}
.footer__socials a:hover { background: var(--accent); }

.footer__col h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col ul li,
.footer__col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--ease);
}
.footer__col ul a:hover { color: var(--accent); }

.footer__contact-list { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
}
.footer__contact-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; font-size: 0.8rem; }
.footer__contact-list a { color: rgba(255,255,255,0.55); transition: color var(--ease); }
.footer__contact-list a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer__bottom a { color: var(--accent); transition: opacity var(--ease); }
.footer__bottom a:hover { opacity: 0.8; text-decoration: underline; }

/* ================================================================
   RESPONSIVE — TABLET ≤ 1024px
================================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid    { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ================================================================
   RESPONSIVE — MOBILE ≤ 768px
================================================================ */
@media (max-width: 768px) {

  /* Globals */
  .section { padding: 3.5rem 0; }

  /* Nav */
  .nav__links {
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
    gap: 0.15rem;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav__links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__link {
    font-size: 1.05rem;
    padding: 0.8rem 1rem;
    width: 100%;
    border-radius: var(--radius);
  }
  .nav__phone  { display: none; }
  .nav__burger { display: flex; }

  /* Hero */
  .hero__content { padding-top: 6.5rem; padding-bottom: 4rem; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat { border-bottom: 1px solid var(--border); padding: 1.25rem 0.5rem; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }

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

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__img-card { aspect-ratio: 16/9; }

  /* Projects */
  .projects__grid { grid-template-columns: 1fr; }

  /* Before / After */
  .ba-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact__grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__form-wrap  { padding: 1.5rem; }
  .form-row            { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 1.25rem; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE ≤ 480px
================================================================ */
@media (max-width: 480px) {
  .hero__headline { font-size: clamp(2.2rem, 11vw, 3rem); }
  .projects__grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 2.5rem; }
}
