    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --black: #080808;
      --white: #f0ede8;
      --accent: #929C75;
      --accent2: #e85d3a;
      --gray: #141414;
      --gray2: #2c2c2c;
      --text-muted: #888;
      --font-display: 'Bebas Neue', sans-serif;
      --font-body: 'DM Sans', sans-serif;
      --font-italic: 'Playfair Display', serif;
    }
    html { scroll-behavior: smooth; }
    body { background: var(--black); color: #FAF5F2; font-family: var(--font-body); overflow-x: hidden; }
    
    /* CUSTOM CURSOR */
    .cursor {
      width: 12px; height: 12px;
      background: var(--accent);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
       mix-blend-mode: difference;
          }
    .cursor-ring {
      width: 40px; height: 40px;
     border: 1px solid #B7C78F;
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: all 0.15s ease-out;
    }
    .cursor.hover { width: 24px; height: 24px; }
    .cursor-ring.hover { width: 60px; height: 60px; border-color: var(--accent); }
    
    /* NAV */
    nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 20px 48px; }
    nav::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,8,8,.96) 0%, transparent 100%); pointer-events: none; }
    .nav-logo { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; text-decoration: none; }

    
   
    .nav-logo-img {
  width: auto;
  height: 20px;
  object-fit: contain;
      opacity: 0.7;
}
    
    
    
    .nav-logo-text { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: .15em; color: var(--white); }
    .nav-logo-text span { color: var(--white); }
    .nav-links { display: flex; gap: 36px; list-style: none; position: relative; z-index: 1; }
    .nav-links a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color .3s; }
    .nav-links a:hover { color: var(--accent); }

    /* HERO */
    .hero { height: 100vh; position: relative; display: flex; align-items: flex-end; padding: 0 48px 80px; overflow: hidden; }
    .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; transform: scale(1.05); transition: transform 8s ease-out; }
    .hero-bg.loaded { transform: scale(1); }
    .hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.25) 50%, rgba(8,8,8,.82) 100%); }
    .hero-grain { position: absolute; inset: 0; opacity: .04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); background-size: 200px; }
    .hero-content { position: relative; z-index: 2; max-width: 900px; }
    .hero-eyebrow { font-size: .68rem; letter-spacing: .35em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; opacity: 0; animation: fadeUp .8s .3s forwards; }
    .hero-title { font-family: var(--font-display); font-size: clamp(3rem,8vw,7rem); line-height: 1.1; margin-bottom: 0; color: var(--white); opacity: 0; animation: fadeUp .8s .5s forwards; }
    .hero-title em { font-family: var(--font-italic); font-style: italic; color: var(--accent); font-size: .75em; }
    .hero-sub { margin-top: 22px; font-size: .9rem; color: rgba(240,237,232,.80); max-width: 440px; line-height: 1.75; font-weight: 300; opacity: 0; animation: fadeUp .8s .7s forwards; }
    .hero-cta { margin-top: 36px; opacity: 0; animation: fadeUp .8s .9s forwards; }
    .hero-scroll { position: absolute; bottom: 36px; right: 48px; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: fadeIn 1s 1.2s forwards; }
    .hero-scroll span { font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); writing-mode: vertical-rl; }
    .scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollAnim 2s 1.5s infinite; }
    @keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes scrollAnim { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

    /* BTN */
  .btn-primary {
  display: flex;
    justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  background: var(--accent);
  color: var(--black);
  font-size: .73rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background .3s, gap .3s;
  font-family: var(--font-body);
  border: none;
}
    
    .btn-primary:hover { background: var(--white); gap: 20px; }


    
    .btn-outline { display: inline-flex; align-items: center; gap: 12px; background: transparent; color: var(--white); font-size: .73rem; letter-spacing: .2em; text-transform: uppercase; padding: 15px 30px; text-decoration: none; font-weight: 400; border: 1px solid rgba(240,237,232,.3); transition: border-color .3s, color .3s; font-family: var(--font-body); }
    .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

    /* SECTION */
    section { padding: 120px 48px; }
    .section-label { font-size: .63rem; letter-spacing: .4em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 14px; }
    .section-label::before { content: ''; display: block; width: 36px; height: 1px; background: var(--accent); }
    .section-title { font-family: var(--font-display); font-size: clamp(3rem,7vw,6rem); line-height: .9; margin-bottom: 56px; }

    /* MARQUEE */
    .marquee-section { background: var(--accent); padding: 18px 0; overflow: hidden; }
    .marquee-track { display: flex; animation: marquee 30s linear infinite; white-space: nowrap; }
    .marquee-item { font-family: var(--font-display); font-size: 1rem; letter-spacing: .15em; color: var(--black); padding: 0 36px; display: flex; align-items: center; gap: 36px; }
    .marquee-dot { width: 5px; height: 5px; background: var(--black); border-radius: 50%; display: inline-block; }
    @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ROTADOR */
.rotador-section { background: var(--accent); padding: 18px 24px; text-align: center; }

.rotador {
  display: inline-grid;
  overflow: hidden;
  padding: .08em .1em;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .15em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--black);
}
.rotador span {
  grid-area: 1 / 1;
  transform: translateY(115%);
  opacity: 0;
  transition: transform .75s cubic-bezier(.7, 0, .2, 1), opacity .5s;
}
.rotador span.on   { transform: none; opacity: 1; }
.rotador span.prev { transform: translateY(-115%); opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .rotador span { transition: none; }
}

    /* FEATURED */
    .featured { background: var(--gray); }
    .featured-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; }
    .featured-images { position: relative; overflow: hidden; }
    .featured-main-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease, opacity .3s; }
    .featured-images:hover .featured-main-img { transform: scale(1.04); }
    .featured-badge { position: absolute; top: 36px; left: 36px; background: #0A0909; color: #fff; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; padding: 7px 14px; }


 

.featured-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 0px 0px 80px;
}

