/* =========================
   Root & Reset
========================= */

:root {
  --dark: #1b1b19;
  --dark-2: #11110f;
  --accent: #b58b61;
  --cream: #f2eee7;
  --cream-2: #e9e2d7;
  --white: #ffffff;
  --text: #252523;
  --muted: #6f6b65;
  --border: rgba(28, 28, 26, 0.15);

  --heading: "Cormorant Garamond", serif;
  --body: "Manrope", sans-serif;

  --container: 1240px;
  --transition: 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.section {
  padding: 130px 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-label span {
  color: var(--accent);
}

.section-title {
  max-width: 800px;
  font-family: var(--heading);
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -2px;
}

.section-title span {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-light {
  background: var(--white);
  color: var(--dark);
}

.btn-light:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
}

/* =========================
   Loader
========================= */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--dark);
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  color: var(--white);
  text-align: center;
  animation: pulse 1.4s infinite;
}

.loader-logo span {
  display: block;
  font-family: var(--heading);
  font-size: 74px;
  line-height: 0.8;
}

.loader-logo small {
  font-size: 9px;
  letter-spacing: 6px;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

/* =========================
   Header
========================= */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--border);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.header.scrolled .logo {
  color: var(--dark);
}

.logo span,
.footer-logo span {
  font-family: var(--heading);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.logo small,
.footer-logo small {
  padding-left: 10px;
  border-left: 1px solid currentColor;
  font-size: 14px;
  letter-spacing: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header.scrolled .nav-link {
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-btn {
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.header.scrolled .header-btn {
  color: var(--dark);
  border-color: var(--dark);
}

.header-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 1px;
  margin: 7px auto;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--dark);
}

/* =========================
   Hero
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/serene-residence-hd/living-room.webp")
    center/cover no-repeat;
  animation: heroZoom 16s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 13, 12, 0.82) 0%,
    rgba(13, 13, 12, 0.52) 58%,
    rgba(13, 13, 12, 0.22) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
}

.hero-title {
  max-width: 970px;
  margin-top: 28px;
  font-family: var(--heading);
  font-size: clamp(67px, 9vw, 130px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -5px;
}

.hero-title span {
  display: block;
  margin-top: 30px;
  color: #e2c4a3;
  font-style: italic;
  font-weight: 400;
}

.hero-text {
  max-width: 545px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: 40px;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(35px);
  animation: heroReveal 0.9s ease forwards;
}

.hero-reveal:nth-child(1) {
  animation-delay: 0.7s;
}
.hero-reveal:nth-child(2) {
  animation-delay: 0.85s;
}
.hero-reveal:nth-child(3) {
  animation-delay: 1s;
}
.hero-reveal:nth-child(4) {
  animation-delay: 1.15s;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-down i {
  animation: bounce 1.7s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* =========================
   About
========================= */

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  align-items: center;
}

.about-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.about-copy .section-title {
  margin-top: 25px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 48px 0;
}

.stat {
  padding-right: 15px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--heading);
  font-size: 52px;
  font-weight: 500;
}

.stat strong::after {
  content: "+";
  color: var(--accent);
  font-size: 26px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.5;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.text-link:hover {
  gap: 24px;
  color: var(--accent);
  border-color: var(--accent);
}

.about-visual {
  position: relative;
  min-height: 650px;
}

.about-main-image,
.about-small-image {
  position: absolute;
  overflow: hidden;
}

.about-main-image {
  top: 0;
  right: 0;
  width: 79%;
  height: 540px;
}

.about-small-image {
  left: 0;
  bottom: 0;
  width: 46%;
  height: 290px;
  border: 12px solid var(--cream);
}

.about-main-image img,
.about-small-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.about-main-image:hover img,
.about-small-image:hover img {
  transform: scale(1.06);
}

.experience-card {
  position: absolute;
  right: 18px;
  bottom: 34px;
  width: 215px;
  padding: 24px;
  background: var(--dark);
  color: var(--white);
}

.experience-card strong {
  display: block;
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 500;
}

.experience-card span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.6;
  text-transform: uppercase;
}

/* =========================
   Projects
========================= */

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 80px;
}

.projects-heading > p {
  max-width: 430px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 35px;
}

.project-card {
  align-self: start;
}

.project-offset {
  margin-top: 120px;
}

.project-image {
  position: relative;
  display: block;
  height: 510px;
  overflow: hidden;
}

.project-tall .project-image {
  height: 650px;
}

.project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 14, 0);
  transition: var(--transition);
}

