@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Rokkitt:wght@300;400;500;600;700;800&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

/* DESIGN SYSTEM VARIABLES */
:root {
  --bg-dark: #0a0a0a;
  --bg-light: #ffffff;
  --gold: #d4af37;
  --gold-dark: #aa7c11;
  --text-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #888888;
  --border-gold: 1px solid rgba(212, 175, 55, 0.3);
  --border-light: 1px solid rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  --font-title: 'Rokkitt', Georgia, serif;
  --font-subtitle: 'Oswald', 'Arial Narrow', sans-serif;
  --font-text: 'Ubuntu', Helvetica, sans-serif;
}

/* RESET & BASE STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-text);
  color: var(--text-dark);
  background-color: var(--bg-light);
}

body {
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

/* TEXT TYPOGRAPHY */
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
}

h4, h5, h6, .nav-link, .btn, .section-tag {
  font-family: var(--font-subtitle);
  letter-spacing: 1px;
}

p {
  margin-bottom: 1.5rem;
}

/* OTHERS */
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ACTIVE PROGRESS BAR */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
  background: transparent;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d4af37 0%, #ffdf7a 50%, #aa7c11 100%);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  transition: width 0.1s ease-out;
}

/* FLOATING WHATSAPP BUTTON */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 9999;
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* PREDICTIVE GLASSMORPHISM HEADER */
header {
  position: fixed;
  top: 3px;
  left: 0;
  width: 100%;
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 999;
}
header.scrolled {
  padding: 12px 50px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.logo-container img {
  height: 85px;
  display: block;
  transition: all 0.4s ease;
}
header.scrolled .logo-container img {
  height: 60px;
}

/* NAVIGATION MENU */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}
.nav-link {
  color: var(--text-white);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--gold);
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.active {
  color: var(--gold);
}
.nav-link.active::after {
  width: 100%;
}

/* HEADER CROWNING BUTTON */
.nav-btn {
  border: 1px solid var(--gold);
  padding: 8px 20px;
  border-radius: 4px;
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}
.nav-btn:hover {
  background: var(--gold);
  color: #0a0a0a;
  box-shadow: var(--shadow-gold);
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-white);
  transition: all 0.3s ease;
}

/* BUTTONS */
.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 25px;
}
.btn {
  display: inline-block;
  padding: 14px 35px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #0a0a0a;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  color: #000000;
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

/* SCROLLYTELLING CONTAINER */
.scrolly-container {
  position: relative;
  width: 100%;
  background-color: var(--bg-dark);
}
.scrolly-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* SCROLLY SLIDES */
.scrolly-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), filter 1.2s ease;
  z-index: 5;
}
.scrolly-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* dark overlay */
  transition: background 0.6s ease;
  z-index: 1;
}
.scrolly-slide:hover::before {
  background: rgba(0, 0, 0, 0.5); /* brightens overlay slightly */
}
.scrolly-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.slide-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  width: 90%;
  padding: 30px;
  color: var(--text-white);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}
.scrolly-slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h1, .slide-content h2, .hero-simple-content h1 {
  font-size: 72px;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  font-family: var(--font-title);
  color: var(--text-white);
  line-height: 1.1;
}

/* SLIDE MOVEMENT STYLES */
.slide-zoom, .slide-left, .slide-up {
  transform: scale(1.05);
}
.slide-zoom.active, .slide-left.active, .slide-up.active {
  transform: scale(1);
}

/* TRIPLE WINDOW hero slide 4 */
.triple-window-container {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.window-pane {
  flex: 1;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease;
  cursor: pointer;
  overflow: hidden;
  filter: brightness(0.35) grayscale(0.25);
}
.window-pane::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.8s ease;
}
.window-pane:hover {
  flex: 2;
  filter: brightness(0.85) grayscale(0);
}
.window-pane:hover::before {
  opacity: 0;
}
.pane-title {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: #fff;
  z-index: 10;
  font-family: var(--font-subtitle);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.window-pane:hover .pane-title {
  transform: translateY(-10px);
}

/* HERO STATIC (SIMPLE HERO FOR OTHER PAGES) */
.hero-simple {
  position: relative;
  min-height: 60vh;
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding: 140px 20px 60px;
}
.hero-simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.8);
  z-index: 1;
}
.hero-simple-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--text-white);
}
.hero-simple-content p {
  font-size: 18px;
  color: var(--text-muted);
}

/* STANDARD SECTION STYLES */
section {
  padding: 100px 8%;
  position: relative;
  overflow: hidden;
}
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}
.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}
.section-tag {
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 600;
}
.section-title {
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 25px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--gold);
  margin-top: 15px;
}
.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 50px;
}
.section-dark .section-desc {
  color: #aaaaaa;
}

.section-brand-logo {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}
.section-brand-logo .section-logo {
  height: 180px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}
.section-brand-logo .section-logo:hover {
  transform: scale(1.04);
  opacity: 1;
}

