/* ============================================================
   CBA Hogar San José — main.css
   ============================================================ */

/* ----- Variables ----- */
:root {
  --bg: #FFFFFF;
  --bg-2: #EEF5FB;
  --card: #FFFFFF;
  --ink: #1C2B3A;
  --ink-soft: #4A6174;
  --line: #C4D9ED;
  --accent: #E8640A;
  --accent-deep: #B84D00;
  --sage: #1A6FA8;
  --sand: #E0EFF9;
  --r: 22px;
  --r-lg: 30px;
  --shadow: 0 24px 48px -20px rgba(26,111,168,.22);
  --shadow-sm: 0 8px 24px -10px rgba(26,111,168,.16);
  --ff-serif: 'Lora', Georgia, serif;
  --ff-sans: 'Open Sans', system-ui, sans-serif;
  --max: 1240px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--ff-sans); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--ff-serif); line-height: 1.08; font-weight: 500; color: var(--ink); }
h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
p { color: var(--ink-soft); }
em { font-style: italic; color: var(--accent-deep); }

/* ----- Layout ----- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.section-py { padding: 88px 0; }
.section-py-sm { padding: 64px 0; }
.section-bg { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.badge { display: inline-flex; align-items: center; gap: 9px; background: var(--sand); color: var(--accent-deep); padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.section-label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px; }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px; font-size: 16.5px; font-weight: 700; cursor: pointer; border: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 28px rgba(232,100,10,.3); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(232,100,10,.42); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-white { background: #fff; color: var(--accent-deep); }
.btn-white:hover { box-shadow: 0 8px 20px rgba(51,39,30,.18); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 24px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 58px; width: auto; display: block; }
.logo-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--ff-serif); font-size: 22px; font-weight: 600; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--ff-serif); font-size: 21px; font-weight: 600; }
.logo-text span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15.5px; font-weight: 500; }
.site-nav a { color: var(--ink-soft); transition: color .2s; padding: 4px 0; position: relative; }
.site-nav a:hover, .site-nav a.active { color: var(--accent-deep); }
.site-nav a.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.site-nav .cta { background: var(--accent); color: #fff; padding: 11px 22px; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 18px rgba(232,100,10,.28); }
.site-nav .cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,100,10,.38); color: #fff; }
.site-nav .cta::after { display: none; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.mobile-nav { display: none; flex-direction: column; padding: 24px 40px 28px; border-top: 1px solid var(--line); gap: 4px; }
.mobile-nav a { padding: 12px 0; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .cta-mobile { margin-top: 16px; display: inline-flex; justify-content: center; background: var(--accent); color: #fff; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-align: center; }
.mobile-nav.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero { max-width: var(--max); margin: 0 auto; padding: 64px 40px 48px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-text .stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; align-items: center; }
.hero-text .stat-item { display: flex; flex-direction: column; gap: 2px; }
.hero-text .stat-num { font-family: var(--ff-serif); font-size: 36px; font-weight: 600; color: var(--accent-deep); }
.hero-text .stat-lbl { font-size: 14px; color: var(--ink-soft); }
.hero-text .divider { width: 1px; height: 52px; background: var(--line); }
.hero-text h1 { margin-top: 24px; }
.hero-text .lead { font-size: 19px; color: var(--ink-soft); margin-top: 22px; max-width: 520px; }
.hero-text .btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-visual { position: relative; }
.hero-slider { position: relative; width: 100%; height: 540px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slider .slide.active { opacity: 1; }
.hero-slider img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-slider-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s, transform .3s; padding: 0; }
.hero-slider-dots button.active { background: #fff; transform: scale(1.35); }
.hero-card { position: absolute; left: -28px; bottom: 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 260px; }
.hero-card-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card p { font-size: 14.5px; line-height: 1.4; color: var(--ink); margin: 0; }

/* ============================================================
   MISSION STRIP
   ============================================================ */
