/* Configuración de Colores Corporativos */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --color-ihm-black: #050505;
    --color-ihm-dark: #121212;
    --color-ihm-blue: #0A192F;
    --color-ihm-blue-dark: #001F3F;
    --color-ihm-gray: #f4f4f5;
  }

  body {
    font-family: 'Lato', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: 'Playfair Display', serif;
  }
}

@layer utilities {
  .ihm-black {
    color: var(--color-ihm-black);
  }

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

  .ihm-blue {
    color: var(--color-ihm-blue);
  }

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

  .bg-ihm-blue-dark {
    background-color: var(--color-ihm-blue-dark);
  }

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

/* Estilos personalizados */
.glass-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero background removido - ahora usa imagen local */

/* Sidebar Transition */
.sidebar {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-100%);
}

.sidebar.active {
  transform: translateX(0);
}

/* Hide Scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Intersection Observer Animation Class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animaciones */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --color-primary: #050505;
  --color-secondary: #1a1a1a;
  --color-accent: #0A192F;
  --color-accent-dark: #001F3F;
  --color-background: #ffffff;
  --color-surface: #f9fafb;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-text-light: #666666;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Lato', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-background);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid #e0e0e0;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-accent);
}

.language-selector {
  position: relative;
}

.lang-btn {
  background: none;
  border: 1px solid #d0d0d0;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  color: var(--color-text);
}

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

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  min-width: 150px;
  display: none;
  margin-top: 0.5rem;
}

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

.lang-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color 0.2s;
  font-size: 0.9rem;
}

.lang-dropdown a:hover {
  background-color: var(--color-surface);
  color: var(--color-accent);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: 900px;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

/* Subtitle removed */
/* .hero p {
 font-size: 1.25rem;
 margin-bottom: 2.5rem;
 color: rgba(255, 255, 255, 0.95);
 font-weight: 300;
 line-height: 1.8;
} */

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
}

.cta-button.primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.cta-button.primary:hover {
  background-color: var(--color-white);
  transform: translateY(-2px);
  color: var(--color-primary) !important;
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.cta-button.secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary) !important;
}

