/* ============================================
   MSE - Sitio Web Corporativo
   Estilos principales sin WordPress
   ============================================ */

/* Variables CSS */
:root {
  --primary-color: #48BED9;
  --secondary-color: #000000;
  --text-color: #666666;
  --heading-color: #000000;
  --bg-light: #eaeaea;
  --bg-white: #ffffff;
  --font-primary: 'Josefin Sans', sans-serif;
  --transition: all 0.3s ease;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 28px;
  color: var(--text-color);
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

.icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  font-size: 70px;
  text-transform: uppercase;
  letter-spacing: 8px;
}

h2 {
  font-size: 45px;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 57px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 20px;
  line-height: 30px;
}

h5 {
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

h6 {
  font-size: 20px;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* Contenedor */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: var(--bg-white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 150px;
  transition: var(--transition);
}

.navbar.scrolled .logo img {
  height: 110px;
}

/* Logo switcher */
.logo .logo-light {
  display: block;
}

.logo .logo-dark {
  display: none;
}

.navbar.scrolled .logo .logo-light {
  display: none;
}

.navbar.scrolled .logo .logo-dark {
  display: block;
}

/* Navegación menú */
.nav-panel {
  display: flex;
  align-items: center;
}

.nav-panel-header {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  position: relative;
}

.navbar.scrolled .nav-menu a {
  color: var(--secondary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 220px;
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--secondary-color) !important;
  font-size: 13px;
}

.dropdown a:hover {
  color: var(--primary-color) !important;
  background: #f8f8f8;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: transparent;
  border: 0;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--secondary-color);
}

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

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-panel-header,
.nav-menu-header {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 40px;
  font-size: 55px;
  letter-spacing: 8px;
  animation: fadeInUp 1s ease;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 45px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
  cursor: pointer;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--secondary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

.btn-white {
  border-color: #fff;
  color: #fff;
  background: transparent;
}

.btn-white:hover {
  background: #fff;
  color: var(--secondary-color);
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
  padding: 100px 0;
}

.section-gray {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.section-title p {
  max-width: 700px;
  margin: 20px auto 0;
}

/* ============================================
   SOBRE NOSOTROS (La Empresa)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: #ffffff;
  padding: 60px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.about-content h2 {
  margin-bottom: 25px;
}

.about-content p {
  color: var(--text-color);
  margin-bottom: 20px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* Video embed */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  margin-top: 40px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================
   SERVICIOS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.service-card {
  position: relative;
  display: block;
  height: 450px;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
}

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

.service-card:hover img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  transform: translateY(60px);
  transition: var(--transition);
}

.service-card:hover .service-card-overlay {
  transform: translateY(0);
}

.service-card.touch-active .service-card-overlay {
  transform: translateY(0);
}

.service-card h3 {
  color: #fff;
  margin-bottom: 20px;
}

.service-card .btn {
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .btn {
  opacity: 1;
}

.service-card.touch-active .btn {
  opacity: 1;
}

/* ============================================
   MAESTRANZA
   ============================================ */
.maestranza-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.maestranza-image img {
  width: 100%;
  height: auto;
}

/* ============================================
   PARALLAX SECTION
   ============================================ */
.parallax-section {
  padding: 180px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
}

.parallax-content {
  position: relative;
  z-index: 1;
}

.parallax-section h5 {
  color: #fff;
  font-weight: 400;
  margin-bottom: 20px;
}

.parallax-section h2 {
  color: #fff;
  margin-bottom: 40px;
}

/* ============================================
   CARACTERÍSTICAS / ICON BOXES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-box {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(72, 190, 217, 0.12);
  color: var(--primary-color);
}

.feature-icon .icon {
  width: 28px;
  height: 28px;
}

.feature-box h5 {
  margin-bottom: 15px;
}

.feature-box p {
  font-size: 16px;
  line-height: 24px;
}

/* ============================================
   PLATAFORMA / CRM SECTION
   ============================================ */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.platform-content {
  padding-left: 55px;
}

/* ============================================
   CLIENTES
   ============================================ */
.clients-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--bg-light);
}

.clients-header {
  text-align: center;
  margin-bottom: 40px;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.clients-grid img {
  max-height: 80px;
  opacity: 0.7;
  transition: var(--transition);
  filter: grayscale(100%);
}

.clients-grid img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--secondary-color);
  color: #fff;
}

.upper-footer {
  padding: 60px 0;
}

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

.footer-widget h5 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-widget p,
.footer-widget a {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 28px;
}

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

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.lower-footer {
  background: #666;
  padding: 20px 0;
  text-align: center;
}

.lower-footer p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin: 0;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  color: #fff;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PÁGINAS INTERNAS
   ============================================ */
.page-header {
  padding: 180px 0 100px;
  background: var(--bg-light);
  text-align: center;
}

.page-content {
  padding: 80px 0;
}

.page-parallax {
  padding: 120px 0;
}

.section-cta,
.cta-banner {
  text-align: center;
}

.section-cta {
  margin-top: 40px;
}

.cta-banner h2 {
  margin-bottom: 15px;
}

.cta-banner p {
  margin-bottom: 25px;
}

.services-grid-home,
.services-grid-page {
  display: grid;
  gap: 0;
}

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

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

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-detail-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.service-list {
  margin: 0 0 30px 20px;
}

.service-list li {
  margin-bottom: 10px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.value-card {
  background: #fff;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.value-card h5 {
  margin-bottom: 12px;
  color: var(--primary-color);
}

.placeholder-card {
  border-left: 4px solid var(--primary-color);
}

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.values-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-color);
}