/* CARDS GRID SYSTEM */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
@media (min-width: 992px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}
.section-dark .card {
  background: #121212;
  border-color: rgba(212, 175, 55, 0.15);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.section-dark .card:hover {
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
}
.card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.card:hover .card-img img {
  transform: scale(1.08);
}
.card-content {
  padding: 30px;
  flex-grow: 1;
}
.card-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-family: var(--font-subtitle);
  text-transform: uppercase;
}
.card-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}
.card-icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 15px;
}

/* METODOLOGIA INFOGRAPHICS */
.metodologia-linear {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  margin: 60px 0;
}
.metodologia-linear::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #d4af37 0%, rgba(212, 175, 55, 0.1) 100%);
}
.metodo-step {
  display: flex;
  position: relative;
  padding-left: 80px;
  align-items: center;
}
.metodo-num {
  position: absolute;
  left: 12px;
  width: 38px;
  height: 38px;
  background-color: var(--bg-dark);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-subtitle);
  font-weight: bold;
  z-index: 10;
}
.metodo-info {
  flex: 1;
}
.metodo-info h3 {
  font-family: var(--font-subtitle);
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--gold);
}
.metodo-info p {
  margin: 0;
}
.metodo-img {
  width: 300px;
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  margin-left: 40px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.metodo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.metodo-step:hover .metodo-img img {
  transform: scale(1.05);
}

/* LEAD MAGNET SECTION */
.lead-magnet-section {
  background: linear-gradient(135deg, #0f0c08 0%, #aa7c11 100%);
  padding: 80px 8%;
  color: var(--text-white);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 10px 30px rgba(212,175,55,0.15);
}
.lead-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.lead-text {
  flex: 1;
  min-width: 300px;
}
.lead-text h2 {
  font-size: 38px;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.2;
}
.lead-text p {
  color: #eeeeee;
  font-size: 16px;
  margin: 0;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  max-width: 500px;
  min-width: 300px;
}
.lead-input-group {
  display: flex;
  gap: 12px;
  width: 100%;
}
.lead-input-group input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  color: var(--text-white);
  font-size: 15px;
  font-family: var(--font-text);
  outline: none;
  transition: border-color 0.3s ease;
  min-width: 0;
}
.lead-input-group input:focus {
  border-color: var(--gold);
}
.lead-input-group button {
  background-color: var(--text-white);
  color: #0a0a0a;
  border: none;
  padding: 15px 25px;
  border-radius: 4px;
  font-family: var(--font-subtitle);
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.lead-input-group button:hover {
  background-color: var(--gold);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.lead-privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}
.lead-privacy-check input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--gold);
}
.lead-privacy-check label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  line-height: 1.4;
}
.lead-privacy-check label a {
  color: var(--gold);
  text-decoration: underline;
}
.lead-privacy-check label a:hover {
  color: #ffdf7a;
}

/* CONTACT SECTION WITH FORM */
.contact-section {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 100px 8%;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-info h2 {
  font-size: 42px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contact-info p {
  color: #aaaaaa;
  margin-bottom: 40px;
  font-size: 16px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.info-text h4 {
  font-size: 14px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.info-text p {
  margin: 0;
  color: var(--text-white);
  font-size: 16px;
}
.contact-form-container {
  background: #111;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: var(--shadow-dark);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  color: #aaaaaa;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-subtitle);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-white);
  font-family: var(--font-text);
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}
.submit-btn {
  width: 100%;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-family: var(--font-subtitle);
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.submit-btn:hover {
  background-color: var(--gold-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.submit-btn:active {
  transform: scale(0.98);
}

/* FORM GROUP ROW (side-by-side fields) */
.form-group-row {
  display: flex;
  gap: 15px;
}
.form-group-row .form-group {
  flex: 1;
}

/* CARD BG LIGHT (for light-background info blocks) */
:root {
  --card-bg-light: #f8f8f8;
}

/* BEFORE AFTER INTERACTIVE SLIDER */
.before-after-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}
.before-after-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #d4af37;
  z-index: 100;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}
.slider-handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: #d4af37;
  color: #0a0a0a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.9);
  font-family: Arial, sans-serif;
  font-size: 18px;
}

/* BLOG STYLES */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.blog-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.blog-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}
.blog-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  line-height: 1.3;
}
.blog-card-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 25px;
  flex-grow: 1;
}
.blog-link {
  font-family: var(--font-subtitle);
  color: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-link:hover {
  color: var(--text-dark);
}

/* FULL BLOG POST STYLES */
.blog-post-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px;
}
.blog-post-header h1 {
  font-size: 50px;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.2;
}
.blog-post-main-img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
}
.blog-post-main-img img {
  width: 100%;
  display: block;
}
.blog-post-body {
  font-size: 17px;
  line-height: 1.8;
}
.blog-post-body p {
  margin-bottom: 25px;
}
.blog-post-body h2 {
  font-size: 32px;
  margin: 40px 0 20px;
}
.blog-inline-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}
.blog-inline-images img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 250px;
}

/* MAP STYLE MOCK */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: 30px;
}

