:root {
  --navy: #0D0D0D;
  --navy-light: #1F1F1F;
  --navy-dark: #000000;
  --ivory: #F2F2E9;
  --gold: #B89B5E;
  --gold-light: #D4BF8A;
  --beige: #2A2A22;
  --beige-dark: #1A1A15;
  --text-dark: #F2F2E9;
  --text-muted: #8A8575;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.25);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.30);
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ivory);
  transition: color var(--transition);
}
.navbar.scrolled .logo { color: var(--ivory); }
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ivory);
  transition: color var(--transition);
  position: relative;
}
.navbar.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--text-dark) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #9A7E40 !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 28px; height: 2.5px;
  background: var(--ivory);
  transition: all var(--transition);
  border-radius: 2px;
}
.navbar.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #000000 0%, #0D0D0D 40%, #1F1F1F 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 155, 94, 0.12) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 155, 94, 0.08) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 80px;
}
.hero-badge {
  display: inline-block;
  background: rgba(184, 155, 94, 0.15);
  color: var(--gold-light);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(184, 155, 94, 0.25);
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  color: var(--ivory);
  max-width: 800px;
  margin: 0 auto 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--text-dark);
}
.btn-primary:hover {
  background: #9A7E40;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184, 155, 94, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(184, 155, 94, 0.1);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ─── Section common ─── */
section { padding: 100px 0; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-sub {
  margin: 0 auto;
}

/* ─── About ─── */
.about { background: var(--navy-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  background: linear-gradient(135deg, var(--beige), var(--beige-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image i {
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.3;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 155, 94, 0.08), transparent);
}
.about-image::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  top: 30%; left: 20%;
  opacity: 0.15;
}
.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.about-feature i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ─── Services ─── */
.services { background: var(--navy); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: #2A2A24;
  padding: 40px 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.service-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(184, 155, 94, 0.12), rgba(184, 155, 94, 0.06));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon i {
  font-size: 1.8rem;
  color: var(--gold);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ─── Portfolio ─── */
.portfolio { background: var(--navy-light); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: linear-gradient(135deg, var(--beige), var(--beige-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-item i {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.15;
  transition: all var(--transition);
  z-index: 0;
}
.portfolio-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}
.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  padding: 24px;
  text-align: center;
  z-index: 2;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-item:hover i { transform: scale(1.1); opacity: 0.25; }
.portfolio-overlay h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 6px;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.portfolio-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  transform: translateY(20px);
  transition: transform var(--transition) 0.05s;
}
.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}
.portfolio-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── Contact ─── */
.contact {
  background: linear-gradient(135deg, #000000 0%, #0D0D0D 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 155, 94, 0.06) 0%, transparent 70%);
  bottom: -200px; right: -200px;
  pointer-events: none;
}
.contact .section-label { color: var(--gold-light); }
.contact .section-title { color: var(--ivory); }
.contact .section-sub { color: rgba(255,255,255,0.6); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--ivory);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(184, 155, 94, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group select option { color: #1A1A1A; }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--text-dark);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover {
  background: #9A7E40;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184, 155, 94, 0.3);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}
.contact-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}
.contact-card-icon {
  width: 52px; height: 52px;
  background: rgba(184, 155, 94, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon i {
  font-size: 1.3rem;
  color: var(--gold);
}
.contact-card h4 {
  font-family: 'Inter', sans-serif;
  color: var(--ivory);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-card p, .contact-card a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.contact-card a:hover { color: var(--gold); }

.contact-cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}
.cta-whatsapp, .cta-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.cta-whatsapp {
  background: #25D366;
  color: #fff;
}
.cta-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.cta-email {
  background: var(--gold);
  color: var(--text-dark);
}
.cta-email:hover {
  background: #9A7E40;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 155, 94, 0.3);
}

.contact-map {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  height: 280px;
  position: relative;
}
.contact-map i {
  font-size: 3rem;
  color: rgba(255,255,255,0.15);
}

/* ─── Footer ─── */
.footer {
  background: #000000;
  color: rgba(255,255,255,0.5);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer .logo { color: var(--ivory); display: inline-block; margin-bottom: 12px; font-size: 1.4rem; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin: 16px 0; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

/* ─── Responsive ─── */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { height: 320px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--navy-light);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text-dark) !important; }
  .hamburger { display: flex; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat { flex: 1; min-width: 100px; text-align: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-cta-buttons { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}

@media (max-width: 576px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .contact-form { padding: 24px; }
}

/* ─── Scroll animations (AOS overrides / fallback) ─── */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}
[data-aos].aos-animate { opacity: 1; }
