:root {
  /* Azul marino - confianza y solidez */
  --navy: #0c2340;
  --navy-light: #13314f;
  --navy-mid: #1c4468;
  /* Gris acero y plata - profesionalismo y modernidad */
  --steel: #445b72;
  --steel-light: #6e8199;
  --silver: #b9c4ce;
  --silver-light: #e3e8ed;
  /* Blanco - transparencia y claridad */
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eceff3;
  --gray-200: #dce2e8;
  --gray-300: #c2cbd4;
  --gray-400: #77838f;
  --gray-500: #4b5a68;
  --gray-600: #2a3642;
  --shadow-sm: 0 2px 8px rgba(12,35,64,0.06);
  --shadow-md: 0 8px 30px rgba(12,35,64,0.1);
  --shadow-lg: 0 20px 60px rgba(12,35,64,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-500);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* LOADER */
#loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-ring {
  width: 60px; height: 60px; margin: 0 auto 16px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: var(--silver);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loader-text { color: var(--white); font-size: 1.5rem; font-weight: 700; letter-spacing: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary {
  background: var(--navy);
  color: var(--white); box-shadow: 0 4px 15px rgba(12,35,64,0.18);
  letter-spacing: 0.3px;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(12,35,64,0.28); }
.btn-primary:active { transform: translateY(0); }
/* Sobre fondos oscuros el boton se invierte a plata */
.site-header .btn-primary,
.hero .btn-primary {
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(0,0,0,0.22);
}
.site-header .btn-primary:hover,
.hero .btn-primary:hover {
  background: linear-gradient(135deg, var(--white), var(--silver-light));
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-dark {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(12,35,64,0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { height: 52px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { color: var(--white); font-size: 1.25rem; letter-spacing: 0.16em; font-weight: 700; }
.logo-text small { color: var(--silver); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; }
.logo-footer img { width: 200px; height: auto; display: block; }

.main-nav ul { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,0.8); font-weight: 500; font-size: 0.9rem;
  position: relative; padding-bottom: 4px;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--silver);
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

.nav-cta { display: none; }
@media (min-width: 992px) { .nav-cta { display: inline-flex; } }

/* HERO SECTION */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-mid) 100%);
}
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.15;
  pointer-events: none;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><rect fill="none" width="1440" height="900"/><path fill="rgba(255,255,255,0.02)" d="M0 600 Q 360 400 720 600 T 1440 600 L 1440 900 L 0 900 Z"/><path fill="rgba(255,255,255,0.015)" d="M0 700 Q 360 500 720 700 T 1440 700 L 1440 900 L 0 900 Z"/></svg>') no-repeat bottom / cover;
  opacity: 0.6;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 120px 0 80px;
}
.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  color: var(--white); margin-bottom: 24px;
}
.hero-content h1 span {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.1rem; color: var(--gray-300);
  margin-bottom: 36px; max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.hero-stat .number {
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .label { color: var(--gray-300); font-size: 0.85rem; margin-top: 4px; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--gray-300);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.2rem; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* SECTION COMMON */
.section { padding: 100px 0; }
.section-header {
  text-align: center; max-width: 720px; margin: 0 auto 60px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--navy);
  margin-bottom: 16px;
}
.section-header h2 span {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  letter-spacing: 0;
  color: var(--steel);
}
.section-header p { color: var(--gray-400); font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  padding: 6px 18px; border-radius: 100px;
  background: transparent;
  border: 1px solid var(--silver);
  color: var(--steel); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-dark { background: var(--navy); }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: var(--gray-300); }
.section-dark .section-tag { background: transparent; border-color: rgba(255,255,255,0.25); color: var(--silver); }

/* VALUE PROPOSITION */
.value-section { position: relative; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--steel), var(--silver));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card:hover::before { transform: scaleX(1); }
.value-card .icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(68,91,114,0.08), rgba(185,196,206,0.22));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--steel);
  transition: var(--transition);
}
.value-card:hover .icon { background: linear-gradient(135deg, var(--navy), var(--steel)); color: var(--white); }
.value-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 12px; }
.value-card p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.6; }

