/* ===========================================================
   Notaría Primera de Santa Marta — Propuesta de diseño
   =========================================================== */

:root{
  --maroon-900:#3d0c16;
  --maroon-800:#4f1220;
  --maroon-700:#6b1a2b;
  --maroon-600:#8a2438;
  --gold-600:#a8863f;
  --gold-500:#c9a961;
  --gold-300:#e3d3a8;
  --gold-100:#f3ead4;
  --cream-50:#faf7f1;
  --cream-100:#f3ecdf;
  --ink-900:#241014;
  --ink-700:#4a343a;
  --ink-500:#786266;
  --white:#ffffff;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(61,12,22,.08);
  --shadow-md: 0 10px 30px rgba(61,12,22,.14);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink-900);
  background:var(--cream-50);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--serif); margin:0 0 .5em; color:var(--maroon-900); font-weight:700; }
p{ margin:0 0 1em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
section{ padding:96px 0; }
.section-tight{ padding:72px 0; }

.eyebrow{
  display:inline-block;
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold-600);
  margin-bottom:14px;
}
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); }
.section-head p{ color:var(--ink-700); font-size:1.05rem; }

/* ---------- Top bar ---------- */
.topbar{
  background:var(--ink-900);
  color:var(--cream-100);
  font-size:.82rem;
}
.topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:8px;
  padding-bottom:8px;
  flex-wrap:wrap;
  gap:8px;
}
.topbar-info{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar-info span, .topbar-hours{ display:inline-flex; align-items:center; gap:6px; opacity:.9; }
.topbar-info svg, .topbar-hours svg{ width:14px; height:14px; flex:none; }
.topbar-hours{ margin-left:auto; }

/* ---------- Header / Nav ---------- */
header.site{
  background:var(--white);
  border-bottom:1px solid var(--cream-100);
  position:sticky; top:0; z-index:50;
  box-shadow:var(--shadow-sm);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ width:52px; height:52px; object-fit:contain; flex:none; }
.brand-text .name{
  font-family:var(--serif); font-weight:700; font-size:1.05rem; color:var(--maroon-900);
  line-height:1.15;
}
.brand-text .tag{ font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-600); }

nav.main-nav ul{ display:flex; gap:30px; }
nav.main-nav a{
  font-size:.9rem; font-weight:600; color:var(--ink-700);
  padding:6px 2px; border-bottom:2px solid transparent;
  transition:.2s;
}
nav.main-nav a:hover{ color:var(--maroon-800); border-color:var(--gold-500); }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; font-size:.88rem;
  padding:12px 22px; border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer; transition:.2s;
}
.btn-primary{ background:var(--maroon-800); color:var(--white); }
.btn-primary:hover{ background:var(--maroon-700); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.55); }
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-gold{ background:var(--gold-500); color:var(--maroon-900); }
.btn-gold:hover{ background:var(--gold-600); color:var(--white); }

.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--maroon-900); margin:5px 0; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:auto;
  padding:76px 0;
  display:flex; align-items:center;
  background:linear-gradient(180deg, rgba(36,16,20,.72), rgba(61,12,22,.86)), url('../img/hero-firma.jpg') center/cover no-repeat;
  color:var(--white);
}
.hero-inner{ max-width:680px; }
.hero .eyebrow{ color:var(--gold-300); }
.hero h1{
  color:var(--white);
  font-size:clamp(2rem,4.4vw,3rem);
  line-height:1.14;
  margin-bottom:.4em;
}
.hero h1 em{ color:var(--gold-300); font-style:normal; }
.hero p.lead{ font-size:1.1rem; color:var(--cream-100); max-width:560px; margin-bottom:1.8em; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:52px; align-items:center; }

/* ---------- Video preview card + modal ---------- */
.video-banner{
  position:relative;
  aspect-ratio:4/3;
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(36,16,20,.15), rgba(20,8,12,.55)), url('../img/archivo-libros.jpg') center/cover no-repeat;
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  cursor:pointer; color:var(--white); text-align:center;
  width:100%; border:1px solid rgba(255,255,255,.18); padding:0 20px;
  box-shadow:0 20px 50px rgba(0,0,0,.35);
}
.video-banner .play-btn{
  width:64px; height:64px; border-radius:50%;
  background:rgba(255,255,255,.16); border:2px solid rgba(255,255,255,.75);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px; transition:.25s;
  backdrop-filter:blur(2px);
}
.video-banner .play-btn svg{ width:22px; height:22px; margin-left:3px; fill:var(--white); }
.video-banner:hover .play-btn, .video-banner:focus-visible .play-btn{ background:var(--gold-500); border-color:var(--gold-500); transform:scale(1.08); }
.video-banner:hover .play-btn svg, .video-banner:focus-visible .play-btn svg{ fill:var(--maroon-900); }
.video-banner h3{ color:var(--white); font-size:1.05rem; margin-bottom:2px; padding:0 8px; }
.video-banner span.vlabel{ font-size:.74rem; color:var(--cream-100); opacity:.85; letter-spacing:.06em; text-transform:uppercase; }

