/* ============================================
   GRUPO CTR - Premium Styles v2.0
   ============================================ */

/* Custom Properties */
:root {
  --primary: #ad9271;
  --primary-dark: #8a7259;
  --primary-light: #c4ad93;
  --dark: #0a0a0a;
  --dark-2: #141414;
  --dark-3: #1e1e1e;
  --text: #555555;
  --text-light: #888888;
  --white: #ffffff;
  --off-white: #f5f5f3;
  --bg-light: #fafaf8;
  --border: #e8e6e3;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

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

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

/* ============================================
   HEADER / NAVBAR - PREMIUM
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 8px 0;
  transition: all 0.5s ease;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(0px);
  transition: all 0.5s ease;
  z-index: -1;
}

.header.scrolled::before {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
  padding: 0;
  box-shadow: 0 1px 40px rgba(0,0,0,0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  max-width: 1400px;
  margin: 0 auto;
  transition: padding var(--transition);
}

.header.scrolled .navbar {
  padding: 10px 48px;
}

.nav-logo img {
  height: 45px;
  transition: all var(--transition);
}

.header.scrolled .nav-logo img {
  height: 38px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu li {
  position: relative;
}

.header-solid::before { background: rgba(10,10,10,0.95) !important; backdrop-filter: blur(20px) !important; -webkit-backdrop-filter: blur(20px) !important; }
.header-solid { box-shadow: 0 1px 40px rgba(0,0,0,0.2); }

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-arrow {
  font-size: 9px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

/* CTA Button in Nav */
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.nav-cta.active {
  background: var(--primary-dark) !important;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.dropdown-menu a i {
  color: var(--primary);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
  transform: translateX(4px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO - PREMIUM
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.webp') center/cover no-repeat;
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.1); }
  100% { transform: scale(1.2); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(10,10,10,0.7) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid rgba(173,146,113,0.4);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  background: rgba(173,146,113,0.08);
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title .line {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 12px;
}

.hero-title .line-1 {
  font-size: clamp(40px, 8vw, 80px);
  opacity: 0;
  animation: slideInLeft 0.8s ease 0.2s forwards;
}

.hero-title .line-2 {
  font-size: clamp(60px, 12vw, 120px);
  opacity: 0;
  animation: slideInRight 0.8s ease 0.4s forwards;
}

.hero-title .accent {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 45px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  padding: 16px 36px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid var(--primary);
  transition: all var(--transition);
}

.btn-hero-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(173,146,113,0.3);
}

.btn-hero-outline {
  padding: 16px 36px;
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
}

.btn-hero-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  25% { transform: translateY(-30px) scale(1.2); opacity: 0.8; }
  50% { transform: translateY(-60px) scale(0.8); opacity: 0.3; }
  75% { transform: translateY(-30px) scale(1.1); opacity: 0.6; }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 0 auto;
}

.section-line.left {
  margin: 0 0 24px 0;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 120px 0;
  background: var(--bg-light);
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  border: 1px solid var(--border);
}

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

.service-card-img {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.6) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

.service-card-overlay i {
  font-size: 36px;
  color: var(--primary);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.service-card-body {
  padding: 36px 32px;
}

.service-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.service-card-body p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.8;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-card i {
  transition: transform 0.3s ease;
  font-size: 11px;
}

.btn-card:hover {
  background: var(--primary);
  transform: translateX(4px);
}

.btn-card:hover i {
  transform: translateX(4px);
}

/* ============================================
   STATS
   ============================================ */
.stats {
  padding: 80px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(173,146,113,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: 52px;
  font-weight: 800;
  color: var(--primary);
  display: inline;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.stat-suffix {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-light);
}

.stat-item p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
}

/* ============================================
   OFFICE
   ============================================ */
.office {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}

.office .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.office-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.office-info .section-title {
  margin-bottom: 8px;
}

.office-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.office-detail:hover {
  background: var(--bg-light);
}

.detail-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-icon i {
  font-size: 18px;
  color: var(--white);
}

.office-detail h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.office-detail p {
  font-size: 14px;
  color: var(--text-light);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--bg-light);
  overflow: hidden;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-title {
  margin-bottom: 8px;
}

.about-text p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.9;
}

.about-services {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.about-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.about-service-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  color: var(--white);
  font-size: 15px;
}

.about-service-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-img {
  position: relative;
}

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

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.3;
}