.featured-info p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.85;
  font-weight: 300;
  max-width: 100%;
  margin-bottom: 36px;
}

.featured-info .btn-primary {
  width: 100%;
}
    
    
    
    .featured-num { font-family: var(--font-display); font-size: 7rem; color: rgba(146,156,117,.07); line-height: 1; margin-bottom: -16px; }
    .featured-info h2 { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3.8rem); line-height: 1; margin-bottom: 20px; }
    
    .featured-thumbs { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
    .featured-thumb { width: 76px; height: 56px; object-fit: cover; opacity: .45; cursor: pointer; transition: opacity .3s, transform .3s; border: 1px solid transparent; }
    .featured-thumb:hover, .featured-thumb.active { opacity: 1; border-color: var(--accent); transform: translateY(-2px); }

    /* GALLERY */
    .gallery-section { background: var(--black); }
    .gallery-filter { display: flex; margin-bottom: 52px; border-bottom: 1px solid var(--gray2); overflow-x: auto; scrollbar-width: none; }
    .gallery-filter::-webkit-scrollbar { display: none; }
    .filter-btn { background: none; border: none; color: var(--text-muted); font-family: var(--font-body); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; padding: 12px 22px; transition: color .3s; white-space: nowrap; position: relative; }
    .filter-btn::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s; }
    .filter-btn.active { color: var(--white); }
    .filter-btn.active::after { transform: scaleX(1); }
    .filter-btn:hover { color: var(--white); }
    .gallery-masonry { columns: 3; column-gap: 14px; }
    .gallery-item { break-inside: avoid; margin-bottom: 14px; position: relative; overflow: hidden; opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
    .gallery-item.visible { opacity: 1; transform: translateY(0); }
    .gallery-item img { width: 100%; display: block; transition: transform .6s ease; }
    .gallery-item:hover img { transform: scale(1.06); }
    .gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.88) 0%, transparent 55%); opacity: 0; transition: opacity .4s; display: flex; align-items: flex-end; padding: 18px; }
    .gallery-item:hover .gallery-item-overlay { opacity: 1; }
    .gallery-item-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--white); }
    .gallery-item.hidden { display: none; }

    .gallery-load-more {
      display: flex;
      justify-content: center;
      margin-top: 10px;
      margin-bottom: 20px;
    }
    .gallery-load-more button {
      background: transparent;
      border: 1px solid var(--gray2);
      color: var(--white);
      font-family: var(--font-body);
      font-size: .7rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      padding: 15px 32px;
      cursor: pointer;
      transition: all .3s ease;
    }
    .gallery-load-more button:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .gallery-load-more.hidden { display: none; }

    /* Dissuades casual copying of public gallery images. This is not DRM: visible
       images are necessarily delivered to the browser and can still be copied. */
    .gallery-item img,
    .featured-main-img,
    .featured-thumb,
    .cat-item img,
    .lightbox-img {
      -webkit-user-drag: none;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
    }

    /* CATEGORIES */
    .categories { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--gray2); }
    .cat-item { position: relative; overflow: hidden; aspect-ratio: 4/3; }
    .cat-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .5s; filter: brightness(.65) saturate(.75); }
    .cat-item:hover img { transform: scale(1.08); filter: brightness(.88) saturate(1.1); }
    .cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.92) 0%, rgba(8,8,8,.08) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; transition: background .4s; }
    .cat-item:hover .cat-overlay { background: linear-gradient(to top, rgba(8,8,8,.96) 0%, rgba(8,8,8,.18) 70%); }
    .cat-num { font-family: var(--font-display); font-size: .72rem; letter-spacing: .3em; color: var(--accent); margin-bottom: 5px; }
    .cat-name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; letter-spacing: .04em; }
    .cat-count { font-size: .68rem; color: var(--text-muted); margin-top: 5px; letter-spacing: .08em; }
    .cat-line { width: 0; height: 2px; background: var(--accent); margin-top: 10px; transition: width .4s; }
    .cat-item:hover .cat-line { width: 38px; }

    /* ABOUT */
    .about-section { padding: 40px 48px 60px 48px; display: block; }
    .about-visual { position: relative; min-height: 600px; overflow: hidden; }
    .about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(25%); }
   .about-accent-corner { position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.about-accent-corner-tr { position: absolute; top: 20px; left: 20px; width: 30px; height: 30px; border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.about-accent-corner-br { position: absolute; bottom: 20px; right: 20px; width: 30px; height: 30px; border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.about-accent-corner-bl { position: absolute; bottom: 20px; left: 20px; width: 30px; height: 30px; border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent); }
    .about-logo-watermark { position: absolute; bottom: 36px; left: 36px; width: 80px; opacity: .18; filter: brightness(0) invert(1); }
    .about-text { padding: 80px; display: flex; flex-direction: column; justify-content: center; }
    .about-text h2 { font-family: var(--font-display); font-size: clamp(2.8rem,4.5vw,4.5rem); line-height: .92; margin-bottom: 28px; }
    .about-text h2 em { display: block; font-family: var(--font-italic); font-style: italic; color: var(--accent); font-size: .65em; }
    .about-text p { color: var(--text-muted); font-size: .92rem; line-height: 1.9; font-weight: 300; margin-bottom: 18px; }
    

    /* COUNTRIES */
    .countries-row { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--gray2); }
    .countries-label { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
    .countries-grid { display: flex; flex-wrap: wrap; gap: 8px; }
    .country-tag { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--gray2); padding: 6px 14px; transition: border-color .3s, color .3s; }
    .country-tag:hover { border-color: var(--accent); color: var(--white); }

    /* CONTACT */
    .contact-section { background: var(--black); display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
    .contact-left h2 { font-family: var(--font-display); font-size: clamp(3rem,5.5vw,5.5rem); line-height: .9; margin-bottom: 22px; }
    .contact-left h2 em { display: block; font-family: var(--font-italic); font-style: italic; color: var(--accent); font-size: .6em; }
    .contact-left p { color: var(--text-muted); font-size: .9rem; line-height: 1.8; font-weight: 300; margin-bottom: 44px; }
    .social-links { display: flex; flex-direction: column; gap: 10px; }
    .social-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); padding: 15px 18px; border: 1px solid var(--gray2); transition: color .3s; position: relative; overflow: hidden; }
    .social-link::before { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; z-index: 0; }
    .social-link:hover::before { transform: scaleX(1); }
    .social-link:hover { color: var(--black); border-color: var(--accent); }
    .social-link > * { position: relative; z-index: 1; }
    .social-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
    .social-icon svg { width: 19px; height: 19px; fill: currentColor; }
    .social-text { flex: 1; }
    .social-name { font-size: .78rem; letter-spacing: .08em; font-weight: 500; display: block; }
    .social-handle { font-size: .68rem; opacity: .6; }
    .social-arrow { font-size: 1.1rem; opacity: .4; }
    /* FORM */
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
    .form-group input, .form-group textarea, .form-group select { width: 100%; background: var(--gray); border: 1px solid var(--gray2); color: var(--white); font-family: var(--font-body); font-size: .88rem; padding: 13px 16px; outline: none; transition: border-color .3s; appearance: none; }
    .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
    .form-group textarea { height: 110px; resize: vertical; }
    .form-group select option { background: var(--gray); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-submit { width: 100%; background: var(--accent); color: var(--black); border: none; font-family: var(--font-body); font-size: .73rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; padding: 17px; transition: background .3s; margin-top: 6px; }
    .form-submit:hover { background: var(--white); }
    .form-note { font-size: .68rem; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }

    /* LIGHTBOX */
    .lightbox { position: fixed; inset: 0; background: rgba(8,8,8,.97); z-index: 600; display: none; align-items: center; justify-content: center; }
    .lightbox.active { display: flex; }
    .lightbox-inner { position: relative; max-width: 92vw; max-height: 92vh; }
    .lightbox-img { max-width: 90vw; max-height: 86vh; object-fit: contain; display: block; }
    .lightbox-close { position: absolute; top: -46px; right: 0; background: none; border: none; color: var(--white); font-size: 1.4rem; opacity: .55; transition: opacity .3s; }
    .lightbox-close:hover { opacity: 1; }
    .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(146,156,117,.12); border: 1px solid rgba(146,156,117,.28); color: var(--white); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; transition: background .3s; font-size: 1.2rem; }
    .lightbox-nav:hover { background: rgba(146,156,117,.32); }
    .lightbox-prev { right: calc(100% + 14px); }
    .lightbox-next { left: calc(100% + 14px); }
    .lightbox-caption { position: absolute; bottom: -36px; left: 0; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
    .lightbox-counter { position: absolute; bottom: -36px; right: 0; font-size: .68rem; color: var(--text-muted); }

    /* FOOTER */
    footer { background: var(--gray); padding: 36px 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--gray2); }
    .footer-brand { display: flex; align-items: center; gap: 12px; }
    .footer-logo-img { width: 32px; height: 32px; object-fit: contain; }
    .footer-logo-text { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .1em; }
    .footer-logo-text span { color: var(--accent); }
    .footer-copy { font-size: .68rem; color: var(--text-muted); letter-spacing: .08em; }
    .footer-links { display: flex; gap: 22px; list-style: none; }
    .footer-links a { font-size: .63rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color .3s; }
    .footer-links a:hover { color: var(--accent); }

    /* MOBILE */
    @media (max-width: 900px) {
      nav { padding: 18px 24px; }
      .nav-links { display: none; }
      section { padding: 72px 24px; }
      .hero { padding: 0 24px 56px; }
      .hero-scroll { right: 24px; }
      .featured-inner { grid-template-columns: 1fr; }

      .gallery-masonry { columns: 2; }
      .categories { grid-template-columns: 1fr 1fr; }
      .about-section { padding: 72px 24px; }
      .about-visual { min-height: 280px; }
      .about-text { padding: 36px 24px; }
      .contact-section { grid-template-columns: 1fr; gap: 52px; padding: 72px 24px; }
      footer { flex-direction: column; gap: 18px; text-align: center; }
      .footer-links { flex-wrap: wrap; justify-content: center; }
      body { cursor: auto; }
      .cursor, .cursor-ring { display: none; }
      .lightbox-prev, .lightbox-next { display: none; }
    }
    @media (max-width: 540px) {
      .gallery-masonry { columns: 1; }
      .categories { grid-template-columns: 1fr; }
    }