/* DIFFERENTIATORS */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.diff-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}
.diff-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.diff-card .icon {
  width: 52px; height: 52px; margin-bottom: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--silver);
}
.diff-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 12px; }
.diff-card p { color: var(--gray-300); font-size: 0.9rem; line-height: 1.7; }

/* CLIENTS CAROUSEL */
.clients-section { background: var(--gray-50); }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  align-items: center;
}
.client-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  font-weight: 700; font-size: 0.85rem;
  color: var(--navy);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  min-height: 72px;
}
.client-item:hover { border-color: var(--silver); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* ABOUT PAGE */
.about-hero {
  position: relative; padding: 180px 0 80px;
  background: var(--navy); overflow: hidden;
}
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { color: var(--navy); font-size: 2rem; margin-bottom: 20px; }
.about-text p { color: var(--gray-400); margin-bottom: 16px; line-height: 1.8; }
.about-image {
  border-radius: var(--radius-lg);
  min-height: 400px;
  position: relative; overflow: hidden;
}
.about-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-image:hover img { transform: scale(1.03); }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-light), transparent);
  opacity: 0.15;
}

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
}
.team-card-header .avatar {
  width: 100px; height: 100px; margin: 0 auto 16px;
  background: rgba(255,255,255,0.1);
  border: 3px solid var(--silver);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--silver);
}
.team-card-header h3 { color: var(--white); font-size: 1.3rem; }
.team-card-header .role { color: var(--silver); font-size: 0.85rem; font-weight: 500; margin-top: 4px; letter-spacing: 0.5px; }
.team-card-body { padding: 28px 32px; }
.team-card-body p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.team-card-body .edu { color: var(--navy); font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; }
.team-card-body .edu i { color: var(--steel); width: 18px; }

/* CERTIFICATIONS */
.cert-grid {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.cert-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem;
  color: var(--navy);
  transition: var(--transition);
}
.cert-badge i { color: var(--steel); font-size: 1.2rem; }
.cert-badge:hover { border-color: var(--silver); box-shadow: var(--shadow-sm); }

/* SKILLS LIST */
.skills-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.skill-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  transition: var(--transition);
}
.skill-item:hover { border-color: var(--silver); }
.skill-item i { color: var(--steel); font-size: 1.2rem; width: 24px; }
.skill-item span { color: var(--gray-500); font-size: 0.92rem; }

/* SERVICES PAGE */
.services-hero {
  position: relative; padding: 180px 0 80px;
  background: var(--navy); overflow: hidden;
}

.service-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 48px;
}
.service-tab {
  padding: 12px 24px;
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  background: var(--white);
  color: var(--gray-500);
  font-weight: 600; font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font);
}
.service-tab:hover { border-color: var(--steel); color: var(--steel); }
.service-tab.active {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.service-panel { display: none; }
.service-panel.active { display: block; }
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.service-detail-content h3 {
  font-size: 1.8rem; color: var(--navy); margin-bottom: 20px;
}
.service-detail-content p {
  color: var(--gray-400); line-height: 1.8; margin-bottom: 24px;
}
.service-detail-content ul { display: flex; flex-direction: column; gap: 12px; }
.service-detail-content ul li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--gray-500);
}
.service-detail-content ul li i {
  color: var(--steel); margin-top: 4px; flex-shrink: 0;
}
.service-detail-image {
  border-radius: var(--radius-lg);
  min-height: 360px;
  position: relative; overflow: hidden;
}
.service-detail-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-detail-image:hover img { transform: scale(1.03); }
.service-detail-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-light), transparent);
  opacity: 0.1;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--gray-200); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  cursor: pointer; font-weight: 600; color: var(--navy);
  font-size: 0.95rem; gap: 16px;
}
.faq-question i { color: var(--steel); transition: var(--transition); font-size: 0.85rem; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.7; }

