* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
}

.logo {
  font-size: 42px;
  font-weight: bold;
}

.logo span:first-child {
  color: #f5b82e;
}

.nav a {
  color: #fff;
  margin: 0 20px;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
}

.home-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 24px;
  border-radius: 20px;
}
/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
}

/* ===== NAV MOBILE ===== */
.nav-mobile {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.95);
  flex-direction: column;
}

.nav-mobile a {
  padding: 16px 40px;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.nav-mobile.open {
  display: flex;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ================= HERO ================= */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-box {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 420px;
  height: 220px;
  background: #000;
  color: #f5b82e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

/* ================= NOSOTROS ================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 120px 80px;
  align-items: center;
}

.about-left img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.about-right h2 {
  font-size: 64px;
  color: #bdbdbd;
  margin-bottom: 30px;
}

.about-right p {
  font-size: 15px;
  line-height: 1.8;
  color: #222;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about {
    grid-template-columns: 1fr;
    padding: 100px 40px;
  }

  .about-left {
    text-align: center;
  }

  .about-left img {
    max-width: 420px;
  }

  .about-right h2 {
    text-align: center;
  }
}


/* ================= FRASE ================= */
.highlight {
  background: linear-gradient(to right, #f5b82e, #fff, #f5b82e);
  padding: 40px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}

/* ================= CEO ================= */
.ceo {
  background: url("assets/demo/pattern.png");
  padding: 120px 40px;
  text-align: center;
}

.ceo-photo img {
  width: 320px;
}

.ceo h3 {
  margin-top: 30px;
  font-size: 28px;
}

.ceo p {
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.7;
}

/* ================= TEAM ================= */
.team {
  background: url("assets/demo/pattern.png");
  padding: 120px 60px;
}

.team h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.member img {
  width: 100%;
  height: 320px;           /* 🔑 CONTROL DE TAMAÑO */
  object-fit: cover;       /* 🔑 CORTE ELEGANTE */
  filter: grayscale(100%);
  border-radius: 2px;
}

.member span {
  display: block;
  margin-top: 12px;
  font-weight: bold;
}

.member.empty {
  background: #4b515c;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .member img {
    height: auto;          /* 🔑 deja crecer la imagen */
    max-height: 320px;     /* controla tamaño */
    object-fit: contain;   /* 🔑 NO corta */
    background: #eaeaea;   /* relleno elegante */
    padding: 10px;
  }
}

/* ================= CONTACTO ================= */
.contact {
  padding: 120px 80px;
}

.contact-line {
  height: 3px;
  width: 80%;
  background: #4b515c;
  margin: 0 auto 60px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-social img {
  width: 48px;
  margin-left: 20px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .service-block {
    grid-template-columns: 1fr;
  }

  .icons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .icons-grid {
    grid-template-columns: 1fr;
  }

  .service-images {
    flex-direction: column;
  }
}
/* =========================
   VARIABLES
========================= */
:root {
  --gray-dark: #4b515c;
  --gray-medium: #6b6f78;
  --gray-light: #f2f2f2;
  --yellow: #f5b82e;
  --white: #ffffff;
  --black: #000000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
/* =========================
   FOOTER
========================= */
.footer {
  background: var(--gray-dark);
  color: var(--white);
  padding: 80px 0;
}

/* GRID REAL */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

/* COLUMNA */
.footer-col h4 {
  margin-bottom: 20px;
  font-size: 16px;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #e0e0e0;
}

/* SUBSCRIBE */
.footer-subscribe input {
  width: 100%;
  padding: 14px;
  border: none;
  font-size: 14px;
}

/* =========================
   RESPONSIVE FOOTER
========================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-subscribe {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-subscribe {
    grid-column: auto;
  }
}

/* ================= HERO FIX ================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;      /* Desktop */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .hero {
    height: 90vh;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    min-height: 420px;
  }
}