@media (forced-colors: active) {
  :root {
    --accent: #929C75;
  }
  .cursor { background: #929C75 !important; forced-color-adjust: none; }
  .cursor-ring { border-color: #B7C78F !important; forced-color-adjust: none; }
  .nav-links a:hover, .footer-links a:hover { color: #929C75 !important; forced-color-adjust: none; }
  .cat-line, .section-label::before, .scroll-line { background: #929C75 !important; forced-color-adjust: none; }
}

    .fab {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(146,156,117,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(146,156,117,0.6);
}
.fab svg {
  width: 24px;
  height: 24px;
  fill: var(--black);
}

.cat-modal { position: fixed; inset: 0; background: rgba(8,8,8,.97); z-index: 500; display: none; flex-direction: column; padding: 60px 48px; overflow-y: auto; }
.cat-modal.active { display: flex; }
.cat-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.cat-modal-title { font-family: var(--font-display); font-size: 3rem; letter-spacing: .05em; }
.cat-modal-close { background: none; border: none; color: var(--white); font-size: 1.8rem; opacity: .6; transition: opacity .3s; }
.cat-modal-close:hover { opacity: 1; }
.cat-modal-grid { columns: 3; column-gap: 14px; }
.cat-modal-grid .gallery-item { opacity: 1; transform: none; }
@media (max-width: 900px) { .cat-modal { padding: 40px 24px; } .cat-modal-grid { columns: 2; } }

.contact-modal { position: fixed; inset: 0; background: rgba(8,8,8,.97); z-index: 400; display: none; flex-direction: column; padding: 60px 48px; overflow-y: auto; }
.contact-modal.active { display: flex; }
.contact-modal-header { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 40px; }
.contact-modal-close { background: none; border: none; color: var(--white); font-size: 1.8rem; opacity: .6; transition: opacity .3s; }
.contact-modal-close:hover { opacity: 1; }


    
    .gallery-section {
  padding-bottom: 24px;
}

#sobre-mi {
  padding-top: 24px !important;
}

#sobre-mi > div {
  margin-top: 0 !important;
}


    footer {
  position: relative;
}

.footer-copy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .footer-copy {
    position: static;
    transform: none;
  }
}

.featured {
  padding-left: 48px;
  padding-right: 48px;
}

@media (max-width: 900px) {
  .featured {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 900px) {
  .featured-info {
    padding: 72px 24px;
    max-width: 100%;
  }
}



@media (max-width: 900px) {
  .hero-sub {
    max-width: 70%;
  }
}


    @media (max-width: 900px) {
  .hero-cta {
    max-width: 70%;
  }
}


  .hero-logo {
  width: 150px;
  height: auto;
  display: inline-block;
  margin-top: 0;
  margin-bottom: -15px;
}

    @media (min-width: 769px) {
  .hero-logo {
    margin-bottom: -50px;
    width: 320px;
  }
}


    .footer-logo-img {
  width: 60px;
  height: auto;
}


@media (min-width: 769px) {
  .hero-title em {
    font-size: 0.5em;
  }
}
    

.videos-section {
  margin-top: 0px;
}

.videos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: -15px;
}

.video-item {
  width: 100%;
  max-width: 600px;  /* Limita el ancho en desktop */
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  overflow: hidden;
  line-height: 0;
  aspect-ratio: 9 / 16;  /* Mantiene proporción en todos los tamaños */
}

.video-item iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* En móvil, ocupa más ancho */
@media (max-width: 600px) {
  .video-item {
    max-width: 100%;
  }
}