/* Services Section */
.services {
  padding: 8rem 2rem;
  background-color: var(--color-white);
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.section-title p {
  color: var(--color-text-light);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
}

.featured-service {
  background: var(--color-white);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 4rem;
  margin-bottom: 5rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.featured-service:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.service-icon {
  font-size: 2rem;
  background-color: var(--color-surface);
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

.featured-service h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.service-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.service-areas span {
  padding: 1rem 1.5rem;
  background-color: var(--color-surface);
  border-left: 2px solid var(--color-accent);
  font-size: 0.95rem;
  color: var(--color-text);
  border-radius: 4px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.service-card .service-icon {
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  background-color: var(--color-surface);
  color: var(--color-accent);
  border-radius: 12px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 0.98rem;
}

/* Areas Section */
.areas {
  padding: 8rem 2rem;
  background-color: var(--color-surface);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.area-card {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.area-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.area-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e5e5;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.area-card ul {
  list-style: none;
  padding: 0;
}

.area-card li {
  padding: 1rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.98rem;
}

.area-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 1.2rem;
}

/* News Section */
.news {
  padding: 8rem 2rem;
  background-color: var(--color-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card-content {
  padding: 2rem;
}

.news-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.4;
}

.news-card .date {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card p {
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
  padding: 8rem 2rem;
  background-color: var(--color-surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 1;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Reviews Section */
.reviews {
  padding: 8rem 2rem;
  background-color: var(--color-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

.review-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.3rem;
}

.review-info h4 {
  margin: 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.2px;
}

.review-stars {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.review-text {
  color: var(--color-text-light);
  line-height: 1.8;
  font-style: italic;
  font-size: 0.98rem;
}

/* Contact Section */
.contact {
  padding: 8rem 2rem;
  background-color: var(--color-surface);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  margin-bottom: 2.75rem;
}

.info-icon {
  font-size: 1.3rem;
  width: 56px;
  height: 56px;
  background-color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  border: 1px solid #e5e5e5;
}

.info-text h4 {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.info-text p,
.info-text a {
  color: var(--color-text-light);
  text-decoration: none;
  line-height: 1.6;
}

.info-text a:hover {
  color: var(--color-accent);
}

.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.submit-button {
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--color-accent-dark);
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3,
.footer h4 {
  font-family: var(--font-serif);
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  line-height: 1.8;
  font-size: 0.95rem;
}

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.1);
}

@keyframes pulse-whatsapp {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* Left Sidebar for News - Push Layout */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 225px;
  height: 100%;
  background: var(--color-white);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.04);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-right: 1px solid #e0e0e0;
}

.sidebar.active {
  transform: translateX(0);
}

/* Push body content when sidebar is active */
body {
  transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sidebar-open {
  margin-left: 225px;
}

@media (max-width: 768px) {
  body.sidebar-open {
    margin-left: 0;
  }
}

.sidebar-header {
  padding: 2rem 1.5rem;
  background-color: var(--color-white);
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

.sidebar-header h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.close-btn {
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 1.3rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

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

.sidebar-content {
  padding: 1.5rem;
}

.sidebar-toggle {
  left: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
  top: auto;
}

/* News Detail Sidebar */
.news-popup {
  position: fixed;
  top: 0;
  left: -520px;
  width: 520px;
  height: 100%;
  background: white;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
  z-index: 2000;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-right: 1px solid #e5e5e5;
}

.news-popup.active {
  left: 0;
}

.news-popup-content {
  background: white;
  height: 100%;
  position: relative;
}

.news-popup-content .close-btn {
  position: sticky;
  top: 2rem;
  right: 2rem;
  margin-left: auto;
  margin-bottom: 1rem;
  float: right;
  color: var(--color-text-light);
  background: white;
  z-index: 10;
}

#newsPopupBody {
  padding: 3rem;
  max-width: 460px;
}

#newsPopupBody img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 76px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: left 0.3s;
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

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

  .sidebar {
    width: 100%;
    left: -100%;
  }

  .sidebar.active {
    left: 0;
  }

  .sidebar-toggle {
    display: flex;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* Mobile Responsive - Enhanced Touch Experience */
@media (max-width: 768px) {

  /* Padding optimizations for mobile */
  .services,
  .areas,
  .news,
  .gallery,
  .reviews,
  .contact {
    padding: 4rem 1.25rem;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  /* Grid layouts for mobile */
  .services-grid,
  .areas-grid,
  .news-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Cards touch-friendly */
  .service-card,
  .area-card,
  .review-card,
  .news-card {
    padding: 1.75rem;
    -webkit-tap-highlight-color: transparent;
  }

  /* Featured service mobile */
  .featured-service {
    flex-direction: column;
    padding: 2rem;
    margin-bottom: 2.5rem;
    gap: 2rem;
  }

  .service-areas {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Hero mobile optimization */
  .hero {
    min-height: 90vh;
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 0.95rem;
    text-align: center;
  }

  /*Navbar mobile */
  .nav-container {
    padding: 1rem 1.25rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  /* Sidebar mobile - fullscreen overlay */
  .sidebar {
    width: 100%;
    max-width: 100%;
    transform: translateX(-100%);
    z-index: 9999;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  /* No push on mobile */
  body.sidebar-open {
    margin-left: 0;
    overflow: hidden;
  }

  .sidebar-toggle {
    left: 1rem;
    top: 85px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  /* Contact section mobile */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-form {
    padding: 1.75rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    /* Prevent zoom on iOS */
    padding: 1rem;
  }

  .submit-button {
    padding: 1.25rem;
    font-size: 1rem;
  }

  /* WhatsApp button mobile */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-item {
    height: 250px;
  }

  /* Footer mobile */
  .footer {
    padding: 3rem 1.25rem 2rem;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  /* News popup mobile */
  .news-popup {
    width: 100%;
    transform: translateX(-100%);
  }

  .news-popup.active {
    transform: translateX(0);
  }

  #newsPopupBody {
    padding: 1.75rem;
  }

  /* Bento grid mobile */
  .grid.grid-cols-1.md\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }

  /* Touch improvements */
  a,
  button {
    min-height: 44px;
    /* iOS touch target */
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Remove hover effects on touch devices */
  @media (hover: none) {

    .service-card:hover,
    .area-card:hover,
    .review-card:hover,
    .news-card:hover {
      transform: none;
    }
  }

  /* Improve readability */
  body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Prevent horizontal scroll */
  body,
  html {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

/* Carousel Styles */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

#casesCarousel {
  scroll-padding: 0 1.5rem;
}

/* Custom Service List Bullets */
.services-list {
  list-style: none;
  padding-left: 0;
}

.service-item {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.6;
  transition: all 0.2s ease;
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: #FFD700;
  /* Dorado elegante */
  transform: rotate(45deg);
  transition: all 0.2s ease;
}

.service-item:hover {
  padding-left: 2rem;
  color: #ffffff;
}

.service-item:hover::before {
  background-color: #00154F;
  transform: rotate(45deg) scale(1.3);
}

/* Botones flotantes - Efectos hover con colores originales */
.whatsapp-btn:hover {
  background-color: #25D366 !important;
  border-color: #25D366 !important;
}

.whatsapp-btn:hover i {
  color: white !important;
}

.instagram-btn:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: #bc1888 !important;
}

.instagram-btn:hover i {
  color: white !important;
}

/* Button Styles for Dark and Light Backgrounds */
/* Botones en fondos oscuros */
.btn-dark-bg {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 4px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
  text-decoration: none;
}

.btn-dark-bg:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Botones en fondos claros */
.btn-light-bg {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
  text-decoration: none;
}

.btn-light-bg:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.875rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .featured-service h3 {
    font-size: 1.5rem;
  }

  .service-card h3,
  .area-card h3 {
    font-size: 1.25rem;
  }

  .sidebar-toggle {
    left: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    top: auto;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 1rem;
    right: 1rem;
  }
}