/* ===== Variables ===== */
:root {
  --primary: #6B1E1E;
  --primary-dark: #4A1212;
  --primary-light: #8B2E2E;
  --accent: #C9A227;
  --dark: #1A1A1A;
  --gray-900: #222;
  --gray-700: #444;
  --gray-500: #666;
  --gray-300: #ddd;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
  --font: 'Inter', system-ui, sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,30,30,0.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-1px);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img {
  height: 55px;
  width: auto;
}
.nav-list {
  display: flex;
  gap: 2rem;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-700);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #1a0a0a 0%, #3d1515 40%, #6B1E1E 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(201,162,39,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
}
.hero-text { max-width: 700px; }
.badge {
  display: inline-block;
  background: rgba(201,162,39,0.2);
  color: var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201,162,39,0.3);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero h1 span {
  color: var(--accent);
}
.hero-desc {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.stat span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== Sections ===== */
.section {
  padding: 5.5rem 0;
}
.section-header {
  margin-bottom: 3rem;
}
.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}
.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}
.section-desc {
  margin-top: 1rem;
  color: var(--gray-500);
  font-size: 1.1rem;
}

/* ===== About ===== */
.about { background: var(--gray-100); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.about-content p {
  margin-bottom: 1.25rem;
  color: var(--gray-700);
  font-size: 1.05rem;
}
.about-list {
  margin-top: 1.5rem;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-weight: 500;
  color: var(--gray-900);
}
.about-list svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.info-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}
.info-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.3s ease;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.service-card:hover::before { height: 100%; }
.service-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.25;
  margin-bottom: 0.75rem;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}
.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.service-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.service-link:hover { color: var(--primary-dark); }

/* ===== Process ===== */
.process { background: var(--gray-100); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}
.step p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ===== Clients ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
}
.client-logo {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  transition: var(--transition);
}
.client-logo:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.client-logo img {
  max-height: 55px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: var(--transition);
}
.client-logo:hover img {
  filter: grayscale(0%);
}
.clients-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ===== CTA ===== */
.cta-section {
  padding: 0 0 5.5rem;
}
.cta-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 16px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: var(--white);
}
.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.cta-box p {
  max-width: 550px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  font-size: 1.1rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===== Contact ===== */
.contact { background: var(--gray-100); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}
.contact-item p, .contact-item a {
  color: var(--gray-500);
  font-size: 0.95rem;
}
.contact-item a:hover { color: var(--primary); }

.contact-form-wrap {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107,30,30,0.12);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(1.1);
}
.footer-brand p:first-of-type {
  font-style: italic;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.75;
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}
.footer-links ul li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  opacity: 0.75;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.75;
}
.footer-contact a:hover { color: var(--accent); opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.55);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-link { font-size: 1.1rem; }

  .hero { min-height: auto; padding: 6rem 0 4rem; }
  .hero-stats { gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 1.5rem; }
}
