/* ===== Base theme ===== */
:root{
  --bg:#EEE7E3;
  --ink:#121417;
  --muted:#5a5f66;
  --border:#d6cfc9;
  --radius:14px;
  --container:1200px;}
*{box-sizing:border-box;}
html,body{
  max-width: 100%;
  overflow-x: hidden; 
}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}

/* layout */
.container{width:min(var(--container),92%);margin-inline:auto;}
.section{padding:80px 0;}
.grid{display:grid;gap:24px;}
.eyebrow{letter-spacing:.18em;text-transform:uppercase;font-size:.8rem;color:var(--muted);}
.headline{font-size:clamp(28px,2.6vw + 8px,44px);line-height:1.08;margin:.4rem 0 .6rem;}
.sub{font-size:1.05rem;color:var(--muted);max-width:62ch;}

/* header */
.hdr{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--border);}
.hdr .bar{display:flex;align-items:center;gap:20px;padding:14px 0;}
.logo{font-weight:800;letter-spacing:.2px;}
.crumb{color:var(--muted);}
.spacer{flex:1;}
.btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:0px;font-weight:700;border:1px solid var(--ink);color:var(--ink);background:transparent;text-decoration:none;transition:background .15s ease,color .15s ease;}
.btn:hover{background:var(--ink);color:#fff;}

/* responsive */
@media(max-width:1100px){.features{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){.features{grid-template-columns:1fr;}}


body{
    margin:0; background:var(--bg); color:var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
  .logo { position: absolute; width: 130px; height: 168px; left: 131px; top: 20px; object-fit: contain; }
/* Header: logo image next to title */
.and-logo img{
  display: block;
  height: 90px; /* 8px top/bottom breathing room */
  width: 250px;                        /* keep aspect ratio */
  object-fit: contain;                /* no cropping */
}

/* layout */
.container{width:min(var(--container),92%); margin-inline:auto}
.section{padding:80px 0}
.grid{display:grid; gap:24px}
.eyebrow{letter-spacing:.18em; text-transform:uppercase; font-size:.8rem; color:var(--muted)}
.headline{font-size:clamp(28px,2.6vw + 8px,44px); line-height:1.08; margin:.4rem 0 .6rem}
.sub{font-size:1.05rem; color:var(--muted); max-width:62ch}

/* header */
.hdr{position:sticky; top:0; z-index:50; background:var(--bg); border-bottom:1px solid var(--border)}
.hdr .bar{display:flex; align-items:center; gap:20px; padding:14px 0}
.logo{font-weight:800; letter-spacing:.2px}
.crumb{color:var(--muted)}
.spacer{flex:1}
.btn{
    display:inline-flex; align-items:center; gap:8px; height:40px;
    padding:0 14px; border-radius:0px; font-weight:700;
    border:1px solid var(--ink); color:var(--ink); background:transparent;
    text-decoration:none; transition:background .15s ease, color .15s ease;
}
.btn:hover{background:var(--ink); color:#fff}

.top-bar { position: fixed; width: 1121px; height: 43px; left: 274px; top: 67px; filter: drop-shadow(0px 4px 4px #000000); z-index: 1000; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; height: 100px; }
.top-bar.hidden { opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.top-bar nav { flex: 1; display: flex; align-items: center; height: 100%; margin-left: 32px; }
.top-bar nav ul { display: flex; gap: 48px; list-style: none; margin: 0; padding: 0; align-items: center; height: 100%; }
nav ul li { font-family: 'Inter', Arial, sans-serif; font-size: 18px; font-weight: 500; color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.2s; height: 100%; display: flex; align-items: center; padding: 0 8px; position: relative; }
nav ul li:hover { color: #007aff; }
.nav-links { position: relative; width: 100%; height: 100%; }
.nav-links ul { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: absolute; top: 73px; height: 31px; font-family: 'Inter', sans-serif; font-style: normal; font-weight: 500; font-size: 18px; line-height: 22px; color: #FFFFFF; text-decoration: none; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; padding-bottom: 4px; transition: border-color 0.3s ease; }
.nav-item:hover { border-bottom: 2px solid #fff; }
.nav-line { position: absolute; left: 1135px; top: 70px; width: 1px; height: 22px; background-color: #FFFFFF; }

/* ===  NAV + MOBILE SHEET + FOOTER (glass header) === */
:root { --nav-h: 56px; }
/* Push content below fixed header */
body { padding-top: var(--nav-h); }
/* Header (glass) */
.and-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: rgba(0,0,0,.30); -webkit-backdrop-filter: saturate(150%) blur(10px); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.15); }
.and-row { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding-right: 0; }
@media (min-width: 768px) {
  .and-row { justify-content: flex-start; }
  .and-divide > * + * { border-left: 1px solid rgba(255,255,255,.20); }
}

/* Logo + name */
.and-logo { display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #fff; text-decoration: none; }
/* Desktop menu */
.and-menu { display: none; }
@media (min-width: 768px) { .and-menu { display: flex; align-items: center; gap: 32px; padding: 0 16px; flex: 1; } }
.and-menu a { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.and-plus { margin-left: 8px; font-size: 18px; line-height: 1; }
/* "We're Hiring" (sm+) */
.and-hire { display: none; color: #fff; text-decoration: none; }
@media (min-width: 640px) { .and-hire { display: flex; align-items: center; padding: 0 16px; } }

/* Black hamburger (iOS-safe) */
.and-hamb { margin-left: auto; width: var(--nav-h); height: var(--nav-h); background: #000; color: #fff; border: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none; }
.and-hamb svg{ width:24px; height:24px; display:block; }

/* Navbar dividers: full-height lines next to Logo|Menu and Hire|Hamburger */
@media (min-width: 768px){
  .and-row{ align-items: stretch; }                 /* children fill bar height */
  .and-divide > *{ display:flex; align-items:center; position:relative; }

  /* turn OFF the old short borders */
  .and-divide > * + *{ border-left: none !important; }

  /* draw full-height lines only before the Menu and Hire blocks */
  .and-divide > .and-menu::before,
  .and-divide > .and-hire::before{
    content:"";
    position:absolute;
    left:0; top:0; bottom:0;                       /* full height of the bar */
    width:1px;
    background: rgba(255,255,255,.35);
  }
}

/* Mobile sheet */
.and-sheet-wrap { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.and-sheet-wrap.open { pointer-events: auto; }
.and-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s ease; }
.and-sheet-wrap.open .and-backdrop { opacity: 1; }
.and-sheet { position: absolute; left: 20px; right: 20px; top: 20px; bottom: 20px; background: #000; color: #fff; border-radius: 0px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.3); transform: translateY(-20px); opacity: 0; transition: transform .3s ease, opacity .3s ease; overflow: hidden; }
.and-sheet-wrap.open .and-sheet{ transform:none; opacity:1; }
/* === Show the menu from the RIGHT on all screens === */
.and-sheet { left: auto !important; right: 12px !important; top: 12px !important; bottom: 12px !important; width: min(92vw, 480px); transform: translateX(110%); transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .25s ease; } /* start off-canvas right */
.and-sheet-wrap.open .and-sheet { transform: translateX(0); opacity: 1; } /* slide in from right */
.and-sheet-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.and-close { width: 40px; height: 40px; background: transparent; color: #fff; border: 0; border-radius: 8px; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none; margin-left: auto;}
.and-close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.and-list { overflow: auto; max-height: calc(100% - var(--nav-h)); }
.and-list a { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: 20px; color: #fff; text-decoration: none; }
.and-list a:hover{ background:rgba(255,255,255,.05); }

/* Footer */
.and-footer{ margin-top:80px; background:#000; color:#fff; }
.and-foot-wrap{ max-width:1200px; margin:0 auto; padding:0 20px; }
.and-foot-logo{ display:flex; flex-direction:column; align-items:center; padding:40px 0 12px; }
.and-foot-logo img{ width:196px; height:196px; object-fit:contain; }
.and-foot-name{ margin-top:8px; font-size:14px; letter-spacing:0.35em; }
.and-foot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }

@media (min-width:768px){ .and-foot-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
.and-foot-grid h5{ font-size:12px; font-weight:700; letter-spacing:.16em; color:rgba(255,255,255,.7); margin:0; }
.and-foot-grid ul{ margin:10px 0 0; padding:0; list-style:none; }
.and-foot-grid li{ margin:8px 0; }
.and-foot-grid a{ color:#fff; opacity:.9; text-decoration:none; }
.and-foot-div{ border-top:1px solid rgba(255,255,255,.1); }
.and-copy{ text-align:center; padding:14px 0; font-size:14px; color:rgba(255,255,255,.7); }
.and-legal{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; padding:0 0 28px; font-size:12px; color:rgba(255,255,255,.6); }
.and-legal a{ color:inherit; text-decoration:none; }
.and-legal a:hover{ color:#fff; }

/* ── Mobile footer clean-up ─────────────────────────────────────────── */
@media (max-width: 900px){
  .site-footer { padding: 28px 16px calc(24px + env(safe-area-inset-bottom)); overflow-x: hidden; } /* tighter vertical rhythm; prevent any stray sideways scroll */
  .footer-container { width: min(640px, 94vw); margin: 0 auto; gap: 24px; align-items: center; text-align: center; } /* keep content centered/narrower; was 40px */
  .footer-logo img { width: 110px; height: auto; } /* smaller logo on phones */
  .footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; width: 100%; text-align: left; } /* compact grid for link columns on mobile; smaller gap */
  .footer-column { min-width: 0; }
  .footer-column h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; color: #bbb; }
  .footer-column ul li { margin: 0 0 6px; }
  .footer-column ul li a, .contact-email { font-size: 14px; white-space: normal; word-break: break-word; } /* allow wrapping; avoid overflow on long addresses */
  .footer-bottom { margin-top: 18px; padding-top: 14px; font-size: 12.5px; }
}

/* --- Mobile arrow tweaks --- */
@media (max-width: 900px){
  /* Move the DOWN arrow to the left on mobile */
  .arrow-btn { right: 5px; bottom: 15%; } /* was right-aligned; keep it comfortably above the edge */
  /* Hide any UP arrows on mobile (hero or mission) */
  .arrow-btn.up, .mission .arrow-btn.up, .mission--glass .arrow-btn.up, .mission-desktop .arrow-btn.up { display: none !important; }
}

/* footer section */
.site-footer { background: #000; color: #fff; padding: 60px 40px 40px; font-family: 'Inter', sans-serif; }
.footer-container { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1200px; margin: 0 auto; gap: 40px; }
.footer-logo img { width: 140px; height: auto; }
.footer-columns { display: flex; justify-content: center; flex-wrap: wrap; text-align: left; gap: 60px; }
.footer-column h4 { font-size: 14px; text-transform: uppercase; margin-bottom: 12px; text-align: left; font-weight: 600; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a, .contact-email { color: #fff; text-decoration: none; font-size: 16px; transition: color 0.3s ease; }
.footer-column ul li a:hover, .contact-email:hover { color: #007aff; }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: #aaa; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* 1) Sticky footer for either footer variant used in this project */
body{
  min-height: 100vh;                         /* fill viewport */
  min-height: 100svh;                        /* better on mobile browser UI */
  min-height: 100dvh;                        /* dynamic viewport on iOS/Android */
  display: flex;
  flex-direction: column;
}

/* Footer should stick to bottom when content is short */
.site-footer { margin-top: auto; }
.container{width:min(var(--container),92%);margin-inline:auto;}
.section{padding:80px 0;}
.grid{display:grid;gap:24px;}
.eyebrow{letter-spacing:.18em;text-transform:uppercase;font-size:.8rem;color:var(--muted);}
.headline{font-size:clamp(28px,2.6vw + 8px,44px);line-height:1.08;margin:.4rem 0 .6rem;}
.sub{font-size:1.05rem;color:var(--muted);max-width:62ch;}


/* Make the mobile sheet a column layout */
.and-sheet{
  display:flex;
  flex-direction:column;
}

/* Top bar: only the close button, aligned right */
.and-sheet-top{
  height: var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:flex-end;   /* was space-between */
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

/* List should take remaining space and scroll */
.and-list{
  flex:1;
  overflow:auto;
  max-height: none;           /* override earlier rule */
}

/* Bottom logo area */
.and-sheet-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px 20px;
  border-top:1px solid rgba(255,255,255,.12);
}
.and-sheet-bottom img{
  max-width: 220px;   /* adjust as you like */
  height:auto;
  opacity:.95;
}


/* === MEDIA grid: bigger, consistent cards === */

.media-grid{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); /* más grande que 240px */
  gap:32px;
  margin-top:32px;
}

/* Card base (todas iguales) */
.media-card{
  display:block;
  background:#fff;
  border:1px solid var(--border);
  overflow:hidden;
  color:inherit;
}

/* Área interna: mismo tamaño para todas */
.media-card-inner{
  position:relative;
  aspect-ratio:4/3;           /* más grande y un poco más rectangular; pon 1/1 si las quieres cuadradas */
  background:#ddd;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Texto "Pronto" */
.media-card-label{
  font-weight:700;
  letter-spacing:.02em;
  color:#444;
}

/* La tarjeta de la galería es clicable */
.media-card--clickable{
  cursor:pointer;
}

/* Hace que la imagen rellene toda la tarjeta */
.media-preview{
  position:relative;
  overflow:hidden;
}

.media-preview-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* “Tap to view” superpuesto */
.media-preview-tag{
  position:absolute;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  padding:4px 10px;
  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:.8rem;
  border-radius:999px;
  text-transform:uppercase;
  letter-spacing:.08em;
  pointer-events:none;     /* no bloquea el click */
}

/* Mini título arriba en la caja de media */
.media-preview-kicker{
  position:absolute;
  left:10px;
  top:10px;
  padding:3px 10px;
  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:.75rem;
  border-radius:999px;
  text-transform:uppercase;
  letter-spacing:.08em;
  pointer-events:none;  /* no tapa el click */
}

/* === Lightbox / visor de imágenes === */

.media-lightbox{
  position:fixed;
  inset:0;
  z-index:120;
  display:none;
  align-items:center;
  justify-content:center;
}

.media-lightbox.open{
  display:flex;
}

.media-lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.7);
}

.media-lightbox-dialog{
  position:relative;
  max-width:min(960px,96vw);
  max-height:min(90vh,96vh);
  padding:16px 40px;
  background:rgba(0,0,0,.85);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:0;
  box-shadow:0 24px 80px rgba(0,0,0,.6);
}

.media-lightbox-img{
  max-width:100%;
  max-height:80vh;
  border-radius:4px;
  object-fit:contain;
}

.media-lightbox-close{
  position:absolute;
  top:8px;
  right:12px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:26px;
  cursor:pointer;
  line-height:1;
}

.media-lightbox-close:hover{
  opacity:.85;
}

.media-lightbox-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:#fff;
  font-size:32px;
  cursor:pointer;
  padding:8px 12px;
  line-height:1;
}

.media-lightbox-arrow--prev{
  left:6px;
}

.media-lightbox-arrow--next{
  right:6px;
}

.media-lightbox-arrow:hover{
  background:rgba(255,255,255,.08);
  border-radius:999px;
}

.media-lightbox-counter{
  position:absolute;
  bottom:10px;
  left:50%;
  transform:translateX(-50%);
  color:#fff;
  font-size:.85rem;
  opacity:.9;
}

/* Ajustes responsive para el visor */
@media(max-width:700px){
  .media-lightbox-dialog{
    padding:10px 10px 28px;
  }
  .media-lightbox-arrow{
    font-size:26px;
  }
  .media-lightbox-close{
    font-size:22px;
  }
}