.values-list strong {
  color: var(--heading-color);
}

.value-proposition-section {
  padding: 80px 0;
}

.proposition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 960px;
  margin: 0 auto;
}

.proposition-card {
  text-align: center;
  padding: 40px 32px;
  background: #fff;
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.proposition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.proposition-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(72, 190, 217, 0.12);
  color: var(--primary-color);
}

.proposition-icon .icon {
  width: 32px;
  height: 32px;
}

.proposition-card h5 {
  margin-bottom: 16px;
  color: var(--heading-color);
  font-size: 18px;
  letter-spacing: 1px;
}

.proposition-card p {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-color);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap h2,
.contact-info h2 {
  margin-bottom: 15px;
}

.contact-form {
  margin-top: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--heading-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  font-family: var(--font-primary);
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(72, 190, 217, 0.15);
}

.form-alert {
  padding: 16px 20px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.form-alert-success {
  background: #e8f7ea;
  color: #1f6b2d;
  border: 1px solid #b8e0bf;
}

.form-alert-error {
  background: #fdecea;
  color: #8a1f17;
  border: 1px solid #f5c2be;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item-icon {
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item-icon .icon {
  width: 28px;
  height: 28px;
}

.contact-item h5 {
  margin-bottom: 6px;
}

.contact-home-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 48px 80px;
  align-items: start;
}

.contact-home-intro p {
  margin-bottom: 28px;
}

.contact-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 56px;
}

.contact-summary .contact-item {
  justify-content: flex-start;
  margin-bottom: 0;
}

.contact-grid-home {
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
}

.contact-grid-home .contact-info {
  margin: 0;
}

/* FAQs */
.faq-item {
  border-bottom: 1px solid var(--bg-light);
  margin-bottom: 0;
}

.faq-question {
  padding: 25px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--heading-color);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 25px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============ Trabajá con Nosotros ============ */

.careers-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.careers-intro p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.8;
}

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

.careers-grid .feature-box h5 {
  margin-bottom: 12px;
}

.culture-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

.culture-grid .feature-box h5 {
  margin-bottom: 0;
}

.culture-grid .proposition-icon {
  margin-bottom: 18px;
}

.areas-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.area-tag {
  padding: 12px 24px;
  background: #fff;
  border: 1px solid var(--primary-color);
  color: var(--heading-color);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.careers-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.careers-alert {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.careers-form {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  font-family: var(--font-primary);
  font-size: 16px;
  background: #fff;
  color: inherit;
  transition: var(--transition);
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(72, 190, 217, 0.15);
}

.form-group input[type="file"] {
  padding: 10px;
  border: 1px dashed #bbb;
  background: #fafafa;
  cursor: pointer;
}

.form-group input[type="file"]:focus {
  border-color: var(--primary-color);
}

.form-check .check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--primary-color);
}

/* Honeypot: fuera de pantalla, invisible para humanos pero presente en el DOM */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .careers-grid,
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  h1 {
    font-size: 45px;
  }
  
  h2 {
    font-size: 35px;
    line-height: 45px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .maestranza-grid,
  .platform-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Cabecera más compacta en mobile */
  .navbar,
  .navbar.scrolled {
    padding: 12px 0;
  }

  .logo img,
  .navbar.scrolled .logo img {
    height: 72px;
  }

  /* Navegación mobile compacta */
  .nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(100%, 320px);
    max-height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 20px;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-panel.active {
    right: 0;
  }

  .nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--bg-light);
    margin-bottom: 8px;
    position: sticky;
    top: 0;
    background: var(--bg-white);
    z-index: 1;
  }

  .nav-panel-header span {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--heading-color);
  }

  .nav-close {
    background: transparent;
    border: 0;
    padding: 6px;
    cursor: pointer;
    color: var(--heading-color);
  }

  .nav-close .icon {
    width: 22px;
    height: 22px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-menu > li {
    width: 100%;
  }

  .nav-menu > li > a {
    display: block;
    padding: 14px 20px;
    color: var(--secondary-color);
    font-size: 13px;
  }

  .mobile-toggle {
    display: flex;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding: 0 0 8px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: #f8f8f8;
  }

  .has-dropdown.active .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 10px 20px;
    font-size: 12px;
  }
  
  /* Hero */
  .hero h1 {
    font-size: 32px;
    letter-spacing: 4px;
  }
  
  /* Grids */
  .about-grid,
  .maestranza-grid,
  .platform-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .services-grid-home,
  .services-grid-page {
    grid-template-columns: 1fr;
  }

  .service-detail-grid,
  .contact-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .careers-form-wrap {
    padding: 28px 20px;
  }

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

  .contact-home-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-home-intro {
    text-align: center;
  }

  .contact-summary {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-detail-image img {
    height: 280px;
  }

  .page-header {
    padding: 155px 0 70px;
  }

  .page-header h1 {
    margin-bottom: 12px;
  }
  
  .service-card {
    height: 350px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .platform-content {
    padding-left: 0;
  }
  
  /* Footer */
  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 150px 0 60px;
  }

  h1 {
    font-size: 28px;
    letter-spacing: 2px;
  }
  
  h2 {
    font-size: 26px;
    line-height: 36px;
    letter-spacing: 2px;
  }
  
  .btn {
    padding: 12px 30px;
    font-size: 11px;
  }
  
  .clients-grid {
    gap: 30px;
  }
  
  .clients-grid img {
    max-height: 50px;
  }
}