.video-modal{
  position:fixed; inset:0; background:rgba(15,5,8,0);
  display:flex; align-items:center; justify-content:center; z-index:300; padding:24px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .35s ease, background-color .35s ease, visibility 0s linear .35s;
}
.video-modal.open{
  opacity:1; visibility:visible; pointer-events:auto;
  background:rgba(15,5,8,.9);
  transition:opacity .35s ease, background-color .35s ease, visibility 0s linear 0s;
}
.video-modal-inner{
  position:relative; width:100%; max-width:960px;
  transform:scale(.94); transition:transform .35s ease;
}
.video-modal.open .video-modal-inner{ transform:scale(1); }
.video-modal-inner video{ width:100%; border-radius:8px; display:block; background:#000; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.video-modal-close{
  position:absolute; top:-46px; right:0; background:none; border:0; color:var(--white);
  font-size:2rem; line-height:1; cursor:pointer; padding:6px;
}

/* ---------- Quienes somos / Mision Vision ---------- */
.mv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.mv-card{
  background:var(--white); border:1px solid var(--cream-100);
  border-top:3px solid var(--gold-500);
  border-radius:var(--radius); padding:36px; box-shadow:var(--shadow-sm);
}
.mv-card h3{ font-size:1.2rem; display:flex; align-items:center; gap:10px; }
.mv-card h3 svg{ width:22px; height:22px; color:var(--gold-600); flex:none; }
.mv-card p{ color:var(--ink-700); font-size:.97rem; margin-bottom:0; }

.about-split{
  background:var(--cream-100);
}
.about-split .container{
  display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center;
}
.identity-card{
  background:var(--maroon-900); border-radius:var(--radius); padding:8px;
  box-shadow:var(--shadow-md);
}
.identity-card img{ border-radius:2px; }

/* ---------- Notario ---------- */
.notario{ background:var(--white); }
.notario .container{ display:grid; grid-template-columns:340px 1fr; gap:56px; align-items:start; }
.notario-photo{ position:relative; }
.notario-photo img{
  border-radius:var(--radius); box-shadow:var(--shadow-md);
}
.notario-photo .seal{
  position:absolute; bottom:-18px; right:-18px; width:88px; height:88px;
  background:var(--white); border-radius:50%; padding:6px; box-shadow:var(--shadow-md);
  object-fit:contain;
}
.notario-name{ font-size:clamp(1.6rem,3vw,2.1rem); margin-bottom:0; }
.notario-role{
  color:var(--gold-600); font-weight:700; letter-spacing:.03em;
  margin-bottom:22px; display:block; font-size:.95rem; text-transform:uppercase;
}
.notario-bio p{ color:var(--ink-700); }
.notario-cred{
  display:flex; gap:14px; margin-top:26px; flex-wrap:wrap;
}
.pill{
  background:var(--cream-100); color:var(--maroon-800);
  border:1px solid var(--gold-300);
  font-size:.8rem; font-weight:600; padding:8px 14px; border-radius:30px;
}

/* ---------- Servicios ---------- */
.services{ background:var(--cream-50); }
.svc-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.svc-card{
  background:var(--white); border:1px solid var(--cream-100);
  border-radius:var(--radius); padding:28px 24px;
  transition:.25s; box-shadow:var(--shadow-sm);
}
.svc-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--gold-300); }
.svc-icon{
  width:46px; height:46px; border-radius:10px;
  background:var(--maroon-900); color:var(--gold-300);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.svc-icon svg{ width:22px; height:22px; }
.svc-card h4{ font-size:1.02rem; margin-bottom:8px; color:var(--maroon-900); }
.svc-card p{ font-size:.88rem; color:var(--ink-700); margin-bottom:0; }

/* ---------- Historia ---------- */
.historia{ background:var(--maroon-900); color:var(--cream-100); }
.historia .eyebrow{ color:var(--gold-300); }
.historia .section-head h2{ color:var(--white); }
.historia .section-head p{ color:var(--cream-100); opacity:.85; }
.hist-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.hist-photo{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); }

