/* ============================================
   MERY STYLIQUE — Luxury Design System
   Black, White, Gold — Minimal & Elegant
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #C6A962;
  --gold-light: #D4BD7E;
  --gold-dark: #A88B42;
  --gold-pale: rgba(198,169,98,0.08);
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #222222;
  --gray: #888888;
  --gray-light: #BBBBBB;
  --gray-subtle: #666666;
  --border: rgba(0,0,0,0.08);
  --border-light: rgba(255,255,255,0.08);
  --white: #FFFFFF;
  --off-white: #F8F6F3;
  --cream: #F3EDE4;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 32px rgba(198,169,98,0.2);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s ease;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  --container: 1240px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.15; font-weight: 400; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--gray-subtle); line-height: 1.8; font-size: 0.95rem; font-weight: 300; }
.text-white p { color: rgba(255,255,255,0.6); }

/* ── Layout ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
@media (max-width: 768px) { .section { padding: 70px 0; } }

/* ── Section Labels ── */
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; font-family: var(--font-body);
}
.section-label::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--gold);
}
.section-title { color: var(--dark); margin-bottom: 20px; }
.section-subtitle { color: var(--gray); font-size: 1rem; max-width: 520px; font-weight: 300; }
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 4px;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: var(--transition); cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--gold); color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-dark); transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(198,169,98,0.3);
}
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-dark {
  background: var(--dark); color: var(--white);
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }
.btn-lg { padding: 18px 42px; font-size: 0.85rem; }
.btn-sm { padding: 10px 22px; font-size: 0.76rem; }
.btn-whatsapp {
  background: #25D366; color: var(--white);
  box-shadow: 0 8px 28px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover {
  background: #1ebe5d; transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(37,211,102,0.35);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem; font-weight: 500;
  color: var(--white); letter-spacing: 2px;
  transition: var(--transition); text-transform: uppercase;
}
.navbar.scrolled .navbar-brand { color: var(--dark); }
.navbar-brand span { color: var(--gold); font-weight: 600; }
.navbar-nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  transition: var(--transition); position: relative;
}
.navbar.scrolled .nav-link { color: var(--dark); }
.nav-link::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--gold); }
.navbar-cta {
  background: var(--gold) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 4px;
  letter-spacing: 1px;
}
.navbar-cta:hover { background: var(--gold-dark) !important; }
.navbar-cta::after { display: none !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .navbar-nav {
    position: fixed; top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--white); flex-direction: column;
    justify-content: center; align-items: flex-start;
    padding: 48px; gap: 28px;
    box-shadow: var(--shadow-lg);
    transition: right 0.45s cubic-bezier(0.4,0,0.2,1);
  }
  .navbar-nav.open { right: 0; }
  .nav-link { color: var(--dark) !important; font-size: 0.85rem; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, rgba(198,169,98,0.08) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 140px 0 100px; max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-light); padding: 0; border-radius: 0;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 28px;
  border-bottom: 1px solid rgba(198,169,98,0.3);
  padding-bottom: 12px;
}
.hero-title {
  color: var(--white); margin-bottom: 24px;
  font-weight: 300; line-height: 1.1;
}
.hero-title em {
  font-style: italic; color: var(--gold-light);
}
.hero-subtitle {
  color: rgba(255,255,255,0.65); font-size: 1.05rem;
  margin-bottom: 48px; max-width: 480px; line-height: 1.8;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center;
}
.hero-scroll-hint .line {
  width: 1px; height: 48px; background: rgba(255,255,255,0.2);
  margin: 0 auto 10px; position: relative; overflow: hidden;
}
.hero-scroll-hint .line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--gold);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}
.hero-scroll-hint span {
  font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   PROJECT / PORTFOLIO CARDS
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
@media (max-width: 500px) { .projects-grid { grid-template-columns: 1fr; } }
.project-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; group: true;
  height: 420px;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; transition: var(--transition);
}
.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 60%);
}
.project-card-category {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 8px;
}
.project-card-title {
  font-family: var(--font-heading); font-size: 1.4rem;
  color: var(--white); font-weight: 400; margin-bottom: 12px;
}
.project-card-link {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(10px);
  transition: var(--transition);
}
.project-card:hover .project-card-link { opacity: 1; transform: translateY(0); }