.mission-strip { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.mission-strip .quote { font-family: var(--ff-serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; font-weight: 400; }
.mission-strip ul { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.mission-strip li { display: flex; align-items: center; gap: 13px; font-size: 16px; }
.mission-strip li::before { content: '✦'; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .3s, transform .3s; }
.service-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.service-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--sand); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-card h3 { font-size: 22px; font-weight: 600; }
.service-card p { font-size: 15.5px; }

/* ============================================================
   NOSOTROS
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.about-visual-accent { position: absolute; right: -28px; top: -28px; width: 160px; height: 160px; border-radius: var(--r); border: 6px solid var(--bg); box-shadow: var(--shadow-sm); object-fit: cover; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 16px; margin-top: 32px; }
.about-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.about-card h4 { font-family: var(--ff-serif); font-size: 20px; font-weight: 600; color: var(--accent-deep); margin-bottom: 8px; }
.about-card p { font-size: 15px; }
.values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.value-tag { background: var(--sand); color: var(--accent-deep); padding: 8px 17px; border-radius: 999px; font-size: 14px; font-weight: 700; }

/* ============================================================
   GALLERY PREVIEW
   ============================================================ */
.gallery-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.gallery-preview-item { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-preview-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-preview-item:hover img { transform: scale(1.06); }
.gallery-preview-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(51,39,30,.75), transparent); color: #fff; padding: 24px 18px 18px; font-size: 15px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery-preview-item:hover .gallery-preview-caption { opacity: 1; transform: none; }
.gallery-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ============================================================
   FULL GALLERY (galeria.html)
   ============================================================ */
.album { margin-bottom: 64px; }
.album-title { font-size: 28px; font-weight: 600; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.album-grid-item { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; cursor: pointer; position: relative; }
.album-grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-grid-item:hover img { transform: scale(1.07); }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 999; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 12px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 28px; cursor: pointer; padding: 14px 18px; border-radius: 12px; transition: background .2s; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.blog-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.blog-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--ink-soft); }
.blog-card-tag { background: var(--sand); color: var(--accent-deep); padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.blog-card h3 { font-size: 21px; line-height: 1.25; transition: color .2s; }
.blog-card:hover h3 { color: var(--accent-deep); }
.blog-card p { font-size: 15px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .read-more { margin-top: auto; font-size: 14.5px; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 6px; }

/* Blog post */
.post-hero { max-width: 800px; margin: 0 auto; padding: 64px 40px 32px; }
.post-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.post-category { background: var(--sand); color: var(--accent-deep); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.post-date, .post-read { font-size: 14px; color: var(--ink-soft); }
.post-hero h1 { margin-bottom: 20px; }
.post-hero .lead { font-size: 20px; color: var(--ink-soft); }
.post-cover { max-width: 900px; margin: 0 auto 0; padding: 0 40px; }
.post-cover img { width: 100%; border-radius: var(--r-lg); max-height: 500px; object-fit: cover; box-shadow: var(--shadow); }
.post-body { max-width: 760px; margin: 48px auto 80px; padding: 0 40px; }
.post-body h2 { font-size: 28px; margin: 44px 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.post-body h3 { font-size: 22px; margin: 32px 0 14px; color: var(--accent-deep); }
.post-body p { margin-bottom: 22px; font-size: 18px; line-height: 1.75; }
.post-body ul, .post-body ol { margin: 0 0 24px 24px; }
.post-body li { font-size: 17.5px; line-height: 1.7; margin-bottom: 8px; color: var(--ink-soft); }
.post-body li strong { color: var(--ink); }
.post-body blockquote { border-left: 4px solid var(--accent); padding: 18px 24px; background: var(--bg-2); border-radius: 0 var(--r) var(--r) 0; margin: 32px 0; font-family: var(--ff-serif); font-size: 21px; font-style: italic; line-height: 1.5; color: var(--ink); }
.post-body .callout { background: var(--sand); border-radius: var(--r); padding: 24px 28px; margin: 32px 0; }
.post-body .callout strong { color: var(--accent-deep); font-size: 16px; display: block; margin-bottom: 8px; }
.post-cta { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: 48px 56px; text-align: center; margin: 0 40px 80px; max-width: 760px; margin-left: auto; margin-right: auto; }
.post-cta h3 { font-size: 28px; color: #fff; margin-bottom: 14px; }
.post-cta p { color: rgba(255,255,255,.9); margin-bottom: 24px; }

/* ============================================================
   DOCUMENTOS
   ============================================================ */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 44px; }
.doc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .3s, transform .3s; }
.doc-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.doc-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--sand); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; }
.doc-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.doc-card .doc-meta { font-size: 13px; color: var(--ink-soft); }
.doc-card .btn-download { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 700; margin-top: auto; transition: transform .2s, box-shadow .2s; }
.doc-card .btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(232,100,10,.35); }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonio-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 28px; display: flex; flex-direction: column; gap: 18px; }
.testimonio-quote { font-family: var(--ff-serif); font-size: 52px; line-height: .6; color: var(--accent); }
.testimonio-text { font-size: 17px; color: var(--ink); line-height: 1.58; flex: 1; }
.testimonio-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonio-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.testimonio-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.testimonio-role { font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   AYUDAR CTA
   ============================================================ */
.ayudar-box { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: 72px 64px; position: relative; overflow: hidden; }
.ayudar-box::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ayudar-box::after { content: ''; position: absolute; right: 120px; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.ayudar-header { position: relative; max-width: 620px; }
.ayudar-header h2 { color: #fff; margin-top: 12px; }
.ayudar-header p { color: rgba(255,255,255,.9); font-size: 18px; margin-top: 16px; }
.ayudar-ways { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.ayudar-way { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r); padding: 28px 26px; backdrop-filter: blur(4px); }
.ayudar-way h3 { font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.ayudar-way p { font-size: 15.5px; color: rgba(255,255,255,.88); margin: 0; }
.ayudar-box .btn-white { position: relative; margin-top: 36px; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info .intro { font-size: 17.5px; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--sand); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-label { font-weight: 700; color: var(--ink); font-size: 15px; }
.contact-item-value { font-size: 16px; color: var(--ink-soft); }
.contact-item a { color: var(--ink-soft); }
.contact-map { width: 100%; height: 220px; border-radius: var(--r); margin-top: 28px; border: 1px solid var(--line); overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: none; }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 26px; font-weight: 600; margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group label { font-size: 14px; font-weight: 700; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select { border: 1.5px solid var(--line); background: var(--bg-2); border-radius: 14px; padding: 13px 16px; font-size: 16px; color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; background: var(--accent); color: #fff; border: none; padding: 16px; border-radius: 999px; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 26px rgba(232,100,10,.3); transition: transform .2s, box-shadow .2s; margin-top: 4px; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232,100,10,.42); }
.form-legal { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 24px; background: #f0fff4; border: 1px solid #86efac; border-radius: var(--r); margin-top: 16px; color: #166534; font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #E9DECB; }
.footer-top { padding: 64px 0 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: 15px; color: rgba(233,222,203,.7); max-width: 300px; margin-top: 16px; line-height: 1.65; }
.footer-brand .logo-mark { margin-bottom: 14px; }
.footer-brand strong { font-family: var(--ff-serif); font-size: 21px; color: #fff; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(233,222,203,.55); margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 15px; color: rgba(233,222,203,.82); margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(233,222,203,.85); transition: background .2s; margin: 0; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(233,222,203,.14); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: rgba(233,222,203,.5); }

/* ============================================================
   MISIÓN / VISIÓN / OBJETIVO (fila independiente en nosotros)
   ============================================================ */
.mvobj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.mvobj-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.mvobj-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sand); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mvobj-card h4 { font-family: var(--ff-serif); font-size: 22px; font-weight: 600; color: var(--accent-deep); }
.mvobj-card p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }

@media (max-width: 768px) { .mvobj-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HISTORIA INSTITUCIONAL (timeline)
   ============================================================ */
.historia-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.historia-intro p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 18px; }
.historia-hitos { border-left: 3px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; }
.hito { position: relative; padding-bottom: 28px; }
.hito:last-child { padding-bottom: 0; }
.hito::before { content: ''; position: absolute; left: -37px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg-2); }
.hito-year { display: block; font-family: var(--ff-serif); font-size: 21px; font-weight: 600; color: var(--accent-deep); margin-bottom: 4px; }
.hito-text { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ============================================================
   PAGE HERO (internas)
   ============================================================ */
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 64px 0 56px; text-align: center; }
.page-hero .breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }
.page-hero .breadcrumb a { color: var(--accent); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 19px; max-width: 540px; margin: 0 auto; }

/* Footer logo */
.footer-logo { height: 72px; width: auto; display: block; margin-bottom: 16px; }

/* ============================================================
   CONTACT ACTIONS (reemplaza el formulario)
   ============================================================ */
.contact-actions { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--shadow); }
.contact-actions h3 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.contact-actions-intro { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 32px; }
.contact-btns { display: flex; flex-direction: column; gap: 14px; }
.contact-btn { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--r); font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.contact-btn:hover { transform: translateY(-3px); }
.contact-btn-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-btn-text strong { display: block; font-size: 17px; margin-bottom: 3px; }
.contact-btn-text small { display: block; font-size: 13.5px; font-weight: 400; opacity: .88; }
.contact-btn-wa { background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.3); }
.contact-btn-wa:hover { box-shadow: 0 14px 32px rgba(37,211,102,.45); color: #fff; }
.contact-btn-wa .contact-btn-icon { background: rgba(255,255,255,.18); }
.contact-btn-phone { background: var(--sage); color: #fff; box-shadow: 0 8px 24px rgba(26,111,168,.28); }
.contact-btn-phone:hover { box-shadow: 0 14px 32px rgba(26,111,168,.42); color: #fff; }
.contact-btn-phone .contact-btn-icon { background: rgba(255,255,255,.18); }
.contact-btn-email { background: var(--card); color: var(--ink); border: 2px solid var(--line); }
.contact-btn-email:hover { border-color: var(--sage); color: var(--sage); box-shadow: var(--shadow-sm); }
.contact-btn-email .contact-btn-icon { background: var(--sand); color: var(--sage); }
.contact-schedule { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); }

/* ============================================================
   FAB STACK (WhatsApp + Teléfono flotantes)
   ============================================================ */
.fab-stack { position: fixed; bottom: 28px; right: 28px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.wa-fab { width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,.5); transition: transform .2s, box-shadow .2s; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,.6); }
.phone-fab { width: 52px; height: 52px; border-radius: 50%; background: var(--sage); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(26,111,168,.45); transition: transform .2s, box-shadow .2s; }
.phone-fab:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(26,111,168,.58); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero-visual { max-width: 600px; margin: 0 auto; width: 100%; }
  .hero-slider { height: 420px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 560px; }
  .mission-strip { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
}

@media (max-width: 768px) {
  .historia-grid { grid-template-columns: 1fr; gap: 36px; }
  .container { padding: 0 20px; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 40px 20px 36px; }
  .hero-card { display: none; }
  .hero-slider { height: 320px; }
  h1 { font-size: clamp(34px, 8vw, 48px); }
  h2 { font-size: clamp(28px, 6vw, 38px); }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .ayudar-box { padding: 44px 28px; }
  .ayudar-ways { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-strip { padding: 36px 28px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
  .post-hero, .post-cover, .post-body, .post-cta { padding-left: 20px; padding-right: 20px; }
  .about-visual-accent { display: none; }
  .mobile-nav { padding: 20px; }
}

@media (max-width: 480px) {
  .gallery-preview-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 260px; }
  .form-row { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-text .stats { gap: 20px; }
}