.hist-slider{ position:relative; aspect-ratio:3/2; background:var(--maroon-800); }
.hist-slider img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .7s ease;
}
.hist-slider img.active{ opacity:1; }
.hist-slider-dots{
  position:absolute; left:0; right:0; bottom:16px;
  display:flex; justify-content:center; gap:8px; z-index:2;
}
.hist-slider-dots .dot{
  width:9px; height:9px; border-radius:50%; border:1.5px solid rgba(255,255,255,.8);
  background:rgba(255,255,255,.25); padding:0; cursor:pointer; transition:.2s;
}
.hist-slider-dots .dot.active{ background:var(--gold-500); border-color:var(--gold-500); }

.hist-slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%; z-index:2;
  background:rgba(20,8,12,.45); border:1px solid rgba(255,255,255,.5);
  color:var(--white); display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:.2s; padding:0;
}
.hist-slider-arrow svg{ width:18px; height:18px; }
.hist-slider-arrow:hover{ background:var(--gold-500); border-color:var(--gold-500); color:var(--maroon-900); }
.hist-slider-arrow.prev{ left:14px; }
.hist-slider-arrow.next{ right:14px; }
.hist-list{ margin-top:8px; }
.hist-item{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.hist-item:last-child{ border-bottom:0; }
.hist-year{
  font-family:var(--serif); font-weight:700; color:var(--gold-300);
  font-size:1.1rem; width:110px; flex:none;
}
.hist-item p{ margin:0; color:var(--cream-100); opacity:.9; font-size:.94rem; }

/* ---------- Contacto ---------- */
.contact{ background:var(--white); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); }
.contact-info{ background:var(--maroon-900); color:var(--white); padding:52px; }
.contact-info h3{ color:var(--white); font-size:1.4rem; }
.contact-info p.lead{ color:var(--cream-100); opacity:.85; margin-bottom:32px; }
.contact-item{ display:flex; gap:14px; margin-bottom:22px; }
.contact-item svg{ width:20px; height:20px; color:var(--gold-300); flex:none; margin-top:2px; }
.contact-item b{ display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--gold-300); margin-bottom:2px; }
.contact-item span{ color:var(--cream-100); font-size:.94rem; }
.map-embed{ min-height:100%; }
.map-embed iframe{ width:100%; height:100%; min-height:420px; border:0; display:block; }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--gold-100);
  text-align:center;
  padding:64px 0;
}
.cta-band h2{ margin-bottom:.3em; }
.cta-band p{ color:var(--ink-700); max-width:520px; margin:0 auto 28px; }

/* ---------- Footer ---------- */
footer.site{ background:var(--ink-900); color:var(--cream-100); padding:56px 0 24px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-brand{ display:flex; gap:12px; align-items:center; margin-bottom:14px; }
.footer-brand img{
  width:44px; height:44px; object-fit:contain; flex:none;
  background:var(--white); border-radius:50%; padding:5px;
}
.footer-brand span{ font-family:var(--serif); font-weight:700; color:var(--white); font-size:1.05rem; }
.footer-col h5{ color:var(--gold-300); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.footer-col ul li{ margin-bottom:10px; font-size:.9rem; opacity:.85; }
.footer-col ul a:hover{ color:var(--gold-300); }
.footer-col ul.contact-list li{ display:flex; align-items:flex-start; gap:9px; }
.footer-col ul.contact-list svg{ width:14px; height:14px; flex:none; margin-top:2px; color:var(--gold-300); opacity:.9; }

.social-icons{ display:flex; gap:10px; margin-top:16px; }
.social-icons a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center; color:var(--cream-100);
  transition:.2s;
}
.social-icons a:hover{ background:var(--gold-500); border-color:var(--gold-500); color:var(--maroon-900); }
.social-icons svg{ width:16px; height:16px; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:.78rem; opacity:.65;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  position:relative;
  padding:150px 0 64px;
  color:var(--white);
  background:linear-gradient(180deg, rgba(36,16,20,.75), rgba(61,12,22,.88)), url('../img/hero-firma.jpg') center 30%/cover no-repeat;
  margin-top:-1px;
}
.page-hero .eyebrow{ color:var(--gold-300); }
.page-hero h1{ color:var(--white); margin-bottom:.25em; font-size:clamp(1.9rem,4vw,2.7rem); }
.page-hero p{ color:var(--cream-100); max-width:560px; margin-bottom:0; }
.breadcrumb{ font-size:.8rem; color:var(--cream-100); opacity:.75; margin-bottom:18px; }
.breadcrumb a:hover{ color:var(--gold-300); }
.breadcrumb .sep{ margin:0 8px; opacity:.5; }

nav.main-nav a.active{ color:var(--maroon-900); border-bottom-color:var(--gold-500); }

/* ---------- Home teasers ---------- */
.teaser-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.teaser-card{
  background:var(--white); border:1px solid var(--cream-100); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm); transition:.25s; display:flex; flex-direction:column;
}
.teaser-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--gold-300); }

