:root {
  --blue-deep: #003087;
  --blue-light: #0073e6;
  --gray-dark: #1a1a1a;
  --gray-light: #f5f5f5;
  --white: #ffffff;
  --font-title: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background: var(--white);
}

/* TOPBAR ESTILO DELOITTE */
.topbar-deloitte {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 10%;
  background: white;
  border-bottom: 1px solid #eee;
}

.logo {
  height: 70px;
  width: auto;
}

.topbar-deloitte nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1rem;
}

.topbar-deloitte nav a:hover {
  color: var(--blue-light);
}

/* HERO ESTILO DELOITTE */
.hero-deloitte {
  position: relative;
  height: 520px;
  background: url("imagenes/hero.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content.hero-white {
  position: relative;
  color: white;
  max-width: 650px;
}

.hero-content.hero-white h1 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content.hero-white p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-white {
  display: inline-block;
  padding: 12px 28px;
  background: white;
  color: var(--blue-deep);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

/* SECCIONES GENERALES */
.section {
  padding: 60px 10%;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* SERVICIOS */
.services-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.services-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.service-card {
  min-width: 260px;
  background: white;
  padding: 28px;
  border-radius: 12px;
  margin-right: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.service-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  background-color: #fff;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.slider-btn {
  background: none;
  border: 1px solid var(--gray-dark);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* METODOLOGÍA */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* EQUIPO */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.team-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.foto-perfil {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

/* TESTIMONIOS */
.testimonials {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.testimonial-card .client {
  margin-top: 10px;
  font-weight: 600;
}

/* VALORES */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* CONTACTO */
.contact-form {
  max-width: 600px;
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: var(--font-body);
}

.contact-form textarea {
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: #555;
}

.form-status {
  font-size: 0.9rem;
  margin-top: 4px;
}

/* FOOTER */
.footer {
  background: var(--gray-dark);
  color: var(--white);
  padding: 40px 10% 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.footer-block h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-block a {
  color: var(--white);
  text-decoration: none;
}

.footer-block a:hover {
  text-decoration: underline;
}

.legal h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.legal p {
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-deloitte {
    height: 420px;
    padding: 40px 8%;
  }

  .steps,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topbar-deloitte {
    flex-direction: column;
    gap: 10px;
  }

  .steps,
  .values {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .services-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }
}
