:root {
  --red: #c20000;
  --dark: #1a0f12;
  --dark-2: #2a1d22;
  --light: #f9f5f6;
  --muted: #f0eded;
  --accent: #e93e3e;
  --text: #f8f7f7;
  --text-dark: #2f2a33;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: linear-gradient(160deg, #fff6f7 0%, #ffe5e5 100%);
}

.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
  backdrop-filter: blur(10px);
  background: transparent;
}
.nav {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.35rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  animation: pulse 1.6s ease-in-out infinite;
}
.brand img {
  max-height: 120px;
  width: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand img:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(194, 0, 0, 0.25);
}
@keyframes pulse {
  50% { transform: scale(1.03); }
}
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--accent); }
.cta {
  padding: 0.65rem 1rem;
  border: 2px solid var(--dark);
  border-radius: 8px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
}
.cta:hover { background: var(--dark); color: #fff; }

.section {
  padding: 100px 1.5rem 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  position: relative;
  overflow: hidden;
}

main {
  padding-top: 120px;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 134, 158, 0.35), transparent 45%),
  radial-gradient(circle at bottom right, rgba(121, 17, 28, 0.42), transparent 50%);
  z-index: 0;
}
.hero-content {
  grid-column: 1 / span 7;
  z-index: 1;
}
.hero h1 {
  margin: 0.4rem 0;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  color: var(--dark);
  line-height: 1.1;
}
.hero p { font-size: 1.08rem; margin: 1rem 0 1.25rem; color: #3f363d; }
.eyebrow {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}
.hero-buttons { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px rgba(194, 0, 0, 0.25); }
.btn-secondary { background: #fff; color: var(--red); border: 2px solid var(--accent); }
.btn-secondary:hover { background: #ffe5e7; }

.hero-visual {
  grid-column: 6 / span 7;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
.shape-box {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(194,0,0,0.75), rgba(255,140,140,0.6));
  filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

.container { max-width: 1140px; margin: 0 auto; }
h2 { color: var(--dark); margin-bottom: 0.6rem; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.subtitulo { margin-bottom: 1.6rem; color: #5f4c53; }

.stats-grid, .services-grid, .team-grid {
  display: grid;
  gap: 1rem;
}
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 1.6rem; }
.stat-card {
  border-radius: 12px;
  border: 1px solid #fde9eb;
  background: #fff;
  padding: 1.2rem;
  text-align: center;
  font-weight: 600;
  color: #742226;
}
.stat-number { font-size: 2.2rem; color: var(--red); display: block; }

.services-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.service-card {
  background: #fff;
  border: 1px solid #ebd7d9;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 4px 15px rgba(205, 84, 95, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 22px rgba(201, 64, 72, 0.23); }
.service-card h3 { margin-top: 0; }

.team-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.team-card {
  border-radius: 14px;
  background: linear-gradient(160deg, #fff4f6 0%, #feeaeb 100%);
  border: 1px solid #f7dee0;
  padding: 1.1rem;
  text-align: center;
}
.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  margin: 0 auto 0.8rem;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.testimonial-card {
  padding: 1.2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 5px 10px rgba(119, 10, 10, 0.06);
}
.testimonial-card h4 { margin: 0.85rem 0 0; color: #8f3138; font-weight: 700; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.gallery-img:hover { transform: scale(1.05); }

.contact-section { background: #fff; border-radius: 18px; border: 1px solid #e8e1e2; }
.contact-form { margin-top: 1.2rem; display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea {
  width: 100%;
  border: 1px solid #d8c9cc;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
}
input:focus, textarea:focus { outline: 2px solid #f7b8bb; border-color: var(--red); }
.status { font-size: 0.95rem; margin: 0; color: #4d682d; }

.footer { background: var(--dark); color: #e9d8d9; padding: 1.5rem 1.5rem 2.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.footer h3, .footer h4 { margin: 0 0 0.4rem; }
.footer p { margin: 0.2rem 0; color: #c7b5b8; }
.footer-copy { margin-top: 1.25rem; text-align: center; font-size: 0.9rem; color: #a9979d; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero-content { grid-column: 1 / -1; }
  .hero-visual { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav {
    padding: 0.7rem 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .brand img {
    max-height: 80px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 15, 18, 0.96);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1rem 1rem;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    z-index: 10;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav.open .nav-links {
    display: flex;
  }
  .cta {
    display: none;
    width: 100%;
    margin-top: 0.8rem;
  }
  .nav.open .cta {
    display: inline-flex;
  }
  .section { padding: 80px 1rem; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-logo { opacity: 0; transform: translateY(-12px); animation: drop 0.8s forwards ease-out; animation-delay: 0.3s; }
@keyframes drop { to { opacity: 1; transform: translateY(0); } }
.animate-graphic { opacity: 0; transform: translateY(20px); animation: graphicIn 1s forwards ease-out; animation-delay: 0.5s; }
@keyframes graphicIn { to { opacity: 1; transform: translateY(0); } }
