:root {
  --navy: #1e3a5f;
  --navy-2: #132940;
  --gold: #c8a96a;
  --gold-2: #e0c27f;
  --white: #ffffff;
  --light: #f8f9fa;
  --charcoal: #333333;
  --muted: #697386;
  --line: rgba(30, 58, 95, 0.14);
  --shadow: 0 24px 70px rgba(21, 37, 58, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--white);
}

body.nav-open,
body.popup-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: "Poppins", system-ui, sans-serif;
  margin: 0;
  line-height: 1.08;
  color: var(--navy);
}

h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  padding-block: 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: 0.3s ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.nav-active .brand-logo {
  transform: scale(0.95);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

.brand small {
  color: currentColor;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.quote-btn,
.project-card button {
  border: 0;
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
  background: var(--gold);
}

.quote-btn {
  padding: 13px 20px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
}

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.muted {
  background: var(--light);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 118px 0 36px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2200&q=85");
  background-position: center;
  background-size: cover;
  animation: heroMove 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    radial-gradient(circle at 70% 25%, rgba(200, 169, 106, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(10, 22, 35, 0.94), rgba(30, 58, 95, 0.72) 48%, rgba(30, 58, 95, 0.32));
}

@keyframes heroMove {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06) translateX(-1.2%);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding-bottom: 32px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.hero-sub {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.14rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.quote-btn:hover,
.project-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(30, 58, 95, 0.2);
}

.btn-gold {
  color: var(--navy);
  background: var(--gold);
}

.btn-navy {
  color: var(--white);
  background: var(--navy);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.full {
  width: 100%;
}

.glass,
.consult-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.consult-card {
  border-radius: var(--radius);
  padding: 28px;
}

.consult-card h2 {
  margin: 8px 0 20px;
  color: var(--white);
  font-size: 1.55rem;
}

.mini-label {
  display: inline-flex;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(30, 58, 95, 0.16);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--charcoal);
  outline: 0;
  background: var(--white);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.18);
}

.consult-card p,
.contact .section-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.features-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.features-bar span {
  position: relative;
  padding: 22px;
  color: var(--white);
  font-weight: 800;
}

.features-bar span::before,
.amenity-grid span::before {
  content: "✓";
  margin-right: 9px;
  color: var(--gold-2);
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(34px, 7vw, 82px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1fr 1fr;
}

.media-card,
.project-card,
.team-card,
.testimonial-card,
.compare-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.media-card {
  position: relative;
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 158px;
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
  background: var(--navy);
}

.experience-badge strong {
  display: block;
  color: var(--gold-2);
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
}

.section-copy p {
  font-size: 1.03rem;
}

.stats-grid,
.card-grid,
.icon-grid,
.testimonial-grid,
.team-grid,
.completed-grid,
.amenity-grid {
  display: grid;
  gap: 22px;
}

.stats-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.stats-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--light);
}

.stats-grid strong {
  display: block;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 2.15rem;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 700;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
  text-align: center;
}

.section-head p:last-child {
  margin-inline: auto;
  max-width: 640px;
}

.services-grid,
.icon-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.icon-card {
  position: relative;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: 90px;
  content: "";
  background: linear-gradient(135deg, transparent 50%, rgba(200, 169, 106, 0.18) 50%);
}

.service-card span {
  color: var(--gold);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.service-card h3,
.icon-card h3 {
  margin: 18px 0 10px;
}

.service-card:hover,
.icon-card:hover,
.team-card:hover,
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 169, 106, 0.6);
  box-shadow: var(--shadow);
}

.packages-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 169, 106, 0.14), transparent 30%),
    #eef5fa;
}

.package-title-wrap {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 44px;
  text-align: center;
}

.package-title-wrap > span {
  position: absolute;
  z-index: 0;
  top: -38px;
  left: 50%;
  color: rgba(200, 169, 106, 0.16);
  font-family: "Poppins", sans-serif;
  font-size: clamp(4.2rem, 12vw, 7.6rem);
  font-weight: 800;
  line-height: 1;
  transform: translateX(-50%);
  white-space: nowrap;
}

