/* ========== Base (tema profesional) ========== */
:root {
  --bg: #0B1020;
  --panel: #0f152b;
  --brand: #0b3d91;
  --accent: #ffb703;
  --text: #e6ecff;
  --muted: #9fb0d0;
  --card: #0f1731;
  --alt: #0b1020;
  --ring: rgba(255,255,255,.2);
  --cta: #e3000b;
  --header-h: 100px;
  --gradient: linear-gradient(135deg, var(--brand) 0%, #1a56db 100%);
  --shadow: 0 10px 30px rgba(0,0,0,0.15);
  --shadow-hover: 0 15px 35px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Ubuntu, Cantarell, 'Noto Sans', sans-serif;
  background: var(--bg); 
  color: var(--text); 
  scroll-behavior: smooth;
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--accent); text-decoration: none; transition: all 0.3s ease; }
a:hover { opacity: 0.8; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { margin-top: 30px; padding: 70px 0; scroll-margin-top: calc(var(--header-h) + 24px); position: relative; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, transparent 100%); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  margin: 0 0 15px; 
  line-height: 1.2; 
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  background: #ffb703;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { 
  margin: 0; 
  color: var(--muted); 
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.grid { display: grid; gap: 30px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { 
  background: var(--card); 
  border: 1px solid var(--ring); 
  border-radius: 16px; 
  padding: 32px; 
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 183, 3, 0.3);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
  font-weight: 600;
  text-align: center;
  justify-content: center;
}
.btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 10px 20px rgba(255, 183, 3, 0.2);
}
.btn-primary { 
  background: var(--cta); 
  color: #fff; 
  border: none;
  box-shadow: 0 4px 15px rgba(227, 0, 11, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(227, 0, 11, 0.4);
  background: #ff0011;
}
.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* ========== Header/Nav mejorado ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 21, 43, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ring);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  gap: 15px;
  align-items: center;
  color: #fff;
}
.brand-mark {
  height: 70px;
  width: auto;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}
.brand-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}
.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav a {
  color: #fff;
  opacity: 0.9;
  font-weight: 500;
  padding: 8px 16px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a:not(.btn-primary):after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav a:not(.btn-primary):hover:after {
  width: 100%;
}
.nav a:not(.btn-primary):hover {
  opacity: 1;
}
.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ========== Slider mejorado ========== */
.slider {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 600px;
  overflow: hidden;
}
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,16,32,0.85) 0%, rgba(11,16,32,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: clamp(30px, 8vw, 90px);
  text-align: center;
}
.slide-content {
  max-width: 900px;
}
.slide h1, .slide h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.slide p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #e6ecff;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}
.control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--ring);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.control:hover {
  background: rgba(0,0,0,0.6);
  transform: translateY(-50%) scale(1.05);
}
.prev { left: 25px; }
.next { right: 25px; }

/* Dots mejorados */
.dots, .svc-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.dots button, .svc-dots button {
  width: 14px;
  height: 14px;
  aspect-ratio: 1/1;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  opacity: 0.7;
  box-sizing: content-box;
  line-height: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dots button:hover, .svc-dots button:hover {
  opacity: 1;
  transform: scale(1.2);
}
.dots button[aria-selected="true"], .svc-dots button.on {
  background: #fff;
  opacity: 1;
  transform: scale(1.2);
}

/* ========== Sección con fondo ========== */
.section-with-bg {
  background: linear-gradient(rgba(11, 16, 32, 0.2), rgba(11, 16, 32, 0.2)), url('../img/nosotros.jpg') center/cover fixed no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}
.section-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 16, 32, 0.85);
  z-index: 0;
}
.section-with-bg > .container {
  position: relative;
  z-index: 1;
}
.section-with-bg .section-header h2 {
  background: linear-gradient(135deg, var(--accent) 0%, #ffcb47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== Servicios mejorados ========== */
#servicios .services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.service-category {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  align-items: flex-start;
}
.service-icon {
  background: var(--gradient);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: white;
}
.service-content h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.4rem;
}
.service-content p {
  margin: 0 0 15px;
  color: var(--muted);
}
.svc-bullets {
  margin: 10px 0 0;
  padding-left: 0;
  line-height: 1.65;
  list-style: none;
}
.svc-bullets li {
  margin: 1px 0;
  padding-left: 32px;
  font-size: 1.05rem;
  position: relative;
}
.svc-bullets li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--cta);
  border-radius: 3px;
}

