/* ========== GOOGLE FONTS (loaded via <link> in HTML for performance) ========== */

/* ========== CSS VARIABLES ========== */
:root {
  --gold-primary: #C8A84E;
  --gold-light: #E2C97E;
  --gold-dark: #A68B3C;
  --dark-bg: #0A0A0F;
  --dark-surface: #12121A;
  --dark-card: #1A1A25;
  --dark-border: #2A2A3A;
  --text-primary: #F0F0F5;
  --text-secondary: #A0A0B5;
  --text-muted: #6A6A80;
  --white: #FFFFFF;
  --success-green: #25D366;
  --gradient-gold: linear-gradient(135deg, #C8A84E 0%, #E2C97E 50%, #A68B3C 100%);
  --gradient-dark: linear-gradient(180deg, #0A0A0F 0%, #12121A 100%);
  --gradient-card: linear-gradient(145deg, #1A1A25 0%, #12121A 100%);
  --shadow-gold: 0 4px 30px rgba(200, 168, 78, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== UTILITY ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(200, 168, 78, 0.1);
  border: 1px solid rgba(200, 168, 78, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title .gold { color: var(--gold-primary); }

.section-subtitle {
  font-size: 1.1rem;
  color: #B8B8CC;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== HEADER / NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 52px;
  width: auto;
  transition: transform var(--transition-smooth);
}

.nav-brand:hover img { transform: rotate(15deg) scale(1.05); }

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-links a:hover { color: var(--gold-primary); }
.nav-links a:hover::after { width: 100%; }

.btn-contact-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  background: var(--gradient-gold);
  color: var(--dark-bg);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  border-radius: 100px;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.3);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
}

.btn-contact-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 168, 78, 0.45);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1100;
}

.nav-hamburger span {
  width: 26px; height: 2.5px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.mobile-overlay.active { display: flex; opacity: 1; }

.mobile-overlay a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-overlay a:hover { color: var(--gold-primary); }

/* ========== HERO / CAROUSEL ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.carousel {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

.carousel-slide.active { opacity: 1; }

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

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.5) 0%,
    rgba(10, 10, 15, 0.65) 40%,
    rgba(10, 10, 15, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(200, 168, 78, 0.12);
  border: 1px solid rgba(200, 168, 78, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero h1 .gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: #C8C8DA;
  max-width: 620px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-gold);
  color: var(--dark-bg);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 100px;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 25px rgba(200, 168, 78, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(200, 168, 78, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--dark-border);
  border-radius: 100px;
  transition: all var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-3px);
}

/* Carousel indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 20;
}

.carousel-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-clip: content-box;
  box-sizing: content-box;
  background: none;
  position: relative;
}

.carousel-dot::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition-fast);
}

.carousel-dot.active::after {
  background: var(--gold-primary);
  width: 32px;
  border-radius: 10px;
}

/* ========== SERVICES ========== */
.services { background: var(--dark-surface); }

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

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 78, 0.35);
  box-shadow: var(--shadow-gold);
}

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

.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--dark-card), transparent);
}

.service-card-body { padding: 24px; }

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card-body p {
  font-size: 0.9rem;
  color: #B8B8CC;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-card-link { gap: 12px; }

/* ========== WHY US ========== */
.why-us { background: var(--dark-bg); }

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

.why-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--gradient-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 78, 0.3);
}

.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: rgba(200, 168, 78, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: #B8B8CC;
  line-height: 1.6;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--dark-surface);
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(200,168,78,0.1) 0%, rgba(200,168,78,0.02) 100%);
  border: 1px solid rgba(200,168,78,0.2);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(200,168,78,0.06) 0%, transparent 60%);
  animation: rotateSlow 20s linear infinite;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-inner p {
  font-size: 1.1rem;
  color: #B8B8CC;
  margin-bottom: 32px;
  position: relative;
}

.cta-inner .btn-primary { position: relative; }

/* ========== CONTACT ========== */
.contact { background: var(--dark-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--gradient-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.contact-card:hover {
  border-color: rgba(200,168,78,0.35);
  transform: translateX(6px);
}

.contact-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: rgba(200,168,78,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-card-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-card-text a {
  color: var(--gold-primary);
  font-weight: 500;
}

.contact-card-text a:hover { text-decoration: underline; }

/* Schedule */
.schedule-card {
  padding: 28px;
  background: var(--gradient-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
}

.schedule-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

.schedule-row:last-child { border-bottom: none; }
.schedule-row .day { color: var(--text-secondary); }
.schedule-row .time { color: var(--text-primary); font-weight: 500; }
.schedule-row .closed { color: #e74c3c; font-weight: 500; }

/* Map */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  height: 100%;
  min-height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}

.footer-social-link:hover {
  background: var(--gold-primary);
  color: var(--dark-bg);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-col ul li a:hover { color: var(--gold-primary); padding-left: 4px; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-label {
  background: var(--white);
  color: #333;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  white-space: nowrap;
  animation: fadeInRight 0.6s ease-out 1s both;
}

.whatsapp-btn {
  width: 72px; height: 72px;
  background: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-smooth);
  animation: pulse-wa 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn svg { width: 38px; height: 38px; fill: white; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.65); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 3rem); }
  .cta-inner { padding: 40px 24px; }
  .section-padding { padding: 70px 0; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .whatsapp-label { display: none; }
}