/* PORTFOLIO */
.portfolio-hero {
  position: relative; padding: 180px 0 80px;
  background: var(--navy); overflow: hidden;
}
.portfolio-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 40px;
}
.portfolio-filter {
  padding: 10px 22px;
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  background: var(--white);
  color: var(--gray-500);
  font-weight: 600; font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font);
}
.portfolio-filter:hover { border-color: var(--steel); color: var(--steel); }
.portfolio-filter.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 0;
  transition: var(--transition);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.portfolio-card .card-img {
  width: 100%; height: 180px;
  overflow: hidden; position: relative;
}
.portfolio-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .card-img img { transform: scale(1.08); }
.portfolio-card .card-body { padding: 20px 24px 24px; }
.portfolio-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--steel), var(--silver));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
  z-index: 2;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.portfolio-card:hover::before { transform: scaleX(1); }
.portfolio-card .badge {
  display: inline-block;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.73rem; font-weight: 600;
  margin-bottom: 14px;
}
.badge-residencial { background: rgba(68,91,114,0.1); color: var(--steel); }
.badge-mixto { background: rgba(185,196,206,0.25); color: var(--steel); }
.badge-torres { background: rgba(12,35,64,0.1); color: var(--navy); }
.badge-casas { background: rgba(28,68,104,0.1); color: var(--navy-mid); }
.portfolio-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.portfolio-card p { color: var(--gray-400); font-size: 0.85rem; }

/* CONTACT PAGE */
.contact-hero {
  position: relative; padding: 180px 0 80px;
  background: var(--navy); overflow: hidden;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form-wrapper { background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); }
.contact-form-wrapper h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 8px; }
.contact-form-wrapper > p { color: var(--gray-400); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.form-group label .required { color: #e74c3c; }
.form-control {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font); font-size: 0.9rem;
  transition: var(--transition);
  background: var(--white); color: var(--gray-500);
}
.form-control:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(68,91,114,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.contact-info-card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--silver); box-shadow: var(--shadow-sm); }
.contact-info-card .icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(68,91,114,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--steel);
}
.contact-info-card h4 { color: var(--navy); font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--gray-400); font-size: 0.9rem; }

/* FOOTER */
.site-footer {
  background: var(--navy);
  padding: 60px 0 0;
  color: var(--gray-300);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { margin: 16px 0; font-size: 0.9rem; line-height: 1.7; max-width: 360px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300); font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--silver); color: var(--navy); border-color: var(--silver); }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-links ul li, .footer-contact ul li { margin-bottom: 10px; }
.footer-links a { color: var(--gray-300); font-size: 0.88rem; }
.footer-links a:hover { color: var(--silver-light); }
.footer-contact ul li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.footer-contact i { color: var(--silver); width: 16px; }
.footer-bottom {
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}
.footer-legal { color: var(--silver); font-weight: 500; letter-spacing: 0.3px; }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px;
  background: #25D366; color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }

/* CONTACT MAP */
.contact-map-wrapper { margin-top: 16px; }
.contact-map {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; min-height: 220px;
}
.contact-map img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.contact-map-overlay {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 220px;
  background: rgba(12,35,64,0.6);
  backdrop-filter: blur(2px);
  color: var(--white); text-align: center;
  transition: background 0.3s;
}
.contact-map-overlay i { font-size: 2.5rem; color: var(--silver); margin-bottom: 12px; }
.contact-map-overlay p { font-size: 0.95rem; font-weight: 500; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .about-content { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: var(--navy); padding: 100px 40px 40px;
    transition: var(--transition); box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 24px; align-items: flex-start; }
  .main-nav a { font-size: 1.1rem; }
  .menu-toggle { display: flex; z-index: 1001; }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 768px) {
  .logo-mark { height: 42px; }
  .logo-text strong { font-size: 1.05rem; }
  .logo-text small { font-size: 0.5rem; letter-spacing: 0.12em; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat .number { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .about-hero, .services-hero, .portfolio-hero, .contact-hero { padding: 140px 0 60px; }
}