.project-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--dark);
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition);
}

.project-image:hover img {
  transform: scale(1.07);
}

.project-image:hover::after {
  background: rgba(15, 15, 14, 0.25);
}

.project-image:hover .project-arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.project-info h3 {
  font-family: var(--heading);
  font-size: 34px;
  font-weight: 500;
}

.project-title {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-title:hover,
.project-title:focus-visible {
  color: var(--accent);
}

.project-info p,
.project-info > span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-wide {
  grid-column: 1 / -1;
  width: 82%;
  margin: 40px auto 0;
}

.project-wide .project-image {
  height: 670px;
}

/* =========================
   Services
========================= */

.services {
  background: var(--dark);
  color: var(--white);
}

.section-label-light {
  color: rgba(255, 255, 255, 0.48);
}

.section-title-light {
  color: var(--white);
}

.services-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 80px;
}

.services-heading > p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.9;
}

.services-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-item {
  min-height: 160px;
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 30px;
  align-items: center;
  padding: 25px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: var(--transition);
}

.service-item:hover {
  padding-inline: 25px;
  background: rgba(255, 255, 255, 0.04);
}

.service-item > span {
  color: var(--accent);
  font-size: 10px;
}

.service-item h3 {
  font-family: var(--heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
}

.service-item p {
  max-width: 620px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.8;
}

.service-item > i {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--accent);
  transition: var(--transition);
}

.service-item:hover > i {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: rotate(10deg);
}

/* =========================
   Process
========================= */

.process {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.process-image {
  overflow: hidden;
}

.process-image img {
  height: 100%;
  object-fit: cover;
}

.process-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(40px, 7vw, 115px);
  background: var(--cream-2);
}

.process-content h2 {
  margin-top: 25px;
  font-family: var(--heading);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
}

.process-content > p:not(.eyebrow) {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.process-steps {
  margin-top: 45px;
}

.process-steps div {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.process-steps span {
  color: var(--accent);
  font-size: 10px;
}

.process-steps strong {
  font-family: var(--heading);
  font-size: 25px;
  font-weight: 500;
}

/* =========================
   Contact
========================= */

.contact {
  position: relative;
  padding: 140px 0 110px;
  color: var(--white);
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/serene-residence-hd/bedroom-tv-wall.webp")
    center/cover no-repeat;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 14, 0.95),
    rgba(15, 15, 14, 0.78)
  );
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-heading {
  margin-bottom: 75px;
}

.contact-heading h2 {
  max-width: 900px;
  margin-top: 20px;
  font-family: var(--heading);
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -2px;
}

.contact-heading h2 span {
  display: block;
  color: #d6b793;
  font-style: italic;
  font-weight: 400;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card {
  position: relative;
  min-height: 310px;
  padding: 45px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: 0.5s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0;
  background: rgba(255, 255, 255, 0.06);
  transition: 0.5s ease;
}

.contact-card:hover::before {
  height: 100%;
}

.contact-card:hover {
  padding-left: 55px;
}

.contact-card > * {
  position: relative;
  z-index: 2;
}

.contact-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(255, 255, 255, 0.27);
  font-size: 10px;
}

.contact-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #d6b793;
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  background: #d6b793;
  border-color: #d6b793;
  color: var(--dark);
  transform: rotate(8deg);
}