/* ---------- News ---------- */
.news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.news-card{
  background:var(--white); border:1px solid var(--cream-100); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm); transition:.25s; display:flex; flex-direction:column;
}
.news-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--gold-300); }
.news-card img{ height:190px; object-fit:cover; width:100%; }
.news-body{ padding:24px; flex:1; display:flex; flex-direction:column; }
.news-date{ font-size:.76rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--gold-600); margin-bottom:8px; }
.news-body h3{ font-size:1.05rem; margin-bottom:10px; }
.news-body p{
  color:var(--ink-700); font-size:.9rem; flex:1; margin-bottom:12px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.news-read-more{ font-weight:700; font-size:.83rem; color:var(--maroon-800); display:inline-flex; align-items:center; gap:6px; margin-top:auto; }
.news-read-more svg{ width:14px; height:14px; transition:.2s; }
.news-card:hover .news-read-more svg{ transform:translateX(3px); }

.back-link{ font-weight:700; font-size:.85rem; color:var(--maroon-800); display:inline-flex; align-items:center; gap:6px; }
.back-link svg{ width:14px; height:14px; }
.back-link:hover{ color:var(--gold-600); }

.article-photo{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); margin-bottom:36px; }
.article-body{ max-width:720px; margin:0 auto; }
.article-body p{ color:var(--ink-700); font-size:1.05rem; margin-bottom:1.3em; }
.article-meta{ max-width:720px; margin:0 auto 32px; }

.ig-embed-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; justify-items:center; }
.ig-embed-grid iframe{ width:100%; border:0; border-radius:var(--radius); }
.ig-embed-grid blockquote.instagram-media{ margin:0 !important; min-width:0 !important; width:100% !important; }

/* ---------- Explore: Propuesta B (bento) ---------- */
.explore-bento{ display:grid; grid-template-columns:1.3fr 1fr; gap:24px; }
.bento-feature{ position:relative; border-radius:12px; overflow:hidden; min-height:440px; box-shadow:var(--shadow-sm); transition:.25s; display:block; }
.bento-feature:hover{ box-shadow:var(--shadow-md); }
.bento-feature img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.bento-feature::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(15,5,8,.05), rgba(15,5,8,.2) 45%, rgba(15,5,8,.92));
}
.bento-feature-body{ position:absolute; left:0; right:0; bottom:0; padding:32px; z-index:2; color:var(--white); }
.bento-feature-body .eyebrow{ color:var(--gold-300); }
.bento-feature-body h3{ color:var(--white); font-size:1.6rem; margin-bottom:8px; }
.bento-feature-body p{ color:var(--cream-100); opacity:.92; margin-bottom:14px; max-width:380px; }
.bento-feature-body .teaser-link{ color:var(--gold-300); }
.bento-side{ display:flex; flex-direction:column; gap:24px; }
.bento-mini{ display:flex; border-radius:12px; overflow:hidden; background:var(--white); border:1px solid var(--cream-100); box-shadow:var(--shadow-sm); transition:.25s; flex:1; }
.bento-mini:hover{ box-shadow:var(--shadow-md); border-color:var(--gold-300); }
.bento-mini img{ width:130px; flex:none; object-fit:cover; }
.bento-mini-body{ padding:20px; display:flex; flex-direction:column; justify-content:center; }
.bento-mini-body h4{ font-size:1.05rem; color:var(--maroon-900); margin-bottom:6px; font-family:var(--serif); }
.bento-mini-body p{ font-size:.85rem; color:var(--ink-700); margin-bottom:0; }
@media (max-width:760px){
  .explore-bento{ grid-template-columns:1fr; }
  .bento-feature{ min-height:280px; }
  .bento-mini{ flex-direction:column; }
  .bento-mini img{ width:100%; height:140px; }
}