/* Certificados */
.certificates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.cert-item {
  background: var(--panel);
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--ring);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Slider servicios */
.svc-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--ring);
  box-shadow: var(--shadow);
  height: clamp(300px, 45vw, 500px);
}
.svc-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.svc-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* ========== Nosotros mejorado ========== */
.about-content p {
  margin-bottom: 30px;
  line-height: 1.7;
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  margin: 40px 0;
}
.about-grid .card {
  text-align: center;
  padding: 40px 30px;
}
.card-icon {
  background: var(--gradient);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
}
.about-grid .card h3 {
  color: var(--accent);
  margin: 0 0 20px;
  font-size: 1.6rem;
}
.about-grid .card p {
  text-align: left;
  margin-bottom: 15px;
}

.commitments {
  margin: 60px 0;
}
.commitments h3 {
  text-align: center;
  margin-bottom: 45px;
  color: var(--accent);
  font-size: 1.8rem;
}
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.commit-item {
  background: var(--card);
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.commit-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.commit-icon {
  background: var(--gradient);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: white;
}
.commit-item h4 {
  color: var(--accent);
  margin: 0 0 15px;
  font-size: 1.3rem;
}
.commit-item p {
  margin: 0;
  color: var(--muted);
}

.patent {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background: var(--panel);
  border-radius: 16px;
  border-left: 5px solid var(--accent);
}
.patent h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.5rem;
}
.patent p {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

/* ========== Experiencia mejorada ========== */
.clients-intro {
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.1rem;
  margin-left: auto;
  margin-right: auto;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.client-card {
  background: var(--card);
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--ring);
}
.client-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.client-logo {
  background: #e3000b;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}
.client-card h3 {
  color: var(--accent);
  margin: 0 0 12px;
  font-size: 1.4rem;
}
.client-card p {
  margin: 0;
  color: var(--muted);
}

.experience-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--ring);
}
.experience-footer p {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
}

/* ========== Cobertura mejorada ========== */
.coverage-intro {
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.coverage-item {
  background: var(--card);
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--ring);
}
.coverage-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-left: 4px solid var(--accent);
}
.coverage-icon {
  background: var(--gradient);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: white;
}
.coverage-item h3 {
  color: var(--accent);
  margin: 0 0 15px;
  font-size: 1.3rem;
}
.coverage-item p {
  margin: 0;
  color: var(--muted);
}

.coverage-note {
  text-align: center;
  margin-top: 60px;
  padding: 35px;
  background: var(--panel);
  border-radius: 16px;
  border-left: 5px solid var(--accent);
}
.coverage-note p {
  font-style: italic;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.7;
}

/* ========== Contacto mejorado ========== */
.contact-form h3 {
  margin: 0 0 25px;
  color: var(--accent);
  text-align: center;
  font-size: 1.5rem;
}
label {
  display: block;
  font-size: 1rem;
  margin-bottom: 1px;
  color: var(--muted);
  font-weight: 500;
}
input, textarea, select {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--ring);
  background: var(--panel);
  color: var(--text);
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.15);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb0d0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