.package-title-wrap .eyebrow,
.package-title-wrap h2,
.package-title-wrap p {
  position: relative;
  z-index: 1;
}

.package-title-wrap h2 {
  color: #070b24;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;

  max-width: 1000px;   /* Adjust as needed */
  width: 100%;
  margin: 0 auto;      /* Centers the grid */
}

.package-card {
  position: relative;
  display: flex;
  min-height: 820px;
  flex-direction: column;
  align-items: center;
  padding: 54px 34px 34px;
  text-align: center;
  border: 1px solid rgba(30, 58, 95, 0.08);
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.package-card.featured,
.package-card:hover {
  z-index: 2;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}

.package-card h3 {
  order: -2;
  margin-bottom: 28px;
  color: #070b24;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.package-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 18px;
  color: #35b9c5;
  font-size: 2.3rem;
  line-height: 1;
}

.package-price {
  margin-bottom: 36px;
}

.package-price strong {
  display: block;
  color: #070b24;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.55rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.package-price em {
  color: #8a9aaa;
  font-family: Georgia, serif;
  font-size: 0.95rem;
}

.package-card ul {
  display: grid;
  width: 100%;
  gap: 13px;
  flex: 1;
  padding: 34px 0 28px;
  margin: 0;
  border-top: 1px solid rgba(30, 58, 95, 0.2);
  list-style: none;
}

.package-card li {
  color: #596a7c;
  font-size: 0.88rem;
  line-height: 1.45;
}

.package-card li::after {
  content: "✓";
  margin-left: 10px;
  color: #35b9c5;
  font-size: 1rem;
  font-weight: 900;
}

.package-link {
  border: 0;
  padding: 0;
  margin-top: auto;
  color: #070b24;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
}

.package-link::after {
  display: block;
  width: 0;
  height: 2px;
  margin-top: 8px;
  content: "";
  background: var(--gold);
  transition: width 0.25s ease;
}

.package-link:hover::after {
  width: 100%;
}

.why {
  background:
    linear-gradient(rgba(30, 58, 95, 0.94), rgba(30, 58, 95, 0.94)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.icon-card {
  min-height: 206px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.icon-card i {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 800;
  background: var(--gold);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.icon-card p,
.testimonial-card p {
  color: rgba(255, 255, 255, 0.74);
}

.project-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.project-slider {
  position: relative;
  min-height: 520px;
}

.project-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.8s ease;
}

.project-slider img.is-active {
  opacity: 1;
}

.project-details {
  padding: clamp(28px, 5vw, 56px);
}

.project-details h3 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.project-details ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}

.project-details li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.project-details strong {
  color: var(--navy);
}

.completed-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.project-card div,
.team-card div,
.testimonial-card {
  padding: 24px;
}

.project-card button {
  padding: 11px 16px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.timeline::before {
  position: absolute;
  top: 37px;
  right: 7%;
  left: 7%;
  height: 2px;
  content: "";
  background: rgba(200, 169, 106, 0.42);
}

.timeline article {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline span {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin: 0 auto 16px;
  border: 8px solid var(--light);
  border-radius: 50%;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  background: var(--gold);
}

.timeline h3 {
  font-size: 0.98rem;
}

.amenity-grid {
  grid-template-columns: repeat(4, 1fr);
}

.amenity-grid span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--navy);
  font-weight: 900;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(30, 58, 95, 0.08);
}

.testimonials {
  background:
    radial-gradient(circle at 20% 0%, rgba(200, 169, 106, 0.24), transparent 26%),
    var(--navy-2);
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  margin: 18px 0 12px;
  color: var(--gold-2);
  letter-spacing: 0.15em;
}

.masonry {
  display: grid;
  grid-auto-rows: 170px;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.masonry img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(30, 58, 95, 0.12);
}

.masonry .tall {
  grid-row: span 2;
}

.masonry .wide {
  grid-column: span 2;
}

.compare-card {
  display: grid;
  min-height: 430px;
  grid-template-columns: 1fr 1fr;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.34), rgba(20, 20, 20, 0.1) 50%, rgba(30, 58, 95, 0.15) 50%),
    url("../images/Renovation.png") center/cover;
}

.before,
.after {
  display: flex;
  align-items: end;
  padding: 26px;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.before {
  filter: grayscale(1);
}

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

.team-section {
  background:
    radial-gradient(circle at 14% 8%, rgba(200, 169, 106, 0.14), transparent 24%),
    var(--white);
}

.team-card {
  border: 1px solid var(--line);
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-card span {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 18px 0 10px;
}

.contact {
  background:
    linear-gradient(rgba(30, 58, 95, 0.92), rgba(30, 58, 95, 0.92)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1700&q=80") center/cover;
}

.contact-form {
  grid-template-columns: repeat(2, 1fr);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form .wide,
.contact-form .full {
  grid-column: 1 / -1;
}

.map-card {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  filter: saturate(0.7);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0d1d2d;
}

/* Footer Logo */

.footer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:20px;
}

.footer-brand .brand-logo{
    width:55px;
    height:55px;
    object-fit:contain;
    flex-shrink:0;
}

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

.footer-brand strong{
    color:#fff;
    font-size:1rem;
    font-family:"Poppins",sans-serif;
    font-weight:700;
}

.footer-brand small{
    color:rgba(255,255,255,.75);
    font-size:.75rem;
    letter-spacing:.15em;
    text-transform:uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0 42px;
}

.site-footer h3,
.site-footer strong {
  color: var(--white);
}

.site-footer a,
.site-footer p {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  margin: 10px 0;
}

.footer-enquiry {
  display: block;
  border: 0;
  padding: 0;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.footer-enquiry:hover,
.site-footer a:hover {
  color: var(--gold-2);
}

.socials{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.socials a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--gold);
    color:var(--navy);
    font-weight:700;
    transition:.3s;
}

.socials a:hover{
    transform:translateY(-3px);
    background:var(--gold-2);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  text-align: center;
}

.floating {
  position: fixed;
  z-index: 45;
  right: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.whatsapp,
.call{
    transition:.3s;
}

.whatsapp {
  bottom: 90px;
  width: 58px;
  height: 58px;
  background: #24c063;
}

.whatsapp:hover,
.call:hover{
    transform:scale(1.08);
}

.call {
  bottom: 24px;
  min-width: 58px;
  height: 46px;
  padding: 0 16px;
  background: var(--gold);
}

.popup {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup.is-open {
  display: flex;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 26, 0.72);
  backdrop-filter: blur(8px);
}

.popup-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  background: var(--navy);
}

.popup-close::before {
  content: "×";
  font-size: 1.5rem;
  line-height: 1;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 154px;
  max-width: min(420px, calc(100% - 40px));
  border: 1px solid rgba(200, 169, 106, 0.42);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--white);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: #b42318;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .hero-grid,
  .project-feature,
  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .consult-card {
    max-width: 560px;
  }

  .services-grid,
  .icon-grid,
  .packages-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .packages-grid {
    gap: 22px;
  }

  .package-card {
    min-height: auto;
  }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .quote-btn {
    display: none;
  }

  .main-nav.is-open {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 18px;
    color: var(--navy);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    border-bottom: 1px solid var(--line);
    padding: 15px 4px;
  }

  .hero {
    padding-top: 104px;
  }

  .features-bar,
  .completed-grid,
  .testimonial-grid,
  .amenity-grid,
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .masonry {
    grid-auto-rows: 150px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }
  h1 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .features-bar,
  .stats-grid,
  .services-grid,
  .icon-grid,
  .packages-grid,
  .team-grid,
  .footer-grid,
  .amenity-grid,
  .testimonial-grid,
  .completed-grid,
  .timeline,
  .masonry {
    grid-template-columns: 1fr;
  }

  .project-slider {
    min-height: 360px;
  }

  .project-details li {
    display: grid;
    gap: 4px;
  }

  .masonry .tall,
  .masonry .wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .compare-card {
    min-height: 320px;
  }

  .floating {
    right: 14px;
  }
}

@media(max-width:620px){

    .footer-brand .brand-logo{
        width:48px;
        height:48px;
    }

    .footer-brand strong{
        font-size:.95rem;
    }

    .footer-brand small{
        font-size:.7rem;
    }
}

