/* =========================
   Variables y configuración
   ========================= */

:root {
  --background: #f5f1ec;
  --surface: #ffffff;
  --text: #17151a;
  --muted: #706b73;
  --dark: #100c0f;
  --dark-red: #2b0b13;
  --border: #e0d8d3;
  --red: #a70f2d;
  --red-light: #d22949;
  --gold: #f3b33d;
  --gold-soft: #fff1c9;
  --blue: #1147a5;
  --blue-dark: #0b327a;
  --green: #21a75a;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(30, 10, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Navegación
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(224, 216, 211, 0.75);
  background: rgba(245, 241, 236, 0.93);
  backdrop-filter: blur(14px);
}

.nav-wrapper {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(36, 7, 15, 0.18);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--red);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

/* =========================
   Botones
   ========================= */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: white;
}

.button-whatsapp {
  background: var(--green);
  color: white;
}

.button-facebook {
  background: var(--blue);
  color: white;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

/* =========================
   Portada
   ========================= */

.hero {
  overflow: hidden;
  padding: 92px 0 104px;
  background:
    radial-gradient(circle at 85% 20%, rgba(243, 179, 61, 0.19), transparent 25%),
    radial-gradient(circle at 12% 10%, rgba(167, 15, 45, 0.11), transparent 28%);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy > p {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-logo {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-logo img {
  position: relative;
  z-index: 2;
  width: min(470px, 92%);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.logo-glow {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(243, 179, 61, 0.40), rgba(167, 15, 45, 0.15) 45%, transparent 70%);
  filter: blur(10px);
}

/* =========================
   Secciones y servicios
   ========================= */

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2,
.contact-simple h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading p,
.contact-simple p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(35, 12, 19, 0.10);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   Paquetes
   ========================= */

.section-dark {
  background:
    radial-gradient(circle at 18% 0%, rgba(167, 15, 45, .25), transparent 28%),
    linear-gradient(145deg, var(--dark-red), var(--dark));
  color: white;
}

.section-heading-light p {
  color: #c4b7ba;
}

.pricing-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
}

.price-card-featured {
  border-color: var(--gold);
  background: rgba(243, 179, 61, .08);
}

.price-label {
  color: #d2c4c6;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 12px 0 0;
  font-size: 1.35rem;
}

.price {
  margin: 18px 0;
  color: white !important;
  font-size: 2rem;
  font-weight: 900;
}

.price-card ul {
  min-height: 150px;
  padding-left: 20px;
  color: #d6cdd0;
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #2b1600;
  font-size: .72rem;
  font-weight: 900;
}

/* =========================
   Galería
   ========================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-item {
   min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  font-weight: 900;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: inset 0 -100px 80px rgba(0, 0, 0, 0.35);



}

.gallery-item span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(6px);
}

.gallery-one {
  grid-column: span 7;
  background-image: url("assets/galeria/tec1.jpg");
}

.gallery-two {
  grid-column: span 5;
background-image: url("assets/galeria/tec2.jpg");
}

.gallery-three {
  grid-column: span 5;
background-image: url(assets/galeria/tec3.jpg);
}

.gallery-four {
  grid-column: span 7;
background-image: url(assets/galeria/tec4.jpg);
}


.gallery-five {
  grid-column: span 4;
}

.gallery-five {

   grid-column: span 5;
background-image: url(assets/galeria/tec5.jpg);

}

.gallery-six {
  grid-column: span 5;
background-image: url(assets/galeria/tec6.jpg);

}

/* =========================
   Contacto
   ========================= */

.contact-section {
  background: var(--surface);
}

.contact-simple {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.contact-buttons {
  display: grid;
  gap: 18px;
}

.social-button {
  min-height: 118px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  color: white;
  transition: transform 180ms ease;
}

.social-button:hover {
  transform: translateY(-4px);
}

.whatsapp-card {
  background: linear-gradient(135deg, #138b48, var(--green));
}

.facebook-card {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.social-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: rgba(255,255,255,.16);
  font-size: 1.8rem;
  font-weight: 900;
}

.social-button strong,
.social-button small {
  display: block;
}

.social-button strong {
  font-size: 1.2rem;
}

.social-button small {
  margin-top: 2px;
  opacity: .85;
}

/* =========================
   Pie
   ========================= */

.site-footer {
  padding: 26px 0;
  background: var(--dark);
  color: #d6cdd0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-brand p {
  margin: 0;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
  .hero-grid,
  .contact-simple {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    min-height: 420px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card ul {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .brand span {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero {
    padding: 62px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .hero-logo {
    min-height: 340px;
  }

  .section {
    padding: 74px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    grid-column: span 12;
    min-height: 220px;
  }

  .footer-content,
  .footer-brand {
    align-items: flex-start;
  }

  .footer-content {
    flex-direction: column;
  }
}