/* ── Portfolio category filter ── */
.portfolio-filters {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gray);
  border: 1px solid var(--border); background: transparent;
  transition: var(--transition); cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--dark); color: var(--white); border-color: var(--dark);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card-img { height: 240px; overflow: hidden; }
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 28px; }
.service-card-body h3 { margin-bottom: 12px; font-weight: 500; }
.service-card-body p { font-size: 0.88rem; margin-bottom: 20px; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}
.why-card { text-align: center; padding: 40px 28px; }
.why-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid rgba(198,169,98,0.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 1.6rem;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--gold); border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.why-card:hover .why-icon span { filter: brightness(10); }
.why-card h4 {
  font-family: var(--font-heading); font-size: 1.2rem;
  font-weight: 500; margin-bottom: 12px; color: var(--dark);
}
.why-card p { font-size: 0.88rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; border: 1px solid var(--border);
  transition: var(--transition); position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-quote {
  font-family: var(--font-heading); font-size: 4rem;
  color: var(--gold); opacity: 0.15; position: absolute;
  top: 16px; left: 28px; line-height: 1;
}
.testimonial-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-style: italic; margin-bottom: 24px;
  color: var(--dark); font-size: 0.95rem; line-height: 1.85;
  font-weight: 300;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.testimonial-name { font-weight: 600; font-size: 0.88rem; color: var(--dark); }
.testimonial-role { font-size: 0.75rem; color: var(--gray); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-section {
  background: var(--dark); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,169,98,0.08) 0%, transparent 70%);
  top: -150px; right: -150px;
}
.cta-inner { position: relative; z-index: 2; text-align: center; }
.cta-inner .section-label { justify-content: center; }
.cta-inner h2 { color: var(--white); font-weight: 300; }
.cta-inner p { color: rgba(255,255,255,0.55); max-width: 480px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--dark); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 600px; height: 100%;
  background: radial-gradient(ellipse at right, rgba(198,169,98,0.06) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-weight: 300; }
.page-hero p { color: rgba(255,255,255,0.5); max-width: 480px; margin-top: 16px; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  margin-bottom: 24px; letter-spacing: 1px; text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,0.35); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--gold); }

/* ============================================
   ABOUT
   ============================================ */
.about-image-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
}
.about-image-wrap img { width: 100%; height: 500px; object-fit: cover; }
.about-badge-float {
  position: absolute; bottom: 28px; left: 28px;
  background: var(--white); border-radius: var(--radius);
  padding: 20px 28px; box-shadow: var(--shadow-lg);
}
.about-badge-float .number {
  font-family: var(--font-heading);
  font-size: 2.4rem; font-weight: 400; color: var(--gold);
}
.about-badge-float .label { font-size: 0.78rem; color: var(--gray); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; }
.value-card {
  background: var(--off-white); border-radius: var(--radius);
  padding: 28px; border-left: 2px solid var(--gold);
}
.value-card h4 { margin-bottom: 10px; font-family: var(--font-heading); font-size: 1.1rem; }
.value-card p { font-size: 0.88rem; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 44px; color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 10px; font-weight: 400; }
.contact-info-card > p { color: rgba(255,255,255,0.5); margin-bottom: 36px; font-size: 0.9rem; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.contact-item-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(198,169,98,0.1); border: 1px solid rgba(198,169,98,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-item-text .label {
  font-size: 0.68rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 2px;
}
.contact-item-text .value { color: var(--white); font-weight: 500; font-size: 0.95rem; margin-top: 4px; }
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 44px; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { margin-bottom: 8px; font-weight: 400; }
.contact-form-wrap > p { margin-bottom: 32px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-size: 0.72rem; font-weight: 600;
  color: var(--dark); text-transform: uppercase; letter-spacing: 1.5px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.92rem; font-family: var(--font-body);
  color: var(--dark); background: var(--off-white);
  outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(198,169,98,0.08);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================
   PROJECT DETAIL
   ============================================ */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; height: 480px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery-thumb {
  border-radius: 4px; overflow: hidden; height: 90px; cursor: pointer;
  opacity: 0.6; transition: var(--transition); border: 2px solid transparent;
}
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-sidebar-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  position: sticky; top: 100px;
}
.detail-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.features-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px; margin-top: 16px;
}
.feature-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--off-white); border-radius: 4px;
  font-size: 0.85rem; color: var(--dark);
}
.feature-item::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ============================================
   MARQUEE / LOGOS
   ============================================ */