.contact-info h3 {
  margin: 0 0 30px;
  color: var(--accent);
  text-align: center;
  font-size: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.contact-icon {
  background: #e3000b;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: white;
}
.contact-details h4 {
  color: var(--accent);
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.contact-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.business-hours {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--ring);
}
.business-hours h4 {
  color: var(--accent);
  margin: 0 0 15px;
  font-size: 1.2rem;
}
.business-hours p {
  margin: 0 0 10px;
  color: var(--muted);
}

/* ========== Footer mejorado ========== */
.site-footer {
  margin-top: 40px;
  background: var(--panel);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.footer-brand {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.footer-logo {
  height: 60px;
  width: auto;
}
.footer-text h4 {
  color: var(--accent);
  margin: 0 0 5px;
  font-size: 1.2rem;
}
.footer-text p {
  color: var(--muted);
  margin: 0;
}
.footer-info p {
  margin-bottom: 10px;
  color: var(--muted);
}
.footer-nav {
  margin-bottom: 30px;
}
.footer-nav h4, .footer-social h4 {
  color: var(--accent);
  margin: 0 0 20px;
  font-size: 1.2rem;
}
.footer-nav a {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  transition: all 0.3s ease;
}
.footer-nav a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.social-icons {
  display: flex;
  gap: 15px;
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  color: var(--muted);
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: var(--accent);
  color: #111;
  transform: translateY(-3px);
}
.footer-bottom {
  padding: 40px 0;
  border-top: 1px solid var(--ring);
  text-align: center;
}
.footer-bottom p {
  color: var(--muted);
  margin: 0;
}
.footer-bottom .fas.fa-heart {
  color: #e3000b;
}

/* ========== Responsive Design ========== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 920px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(11, 16, 32, 0.98);
    backdrop-filter: blur(12px);
    padding: 30px 20px;
    display: none;
    flex-direction: column;
    z-index: 100;
    gap: 0;
  }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .nav.show {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  #servicios .services-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .svc-slider {
    height: clamp(280px, 60vw, 400px);
    order: -1;
  }
  
  .about-grid, .commitments-grid, .clients-grid, .coverage-grid {
    grid-template-columns: 1fr;
  }
  
  .control {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .brand-text {
    display: none;
  }
  
  .slide h1, .slide h2 {
    font-size: 2rem;
  }
  .slide p {
    font-size: 1.1rem;
  }
  
  .service-category {
    flex-direction: column;
    text-align: center;
  }
  .service-icon {
    margin: 0 auto 15px;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  .contact-icon {
    margin: 0 auto 15px;
  }
  
  .footer-brand {
    flex-direction: column;
    text-align: center;
  }
}

/* Animaciones y efectos */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Efecto de aparición escalonada */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Enfoque visible para navegación con teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Estilos para la imagen de cobertura */
.coverage-image {
  width: 100%;
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
}

.coverage-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(11, 16, 32, 0.1), rgba(11, 16, 32, 0.3));
  z-index: 1;
}

.coverage-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.coverage-image:hover img {
  transform: scale(1.03);
}

/* Efecto de borde sutil en hover */
.coverage-image:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 183, 3, 0.3);
}

/* Responsive para la imagen de cobertura */
@media (max-width: 768px) {
  .coverage-image {
    margin: 30px 0;
    border-radius: 8px;
  }
}
/* ==== Experiencias (clientes) ==== */
#experiencia .clients-intro{
  color: var(--muted);
  margin: 6px 0 18px;
}

#experiencia .clients-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

#experiencia .client-card{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

#experiencia .client-badge{
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; letter-spacing: .3px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--ring);
  color: #fff;
  user-select: none;
}

#experiencia .client-name{
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

#experiencia .client-note{
  margin: 0; color: var(--muted);
  font-size: .95rem; line-height: 1.45;
}

#experiencia .experience-footer{
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px dashed var(--ring);
  color: var(--muted);
}

/* Si más adelante usas logos reales, el badge puede contener una imagen */
#experiencia .client-badge img{
  width: 100%; height: 100%;
  object-fit: contain; border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* Ajuste de desplazamiento para que el título no se corte al llegar por ancla */
#experiencia.section{ scroll-margin-top: calc(var(--header-h) + 24px); }

/* AQUI INICIA Contenedor principal de contacto */
/* Versión alternativa con diseño más elaborado */
.contact-container {
  display: flex;
  gap: 40px;
  align-items: stretch;
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-column {
  flex: 1;
  padding: 40px;
}

.contact-column:first-child {
  background: linear-gradient(135deg, rgba(15, 23, 49, 0.8) 0%, rgba(15, 23, 49, 0.9) 100%);
}

/* Efectos de hover para los elementos del formulario */
.contact-form input:focus, 
.contact-form textarea:focus, 
.contact-form select:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 183, 3, 0.2);
}

/* Estilo para los elementos de información de contacto */
.contact-item {
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

/* Responsive para la versión alternativa */
@media (max-width: 968px) {
  .contact-container {
    flex-direction: column;
    border-radius: 16px;
  }
  
  .contact-column:last-child {
    border-left: none;
    border-top: 1px solid var(--ring);
  }
}