
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: #f7f3ea;
  color: #222;
}

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

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

header {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at top left, #f5e3d5 0, #b8865d 55%, #3a2b23 100%);
  color: #fff;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.15));
  z-index: 1;
}

.header-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.header-text h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-text h1 span {
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.35em;
}

.header-text p {
  margin-top: 1rem;
  font-size: 1rem;
  max-width: 32rem;
}

.header-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.badge {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
}

.header-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: #f3d7a0;
  color: #3a2414;
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  background: #ffe0a9;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.65);
}

.btn-outline:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.header-portrait-wrapper {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
}

.header-portrait {
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.6);
}

.header-portrait img {
  width: 100%;
  object-fit: cover;
}

.header-portrait-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(0,0,0,.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.header-floating-card {
  position: absolute;
  right: -0.5rem;
  top: 1.5rem;
  background: rgba(247,242,233,.94);
  color: #2b1b14;
  padding: 0.9rem 1.1rem;
  border-radius: 1.1rem;
  max-width: 210px;
  font-size: 0.8rem;
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}

/* NAV */

.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  max-width: 1100px;
  width: 100%;
  background: rgba(40,25,18,.9);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.nav-links a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #f3e5d0;
}

.nav-links a:hover {
  background: rgba(243, 215, 160, 0.12);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.nav-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* SECTIONS */

section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #2e1e16;
}

.section-subtitle {
  color: #6a5747;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-text p + p {
  margin-top: 0.9rem;
}

.about-highlight {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
}

.highlight-card {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #fff8ee;
  border: 1px solid #f0dfc8;
  font-size: 0.85rem;
}

/* VIDEO */

.video-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.3);
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  min-height: 320px;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
  cursor: pointer;
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item::after {
  content: "Ver foto";
  position: absolute;
  inset: auto 0 0 0;
  text-align: center;
  padding: 0.35rem;
  font-size: 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-inner {
  max-width: min(900px, 96vw);
  max-height: 90vh;
  padding: 0.75rem;
}

.lightbox-inner img {
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.7);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* MEMBERS */

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
}

.member-card {
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid #ecd7bd;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.member-photo {
  width: 100%;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #eee;
}

.member-info h4 {
  font-size: 1rem;
  font-weight: 600;
}

.member-info p {
  font-size: 0.82rem;
  color: #6a5747;
}

/* ZAMAR SECTION */

.partner-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  align-items: center;
  border-radius: 1.5rem;
  padding: 1.6rem;
  background: #151515;
  color: #f8f8f8;
}

.partner-logo {
  max-width: 320px;
  margin-inline: auto;
}

.partner-text p {
  font-size: 0.95rem;
  color: #e0e0e0;
}

.partner-actions {
  margin-top: 1rem;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
}

.contact-details {
  font-size: 0.95rem;
  color: #4b392c;
}

.contact-details p + p {
  margin-top: 0.4rem;
}

.contact-details a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

form {
  background: #fff;
  border-radius: 1.3rem;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
  border: 1px solid #f0dfc8;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: #6a5747;
}

input, textarea {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid #d0bca2;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fffdf8;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus, textarea:focus {
  outline: 2px solid #f1d39b;
  border-color: #f1d39b;
}

/* FOOTER */

footer {
  background: #21150f;
  color: #e8d8c5;
  padding: 2rem 1.5rem 1rem;
  font-size: 0.8rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* WhatsApp floating */

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
  z-index: 50;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/* Responsive */

@media (max-width: 900px) {
  .header-inner,
  .about-grid,
  .contact-grid,
  .partner-card {
    grid-template-columns: minmax(0, 1fr);
  }

  header {
    min-height: 0;
    padding-top: 5rem;
  }

  .header-portrait-wrapper {
    order: -1;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  section {
    padding-inline: 1rem;
  }

  .nav-inner {
    padding-inline: 0.9rem;
  }

  .header-floating-card {
    display: none;
  }
}