.marquee-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 64px; padding: 40px 0; flex-wrap: wrap;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.marquee-item {
  font-family: var(--font-heading); font-size: 1.3rem;
  color: var(--gray-light); font-weight: 400; letter-spacing: 2px;
  opacity: 0.5;
}
.marquee-item span { color: var(--gold); opacity: 1; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.55);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 56px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--font-heading); font-size: 1.5rem;
  color: var(--white); margin-bottom: 16px;
  letter-spacing: 2px; text-transform: uppercase;
}
.footer-brand span { color: var(--gold); }
.footer-desc { font-size: 0.88rem; line-height: 1.8; max-width: 280px; }
.footer-heading {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--white); margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; }
.whatsapp-btn {
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 14px 24px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: var(--transition); cursor: pointer;
  border: none; font-family: var(--font-body);
  letter-spacing: 0.5px;
}
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 48px rgba(37,211,102,0.5);
}
.whatsapp-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.whatsapp-pulse {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #FF3B30;
  box-shadow: 0 0 0 0 rgba(255,59,48,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,59,48,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255,59,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); }
}
@media (max-width: 600px) {
  .whatsapp-float { bottom: 20px; right: 16px; }
  .whatsapp-btn-text { display: none; }
  .whatsapp-btn { padding: 14px; border-radius: 50%; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================
   MAP
   ============================================ */
.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); margin-top: 48px;
}
.map-wrap iframe { width: 100%; height: 400px; display: block; border: none; }

/* ============================================
   UTILITIES
   ============================================ */
.bg-off-white { background: var(--off-white); }
.bg-dark { background: var(--dark); }
.gold { color: var(--gold); }
.text-center { text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 32px; transition: var(--transition);
}
.back-link:hover { gap: 14px; }
.scroll-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: var(--transition);
  cursor: pointer; border: 1px solid rgba(255,255,255,0.08);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--gold); border-color: var(--gold); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92); display: none;
  align-items: center; justify-content: center;
  cursor: zoom-out; backdrop-filter: blur(8px);
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 85vh; border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 28px; right: 28px;
  color: white; font-size: 2rem; cursor: pointer;
  width: 48px; height: 48px; display: flex;
  align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.08);
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero-content { max-width: 580px; }
  .hero-stats { gap: 28px; }
  .projects-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
  .project-card { height: 360px; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
  .why-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
  .testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .footer-grid { gap: 40px; }
  .marquee-bar { gap: 36px; padding: 32px 0; }
  .two-col { gap: 48px; }
  .contact-grid { gap: 36px; }
}