/* ---------- Explore: Propuesta C (minimal editorial) ---------- */
.explore-minimal{ background:var(--maroon-900); border-radius:12px; overflow:hidden; }
.explore-min-item{
  display:flex; align-items:center; gap:28px; padding:30px 36px;
  border-bottom:1px solid rgba(255,255,255,.12); transition:.2s; color:var(--white);
}
.explore-min-item:last-child{ border-bottom:0; }
.explore-min-item:hover{ background:rgba(255,255,255,.05); }
.explore-min-num{ font-family:var(--serif); font-size:2.2rem; font-weight:700; color:var(--gold-300); opacity:.85; flex:none; width:64px; }
.explore-min-text{ flex:1; }
.explore-min-text h3{ color:var(--white); font-size:1.2rem; margin-bottom:6px; }
.explore-min-text p{ color:var(--cream-100); opacity:.8; margin:0; font-size:.92rem; }
.explore-min-arrow{ flex:none; width:20px; height:20px; color:var(--gold-300); transition:.2s; }
.explore-min-item:hover .explore-min-arrow{ transform:translateX(4px); }
@media (max-width:760px){
  .explore-min-item{ padding:22px 20px; gap:16px; }
  .explore-min-num{ font-size:1.6rem; width:44px; }
}

/* ---------- Reels carousel (video informativo) ---------- */
:root{ --reel-card-w: 210px; }
.reels-carousel-wrap{ position:relative; }
.reels-carousel{
  display:flex; gap:20px; overflow-x:auto; scroll-behavior:smooth;
  padding:4px 4px 10px; scrollbar-width:none; -ms-overflow-style:none;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.reels-carousel::-webkit-scrollbar{ display:none; }
.reels-arrow{
  position:absolute; top:44%; transform:translateY(-50%); z-index:3;
  width:40px; height:40px; border-radius:50%;
  background:var(--white); border:1px solid var(--cream-100); box-shadow:var(--shadow-sm);
  color:var(--maroon-900); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:.2s;
}
.reels-arrow:hover{ background:var(--gold-500); border-color:var(--gold-500); }
.reels-arrow svg{ width:18px; height:18px; }
.reels-arrow.prev{ left:-8px; }
.reels-arrow.next{ right:-8px; }
@media (max-width:760px){ .reels-arrow{ display:none; } }
.reel-card{
  position:relative; flex:0 0 var(--reel-card-w); aspect-ratio:9/16; border-radius:14px; overflow:hidden;
  background:var(--maroon-900); color:var(--white); box-shadow:var(--shadow-sm); transition:.25s; display:block;
}
.reel-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.reel-cover{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.reel-card::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(15,5,8,.1), rgba(15,5,8,.15) 55%, rgba(15,5,8,.9));
}
.reel-ig-badge{
  position:absolute; top:12px; right:12px; width:26px; height:26px; border-radius:8px; z-index:2;
  background:rgba(255,255,255,.22); backdrop-filter:blur(2px); display:flex; align-items:center; justify-content:center;
}
.reel-ig-badge svg{ width:14px; height:14px; }
.reel-play{
  position:absolute; top:42%; left:50%; transform:translate(-50%,-50%); z-index:2;
  width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.18); border:2px solid rgba(255,255,255,.75);
  display:flex; align-items:center; justify-content:center; transition:.2s; backdrop-filter:blur(2px);
}
.reel-play svg{ width:19px; height:19px; margin-left:3px; fill:var(--white); }
.reel-card:hover .reel-play{ background:var(--gold-500); border-color:var(--gold-500); }
.reel-card:hover .reel-play svg{ fill:var(--maroon-900); }
.reel-caption{ position:absolute; left:0; right:0; bottom:0; padding:16px 14px 14px; z-index:2; }
.reel-caption h4{ font-size:.86rem; margin-bottom:4px; color:var(--white); line-height:1.25; }
.reel-caption p{ font-size:.72rem; color:var(--cream-100); opacity:.9; margin:0; line-height:1.3; }

