/* ================= VARIABLES ================= */
:root {
  --gold: #d39a32;
  --gold-light: #e8b84a;
  --gold-dark: #b8821f;
  --dark: #1e1c1a;
  --dark-secondary: #2a2826;
  --light: #faf7f2;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --border-color: #e5e0d8;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: #fff;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

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

.center {
  text-align: center;
}

.section {
  padding: 100px 0;
}

.section.light {
  background: var(--light);
}

.section.dark {
  background: var(--dark);
  color: #fff;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1rem auto 3rem;
}

.gold-link {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--gold);
  transition: var(--transition);
  margin-top: 2rem;
}

.gold-link:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
  transform: translateX(4px);
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

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

.nav a:hover::after {
  width: 100%;
}

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

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

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

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

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

/* ================= HERO ================= */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 70px;
}

.hero-bg {
  background: url("../images/hero.jpg") center/cover no-repeat;
  position: absolute;
  inset: 0;
  transform: scale(1.1);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
  position: relative;
  max-width: 700px;
  color: #fff;
  z-index: 2;
}

.hero-content > span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content h1 span {
  color: var(--gold-light);
  display: block;
}

.hero-content > p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn.gold {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.btn.gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(211, 154, 50, 0.3);
}

.btn.light {
  background: #fff;
  color: var(--text-primary);
  border-color: #fff;
}

.btn.light:hover {
  background: var(--light);
  border-color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.btn.dark {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn.dark:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ================= GRIDS ================= */
.grid {
  display: grid;
  gap: 32px;
  margin: 3rem 0;
}

.expertise {
  grid-template-columns: repeat(4, 1fr);
}

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

.about > div:first-child h2 {
  margin-bottom: 1.5rem;
}

.about > div:first-child p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.checks {
  list-style: none;
  margin: 2rem 0;
}

.checks li {
  padding: 0.75rem 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
  font-weight: 500;
}

.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  width: 100%;
}

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

/* ================= CARDS ================= */
.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

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

.card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 60%);
  color: #fff;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.card .overlay h3 {
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.card .overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0;
}

.card:hover .overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 50%);
}

/* ================= REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  will-change: transform, opacity;
}

/* ================= STATS ================= */
.stat {
  background: var(--light);
  padding: 48px 32px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.stat:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(211, 154, 50, 0.1);
  transform: translateY(-4px);
}

.stat:hover::before {
  transform: scaleX(1);
}

.stat h3 {
  color: var(--gold);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat span {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ================= TESTIMONIAL ================= */
.testimonial {
  background: var(--dark-secondary);
  padding: 36px;
  border-radius: 12px;
  border: 1px solid rgba(211, 154, 50, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 16px;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
}

.testimonial:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(211, 154, 50, 0.15);
  transform: translateY(-4px);
}

.stars {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.8;
}

.testimonial strong {
  display: block;
  color: #fff;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.testimonial span {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ================= CTA ================= */
.cta {
  padding: 100px 0;
  background: var(--light);
}

.cta-box {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  padding: 80px 60px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(211, 154, 50, 0.25);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s linear infinite;
  pointer-events: none;
}

.cta-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(211, 154, 50, 0.35);
}

.cta-box h2 {
  color: #000;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(0, 0, 0, 0.8);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* ================= RIPPLE EFFECT ================= */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ================= FOOTER ================= */
.footer {
  background: var(--dark);
  color: #999;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(211, 154, 50, 0.1);
}

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

.footer h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer p {
  color: #999;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer a {
  color: #999;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(211, 154, 50, 0.1);
  padding-top: 30px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .expertise {
    grid-template-columns: repeat(2, 1fr);
  }
  .about {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .header-inner {
    height: 60px;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 24px 16px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav a {
    font-size: 1rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    display: block;
  }
  
  .nav a::after {
    display: none;
  }
  
  .nav a:hover {
    color: var(--gold);
  }
  
  .nav .btn {
    width: 100%;
    text-align: center;
    margin-top: 16px;
    border-bottom: none;
  }
  
  .hero {
    margin-top: 60px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  
  .hero-content > p {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .expertise {
    grid-template-columns: 1fr;
  }
  
  .about {
    gap: 30px;
  }
  
  .stats {
    grid-template-columns: 1fr;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .cta-box {
    padding: 60px 40px;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.3rem, 4vw, 2rem);
  }
  
  .hero-content > span {
    font-size: 0.8rem;
  }
  
  .hero-content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
  
  .hero-content > p {
    font-size: 0.95rem;
  }
  
  .desc {
    font-size: 1rem;
  }
  
  .cta-box {
    padding: 50px 30px;
  }
  
  .cta-box h2 {
    font-size: 1.5rem;
  }
  
  .cta-box p {
    font-size: 1rem;
  }
  
  .stat h3 {
    font-size: 2rem;
  }
  
  .grid {
    gap: 20px;
  }
}
