@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary-color: #373737;
  --primary-dark: #1f1f1f;
  --accent-color: #C8A11D;
  --accent-hover: #b38e15;
  --bg-dark: #121212;
  --bg-darker: #0a0a0a;
  --bg-light: #ffffff;
  --bg-gray: #f4f4f4;
  --text-main: #333333;
  --text-gray: #666666;
  --text-light: #ffffff;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base Components Elementos Creativos */
.subtitle {
  font-family: var(--font-body);
  color: var(--accent-color);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.subtitle::before {
  content: '';
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  margin-right: 15px;
}

.title-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 30px;
}

.title-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 25px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  border-radius: 0;
  border: 1px solid var(--primary-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--accent-color);
  z-index: -1;
  transition: var(--transition);
}

.btn:hover {
  color: var(--text-light);
  border-color: var(--accent-color);
}

.btn:hover::before {
  width: 100%;
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-accent::before {
  background-color: var(--primary-color);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header Div */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: 1000;
  padding: 30px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid transparent;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}

header.scrolled .logo img {
  filter: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1.5px;
  position: relative;
}

header.scrolled .nav-links a {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color) !important;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--text-light);
}

header.scrolled .menu-toggle {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/exterior.png') center/cover no-repeat;
  z-index: -2;
  transform: scale(1.05);
  /* Preparado para parallax */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.2) 100%);
  z-index: -1;
}

.hero-content {
  color: var(--text-light);
  max-width: 800px;
  padding-top: 100px;
}

.hero-content h1 {
  color: var(--text-light);
  font-size: clamp(3rem, 7vw, 6rem);
  text-transform: none;
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-content h1 span {
  font-style: italic;
  color: var(--accent-color);
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

/* Creative Sections */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-light);
}

/* Grid Layouts Modernos */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-content {
  padding-right: 40px;
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  box-shadow: -20px 20px 0 var(--accent-color);
}

.floating-box {
  position: absolute;
  bottom: 50px;
  left: -50px;
  background: var(--bg-light);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  color: var(--primary-color);
}

.floating-box h4 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* Proceso Creativo / Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.process-card {
  padding: 40px 30px;
  background: var(--bg-gray);
  position: relative;
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.process-card:hover {
  background: var(--bg-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-top-color: var(--accent-color);
  transform: translateY(-10px);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(200, 161, 29, 0.2);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
  font-style: italic;
}

.process-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

/* Slider Section (Swiper) */
.slider-section {
  overflow: hidden;
  padding: 120px 0;
  background-color: var(--bg-dark);
}

.swiper-slide {
  width: 80%;
}

.project-card {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: var(--text-light);
}

.project-info h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
}

/* Text Content blocks */
.text-lead {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  font-weight: 300;
}

/* Contact Footer */
.footer-cta {
  background-color: var(--accent-color);
  padding: 80px 0;
  text-align: center;
}

.footer-cta h2 {
  color: var(--bg-dark);
  margin-bottom: 30px;
}

footer {
  background-color: var(--bg-darker);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col a:hover {
  color: var(--accent-color);
}

.footer-logo {
  max-width: 200px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
}

/* Page Headers for Internal Pages */
.page-header {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.6);
  z-index: -1;
}

.page-header h1 {
  font-size: 4rem;
  color: white;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .split-content {
    padding-right: 0;
  }

  .floating-box {
    display: none;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    background-color: var(--bg-darker);
    flex-direction: column;
    width: 300px;
    padding-top: 120px;
    padding-left: 40px;
    transition: var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}