/* ============================================================
   ESTILOS PRINCIPALES — Personaliza los colores en :root
   ============================================================ */

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

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --primary: #c8a96e;
  --primary-dark: #a8893e;
  --accent: #e8c27a;
  --dark: #0F1A26;
  --dark-2: rgba(15, 26, 38, 0.72);
  --dark-3: rgba(15, 26, 38, 0.88);
  --dark-4: rgba(15, 26, 38, 0.96);
  --gradient-bg:
    radial-gradient(circle at bottom left, #ffffff 0%, rgba(255, 255, 255, 0.9) 12%, transparent 55%),
    radial-gradient(circle at bottom right, rgba(150, 40, 40, 0.98) 0%, rgba(150, 40, 40, 0.65) 45%, transparent 85%),
    linear-gradient(135deg, #8e8e93 0%, #15191e 100%);
  --light: #f8f5f0;
  --light-2: #ede8e0;
  --text: #ffffff;
  --text-muted: #cbd5e1;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius: 4px;
  --radius-lg: 12px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  background: var(--gradient-bg) no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  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-display);
  line-height: 1.15;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

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

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text-muted);
}

.gold {
  color: var(--primary);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

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

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn:hover::after {
  transform: translateX(0);
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 110, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── ANNOUNCEMENT BAR ───────────────────────────────────────── */
.announcement-bar {
  background: #ffffff;
  color: var(--dark);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 200;
}

.announcement-bar a {
  color: var(--dark);
  font-weight: 700;
  margin-left: 1rem;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 26, 38, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.12);
  transition: var(--transition);
}

.header.scrolled {
  height: 64px;
  background: rgba(15, 26, 38, 0.98);
  border-color: rgba(200, 169, 110, 0.2);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  padding: 4px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text .name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.logo-text .sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ==========================================
   VIEWPORT FRAME & HEADER LAYOUT OVERRIDES
   ========================================== */

/* Remove page-wide viewport frame */
body::before {
  display: none !important;
}

/* Header Wrapper (sticky, spans full width, serves as positioning context) */
.header-wrapper {
  position: relative;
  /* Forces absolute children like logo to calculate position relative to this container */
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.header-wrapper.scrolled {
  box-shadow: var(--shadow);
}

/* Announcement Bar (white background, centered, dark text) */
.announcement-bar {
  background: #ffffff !important;
  color: var(--dark) !important;
  text-align: center;
  padding: 0.5rem 1rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  position: relative;
  z-index: 200;
  transition: all var(--transition);
  max-height: 50px;
  opacity: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.announcement-bar a {
  color: var(--dark) !important;
  font-weight: 700 !important;
  margin-left: 0 !important;
}

/* Scrolled state for announcement bar */
.header-wrapper.scrolled .announcement-bar {
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  opacity: 0 !important;
}

/* Header Dark Bar (fixed height, static positioning context for logo) */
.header {
  position: static !important;
  height: 80px !important;
  background: #0f1a26 !important;
  border-bottom: 1px solid rgba(200, 169, 110, 0.12) !important;
  transition: all var(--transition);
}

.header-wrapper.scrolled .header {
  height: 64px !important;
}

.header-inner {
  position: static !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo Spacer */
.header .logo {
  display: block;
  width: 325px;
  /* Spacer increased to prevent menu from overlapping the larger, shifted logo */
  height: 100%;
  position: static !important;
}

/* Logo square overlapping the wrapper */
.header .logo-icon {
  width: 155px;
  height: 155px;
  background: #ffffff !important;
  border: 6px solid #8c8d8b !important;
  /* Grey border */
  border-radius: 0 !important;
  /* Perfect square */
  padding: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  position: absolute !important;
  left: 140px !important;
  /* Shifted further right as requested */
  top: 10px !important;
  /* Overlaps the gold bar by starting 10px from top */
  z-index: 1100 !important;
  /* sits on top of announcement bar & header */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--transition) !important;
}

.header .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.header .logo-text {
  display: none !important;
}

/* CTA Button (White background, black text, rounded corners) */
.header .btn-primary {
  background: #ffffff !important;
  color: #0F1A26 !important;
  border: 1.5px solid #ffffff !important;
  border-radius: 4px !important;
  font-family: var(--font-body);
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.65rem 1.4rem !important;
  transition: all var(--transition) !important;
  box-shadow: none !important;
}

.header .btn-primary:hover {
  background: #ede8e0 !important;
  color: #0F1A26 !important;
  border-color: #ede8e0 !important;
  transform: translateY(-1px) !important;
}

/* Phone link styling */
.header-phone {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

.header-phone .phone-icon {
  color: #ec4899;
  /* magenta pink phone icon */
  font-weight: 400;
}

/* Hover animation for logo */
.header .logo:hover .logo-icon {
  transform: scale(1.03) !important;
}

/* Scrolled state transitions for logo (prevents clipping by viewport) */
.header-wrapper.scrolled .logo-icon {
  width: 110px;
  height: 110px;
  border-width: 4px !important;
  padding: 6px !important;
  top: 0px !important;
  /* aligned with the top of viewport so it is NOT cut off */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .header .logo {
    width: 280px;
  }

  .header .logo-icon {
    left: 95px !important;
  }
}

@media (max-width: 768px) {
  .header .logo {
    width: 150px;
  }

  .header .logo-icon {
    width: 95px;
    height: 95px;
    border-width: 4px !important;
    padding: 6px !important;
    left: 50px !important;
    top: 5px !important;
  }

  .header-wrapper.scrolled .logo-icon {
    top: 0px !important;
    width: 80px !important;
    height: 80px !important;
  }
}


/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(200, 169, 110, 0.07);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link svg {
  width: 12px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--dark-3);
  border: 1px solid rgba(200, 169, 110, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -0.6rem;
  left: 0;
  width: 100%;
  height: 0.6rem;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: var(--transition);
}

.dropdown a:hover {
  color: var(--primary);
  background: rgba(200, 169, 110, 0.07);
  padding-left: 1.3rem;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.header-phone:hover {
  color: var(--primary);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--primary);
  padding-left: 2rem;
}

.mobile-nav-section {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 1rem 1.5rem 0.25rem;
}

.mobile-nav .btn {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* ── HERO SLIDER ────────────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h) - 38px);
  min-height: 550px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-bg img {
  transform: scale(1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.85) 0%, rgba(13, 13, 13, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

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

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.6);
  border: 1px solid rgba(200, 169, 110, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: var(--transition);
  font-size: 1.2rem;
}

.hero-arrow:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

/* ── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--dark-3);
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ── INTRO SECTION ──────────────────────────────────────────── */
.intro-section,
.section-overlay {
  background: linear-gradient(to right, transparent 0%, transparent 35%, rgba(15, 26, 38, 0.72) 65%, var(--dark-2) 100%);
}

.intro-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-media {
  position: relative;
}

.intro-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.intro-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: var(--dark);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 700;
}

.intro-badge .number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  display: block;
}

.intro-badge .text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-text h2 {
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 1rem;
  max-width: 480px;
}

.intro-features {
  margin: 2rem 0;
}

.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.intro-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.intro-feature-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.intro-feature-text p {
  font-size: 0.82rem;
  margin: 0;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services-section {
  background: var(--dark);
}

.services-header,
.projects-header,
.whyus-header,
.cta-header,
.map-header {
  text-align: center;
  margin-bottom: 4rem;
}

.projects-header,
.cta-header,
.map-header {
  margin-bottom: 2.5rem;
}

.services-header .section-label-container,
.projects-header .section-label-container,
.whyus-header .section-label-container,
.cta-header .section-label-container,
.map-header .section-label-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.services-header .section-label,
.projects-header .section-label,
.whyus-header .section-label,
.cta-header .section-label,
.map-header .section-label {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 0.5rem;
}

.services-header .section-label::before,
.services-header .section-label::after,
.projects-header .section-label::before,
.projects-header .section-label::after,
.whyus-header .section-label::before,
.whyus-header .section-label::after,
.cta-header .section-label::before,
.cta-header .section-label::after,
.map-header .section-label::before,
.map-header .section-label::after {
  content: "";
  display: inline-block;
  width: 90px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 480px) {

  .services-header .section-label::before,
  .services-header .section-label::after,
  .projects-header .section-label::before,
  .projects-header .section-label::after,
  .whyus-header .section-label::before,
  .whyus-header .section-label::after,
  .cta-header .section-label::before,
  .cta-header .section-label::after,
  .map-header .section-label::before,
  .map-header .section-label::after {
    width: 40px;
  }
}

.services-header .label-dot,
.projects-header .label-dot,
.whyus-header .label-dot,
.cta-header .label-dot,
.map-header .label-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: block;
}

.services-header h2,
.projects-header h2,
.whyus-header h2,
.cta-header h2,
.map-header h2 {
  margin-bottom: 0.75rem;
}

.services-header .header-divider,
.projects-header .header-divider,
.whyus-header .header-divider,
.cta-header .header-divider,
.map-header .header-divider {
  width: 240px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary) 50%, transparent);
  margin: 1.5rem auto;
}

.services-header p,
.projects-header p,
.whyus-header p,
.cta-header p,
.map-header p {
  max-width: 540px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(200, 169, 110, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  display: block;
}

.service-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.service-card:hover .service-link {
  gap: 0.7rem;
}

/* ── PROJECTS ───────────────────────────────────────────────── */
.projects-section {
  background: linear-gradient(to right, transparent 0%, transparent 35%, rgba(15, 26, 38, 0.72) 65%, var(--dark-2) 100%);
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--dark);
  background: var(--primary);
  border-color: var(--primary);
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 26, 38, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-cat {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.projects-footer {
  text-align: center;
  margin-top: 3rem;
}

/* ── WHY US ─────────────────────────────────────────────────── */
.whyus-section {
  background: var(--dark);
}

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

.reason-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  transition: var(--transition);
}

.reason-card:hover {
  border-color: rgba(200, 169, 110, 0.2);
  background: var(--dark-3);
}

.reason-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.reason-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.reason-card p {
  font-size: 0.82rem;
}

/* ── AREAS ──────────────────────────────────────────────────── */
.areas-section {
  background: var(--dark-3);
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}

.areas-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.areas-text h2 {
  margin-bottom: 1rem;
}

.areas-text p {
  margin-bottom: 1.5rem;
}

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

.area-item {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.area-item:hover {
  color: var(--primary);
  border-color: rgba(200, 169, 110, 0.2);
}

.area-item::before {
  content: "📍";
  font-size: 0.9rem;
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
  border-top: 1px solid rgba(200, 169, 110, 0.15);
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-section {
  background:
    linear-gradient(to right, var(--dark-2) 0%, rgba(15, 26, 38, 0.72) 65%, transparent 100%),
    radial-gradient(circle at bottom right, #ffffff 0%, rgba(255, 255, 255, 0.9) 12%, transparent 55%),
    radial-gradient(circle at bottom left, rgba(150, 40, 40, 0.98) 0%, rgba(150, 40, 40, 0.65) 45%, transparent 85%),
    linear-gradient(135deg, #8e8e93 0%, #15191e 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--dark-3);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.contact-detail:hover {
  border-color: rgba(200, 169, 110, 0.2);
}

.contact-detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text a {
  color: var(--text);
  transition: var(--transition);
  display: block;
}

.contact-detail-text a:hover {
  color: var(--primary);
}

.contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

/* Contact Form */
.contact-form {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-form p {
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: rgba(200, 169, 110, 0.04);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select option {
  background: var(--dark-3);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: #4caf50;
  font-size: 1rem;
}

/* =========================
   MAP SECTION
========================= */

.map-section {
  padding-top: 2rem;
  padding-bottom: 5rem;
  background: linear-gradient(180deg,
      rgba(15, 26, 38, 0.8) 0%,
      rgba(10, 18, 26, 0.95) 100%);
}

.map-wrapper {
  text-align: center;
}

.map-header {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.map-header h2 {
  margin-bottom: 1rem;
}

.map-header p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.map-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  background: #111;
}

.map-card iframe {
  display: block;
  width: 100%;
  filter: grayscale(0.1) contrast(1.05);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: inline-flex;
  gap: 0.85rem;
  background: rgba(15, 26, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 15px rgba(200, 169, 110, 0.45);
}

.social-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 0.3rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ── SCROLL TO TOP ──────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 50;
  box-shadow: 0 4px 15px rgba(200, 169, 110, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--accent);
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── PAGE SUBHEADER ─────────────────────────────────────────── */
.page-hero {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--text-muted);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .section {
    padding: 4rem 0;
  }

  .grid-2,
  .grid-3,
  .intro-section .container,
  .services-grid,
  .projects-grid,
  .whyus-grid,
  .areas-inner,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .hero {
    min-height: 80vh;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .intro-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1.5rem;
    display: inline-block;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    font-size: 0.72rem;
    padding: 0.45rem 1rem;
  }

  .intro-section,
  .projects-section,
  .contact-section,
  .section-overlay {
    background: var(--dark-2) !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .areas-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-arrows {
    display: none;
  }

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

  .contact-form {
    padding: 1.5rem;
  }
}

/* Footer Logo Override (matches the header style: white square, grey border, no rounded corners) */
.footer-brand .logo-icon {
  background: #ffffff !important;
  border: 3px solid #8c8d8b !important;
  border-radius: 0 !important;
  /* Perfect square */
  padding: 3px !important;
  width: 42px !important;
  height: 42px !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.footer-brand .logo-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}