:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --text-dark: #111827;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

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

/* Typography Utilities */
.subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: inline-block;
}

.title {
  font-size: 40px;
  margin-bottom: 24px;
}

.desc {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn i {
  margin-right: 8px;
  font-size: 18px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  height: 90px;
  display: flex;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}

.header-logo {
  font-size: 24px;
  font-weight: 800;
  color: white;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 0 40px;
  position: relative;
}

.header-logo::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 50vw;
  background-color: var(--primary);
}

.header-logo .logo-icon {
  width: 40px;
  height: 40px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: transparent;
}

.main-logo-img {
  max-height: 65px;
  width: auto;
  object-fit: contain;
}

/* Original logo class for footer */
.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 32px;
  height: 100%;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}



.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-logo-img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
}

.contact-number {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Hero Section Full Background */
.hero-full {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-full-wrapper {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-card {
  background-color: var(--bg-white);
  padding: 56px 48px;
  max-width: 726px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-card {
    transform: translateX(-60px);
  }
}

@media (min-width: 1200px) {
  .hero-card {
    transform: translateX(-180px);
  }
}

.hero-card h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.hero-btns {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* About / Why Choose Us */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-images {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  position: relative;
  align-items: center;
}

.about-images::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -24px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(var(--text-dark) 2px, transparent 2px);
  background-size: 16px 16px;
  z-index: 0;
}

.about-images img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.img-1 {
  height: 280px;
  align-self: end;
}

.img-2 {
  height: 320px;
  align-self: start;
}

.img-3 {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 480px;
}

/* Modificador para 4 imágenes */
.about-images-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.img-col-left,
.img-col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.img-col-left {
  margin-top: 40px;
}

.img-col-right {
  margin-bottom: 40px;
}

.about-images-4 img {
  height: 250px;
  width: 100%;
}

.queda-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
}

.queda-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.mobile-btn-container {
  display: none;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 40px;
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 24px;
  font-size: 16px;
}

.about-list {
  margin-bottom: 32px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.about-list li i {
  color: var(--primary);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* Projects */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 24px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dark);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

.project-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.project-img {
  height: 240px;
  overflow: hidden;
}

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

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

.project-info {
  padding: 24px;
  text-align: center;
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.project-info p {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.read-more {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.read-more:hover {
  color: var(--accent);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
}

.team-img {
  height: 280px;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-info p {
  font-size: 14px;
  color: var(--primary);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: center;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card.active {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.active h3,
.pricing-card.active .price,
.pricing-card.active .price span,
.pricing-card.active ul li {
  color: white;
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 24px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.price span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card ul {
  margin-bottom: 40px;
}

.pricing-card ul li {
  margin-bottom: 16px;
  color: var(--text-dark);
}

.pricing-card ul li.inactive {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-card.active .btn {
  background: white;
  color: var(--primary);
}

/* Partners Banner */
.partners-banner {
  background: #3056ed;
  /* Color azul exacto de la imagen TailGrids */
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: white;
}

/* Puntos decorativos exactos como la imagen */
.partners-banner::before,
.partners-banner::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2px, transparent 2px);
  background-size: 14px 14px;
  z-index: 0;
}

.partners-banner::before {
  top: 20px;
  left: 20px;
}

.partners-banner::after {
  bottom: 20px;
  right: 20px;
}

.partners-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.partners-subtitle {
  color: white;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  max-width: 500px;
  text-transform: none;
  letter-spacing: -0.5px;
}

.partners-subtitle .highlight {
  font-weight: 800;
}

.partners-logos {
  display: flex;
  gap: 60px;
  align-items: center;
}

.partners-logos img {
  max-height: 35px;
  width: auto;
  opacity: 1;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.partners-logos img:hover {
  transform: scale(1.05);
}

.desktop-text {
  display: inline;
}

/* Testimonials */
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 48px;
  color: rgba(6, 182, 212, 0.1);
  margin-bottom: 24px;
}

.testimonial-text {
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 32px;
}

.client-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-details {
  text-align: left;
}

.client-details h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.blog-img {
  height: 220px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-info {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  margin-bottom: 12px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta span i {
  color: var(--accent);
}

.blog-info h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* Footer & CTA */
.footer-cta {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.footer-cta h2 {
  color: white;
  font-size: 40px;
  max-width: 400px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 450px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 16px;
  outline: none;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 0px;
}

.contact-box {
  text-align: center;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-box-icon {
  width: 60px;
  height: 60px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.contact-box h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* Minimal Contact Box */
.contact-box-minimal {
  text-align: center;
  padding: 20px;
}

.contact-box-minimal .contact-box-icon {
  width: 90px;
  height: 90px;
  background: #f4f7fc;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.contact-box-minimal h4 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.contact-box-minimal p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Base Hidden elements for contact mobile view */
.contact-header-mobile,
.contact-box-content {
  display: none;
}

/* Contact Form */
.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.form-label {
  display: block;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.text-danger {
  color: #ef4444;
}

.form-group {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

/* Footer Main */
.footer {
  background: var(--bg-white);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 16px;
}

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

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.social-links a:hover {
  background: var(--accent);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  header {
    background-color: var(--primary);
  }

  .nav-wrapper {
    justify-content: center;
    position: relative;
  }

  .header-logo {
    background-color: transparent;
    padding: 0;
  }

  .header-logo::before {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    color: white;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-contact {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    height: auto;
    /* Override desktop height: 100% */
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active-mobile {
    padding: 20px 0;
    max-height: 400px;
  }

  .nav-links li {
    width: 100%;
    justify-content: center;
    padding: 10px 0;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .about-wrapper {
    flex-direction: column-reverse;
    /* Puts text on top */
    gap: 40px;
  }

  .hero-card {
    max-width: 100%;
    padding: 32px 24px;
    transform: none;
    border-radius: 12px;
  }

  .hero-card .subtitle,
  .hero-card p {
    display: none;
  }

  .hero-card h1 {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
    border-radius: 8px;
  }

  .hero-full {
    padding: 60px 0;
    min-height: auto;
  }

  #queda {
    background-color: var(--primary);
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #queda .queda-subtitle {
    color: white;
  }

  #queda h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 32px;
  }

  .queda-desc {
    display: none;
  }

  .desktop-btn {
    display: none;
  }

  .mobile-btn-container {
    display: block;
    margin-top: 32px;
  }

  .mobile-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: white;
    color: var(--primary);
    border-radius: 12px;
    font-weight: 800;
    padding: 20px;
  }

  #queda .about-images-4 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  #queda .queda-img-box {
    border-radius: 32px;
    z-index: 1;
  }

  #queda .img-col-left {
    gap: 16px;
    margin-top: 0;
    margin-bottom: 0;
  }

  #queda .img-col-right {
    position: relative;
    gap: 16px;
    margin-top: 0;
    margin-bottom: 0;
  }

  #queda .img-col-right::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: -20px;
    right: -20px;
    /* Use very dark blue or black for dots to contrast against the bright blue bg */
    background-image: radial-gradient(rgba(0, 0, 0, 0.8) 2px, transparent 2px);
    background-size: 16px 16px;
    z-index: 0;
  }

  #queda .about-images-4 img {
    height: 280px;
    object-position: center;
    object-fit: cover;
  }

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

  body {
    padding-bottom: 80px;
    /* Space for bottom nav */
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    padding: 16px 10px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  }

  .mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .mobile-bottom-nav .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
    font-size: 20px;
  }

  .mobile-bottom-nav .nav-item.active {
    color: var(--primary);
  }

  .mobile-bottom-nav .nav-item.active .icon-wrapper {
    color: var(--primary);
    transform: scale(1.1);
  }

  .mobile-bottom-nav .nav-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    transition: all 0.3s ease;
  }
}

@media (max-width: 768px) {

  .services-grid,
  .contact-info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .desktop-only {
    display: none !important;
  }

  .contact-header-mobile {
    display: block;
    margin-bottom: 32px;
  }

  .contact-title-mobile {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
  }

  .contact-desc-mobile {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
  }

  .contact-info-section .contact-box-minimal {
    background: #f4f7fc;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  .contact-info-section .contact-box-icon {
    width: 60px;
    height: 60px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    margin: 0;
    flex-shrink: 0;
    font-size: 24px;
  }

  .contact-box-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .contact-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .contact-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 !important;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .hero-card h1 {
    font-size: 32px;
  }

  .about-images,
  .about-images-4 {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Mobile overrides for Partners Banner */
  .partners-banner {
    background: var(--bg-light);
    padding: 48px 0;
  }

  .partners-banner::before,
  .partners-banner::after {
    display: none;
  }

  .partners-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .partners-subtitle {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    max-width: none;
  }

  .partners-subtitle .desktop-text {
    display: none;
  }

  .partners-subtitle .highlight {
    font-weight: 800;
  }

  .partners-logos {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    align-items: center;
    width: 100%;
    gap: 48px;
  }

  .partners-logos img {
    max-height: 32px;
    opacity: 0.5;
    filter: brightness(0);
    /* Turn white/blue logos into dark grey silhouettes */
  }

  .partners-logos img:first-child {
    max-height: 32px;
    margin-top: 15px;
  }

  .partners-logos::-webkit-scrollbar {
    display: none;
  }

  #queda .about-images-4 {
    display: grid !important;
  }

  /* Staggered mobile images */
  .about-images .img-1,
  .about-images-4 .img-col-left div:first-child img {
    width: 100%;
    height: auto;
  }

  .about-images .img-2 {
    width: calc(100% - 2rem);
    margin-left: 2rem;
    height: auto;
  }

  .about-images .img-3 {
    width: calc(100% - 2rem);
    margin-right: 2rem;
    height: auto;
  }

  .about-images-4 .img-col-left,
  .about-images-4 .img-col-right {
    margin-top: 0;
  }

  /* Ensure mobile-only elements are visible */
  .contact-header-mobile,
  .contact-box-content,
  .footer-mobile-content {
    display: block !important;
  }

  /* Dark Mobile Footer Styling */
  .footer {
    background: #1a1c20 !important;
    color: white;
    padding: 60px 0 100px;
    border-top: none;
  }

  .footer-mobile-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    margin-top: 0;
  }

  .footer-mobile-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .footer-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .footer-mobile-col h3 {
    font-size: 11px;
    font-weight: 800;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .footer-mobile-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-mobile-col li {
    margin-bottom: 12px;
  }

  .footer-mobile-col li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
  }

  .footer-mobile-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
  }

  .footer-mobile-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 13px;
  }

  .footer-mobile-camera-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
  }
}

/* Base Hidden elements for mobile-only view (Desktop view) */
.contact-header-mobile,
.contact-box-content,
.footer-mobile-content {
  display: none;
}