@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Ultra Clean Light Palette */
  --bg-color: #FFFFFF;
  --surface-light: #F8FAFC;
  --surface-dark: #F1F5F9;
  
  --text-main: #0F172A; /* Deep slate / Navy black */
  --text-muted: #64748B;
  
  --accent: #2563EB; /* Premium blue */
  --divider: rgba(15, 23, 42, 0.08);

  /* Typography */
  --font-main: 'Inter', -apple-system, sans-serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  scroll-behavior: smooth;
  font-size: 16px;
}

body { overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 5vw; }

.heading-jumbo { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; }
.heading-xl { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.heading-md { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.text-accent { color: var(--accent); }
.text-body { font-size: 1.125rem; line-height: 1.7; color: var(--text-muted); font-weight: 400; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; font-family: var(--font-main); font-size: 0.95rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: var(--transition-smooth); border: 1px solid transparent; }
.btn-primary { background-color: var(--text-main); color: #FFFFFF; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background-color: transparent; border-color: var(--text-muted); color: var(--text-main); }
.btn-outline:hover { border-color: var(--text-main); background-color: var(--surface-light); }

.navbar { position: fixed; top: 0; width: 100%; z-index: 100; padding: 1rem 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--divider); transition: var(--transition-smooth); }
.navbar.scrolled { padding: 0.75rem 0; box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; transition: var(--transition-smooth); }
.navbar.scrolled .logo img { height: 50px; }

.nav-links { display: flex; gap: 3vw; align-items: center; }
.nav-link { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); position: relative; transition: color 0.3s ease; }
.nav-link.active { color: var(--text-main); font-weight: 600; }
.nav-link:hover { color: var(--text-main); }
.lang-switcher { display: flex; align-items: center; margin-left: auto; gap: 0.5rem; font-size: 0.95rem; font-weight: 600; color: var(--text-muted); padding-left: 2rem; border-left: 1px solid var(--divider); }
.lang-btn { cursor: pointer; transition: color 0.3s ease; }
.lang-btn.active { color: var(--accent); }
.lang-btn:hover:not(.active) { color: var(--text-main); }
.lang-sep { color: var(--divider); cursor: default; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 2px; background-color: var(--accent); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* MOBILE HAMBURGER */
.mobile-menu-btn {
  display: none;
  background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 5px; z-index: 1000;
}
.hamburger-line { display: block; width: 22px; height: 1.5px; background-color: var(--text-main); transition: transform 0.4s ease, opacity 0.4s ease; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* HERO SECTION (Full-bleed with parallax) */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; clip-path: inset(0 0 0 0); }
.hero-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-image: url('../images/7b3363e6-7ba6-4304-b7ed-ecfa4f8a6006.jpg'); background-size: cover; background-position: 50% 60%; z-index: -2; will-change: transform; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 100%); z-index: -1; pointer-events: none; }
.hero .container { display: block; }
.hero-content { max-width: 700px; color: #FFFFFF; }
.hero-content .heading-jumbo { color: #FFFFFF; }
.hero-content .hero-desc { color: rgba(255, 255, 255, 0.9); }
.hero-subtitle { font-size: 1rem; font-weight: 600; color: #60A5FA; margin-bottom: 1.5rem; display: block; }

/* ABOUT SECTION */
.section { padding: 8vw 0; background-color: var(--bg-color); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8vw; align-items: center; }
.about-image { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-sm); }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 5s ease; }
.about-image:hover img { transform: scale(1.05); }

/* GALLERY SECTION */
.gallery-section { background-color: var(--surface-light); padding: 8vw 0; position: relative; z-index: 5; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2vw; margin-top: 4rem; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: linear-gradient(transparent, rgba(15,23,42,0.9)); color: white; pointer-events: none; }
.gallery-caption h4 { font-size: 1.25rem; margin-bottom: 0.25rem; font-weight: 700; color: #FFFFFF; }
.gallery-caption p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* MINIMALIST SERVICES LIST (Parallax Background) */
.services-section {
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
  color: var(--text-main);
}
.services-section .container {
  position: relative;
  z-index: 3;
  padding-top: 4vw;
  padding-bottom: 4vw;
}
.services-list-wrapper { display: flex; flex-direction: column; justify-content: center; margin-top: 2.5rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.service-row { display: grid; grid-template-columns: 60px 1fr; align-items: flex-start; padding: 1.5rem 1rem; border-bottom: 1px solid var(--divider); transition: var(--transition-smooth); cursor: default; }
.service-row:first-child { border-top: 1px solid var(--divider); }
.service-row:hover { background-color: rgba(255, 255, 255, 0.6); padding-left: 1.5rem; border-radius: 12px; box-shadow: var(--shadow-sm); }
.service-number { font-size: 1.2rem; font-weight: 600; color: var(--accent); margin-top: 0.15rem; }
.service-content { display: flex; flex-direction: column; }
.service-title h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: var(--text-main); }
.service-desc { padding-left: 0; border-left: none; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* CONTACT SECTION */
.contact-section { background-color: var(--surface-dark); position: relative; z-index: 5; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.contact-item { margin-bottom: 2.5rem; }
.contact-item span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.contact-item a, .contact-item p { font-size: 1.5rem; font-weight: 700; color: var(--text-main); letter-spacing: -0.02em; }
.contact-item a:hover { color: var(--accent); }
.map-wrapper { aspect-ratio: 16/11; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }

/* FOOTER */
.footer { background-color: var(--text-main); color: white; padding: 4rem 0; text-align: center; }
.footer p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-column: span 1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .service-row:hover { padding-left: 2rem; transform: translateY(-5px); }
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px);
    flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
    transform: translateY(-100%); transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { font-size: 1.5rem; }
  .lang-switcher { margin-left: 0; padding-left: 0; border-left: none; margin-top: 1rem; }
  
  /* Hamburguesa animada a X */
  .mobile-menu-btn.open .hamburger-line:first-child { transform: translateY(7.5px) rotate(45deg); }
  .mobile-menu-btn.open .hamburger-line:last-child { transform: translateY(-7.5px) rotate(-45deg); }

  .heading-jumbo { font-size: 2.5rem; }
  .heading-xl { font-size: 2rem; }
  .service-row { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 2rem; }
  .service-number { margin-bottom: 0.5rem; font-size: 1.5rem; }
}
