@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,600&display=swap');
:root{--navy:#061b30;--blue:#146494;--pale:#e8f0f4;--sand:#f2eee7;--line:#d9e0e4;--ink:#10212e;--muted:#687780;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:#f8f9fa}a{color:inherit;text-decoration:none}button{font:inherit}
.site-header{height:82px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e5e9eb}
.brand{display:flex;align-items:center;gap:11px;letter-spacing:.13em}.anchor{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:white}.brand strong{display:block;font-size:14px}.brand small{display:block;font-size:9px;letter-spacing:.28em;margin-top:3px}
nav{display:flex;align-items:center;gap:25px;font-size:14px}.language{display:flex;border:1px solid var(--line);border-radius:999px;padding:3px}.language button{border:0;background:transparent;padding:6px 9px;border-radius:999px;cursor:pointer}.language button.active{background:var(--navy);color:white}.menu-toggle{display:none;border:0;background:none;font-size:25px}
.hero{min-height:690px;background:var(--sand);display:grid;grid-template-columns:1.08fr .92fr;overflow:hidden}.hero-copy{padding:100px 6vw 90px 7vw;display:flex;flex-direction:column;justify-content:center}.eyebrow{font-size:12px;letter-spacing:.22em;font-weight:700;color:var(--blue);margin:0 0 18px}.hero h1{font-size:clamp(54px,6vw,92px);line-height:.96;letter-spacing:-.045em;margin:0}.hero h1 em{font-family:'Playfair Display',serif;color:var(--blue)}.hero-copy>p:not(.eyebrow){font-size:18px;line-height:1.7;color:#52626d;max-width:650px;margin:30px 0}.button{display:inline-flex;align-self:flex-start;background:var(--navy);color:white;padding:14px 22px;border-radius:999px;font-weight:600}.hero-page{background:linear-gradient(145deg,#cfe0e8,#8eb9cb);padding:55px;display:flex;align-items:center;justify-content:center}.hero-page img{max-height:580px;max-width:100%;object-fit:contain;box-shadow:0 25px 65px rgba(0,0,0,.23);background:white}
.category-index{padding:105px 7vw;background:white;display:grid;grid-template-columns:.6fr 1.4fr;gap:70px}.category-index h2,.category h2,.contact h2{font-size:clamp(36px,4vw,60px);line-height:1.08;letter-spacing:-.035em;margin:0}.index-links{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.index-links a{display:grid;grid-template-columns:45px 1fr;gap:13px;align-items:start;padding:17px 10px;border-bottom:1px solid var(--line);transition:.2s}.index-links a:nth-child(odd){border-right:1px solid var(--line)}.index-links a:hover{background:var(--pale)}.index-links span{color:var(--blue);font-size:12px}.index-links b{font-size:15px;line-height:1.35}
.category{padding:110px 7vw;border-top:1px solid var(--line);background:#f8f9fa;scroll-margin-top:82px}.category:nth-of-type(even){background:white}.category-head{display:grid;grid-template-columns:100px minmax(0,900px);gap:28px;margin-bottom:48px}.number{font-size:65px;font-weight:700;color:#d5e2e8;line-height:1}.page-count{color:var(--muted);margin:13px 0 0}
.pages-grid{display:grid;gap:30px;justify-content:center}.pages-grid.single{grid-template-columns:minmax(280px,620px)}.pages-grid.multi{grid-template-columns:repeat(3,minmax(250px,1fr));align-items:start}
.page-card{margin:0;background:white;border:1px solid var(--line);padding:18px;box-shadow:0 12px 35px rgba(10,30,45,.07)}.page-open{width:100%;border:0;background:#eef1f2;padding:0;cursor:zoom-in;display:block}.page-open img{display:block;width:100%;height:auto;object-fit:contain;background:white}.page-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:15px;font-size:13px;color:var(--muted)}.zoom{border:0;background:transparent;color:var(--blue);font-weight:700;cursor:pointer}
.contact{padding:110px 7vw;background:var(--navy);color:white;display:grid;grid-template-columns:1.15fr .85fr;gap:80px}.contact p:not(.eyebrow){max-width:700px;color:#b9cad5;font-size:18px;line-height:1.7}.contact-details{display:flex;flex-direction:column;justify-content:center;gap:14px;font-size:18px}.contact-details a{font-weight:600}.contact-details span{color:#9eb2bf}
footer{padding:28px 7vw;background:#031321;color:#8fa4b1;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:12px}
.lightbox{position:fixed;inset:0;background:rgba(1,11,19,.94);z-index:100;display:none;align-items:center;justify-content:center;padding:25px}.lightbox.open{display:flex}.lightbox-stage{height:94vh;max-width:82vw;display:flex;flex-direction:column;align-items:center}.lightbox img{height:calc(94vh - 40px);max-width:100%;object-fit:contain;background:white}.lightbox-caption{color:white;padding-top:10px}.close,.prev,.next{position:fixed;border:0;background:rgba(255,255,255,.13);color:white;cursor:pointer;z-index:101}.close{right:25px;top:20px;width:48px;height:48px;border-radius:50%;font-size:32px}.prev,.next{top:50%;width:52px;height:72px;font-size:42px}.prev{left:18px}.next{right:18px}
@media(max-width:1050px){.pages-grid.multi{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.menu-toggle{display:block}nav{display:none;position:absolute;top:82px;left:0;right:0;background:white;padding:25px 5vw;flex-direction:column;align-items:flex-start}nav.open{display:flex}.hero{grid-template-columns:1fr}.hero-page{padding:35px}.category-index,.contact{grid-template-columns:1fr}.index-links{grid-template-columns:1fr}.index-links a:nth-child(odd){border-right:0}.pages-grid.multi{grid-template-columns:1fr}.category-head{grid-template-columns:60px 1fr}.number{font-size:42px}.lightbox-stage{max-width:95vw}.prev,.next{top:auto;bottom:18px;height:50px}.prev{left:25%}.next{right:25%}}
@media(max-width:520px){.hero-copy{padding-top:70px}.category,.category-index,.contact{padding-top:75px;padding-bottom:75px}.category-head{grid-template-columns:1fr}.number{font-size:34px}.page-card{padding:10px}}

.brand-image{display:flex;align-items:center}
.brand-image img{height:62px;width:auto;display:block;object-fit:contain}
.footer-logo{height:72px;width:auto;object-fit:contain;border-radius:2px}
@media(max-width:520px){
  .brand-image img{height:54px}
  .footer-logo{height:64px}
}

.hero{min-height:690px;background:var(--sand);display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden}
.hero-collage-wrap{padding:42px 3vw 42px 5vw;display:flex;align-items:center;justify-content:center;background:#f1eee7}
.hero-collage{display:none;width:100%;max-width:1100px;height:auto;border-radius:6px;box-shadow:0 20px 50px rgba(10,30,45,.10);border:8px solid rgba(255,255,255,.85)}
html[lang="es"] .hero-collage-es{display:block}
html[lang="en"] .hero-collage-en{display:block}
.hero-page{display:flex;align-items:center;justify-content:center;padding:40px;background:linear-gradient(145deg,#d9e8f0,#bed8e7)}
.hero-page img{max-height:82%;max-width:78%;width:auto;height:auto;box-shadow:0 22px 55px rgba(8,31,48,.18)}
@media(max-width:820px){
  .hero{grid-template-columns:1fr}
  .hero-collage-wrap{padding:18px}
  .hero-page{padding:26px}
  .hero-page img{max-width:72%;max-height:none}
}

/* Version 7: photo-only hero */
.photo-hero{
  min-height: 720px;
  padding: 28px 3vw;
  background: linear-gradient(135deg,#f2eee7 0%,#eef4f7 100%);
  display:flex;
  align-items:center;
  justify-content:center;
}
.photo-mosaic{
  width:min(1700px,100%);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.photo-mosaic figure{
  margin:0;
  background:white;
  padding:10px;
  border-radius:6px;
  box-shadow:0 16px 40px rgba(10,30,45,.10);
}
.photo-mosaic img{
  display:block;
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:3px;
}

@media(max-width:1100px){
  .photo-mosaic{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:820px){
  .photo-hero{padding:18px;}
  .photo-mosaic{grid-template-columns:repeat(2,1fr);gap:12px;}
  .photo-mosaic figure{padding:7px;}
  .photo-mosaic img{height:190px;}
}
@media(max-width:520px){
  .photo-mosaic{grid-template-columns:1fr;}
  .photo-mosaic img{height:220px;}
}


/* Version 9 updates */
.index-intro h2{max-width:420px}
.contact{padding:110px 7vw;background:var(--navy);color:white;display:grid;grid-template-columns:1fr 1fr;gap:70px}
.contact-copy p:not(.eyebrow){max-width:700px;color:#b9cad5;font-size:18px;line-height:1.7}
.contact-details{display:flex;flex-direction:column;gap:14px;margin-top:24px;font-size:18px}
.contact-details a{font-weight:600}
.contact-details span{color:#9eb2bf}
.contact-form{display:grid;gap:16px;background:rgba(255,255,255,.05);padding:28px;border:1px solid rgba(255,255,255,.12);border-radius:8px}
.contact-form input,.contact-form select,.contact-form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:white;
  padding:15px 14px;
  border-radius:6px;
  outline:none;
}
.contact-form textarea{min-height:140px;resize:vertical}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:#c7d3da}
.contact-form select{color:#e8edf0}
.contact-form option{color:#10212e}
.form-button{
  border:0;
  background:white;
  color:var(--navy);
  padding:14px 24px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  justify-self:start;
}
@media(max-width:820px){
  .contact{grid-template-columns:1fr}
}


/* Version 10: distributor statement, upload field and WhatsApp */
.distributor-copy{
  max-width:430px;
  margin:24px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.7;
}
.file-upload{
  display:grid;
  grid-template-columns:1fr auto;
  gap:5px 15px;
  align-items:center;
  padding:15px;
  border:1px dashed rgba(255,255,255,.30);
  border-radius:6px;
  color:white;
  cursor:pointer;
}
.file-upload span{font-weight:600}
.file-upload small{grid-column:1/2;color:#aebfc9}
.file-upload input{
  grid-column:2/3;
  grid-row:1/3;
  max-width:240px;
  border:0;
  padding:0;
  background:transparent;
}
.file-upload input::file-selector-button{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  margin-right:8px;
  cursor:pointer;
  background:white;
  color:var(--navy);
  font-weight:700;
}
.form-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.whatsapp-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  color:white;
  font-weight:700;
}
.whatsapp-button:hover{background:rgba(255,255,255,.10)}
@media(max-width:520px){
  .file-upload{grid-template-columns:1fr}
  .file-upload input{grid-column:1;grid-row:auto;max-width:100%}
  .file-upload small{grid-column:1}
}


/* Version 11: corrected bilingual contact form and visible WhatsApp CTA */
.contact-form label:not(.file-upload){
  display:grid;
  gap:8px;
  color:#e8eef2;
  font-size:14px;
  font-weight:600;
}
.contact-form label:not(.file-upload) span{
  display:block;
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
}
.whatsapp-main{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:28px;
  padding:14px 22px;
  background:#25D366;
  color:white;
  border-radius:999px;
  font-weight:700;
  box-shadow:0 10px 25px rgba(37,211,102,.25);
}
.whatsapp-main::before{
  content:"☎";
  margin-right:9px;
  font-size:18px;
}
.whatsapp-main:hover{
  filter:brightness(.95);
}


/* Version 12: header title */
.site-header{
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  gap:22px;
}
.brand-image img{
  height:62px;
  width:auto;
  display:block;
  object-fit:contain;
}
.header-title{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.header-title span{
  display:block;
  font-size:28px;
  font-weight:700;
  letter-spacing:.18em;
  color:var(--navy);
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media(max-width:1180px){
  .header-title span{
    font-size:22px;
    letter-spacing:.13em;
  }
}
@media(max-width:920px){
  .site-header{
    grid-template-columns:auto 1fr auto;
  }
  .header-title{
    justify-content:flex-start;
  }
  .header-title span{
    font-size:18px;
    letter-spacing:.08em;
  }
}
@media(max-width:820px){
  .site-header{
    grid-template-columns:auto 1fr auto;
  }
  .header-title{
    display:flex;
    justify-content:center;
  }
  .header-title span{
    font-size:15px;
    letter-spacing:.06em;
    white-space:normal;
    line-height:1.2;
  }
}
@media(max-width:520px){
  .header-title span{
    font-size:12px;
  }
  .brand-image img{
    height:50px;
  }
}


/* Version 13 interaction fixes */
.header-title{pointer-events:none}
.language button,.page-open,.zoom,.close,.prev,.next,.menu-toggle{cursor:pointer}
.category{scroll-margin-top:96px}
#catalogue,#contact{scroll-margin-top:96px}

/* Version 14: expanded introductory product copy */
.distributor-copy{max-width:580px;}