.teaser-card img{ height:180px; object-fit:cover; width:100%; }
.teaser-body{ padding:26px; flex:1; display:flex; flex-direction:column; }
.teaser-body h3{ font-size:1.1rem; }
.teaser-body p{ color:var(--ink-700); font-size:.92rem; flex:1; }
.teaser-link{ font-weight:700; font-size:.85rem; color:var(--maroon-800); display:inline-flex; align-items:center; gap:6px; margin-top:6px; }
.teaser-link svg{ width:14px; height:14px; transition:.2s; }
.teaser-card:hover .teaser-link svg{ transform:translateX(3px); }

.mini-services{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.mini-svc{ background:var(--white); border:1px solid var(--cream-100); border-radius:var(--radius); padding:22px; text-align:center; }
.mini-svc .svc-icon{ margin:0 auto 14px; }
.mini-svc h4{ font-size:.95rem; margin-bottom:4px; }
.mini-svc p{ font-size:.82rem; color:var(--ink-700); margin-bottom:0; }

/* ---------- Service detail blocks (servicios.html) ---------- */
.service-block{ display:flex; gap:26px; padding:36px 0; border-bottom:1px solid var(--cream-100); }
.service-block:last-child{ border-bottom:0; }
.service-block .svc-icon{ width:56px; height:56px; border-radius:12px; }
.service-block .svc-icon svg{ width:26px; height:26px; }
.service-block h3{ font-size:1.3rem; margin-bottom:8px; }
.service-block > div > p{ color:var(--ink-700); }
.service-block ul{ margin-top:14px; display:grid; grid-template-columns:1fr 1fr; gap:6px 24px; }
.service-block ul li{ position:relative; padding-left:18px; color:var(--ink-700); font-size:.9rem; }
.service-block ul li::before{
  content:""; position:absolute; left:0; top:.6em; width:6px; height:6px; border-radius:50%; background:var(--gold-500);
}

/* ---------- Contact form mock ---------- */
.form-mock{ display:grid; gap:18px; }
.form-mock label{ font-size:.8rem; font-weight:700; color:var(--maroon-900); margin-bottom:6px; display:block; text-transform:uppercase; letter-spacing:.04em; }
.form-mock input, .form-mock textarea, .form-mock select{
  width:100%; padding:13px 14px; border:1px solid var(--cream-100); border-radius:var(--radius);
  font-family:var(--sans); font-size:.94rem; background:var(--cream-50); color:var(--ink-900);
}
.form-mock textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:.78rem; color:var(--ink-500); margin-top:2px; }
.contact-form-card{ background:var(--white); border:1px solid var(--cream-100); border-radius:var(--radius); padding:40px; box-shadow:var(--shadow-sm); }

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; gap:32px; }
  .video-banner{ aspect-ratio:16/9; max-width:480px; margin:0 auto; }
  .about-split .container{ grid-template-columns:1fr; }
  .notario .container{ grid-template-columns:1fr; }
  .notario-photo{ max-width:320px; }
  .svc-grid{ grid-template-columns:repeat(2,1fr); }
  .hist-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  :root{ --reel-card-w: 225px; }
  .teaser-grid{ grid-template-columns:1fr 1fr; }
  .news-grid{ grid-template-columns:1fr 1fr; }
  .ig-embed-grid{ grid-template-columns:1fr 1fr; }
  .mini-services{ grid-template-columns:1fr 1fr; }
  .service-block{ flex-direction:column; }
  .service-block ul{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  section{ padding:64px 0; }
  .topbar-info{ display:none; }
  .topbar-hours{ display:none; }
  .video-banner{ height:220px; }
  nav.main-nav{
    position:fixed; inset:64px 0 0 0; background:var(--white);
    padding:24px; transform:translateX(100%); transition:.3s; overflow:auto;
  }
  nav.main-nav.open{ transform:translateX(0); }
  nav.main-nav ul{ flex-direction:column; gap:4px; }
  nav.main-nav a{ display:block; padding:14px 4px; border-bottom:1px solid var(--cream-100); }
  .nav-actions .btn-primary{ display:none; }
  .nav-toggle{ display:block; }
  .mv-grid{ grid-template-columns:1fr; }
  .svc-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero-stats{ gap:26px; }
  :root{ --reel-card-w: 42vw; }
  .teaser-grid{ grid-template-columns:1fr; }
  .news-grid{ grid-template-columns:1fr; }
  .ig-embed-grid{ grid-template-columns:1fr; }
  .mini-services{ grid-template-columns:1fr 1fr; }
  .page-hero{ padding:130px 0 48px; }
  .contact-form-card{ padding:26px; }
}
