@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');
:root{--rust:#8f2f1b;--gold:#f4b313;--cream:#fbf5e9;--ink:#17352d;--green:#234a35;--line:#e8ddca;--white:#fffdf8;--shadow:0 12px 34px #3a291514}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.6 'DM Sans',Arial,sans-serif}a{color:var(--rust)}.top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px max(4vw,20px);background:var(--white);border-bottom:1px solid var(--line);box-shadow:0 3px 18px #48351a08}.brand{display:flex;gap:13px;align-items:center}.brand-logo{width:58px;height:58px;object-fit:cover;border-radius:3px}.brand strong{display:block;letter-spacing:.02em;font-size:1rem;color:var(--rust);font-weight:800}.brand small{display:block;color:var(--ink);font-size:.78rem}.mark{width:54px;height:54px;display:grid;place-items:center;border-radius:10px;background:var(--rust);color:#fff;font:700 18px Georgia;border:3px solid var(--gold)}.mark span{color:var(--gold)}main{max-width:1080px;margin:auto;padding:0 24px}.hero{display:grid;grid-template-columns:1fr .85fr;gap:26px;align-items:center;padding:28px 0 24px}.hero-copy{padding:38px 12px 34px 18px;align-self:center}.eyebrow{font-weight:800;color:var(--rust);letter-spacing:.15em;font-size:.75rem;margin:0 0 8px}.hero h1,.section-heading h2,.login h1,.privacy-page h1,.gallery h2{font:700 clamp(2.2rem,4.6vw,3.8rem)/1.08 'DM Sans',Arial,sans-serif;margin:.2em 0;color:var(--ink)}.hero h1{max-width:650px}.intro{font-size:1.15rem;max-width:650px}.hero-art{position:relative;height:clamp(240px,30vw,340px);min-height:0;max-height:340px;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);background:#e7d9c2}.hero-art>img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;display:block}.hero-caption{position:absolute;bottom:18px;left:18px;background:#8f2f1be8;color:white;border-radius:12px;padding:12px 18px;font:italic 1.05rem Georgia;box-shadow:var(--shadow)}.hero-caption strong{color:#ffcf45}.form-section{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:clamp(22px,4vw,42px);margin:0 auto 36px;box-shadow:var(--shadow)}.section-heading h2{font-size:2.2rem;color:var(--rust)}.section-heading p{margin:.4em 0}.form{display:grid;gap:16px;max-width:900px}.form label{display:grid;gap:7px;font-weight:700}.form input:not([type=checkbox]),.form textarea,.form select,.filters input,.filters select,.inline-form select{width:100%;border:1px solid #d8cdbb;border-radius:9px;padding:12px 13px;background:#fff;color:var(--ink);font:inherit}.form input:focus,.form textarea:focus,.form select:focus{outline:2px solid #f4b31377;border-color:var(--gold)}.form textarea{resize:vertical}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}fieldset{border:1px solid var(--line);border-radius:12px;padding:16px}legend{font-weight:800;padding:0 6px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form .check{display:flex;align-items:flex-start;gap:9px;font-weight:500}.check input{margin-top:6px;accent-color:var(--rust)}.consent{margin-top:6px}.privacy{font-size:.88rem;color:#716a60}.privacy a{font-weight:700}button,.button-link{background:var(--rust);color:white;border:0;border-radius:999px;padding:13px 22px;font:800 .95rem 'DM Sans',sans-serif;cursor:pointer;text-decoration:none;display:inline-block;width:max-content;max-width:100%}button:hover,.button-link:hover{background:#6e2416}.notice{padding:14px 16px;border-radius:10px;margin:16px 0}.success{background:#e7f2e7;color:#285432}.error{background:#f9e4df;color:#812f20}.gallery{max-width:1080px;margin:0 auto 28px;padding:20px;display:grid;grid-template-columns:1.25fr repeat(3,minmax(0,.8fr));gap:14px;align-items:center;background:#fffdf8;border:1px solid var(--line);border-radius:16px}.gallery h2{font-size:1.8rem;color:var(--rust)}.gallery img{width:100%;height:clamp(110px,13vw,155px);object-fit:cover;object-position:center;border-radius:10px;display:block}.gallery p{margin:.4em 0}footer{background:var(--green);color:white;padding:22px max(5vw,20px);display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}footer img{width:150px;height:62px;object-fit:contain;background:#fffdf8;border-radius:4px}footer a{color:#ffd35a}.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(120deg,#173c2d,#f7eddb)}.login{width:min(100% - 30px,440px);background:#fffdf8;padding:34px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.login-logo{width:86px;height:86px;object-fit:cover;border-radius:8px;margin-bottom:14px}.login h1{font-size:2rem;color:var(--rust)}.login a,.privacy-page a{color:var(--rust)}.admin-main{padding-top:30px;padding-bottom:60px}.admin-welcome{padding:20px 24px;background:linear-gradient(120deg,#fffdf8,#f1e4ca);border-radius:16px;border:1px solid var(--line)}.admin-main h1,.text-editor h2{font:800 2rem 'DM Sans',Arial,sans-serif;color:var(--green);margin:.2em 0}.logout{color:var(--rust);font-weight:700}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:22px 0}.stats div{background:white;border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:0 4px 14px #48351a08}.stats strong{font-size:1.7rem;display:block;color:var(--rust)}.stats span{font-size:.85rem}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.filters input{flex:1;min-width:220px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{text-align:left;padding:12px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#f2eadb;color:var(--green)}.inline-form{display:flex;gap:6px}.inline-form button{padding:8px 10px;font-size:.8rem}.text-editor{margin-top:40px;background:white;border:1px solid var(--line);border-radius:15px;padding:24px}.privacy-page{max-width:760px;padding-top:70px;padding-bottom:70px}.privacy-page h1{font-size:2.8rem}@media(max-width:850px){.hero{grid-template-columns:1fr;gap:18px}.hero-copy{padding:18px 4px}.hero-art{height:clamp(220px,48vw,320px);max-height:320px}.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery>div{grid-column:1/-1}.gallery img{height:150px}.stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.two,.checks{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}main{padding-left:14px;padding-right:14px}.top{padding:12px 14px}.brand strong{font-size:.8rem}.brand-logo{width:48px;height:48px}.hero h1{font-size:2.25rem}.gallery{grid-template-columns:1fr 1fr;padding:14px}.gallery img{height:120px}.gallery h2{font-size:1.55rem}footer{align-items:flex-start;flex-direction:column}.filters .button-link,.filters button{width:100%;text-align:center}}

/* Cabecera con logotipo oficial y llamada a la acciÃ³n */
.top{justify-content:flex-start;min-height:96px;gap:clamp(18px,4vw,52px)}
.brand{flex:0 0 auto;display:flex;align-items:center;text-decoration:none}
.brand-logo{display:block;width:78px;height:78px;object-fit:contain;border-radius:4px}
.top-message{flex:1;text-align:center;color:var(--rust);font-size:clamp(.95rem,2vw,1.3rem);font-weight:700;line-height:1.35;letter-spacing:.015em}
.top-message strong{color:var(--green);font-weight:800}
@media(max-width:600px){.top{min-height:74px;padding:10px 14px;gap:14px}.brand-logo{width:62px;height:62px}.top-message{font-size:.86rem}}

/* Pie institucional de RazÃ³n y Conciencia */
.site-footer{width:100%;display:grid;grid-template-columns:112px minmax(0,1fr) minmax(210px,.7fr);align-items:stretch;gap:24px;margin-top:30px;padding:14px clamp(16px,4vw,48px);background:var(--rust);color:#fffaf0;border-top:5px solid var(--gold);min-height:124px}
.footer-brand{width:100%;height:100%;min-height:92px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:4px;padding:8px}
.footer-brand img{display:block;width:100%;height:100%;max-height:104px;object-fit:contain}
.footer-quote{align-self:center;justify-self:center;max-width:690px;margin:0;text-align:center;font-family:'Playfair Display',Georgia,serif;font-size:clamp(.95rem,1.5vw,1.2rem);font-weight:600;line-height:1.5;color:#fffaf0}
.footer-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:10px;text-align:right;font-size:.86rem}
.footer-right a{color:#fffaf0;text-underline-offset:3px}
@media(max-width:700px){.site-footer{grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px}.footer-brand{min-height:76px}.footer-quote{font-size:.9rem}.footer-right{grid-column:1/-1;align-items:center;text-align:center;border-top:1px solid #ffffff50;padding-top:10px}}

/* GIFs decorativos junto al mensaje de registro y al encabezado del formulario */
.top-message{font-size:clamp(1.9rem,4vw,2.6rem)}
.top-message strong{color:var(--green)}
.heading-with-gif{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:20px}
.heading-copy{min-width:0}
.heading-gif{width:clamp(88px,13vw,150px);height:auto;max-height:135px;object-fit:contain;border-radius:12px;flex:0 0 auto}
.success-with-gif{display:flex;align-items:center;justify-content:center;gap:18px;font-weight:700;font-size:1.08rem;text-align:left}
.bravo-gif{width:clamp(110px,17vw,180px);height:auto;max-height:150px;object-fit:contain;border-radius:12px;flex:0 0 auto}
@media(max-width:600px){
 .top-message{font-size:1.05rem;line-height:1.25}
 .heading-with-gif{gap:10px}
 .heading-gif{width:84px;max-height:90px}
 .success-with-gif{gap:10px;font-size:.98rem}
 .bravo-gif{width:90px;max-height:100px}
}




/* Ajuste del gato junto al t¨ªtulo del formulario */
.heading-with-gif {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.heading-with-gif > div {
  flex: 1;
  min-width: 0;
}

.gif-formulario {
  display: block;
  width: 130px;
  height: 130px;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .heading-with-gif {
    gap: 8px;
  }

  .gif-formulario {
    width: 76px;
    height: 76px;
    max-width: 28%;
  }

  .heading-with-gif h2 {
    font-size: clamp(24px, 7vw, 32px);
    overflow-wrap: break-word;
  }
}