.contact-card small {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-card h3 {
  font-family: var(--heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.15;
}

.contact-card p {
  max-width: 370px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.8;
}

.contact-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 55px;
}

.contact-bottom > p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* =========================
   Footer — Architectural Essence Designs
========================= */

.footer {
  position: relative;
  padding: 88px 0 28px;
  background:
    radial-gradient(circle at 8% 12%, rgba(181, 139, 97, 0.1), transparent 27%),
    linear-gradient(135deg, #171715 0%, #0d0d0c 100%);
  color: var(--white);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 139, 97, 0.65), transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr 1.08fr 0.78fr;
  gap: clamp(38px, 5vw, 76px);
  align-items: start;
  padding-bottom: 64px;
}

.footer-brand {
  max-width: 330px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
}

.footer-logo .footer-monogram {
  font-family: var(--heading);
  font-size: clamp(58px, 5vw, 82px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -6px;
  background: linear-gradient(120deg, #fff 18%, #d1b077 56%, #8f6e3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-logo small {
  padding-left: 18px;
  border-left: 1px solid rgba(181, 139, 97, 0.65);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--heading);
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

.footer-brand > p {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.95;
}

.footer-column h3 {
  font-family: var(--heading);
  color: #d2ad77;
  font-size: 27px;
  font-weight: 600;
}

.footer-heading-line {
  display: block;
  width: 56px;
  height: 2px;
  margin: 15px 0 28px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.footer-info-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition);
}

.footer-info-row:first-of-type {
  padding-top: 5px;
}

.footer-info-row > i,
.footer-map-link > i {
  color: #c7a067;
  font-size: 21px;
  line-height: 1.4;
}

.footer-info-row .fa-whatsapp {
  color: #25d366;
}

.footer-info-row span {
  display: grid;
  gap: 5px;
}

.footer-info-row small {
  color: #c7a067;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.footer-info-row strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-info-row:hover,
.footer-map-link:hover,
.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-address {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.95;
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  transition: var(--transition);
}

.footer-map-link span {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(181, 139, 97, 0.8);
}

.footer-links {
  display: grid;
  gap: 18px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  transition: var(--transition);
}

.footer-links i {
  color: #c7a067;
  font-size: 10px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.footer-socials a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  font-size: 18px;
  transition: 0.35s ease;
}

.footer-socials a:hover {
  color: var(--white);
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.footer-socials .social-facebook { color: #5c8fe8; }
.footer-socials .social-instagram { color: #e05c9f; }
.footer-socials .social-pinterest { color: #e60023; }
.footer-socials .social-linkedin { color: #55a8d8; }
.footer-socials .social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.footer-socials .social-instagram:hover { background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5); border-color: #d62976; }
.footer-socials .social-pinterest:hover { background: #e60023; border-color: #e60023; }
.footer-socials .social-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.45px;
  text-transform: none;
}

.back-top {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.back-top i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transition: var(--transition);
}

.back-top:hover i {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* =========================
   Floating WhatsApp
========================= */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: #25d366;
  color: var(--white);
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 600;
  transition: var(--transition);
}

.whatsapp-float i {
  font-size: 22px;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
}

/* =========================
   Reveal
========================= */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsive
========================= */

@media (max-width: 1050px) {
  .nav-menu {
    gap: 22px;
  }
  .header-btn {
    display: none;
  }
  .about-grid {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 95px 0;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: block;
  }

  .menu-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: var(--transition);
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu .nav-link,
  .header.scrolled .nav-menu .nav-link {
    color: var(--white);
    font-family: var(--heading);
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .hero-title {
    font-size: clamp(62px, 12vw, 96px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 600px;
    margin-top: 30px;
  }

  .projects-heading,
  .services-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-image,
  .project-tall .project-image {
    height: 490px;
  }

  .project-wide {
    width: 100%;
  }

  .project-wide .project-image {
    height: 570px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process-image {
    height: 580px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 650px) {
  .section {
    padding: 80px 0;
  }

  .navbar {
    min-height: 74px;
  }

  .logo span {
    font-size: 35px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero-title {
    font-size: 61px;
    line-height: 0.86;
    letter-spacing: -2px;
  }

  .hero-title span {
    margin-top: 18px;
  }

  .hero-text {
    margin-top: 30px;
    font-size: 13px;
  }

  .hero-actions {
    max-width: 285px;
    flex-direction: column;
  }

  .scroll-down {
    display: none;
  }

  .section-title {
    font-size: 46px;
    letter-spacing: -1px;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat {
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .about-visual {
    min-height: 500px;
  }

  .about-main-image {
    width: 90%;
    height: 410px;
  }

  .about-small-image {
    width: 52%;
    height: 220px;
  }

  .experience-card {
    right: 0;
    bottom: 8px;
    width: 166px;
    padding: 18px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-offset {
    margin-top: 0;
  }

  .project-wide {
    grid-column: auto;
    margin-top: 0;
  }

  .project-image,
  .project-tall .project-image,
  .project-wide .project-image {
    height: 470px;
  }

  .project-info h3 {
    font-size: 29px;
  }

  .service-item {
    min-height: auto;
    grid-template-columns: 40px 1fr;
    padding: 30px 0;
  }

  .service-item > i {
    display: none;
  }

  .service-item h3 {
    font-size: 38px;
  }

  .process-image {
    height: 450px;
  }

  .process-content {
    padding: 75px 25px;
  }

  .contact {
    padding: 90px 0 75px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 270px;
    padding: 35px 28px;
  }

  .contact-card:hover {
    padding-left: 35px;
  }

  .contact-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top,
  .footer-bottom {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .back-top {
    align-self: flex-start;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float span {
    display: none;
  }
}

/* =========================================================
   DESIGN REFINEMENT — SHARP IMAGES, CLICKABLE SERVICES,
   PROFESSIONAL CONTACT ENQUIRY
========================================================= */

img {
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.project-image,
.about-main-image,
.about-small-image {
  background: #e8e1d8;
}

.project-image img,
.about-main-image img,
.about-small-image img,
.process-image img {
  object-position: center;
  filter: none;
}

.project-image img {
  transform: scale(1.001);
}

.project-image:hover img {
  transform: scale(1.035);
}

/* Clickable service gallery */
.services {
  position: relative;
  background:
    radial-gradient(
      circle at 85% 8%,
      rgba(181, 139, 97, 0.16),
      transparent 31%
    ),
    linear-gradient(135deg, #181816, #0f0f0e);
}

.services-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 430px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #252522;
  color: var(--white);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
  transition: 0.45s ease;
}

.service-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.5s ease;
}

.service-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 8, 7, 0.96) 0%,
    rgba(8, 8, 7, 0.34) 58%,
    rgba(8, 8, 7, 0.12) 100%
  );
  transition: 0.45s ease;
}

.service-index {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 1.2px;
}

.service-card-content {
  position: absolute;
  inset: auto 30px 30px;
  z-index: 4;
}

.service-card-content small {
  display: block;
  margin-bottom: 13px;
  color: #d8b38d;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.service-card-content h3 {
  font-family: var(--heading);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 0.98;
}

.service-card-content p {
  max-width: 360px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.7;
}

.service-open {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 23px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-card:hover,
.service-card.active {
  border-color: rgba(216, 179, 141, 0.8);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  transform: translateY(-8px);
}

.service-card:hover img,
.service-card.active img {
  transform: scale(1.065);
}

.service-card.active::after {
  border-color: rgba(216, 179, 141, 0.72);
}

.service-card.active .service-shade {
  background: linear-gradient(
    to top,
    rgba(8, 8, 7, 0.96) 0%,
    rgba(8, 8, 7, 0.22) 62%,
    rgba(181, 139, 97, 0.14) 100%
  );
}

.service-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #232320;
  overflow: hidden;
}

.service-detail-image {
  overflow: hidden;
}

.service-detail-image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  animation: detailImage 0.55s ease;
}

@keyframes detailImage {
  from {
    opacity: 0.35;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.service-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(45px, 6vw, 82px);
}

.service-detail-copy h3 {
  margin-top: 15px;
  font-family: var(--heading);
  font-size: clamp(50px, 5vw, 74px);
  font-weight: 500;
  line-height: 0.95;
}

.service-detail-copy > p:not(.eyebrow) {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.85;
}

.service-detail-copy ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-top: 30px;
  list-style: none;
}

.service-detail-copy li {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.5;
}

.service-detail-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.service-detail-btn {
  align-self: flex-start;
  margin-top: 35px;
  background: var(--accent);
  color: var(--white);
}

.service-detail-btn:hover {
  background: var(--white);
  color: var(--dark);
}

/* Redesigned professional contact */
.contact-redesign {
  position: relative;
  padding: 130px 0;
  background:
    radial-gradient(circle at 8% 5%, rgba(181, 139, 97, 0.18), transparent 29%),
    #131311;
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(55px, 7vw, 100px);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 120px;
}

.contact-intro h2 {
  margin-top: 22px;
  font-family: var(--heading);
  font-size: clamp(58px, 6.2vw, 92px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -2px;
}

.contact-intro h2 span {
  display: block;
  color: #d9b690;
  font-style: italic;
  font-weight: 400;
}

.contact-intro-text {
  max-width: 560px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.9;
}

.contact-photo {
  position: relative;
  height: 260px;
  margin-top: 42px;
  overflow: hidden;
}

.contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 9, 0.82), transparent 66%);
}

.contact-photo img {
  height: 100%;
  object-fit: cover;
}

.contact-photo > div {
  position: absolute;
  left: 28px;
  bottom: 25px;
  z-index: 2;
}

.contact-photo small,
.contact-photo span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-photo strong {
  display: block;
  margin: 7px 0;
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 500;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-details a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: 0.35s ease;
}

.contact-details a:hover {
  padding-left: 12px;
  color: #d9b690;
}

.contact-details i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--accent);
}

.contact-details small {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.contact-details strong {
  display: block;
  margin-top: 5px;
  font-family: var(--heading);
  font-size: 21px;
  font-weight: 500;
}

.contact-panel {
  padding: clamp(34px, 5vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.035)
  );
  backdrop-filter: blur(10px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
}

.contact-panel-head > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.contact-panel-head h3 {
  margin-top: 14px;
  font-family: var(--heading);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
}

.contact-panel-head p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.7;
}

.project-form {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-form label {
  display: grid;
  gap: 9px;
}

.project-form label > span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--body);
  font-size: 12px;
  transition: 0.3s ease;
}

.project-form input,
.project-form select {
  min-height: 55px;
  padding: 0 16px;
}

.project-form textarea {
  min-height: 135px;
  padding: 16px;
  resize: vertical;
}

.project-form input::placeholder,
.project-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.project-form select option {
  color: var(--dark);
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(181, 139, 97, 0.1);
}

.form-submit {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.35s ease;
}

.form-submit .fa-whatsapp {
  font-size: 18px;
}

.form-submit .fa-arrow-right {
  margin-left: auto;
}

.form-submit:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-3px);
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1050px) {
  .services-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail-image img {
    min-height: 430px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 650px) {
  .services-showcase {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 390px;
  }

  .service-detail-copy ul {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-redesign {
    padding: 90px 0;
  }

  .contact-panel {
    padding: 30px 20px;
  }

  .contact-photo {
    height: 230px;
  }
}


/* Footer responsive refinements */
@media (max-width: 1050px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { max-width: 100%; }
}

@media (max-width: 650px) {
  .footer { padding: 68px 0 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; padding-bottom: 48px; }
  .footer-logo { align-items: flex-start; }
  .footer-logo .footer-monogram { font-size: 64px; }
  .footer-logo small { font-size: 19px; }
  .footer-socials { gap: 12px; }
  .footer-socials a { width: 46px; height: 46px; }
  .footer-bottom { display: grid; grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .footer-bottom .back-top { justify-self: start; margin-top: 8px; }
}


/* =========================================================
   PREMIUM MOBILE FOOTER — card layout and clean spacing
========================================================= */
@media (max-width: 650px) {
  .footer {
    padding: 62px 0 24px;
    background:
      radial-gradient(circle at 92% 6%, rgba(181, 139, 97, 0.16), transparent 28%),
      radial-gradient(circle at 4% 30%, rgba(181, 139, 97, 0.08), transparent 32%),
      linear-gradient(155deg, #171716 0%, #090909 100%);
  }

  .footer .container {
    width: min(90%, 560px);
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding-bottom: 42px;
  }

  .footer-brand {
    width: 100%;
    max-width: none;
  }

  .footer-logo {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
  }

  .footer-logo .footer-monogram {
    font-size: clamp(62px, 20vw, 82px);
    letter-spacing: -7px;
  }

  .footer-logo small {
    min-width: 0;
    padding-left: 18px;
    font-size: clamp(18px, 5.6vw, 23px);
    line-height: 1.18;
  }

  .footer-brand > p {
    margin-top: 25px;
    max-width: 500px;
    font-size: 14px;
    line-height: 1.85;
  }

  .footer-socials {
    gap: 13px;
    margin-top: 26px;
  }

  .footer-socials a {
    width: 50px;
    height: 50px;
    font-size: 19px;
    background: rgba(255,255,255,.025);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
  }

  .footer-column {
    width: 100%;
  }

  .footer-column h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 25px;
    color: rgba(255,255,255,.94);
  }

  .footer-column h3::before {
    content: "";
    width: 9px;
    height: 9px;
    border: 2px solid #c7a067;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(199,160,103,.08);
  }

  .footer-heading-line {
    width: 64px;
    margin: 13px 0 22px;
  }

  .footer-contact-column,
  .footer-main > .footer-column:nth-child(3) {
    display: grid;
    gap: 11px;
  }

  .footer-contact-column h3,
  .footer-main > .footer-column:nth-child(3) h3,
  .footer-contact-column .footer-heading-line,
  .footer-main > .footer-column:nth-child(3) .footer-heading-line {
    grid-column: 1 / -1;
  }

  .footer-info-row,
  .footer-map-link {
    position: relative;
    width: 100%;
    min-height: 92px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 18px;
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    color: rgba(255,255,255,.88);
    box-shadow: 0 14px 35px rgba(0,0,0,.13);
    transform: none;
  }

  .footer-info-row:first-of-type {
    padding-top: 15px;
  }

  .footer-info-row::after,
  .footer-map-link::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    justify-self: end;
    color: #c7a067;
    font-size: 13px;
  }

  .footer-info-row > i,
  .footer-map-link > i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(199,160,103,.3);
    border-radius: 14px;
    background: rgba(181,139,97,.07);
    font-size: 22px;
  }

  .footer-info-row span {
    min-width: 0;
    gap: 3px;
  }

  .footer-info-row small {
    font-size: 12px;
    color: #d2ad77;
  }

  .footer-info-row strong,
  .footer-address span,
  .footer-map-link span {
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.55;
  }

  .footer-address {
    min-height: 132px;
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-map-link {
    display: grid;
    min-height: 86px;
    margin-top: 0;
    font-size: 14px;
  }

  .footer-map-link span {
    padding: 0;
    border: 0;
    color: #d2ad77;
  }

  .footer-info-row:hover,
  .footer-map-link:hover {
    transform: translateY(-2px);
  }

  .footer-links-column {
    padding-top: 2px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-links a {
    min-height: 52px;
    padding: 0 15px;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    font-size: 13px;
  }

  .footer-links a:last-child {
    grid-column: 1 / -1;
  }

  .footer-links a:hover {
    transform: translateY(-2px);
  }

  .footer-bottom {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 35px 0 74px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.48);
    font-size: 9px;
    line-height: 1.7;
  }

  .footer-bottom::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 50%;
    width: 10px;
    height: 10px;
    border: 4px solid #0c0c0b;
    border-radius: 50%;
    background: #c7a067;
    transform: translate(-50%, -50%);
  }

  .footer-bottom p:nth-child(2) {
    color: #c7a067;
  }

  .footer-bottom .back-top {
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: rgba(255,255,255,.76);
  }

  .footer-bottom .back-top i {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border: 2px solid rgba(255,255,255,.24);
    box-shadow: 0 14px 32px rgba(0,0,0,.32);
  }

  .whatsapp-float i {
    font-size: 27px;
  }
}

@media (max-width: 390px) {
  .footer .container { width: 92%; }
  .footer-logo { gap: 13px; }
  .footer-logo small { padding-left: 13px; font-size: 17px; }
  .footer-info-row, .footer-map-link { grid-template-columns: 50px minmax(0,1fr) 14px; gap: 12px; padding-inline: 12px; }
  .footer-info-row > i, .footer-map-link > i { width: 48px; height: 48px; }
  .footer-links a { padding-inline: 11px; font-size: 12px; }
}

/* =========================
   Project Gallery
========================= */

.gallery-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 30px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.open {
  visibility: visible;
  opacity: 1;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 14, 0.88);
}

.project-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: calc(100vh - 60px);
  padding: 30px;
  overflow: auto;
  background: var(--white);
  color: var(--dark);
  transform: translateY(18px);
  transition: transform 0.3s ease;
}

.project-modal.open .project-modal-dialog {
  transform: translateY(0);
}

.project-modal-header,
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.project-modal-header {
  margin-bottom: 22px;
}

.project-modal-header .eyebrow {
  margin-bottom: 5px;
}

.project-modal-header h2 {
  font-family: var(--heading);
  font-size: 38px;
  font-weight: 500;
}

.gallery-close,
.gallery-nav {
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-close {
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: var(--white);
  font-size: 18px;
}

.gallery-close:hover,
.gallery-close:focus-visible {
  background: var(--accent);
}

.gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(58vh, 600px);
  background: #e9e5df;
}

.gallery-stage > img {
  display: block;
  width: 100%;
  height: min(58vh, 600px);
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 46px;
  height: 46px;
  background: var(--white);
  color: var(--dark);
  transform: translateY(-50%);
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: var(--accent);
  color: var(--white);
}

.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }

.gallery-footer {
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--border);
}

.gallery-footer p,
.gallery-footer span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  padding-top: 14px;
}

.gallery-thumbnail {
  height: 68px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: var(--transition);
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active,
.gallery-thumbnail:focus-visible {
  border-color: var(--accent);
  opacity: 1;
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 650px) {
  .project-modal {
    padding: 0;
  }

  .project-modal-dialog {
    width: 100%;
    max-height: 100vh;
    padding: 20px;
  }

  .project-modal-header h2 {
    max-width: 250px;
    font-size: 32px;
    line-height: 1;
  }

  .gallery-stage,
  .gallery-stage > img {
    min-height: 52vh;
    height: 52vh;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-prev { left: 10px; }
  .gallery-next { right: 10px; }

  .gallery-thumbnails {
    grid-template-columns: repeat(5, 1fr);
  }

  .gallery-thumbnail {
    height: 56px;
  }
}