/* FOOTER */
footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 80px 8% 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 50px;
}
.footer-brand img {
  height: 110px;
  margin-bottom: 20px;
  background-color: transparent;
  display: block;
}
.footer-brand p {
  color: #888;
  font-size: 14px;
}
.footer-col h4 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--gold);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #888;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-contact-list {
  list-style: none;
}
.footer-contact-list li {
  margin-bottom: 15px;
  font-size: 14px;
  color: #888;
}
.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: var(--gold);
  color: #0a0a0a;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  color: #666;
  font-size: 13px;
  margin: 0;
}
.footer-legal-links {
  display: flex;
  gap: 25px;
}
.footer-legal-links a {
  color: #666;
  font-size: 13px;
}
.footer-legal-links a:hover {
  color: var(--gold);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  header {
    padding: 20px 30px;
  }
  .nav-menu {
    gap: 20px;
  }
  .slide-content h1, .slide-content h2, .hero-simple-content h1 {
    font-size: 56px;
  }
  .metodo-img {
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 20px; /* Reduced padding on mobile to prevent clipping and overflow */
  }
  .grid-container {
    grid-template-columns: 1fr; /* Single column to fit within all small mobile screen widths */
  }
  .lead-form {
    min-width: 0; /* Remove 300px constraint that causes overflow on narrow displays */
    width: 100%;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 120px;
    gap: 25px;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.8);
    z-index: 998;
  }
  .nav-menu .nav-link {
    font-size: 18px;
    letter-spacing: 2px;
  }
  .nav-menu .nav-btn {
    font-size: 18px;
    width: 80%;
    text-align: center;
    margin-top: 10px;
  }
  .nav-menu.active {
    right: 0;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .lead-container {
    flex-direction: column;
    text-align: center;
  }
  .slide-content h1, .slide-content h2, .hero-simple-content h1 {
    font-size: 50px; /* Larger and more impactful titles on mobile */
  }
  .btn-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    margin: 15px auto 0; /* Placed higher up, closer to the title */
  }
  .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 13px;
  }
  /* Triple window goes vertical in mobile */
  .triple-window-container {
    flex-direction: column;
  }
  .window-pane {
    flex: 1 !important;
    height: 33.33%;
    filter: brightness(0.65) grayscale(0);
  }
  .window-pane:hover {
    flex: 1.5 !important;
  }
  .pane-title {
    bottom: 20px;
    left: 20px;
    font-size: 18px;
  }
  .form-group-row {
    flex-direction: column;
    gap: 0;
  }
  
  /* Slide 4 mobile overlay and spacing (recuadro negro removed) */
  .triple-window-slide .slide-content {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0px 20px;
    width: 90%;
    max-width: none;
    margin: 0 auto;
  }
  .hero-simple {
    padding: 120px 20px 60px;
    min-height: 380px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .lead-input-group {
    flex-direction: column;
    width: 100%;
  }
  .lead-input-group button {
    width: 100%;
  }
  .slide-content h1, .slide-content h2, .hero-simple-content h1 {
    font-size: 38px; /* Larger and more impactful on very small mobile displays */
  }
}

/* HERO FIXED OVERLAY */
.hero-fixed-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 140px 20px 85px;
  pointer-events: none;
}
.hero-fixed-logo {
  pointer-events: auto;
  text-align: center;
  margin-top: 20px;
}
.hero-fixed-logo img {
  height: 110px;
  width: auto;
  object-fit: contain;
}
.hero-fixed-buttons {
  pointer-events: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* LEGACY TWO-COLUMN LAYOUT */
.legacy-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 50px;
}
.legacy-logo {
  flex: 1;
  text-align: center;
}
.legacy-text {
  flex: 2;
}

/* MOBILE MENU LOGO */
.mobile-menu-logo-item {
  display: none;
}

/* CUSTOM MODAL OVERLAY & POPUP */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.custom-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.custom-modal-content {
  background: #111;
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-gold);
  transform: translateY(20px);
  transition: transform 0.4s ease;
  color: #fff;
}
.custom-modal-overlay.active .custom-modal-content {
  transform: translateY(0);
}
.custom-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
  transition: color 0.3s ease;
}
.custom-modal-close:hover {
  color: var(--gold);
}
.custom-modal-message {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
  font-family: var(--font-subtitle);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.custom-modal-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-subtitle);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}
.custom-modal-btn:hover {
  background: var(--gold-dark);
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
  .hero-fixed-overlay {
    padding: 100px 20px 40px;
  }
  .hero-fixed-logo img {
    height: 75px;
  }
  .hero-fixed-buttons .btn-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 280px;
  }
  .hero-fixed-buttons .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .legacy-layout {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .legacy-logo img {
    max-width: 200px !important;
  }
  
  .mobile-menu-logo-item {
    display: block;
    margin-top: auto;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
  }
  .mobile-menu-logo-item img {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
  }
}

/* Slide content button interactivity */
.slide-content .btn, .slide-content .btn-group {
  pointer-events: auto;
}

/* Capital Humano stacked team cards */
.team-photos-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.team-member-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  aspect-ratio: 16/9;
  width: 100%;
  background-color: #000;
}
.team-member-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.65) contrast(1.05);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.team-member-card:hover img {
  filter: brightness(0.95) contrast(1);
  transform: scale(1.03);
}
.team-member-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 65%, transparent 100%);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}
.team-member-overlay h3 {
  font-family: var(--font-subtitle);
  color: var(--text-white);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