/* ============================================
   DESIGN
   ============================================ */
.design {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}

.design .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.design-img {
  position: relative;
}

.design-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.design-img-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.3;
}

.design-text .section-title {
  margin-bottom: 8px;
}

.design-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  padding: 100px 0;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(173,146,113,0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
}

.testimonial-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.quote-decoration {
  margin-bottom: 30px;
}

.quote-decoration i {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.6;
}

.testimonial-content blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 35px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.author-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.author-role {
  display: block;
  font-size: 12px;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
  padding: 100px 0;
  background: var(--bg-light);
  overflow: hidden;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.partner-item {
  padding: 20px 30px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.partner-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.partner-item img {
  height: 55px;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter var(--transition);
}

.partner-item:hover img {
  filter: grayscale(0%);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all var(--transition);
  border: 2px solid var(--white);
}

.btn-cta:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-cta i {
  transition: transform 0.3s ease;
}

.btn-cta:hover i {
  transform: translateX(5px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 80px 0 30px;
  color: #888;
  overflow: hidden;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.9;
  color: #888;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 14px;
  color: #888;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(6px);
}

.footer-links a:hover::before {
  width: 14px;
}

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

.footer-projects img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.6;
  transition: all 0.3s;
}

.footer-projects img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 13px;
  color: #555;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 16px;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* ============================================
   WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  z-index: 1;
  animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.page-header {
  padding: 180px 0 100px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

.contact-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

.contact-form {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--dark);
  background: var(--bg-light);
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(173,146,113,0.1);
  background: var(--white);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-error {
  display: none;
  font-size: 12px;
  color: #e74c3c;
  margin-top: 6px;
}

.form-group input.error ~ .form-error,
.form-group textarea.error ~ .form-error {
  display: block;
}

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-submit:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(173,146,113,0.3);
}

.btn-submit i {
  transition: transform 0.3s ease;
}

.btn-submit:hover i {
  transform: translateX(4px);
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-info-card > p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.contact-detail:hover {
  background: var(--bg-light);
}

.contact-detail h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 13px;
  color: var(--text-light);
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.reveal-left {
  transform: translateX(-50px);
}

.reveal.reveal-right {
  transform: translateX(50px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children */
.reveal.visible .about-service-item,
.reveal.visible .office-detail,
.reveal.visible .stat-item {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.reveal.visible .about-service-item:nth-child(1),
.reveal.visible .office-detail:nth-child(1),
.reveal.visible .stat-item:nth-child(1) { animation-delay: 0.1s; }
.reveal.visible .about-service-item:nth-child(2),
.reveal.visible .office-detail:nth-child(2),
.reveal.visible .stat-item:nth-child(2) { animation-delay: 0.2s; }
.reveal.visible .about-service-item:nth-child(3),
.reveal.visible .office-detail:nth-child(3),
.reveal.visible .stat-item:nth-child(3) { animation-delay: 0.3s; }
.reveal.visible .stat-item:nth-child(4) { animation-delay: 0.4s; }

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

/* Fade in up for hero elements */
.fade-in-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUpHero 0.8s ease forwards;
}

.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .navbar { padding: 16px 24px; }
  .header.scrolled .navbar { padding: 10px 24px; }

  .services-grid { gap: 24px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .about .container,
  .design .container,
  .office .container {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1000;
    padding: 80px 20px 40px;
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    font-size: 16px;
    padding: 12px 20px;
    width: 100%;
    justify-content: center;
  }

  .nav-cta {
    margin-top: 12px;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.05);
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    min-width: auto;
    padding: 4px 0;
    width: 100%;
  }

  .nav-dropdown .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu a {
    color: rgba(255,255,255,0.7);
    justify-content: center;
    padding: 10px 16px;
    font-size: 13px;
  }

  .dropdown-menu a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--primary);
    transform: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: 0 20px; }
  .hero-badge { font-size: 10px; letter-spacing: 2px; padding: 6px 16px; margin-bottom: 20px; }
  .hero-title .line-1 { letter-spacing: 6px; }
  .hero-title .line-2 { letter-spacing: 6px; }
  .hero-subtitle { font-size: 13px; letter-spacing: 3px; margin-bottom: 30px; }
  .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
  .btn-hero-primary, .btn-hero-outline {
    width: 100%; max-width: 280px; text-align: center; justify-content: center;
    padding: 14px 28px; font-size: 12px;
  }

  /* Sections */
  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-img { height: 220px; }

  .stats { padding: 50px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item { padding: 20px 10px; }
  .stat-item::after { display: none; }
  .stat-number { font-size: 36px; }
  .stat-suffix { font-size: 24px; }
  .stat-item p { font-size: 11px; letter-spacing: 1px; }

  .office { padding: 80px 0; }
  .office .container { grid-template-columns: 1fr; gap: 40px; }

  .about { padding: 80px 0; }
  .about .container { grid-template-columns: 1fr; gap: 40px; }
  .about-img-accent { display: none; }
  .about-services { flex-direction: column; gap: 12px; }
  .about-service-item { justify-content: center; }

  .design { padding: 80px 0; }
  .design .container { grid-template-columns: 1fr; gap: 40px; }
  .design-img-accent { display: none; }

  .testimonial { padding: 60px 0; }
  .testimonial-content blockquote { font-size: 18px; }
  .quote-decoration i { font-size: 36px; }

  .partners { padding: 60px 0; }
  .partners-grid { gap: 20px; }
  .partner-item { padding: 16px 20px; }
  .partner-item img { height: 40px; }

  .cta { padding: 60px 0; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 14px; }

  /* Contact */
  .page-header { padding: 140px 0 60px; }
  .page-header h1 { font-size: 32px; letter-spacing: 3px; }
  .page-header p { font-size: 14px; }
  .contact-section { padding: 60px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-form { padding: 28px 20px; }
  .contact-form h3 { font-size: 22px; }

  /* Footer */
  .footer { padding: 60px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }

  /* Section headers */
  .section-header { margin-bottom: 40px; }
  .section-tag { font-size: 11px; letter-spacing: 3px; }

  /* WhatsApp */
  .whatsapp-float { bottom: 20px; right: 16px; }
  .whatsapp-float a { width: 52px; height: 52px; font-size: 24px; }
  .whatsapp-pulse { width: 52px; height: 52px; }

  /* En móvil: eliminar desplazamiento horizontal de animaciones reveal */
  .reveal.reveal-left,
  .reveal.reveal-right {
    transform: translateY(40px);
  }

  /* En móvil: desactivar zoom del hero-bg para evitar overflow horizontal */
  .hero-bg {
    transform: none;
    animation: none;
  }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero-title .line-1 { letter-spacing: 4px; }
  .hero-title .line-2 { letter-spacing: 4px; }
  .stat-number { font-size: 30px; }
  .stat-suffix { font-size: 20px; }
  .section-title { font-size: 24px; }
  .navbar { padding: 12px 16px; }
  .nav-logo img { height: 36px; }
}

/* ============================================
   LEGAL PAGES (aviso-legal, privacy)
   ============================================ */
.legal-section {
  padding: 80px 0 100px;
  background: var(--bg-light);
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 56px 64px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 16px;
}

.legal-block h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin: 24px 0 12px;
}

.legal-block p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-block p:last-child { margin-bottom: 0; }

.legal-block ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.legal-block ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.legal-block a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-block a:hover { color: var(--primary-dark); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 12px;
  overflow-x: auto;
  display: block;
}

.legal-table th {
  background: var(--dark);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: var(--bg-light); }

.legal-date {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

.btn-cookie-reset {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 22px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-cookie-reset:hover {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 768px) {
  .legal-card { padding: 32px 24px; }
  .legal-block h2 { font-size: 18px; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark-2);
  border-top: 1px solid rgba(173,146,113,0.3);
  padding: 20px 24px;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 260px;
}

.cookie-banner-text p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-cookie-accept:hover { background: var(--primary-dark); }

.btn-cookie-reject {
  padding: 10px 24px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-cookie-reject:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

@media (max-width: 600px) {
  .cookie-banner { padding: 16px; }
  .cookie-banner-inner { gap: 16px; }
  .cookie-banner-actions { width: 100%; }
  .btn-cookie-accept,
  .btn-cookie-reject { flex: 1; text-align: center; }
}