/* ============================================
   RESPONSIVE — TABLET PORTRAIT (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 44px 0; }
  .container { padding: 0 16px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: 120px 0 80px; max-width: 100%; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 36px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-badge { font-size: 0.65rem; letter-spacing: 2px; }
  .hero-stats { gap: 24px; margin-top: 40px; }
  .hero-stat-number { font-size: 1.6rem; }
  .hero-scroll-hint { display: none; }

  /* Page Hero */
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .breadcrumb { font-size: 0.65rem; margin-bottom: 16px; }

  /* Typography */
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
  .section-label { font-size: 0.65rem; letter-spacing: 2px; }
  .section-subtitle { font-size: 0.9rem; }

  /* Buttons */
  .btn { padding: 13px 24px; font-size: 0.78rem; }
  .btn-lg { padding: 15px 32px; font-size: 0.8rem; }
  .btn-sm { padding: 10px 18px; font-size: 0.72rem; }

  /* Grids */
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { height: 300px; }
  .project-card-title { font-size: 1.2rem; }
  .project-card-overlay { padding: 24px; }

  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card-img { height: 200px; }
  .service-card-body { padding: 22px; }

  .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-card { padding: 28px 20px; }
  .why-icon { width: 56px; height: 56px; font-size: 1.3rem; }
  .why-card h4 { font-size: 1rem; }
  .why-card p { font-size: 0.82rem; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 28px; }
  .testimonial-text { font-size: 0.9rem; }

  /* Two-col layout */
  .two-col { grid-template-columns: 1fr; gap: 36px; }

  /* Detail grid */
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-main { height: 300px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .gallery-thumb { height: 70px; }
  .detail-sidebar-card { position: static; padding: 24px; }
  .features-list { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-info-card { padding: 32px; }
  .contact-form-wrap { padding: 28px; }
  .map-wrap { margin-top: 32px; }
  .map-wrap iframe { height: 280px; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-brand { font-size: 1.3rem; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 18px 0; }

  /* Marquee */
  .marquee-bar { gap: 24px; padding: 24px 0; }
  .marquee-item { font-size: 1rem; }

  /* CTA */
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Lightbox */
  .lightbox img { max-width: 95vw; max-height: 80vh; border-radius: 4px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 1.6rem; }

  /* Portfolio filters */
  .portfolio-filters { gap: 6px; margin-bottom: 32px; }
  .filter-btn { padding: 8px 16px; font-size: 0.7rem; }

  /* Scroll top */
  .scroll-top { width: 38px; height: 38px; bottom: 20px; left: 16px; font-size: 0.9rem; }

  /* About */
  .about-image-wrap img { height: 320px; }
  .about-badge-float { bottom: 16px; left: 16px; padding: 14px 20px; }
  .about-badge-float .number { font-size: 1.8rem; }

  /* Milestones */
  .milestones { grid-template-columns: 1fr 1fr; gap: 16px; }
  .milestone { padding: 24px 16px; }
  .milestone-num { font-size: 2rem; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-card { padding: 22px; }

  /* Service detail on services page */
  .service-detail-img { height: 280px; }
  .service-features-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-step::before { font-size: 2.2rem; }
}

/* ============================================
   RESPONSIVE — MOBILE PHONE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 14px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 36px 0; }

  /* Hero */
  .hero-content { padding: 100px 0 60px; }
  .hero-title { font-size: 1.7rem; line-height: 1.15; }
  .hero-subtitle { font-size: 0.88rem; line-height: 1.7; margin-bottom: 28px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .hero-stat-number { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.72rem; }

  /* Page Hero */
  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: 1.5rem; }

  /* Sections */
  .section-title { font-size: 1.5rem; margin-bottom: 14px; }
  .section-subtitle { font-size: 0.85rem; }
  .section-label { font-size: 0.6rem; letter-spacing: 2px; margin-bottom: 12px; }
  .section-label::before { width: 20px; }

  /* Cards smaller padding */
  .project-card { height: 260px; }
  .project-card-overlay { padding: 20px; }
  .project-card-category { font-size: 0.6rem; }
  .project-card-title { font-size: 1.05rem; }

  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 24px 18px; }
  .why-icon { width: 48px; height: 48px; font-size: 1.1rem; margin-bottom: 16px; border-radius: 12px; }

  .testimonial-card { padding: 22px; }
  .testimonial-text { font-size: 0.85rem; line-height: 1.75; }
  .testimonial-avatar { width: 40px; height: 40px; }
  .testimonial-name { font-size: 0.82rem; }

  /* Gallery */
  .gallery-main { height: 240px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .gallery-thumb { height: 56px; }
  .features-list { grid-template-columns: 1fr; }

  /* Contact */
  .contact-info-card { padding: 24px; }
  .contact-form-wrap { padding: 22px; }
  .contact-item { margin-bottom: 20px; gap: 14px; }
  .contact-item-icon { width: 40px; height: 40px; }
  .form-group input, .form-group textarea, .form-group select { padding: 12px 14px; font-size: 0.88rem; }
  .form-group label { font-size: 0.68rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-heading { margin-bottom: 14px; }
  .footer-desc { max-width: 100%; }

  /* Buttons full width */
  .btn { width: 100%; justify-content: center; text-align: center; }

  /* About */
  .about-image-wrap img { height: 240px; }
  .about-badge-float { position: relative; bottom: 0; left: 0; margin-top: 16px; display: inline-flex; gap: 12px; align-items: center; }
  .about-badge-float .number { font-size: 1.5rem; }

  /* Milestones */
  .milestones { grid-template-columns: 1fr 1fr; }
  .milestone-num { font-size: 1.8rem; }
  .milestone-label { font-size: 0.78rem; }

  /* Map */
  .map-wrap iframe { height: 220px; }

  /* Service detail on services page */
  .service-detail-img { height: 220px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Marquee hide on very small */
  .marquee-bar { gap: 16px; padding: 20px 0; }
  .marquee-item { font-size: 0.88rem; letter-spacing: 1px; }

  /* Portfolio filters */
  .portfolio-filters { flex-direction: row; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; flex-wrap: nowrap; }
  .filter-btn { flex-shrink: 0; white-space: nowrap; }

  /* CTA */
  .cta-inner h2 { font-size: 1.4rem; }
  .cta-inner p { font-size: 0.85rem; }
  .cta-actions .btn { max-width: 100%; }
}

/* ============================================
   RESPONSIVE — VERY SMALL (≤ 360px)
   ============================================ */
@media (max-width: 360px) {
  .hero-title { font-size: 1.5rem; }
  .hero-content { padding: 90px 0 50px; }
  .project-card { height: 220px; }
  .gallery-main { height: 200px; }
  .gallery-thumb { height: 48px; }
  .about-image-wrap img { height: 200px; }
  .milestone-num { font-size: 1.5rem; }
  .contact-info-card { padding: 20px; }
  .contact-form-wrap { padding: 18px; }
  .navbar-brand { font-size: 1.3rem; }
  .milestones { grid-template-columns: 1fr; }
}

/* ============================================
   TOUCH / HOVER SAFETY
   ============================================ */
@media (hover: none) {
  .project-card-link { opacity: 1; transform: translateY(0); }
  .project-card:hover img { transform: none; }
  .service-card:hover .service-card-img img { transform: none; }
  .service-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .why-card:hover { transform: none; }
  .testimonial-card:hover { box-shadow: none; }
  .btn:hover { transform: none; }
  .btn-primary:hover { box-shadow: var(--shadow-gold); }
  .btn-whatsapp:hover { box-shadow: 0 8px 28px rgba(37,211,102,0.25); }
}

/* ============================================
   iOS SAFE AREA
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
  .whatsapp-float { bottom: calc(28px + env(safe-area-inset-bottom)); }
  .scroll-top { bottom: calc(28px + env(safe-area-inset-bottom)); }
  .footer-bottom { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .navbar-nav.open { padding-bottom: env(safe-area-inset-bottom); }
}

/* ============================================
   LANDSCAPE PHONE
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-content { padding: 100px 0 40px; }
  .hero-stats { display: none; }
  .hero-scroll-hint { display: none; }
  .page-hero { padding: 100px 0 40px; }
}
