/*
Theme Name: Sarquís Legal
Theme URI: https://sarquislegales.com/
Author: Estudio Jurídico Sarquís
Description: Tema a medida del Estudio Jurídico Sarquís (Catamarca). Portada rotativa, paleta negro y oro, tipografías Cormorant Garamond e Inter.
Version: 1.2
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: sarquis-legal
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --black:#01192E;--dark:#022B53;--mid:#0C3F6E;
  --gold:#C89B6B;--gold2:#D9B48A;
  --cream:#F2EEE9;--gray:#64707A;--light:#F8F5F0;--white:#ffffff;
}
html{scroll-behavior:smooth}
body{font-family:'Montserrat',sans-serif;background:var(--light);color:var(--dark);}
/* NAV */
nav{position:fixed;top:0;left:0;right:0;z-index:200;display:flex;align-items:center;justify-content:space-between;padding:1.4rem 4rem;transition:background .4s,padding .4s,box-shadow .4s;}
nav.scrolled{background:rgba(17,16,16,.97);padding:.9rem 4rem;box-shadow:0 1px 30px rgba(0,0,0,.4);backdrop-filter:blur(10px);}
.nav-logo{font-family:'Cinzel',serif;font-size:1.25rem;font-weight:600;color:var(--white);letter-spacing:.06em;}
.nav-logo span{color:var(--gold);font-weight:300}
.nav-links{display:flex;gap:2.2rem;list-style:none}
.nav-links a{color:rgba(255,255,255,.75);text-decoration:none;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;transition:color .2s;}
.nav-links a:hover{color:var(--gold)}
/* HERO */
#inicio{height:100vh;min-height:680px;display:grid;grid-template-columns:1fr 1fr;position:relative;overflow:hidden;}
.hero-photo{position:relative;overflow:hidden;}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;filter:brightness(.85) contrast(1.05);}
.hero-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(to right,transparent 60%,var(--dark) 100%);}
.hero-text{background:var(--dark);display:flex;flex-direction:column;justify-content:center;padding:6rem 4rem 4rem 3.5rem;position:relative;}
.hero-text::before{content:'';position:absolute;top:0;bottom:0;left:-1px;width:3px;background:linear-gradient(to bottom,transparent,var(--gold),transparent);}
.hero-eyebrow{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);margin-bottom:1.6rem;}
.hero-title{font-family:'Cinzel',serif;font-size:clamp(2.6rem,4vw,3.8rem);font-weight:300;line-height:1.1;color:var(--white);margin-bottom:.4rem;}
.hero-title strong{font-weight:700;color:var(--gold)}
.hero-sub{font-family:'Cinzel',serif;font-size:1.15rem;font-style:italic;color:rgba(255,255,255,.55);margin-bottom:2.5rem;}
.hero-divider{width:40px;height:1px;background:var(--gold);margin-bottom:2.5rem;opacity:.7;}
.hero-desc{font-size:.9rem;line-height:1.9;color:rgba(255,255,255,.6);max-width:380px;margin-bottom:3rem;}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}
.btn{display:inline-block;padding:.75rem 2rem;text-decoration:none;font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;font-weight:500;transition:all .25s;}
.btn-outline{border:1px solid rgba(201,168,76,.5);color:var(--gold)}
.btn-outline:hover{border-color:var(--gold);background:rgba(184,150,46,.1)}
.btn-solid{background:var(--gold);color:var(--dark)}
.btn-solid:hover{background:var(--gold2)}
/* QUOTE */
#quote-section{background:var(--dark);padding:7rem 4rem;text-align:center;position:relative;overflow:hidden;}
#quote-section::before{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(184,150,46,.06) 0%,transparent 70%);pointer-events:none;}
.quote-mark{font-family:'Cinzel',serif;font-size:8rem;line-height:.5;color:var(--gold);opacity:.2;margin-bottom:1.5rem;}
.quote-text{font-family:'Cinzel',serif;font-size:clamp(1.5rem,3vw,2.2rem);font-weight:300;font-style:italic;color:var(--white);line-height:1.6;max-width:820px;margin:0 auto 2rem;}
.quote-text em{font-style:normal;color:var(--gold);font-weight:600}
.quote-author{font-size:.75rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gray);}
/* SECTION BASE */
.section-wrap{max-width:1100px;margin:0 auto;padding:0 2rem}
.section-tag{font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin-bottom:1rem;display:block;}
.section-title{font-family:'Cinzel',serif;font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:600;color:var(--dark);margin-bottom:1rem;}
.section-title.light{color:var(--white)}
.section-line{width:40px;height:2px;background:var(--gold);margin-bottom:3rem;}
/* SERVICIOS */
#servicios{padding:7rem 4rem;background:var(--white)}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;}
.svc{padding:2.4rem 1.8rem;border:1px solid #e8e4dc;transition:border-color .3s,transform .3s,box-shadow .3s;cursor:default;}
.svc:hover{border-color:var(--gold);transform:translateY(-4px);box-shadow:0 12px 40px rgba(184,150,46,.1);}
.svc-icon{font-size:1.8rem;margin-bottom:1.4rem}
.svc h3{font-family:'Cinzel',serif;font-size:1.25rem;font-weight:600;color:var(--dark);margin-bottom:.7rem;}
.svc p{font-size:.87rem;line-height:1.8;color:var(--gray)}
/* NOSOTROS */
#nosotros{padding:7rem 4rem;background:var(--cream)}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center;}
.about-text p{font-size:.95rem;line-height:1.95;color:#555550;margin-top:1.2rem;}
.about-photos{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:1rem;}
.about-photos img{width:100%;object-fit:cover;filter:saturate(.85);}
.about-photos img:first-child{grid-column:1/-1;height:220px;}
.about-photos img:nth-child(2){height:160px}
.about-photos img:nth-child(3){height:160px}
.values-list{display:flex;flex-direction:column;gap:1rem;margin-top:2rem}
.value-row{display:flex;align-items:center;gap:1rem;padding:.9rem 1.2rem;background:var(--white);border-left:3px solid var(--gold);}
.value-row span{font-size:1.2rem}
.value-row p{font-size:.85rem;color:var(--dark);font-weight:500}
/* TRAYECTORIA */
#trayectoria{padding:7rem 4rem;background:var(--dark)}
.cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.case-card{padding:2.2rem 2rem;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);transition:border-color .3s,background .3s;}
.case-card:hover{border-color:rgba(184,150,46,.4);background:rgba(184,150,46,.04)}
.case-tag{display:inline-block;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--dark);background:var(--gold);padding:.2rem .7rem;margin-bottom:1rem;}
.case-card h3{font-family:'Cinzel',serif;font-size:1.3rem;font-weight:600;color:var(--white);margin-bottom:.7rem;}
.case-card p{font-size:.86rem;line-height:1.8;color:rgba(255,255,255,.55)}
.case-card p strong{color:var(--gold2)}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.08);margin-top:3.5rem;}
.stat{padding:2rem;background:var(--dark);text-align:center;}
.stat-num{font-family:'Cinzel',serif;font-size:2.8rem;font-weight:700;color:var(--gold);line-height:1;}
.stat-label{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gray);margin-top:.4rem}
/* PRENSA */
#prensa{padding:7rem 4rem;background:var(--white)}
.filter-row{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:3rem}
.f-btn{padding:.4rem 1.1rem;border:1px solid #ddd;background:transparent;font-family:'Montserrat',sans-serif;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;transition:all .2s;color:#666;}
.f-btn:hover,.f-btn.active{background:var(--dark);color:var(--white);border-color:var(--dark)}
.media-list{display:flex;flex-direction:column;gap:1px;background:#eee}
.media-item{display:grid;grid-template-columns:80px 1fr;background:var(--white);transition:background .2s;overflow:hidden;}
.media-item:hover{background:#faf9f5}
.media-thumb{width:80px;min-height:80px;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;overflow:hidden;}
.media-thumb img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;}
.media-thumb-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;letter-spacing:.04em;}
.media-body{padding:1.1rem 1.4rem;border-left:1px solid #eee}
.media-meta{display:flex;align-items:center;gap:.8rem;margin-bottom:.4rem;flex-wrap:wrap;}
.media-date{font-size:.72rem;color:var(--gray);letter-spacing:.08em}
.media-pub{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--dark);font-weight:600;}
.media-cat{font-size:.64rem;padding:.15rem .5rem;letter-spacing:.1em;text-transform:uppercase;}
.cat-penal{background:#f0e8d0;color:#7a5a00}
.cat-sindical{background:#dde8f0;color:#1a4a6a}
.cat-logro{background:#d4f0da;color:#0a4a1a}
.media-body h4{font-family:'Cinzel',serif;font-size:1.05rem;font-weight:600;color:var(--dark);margin-bottom:.3rem;line-height:1.35;}
.media-body p{font-size:.82rem;line-height:1.7;color:var(--gray)}
.media-link{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);text-decoration:none;display:inline-block;margin-top:.5rem;font-weight:500;}
.media-link:hover{color:var(--dark)}
/* VIDEOS */
.videos-section{margin-top:4rem}
.videos-section h3{font-family:'Cinzel',serif;font-size:1.8rem;font-weight:600;color:var(--dark);margin-bottom:.5rem;}
.videos-section p{font-size:.88rem;color:var(--gray);margin-bottom:2rem}
.videos-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.video-card{border:1px solid #e8e4dc;overflow:hidden}
.video-embed{position:relative;padding-bottom:56.25%;background:#000}
.video-embed iframe{position:absolute;top:0;left:0;width:100%;height:100%}
.video-info{padding:1rem 1.2rem}
.video-info .cat{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);margin-bottom:.3rem;display:block;}
.video-info h4{font-family:'Cinzel',serif;font-size:1rem;font-weight:600;color:var(--dark);margin-bottom:.3rem;}
.video-info p{font-size:.82rem;color:var(--gray);line-height:1.6}
/* CONTACTO */
#contacto{padding:7rem 4rem;background:var(--dark)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start}
.contact-info h3{font-family:'Cinzel',serif;font-size:1.8rem;color:var(--white);margin-bottom:2rem;font-weight:400;}
.c-item{display:flex;gap:1.2rem;margin-bottom:1.6rem;align-items:flex-start}
.c-icon{color:var(--gold);margin-top:.15rem;flex-shrink:0}
.c-label{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gray);margin-bottom:.2rem}
.c-val{font-size:.93rem;color:rgba(255,255,255,.8)}
.c-val a{color:rgba(255,255,255,.8);text-decoration:none;transition:color .2s}
.c-val a:hover{color:var(--gold)}
.contact-form h3{font-family:'Cinzel',serif;font-size:1.8rem;color:var(--white);margin-bottom:2rem;font-weight:400;}
.fg{margin-bottom:1.1rem}
.fg label{display:block;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gray);margin-bottom:.45rem;}
.fg input,.fg textarea,.fg select{width:100%;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:var(--white);padding:.75rem 1rem;font-family:'Montserrat',sans-serif;font-size:.88rem;outline:none;transition:border-color .2s;}
.fg input:focus,.fg textarea:focus,.fg select:focus{border-color:var(--gold)}
.fg textarea{resize:vertical;min-height:100px}
.fg select option{background:#022B53}
.btn-send{width:100%;padding:.9rem;background:var(--gold);border:none;color:var(--dark);font-family:'Montserrat',sans-serif;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;font-weight:500;cursor:pointer;transition:background .25s;}
.btn-send:hover{background:var(--gold2)}
/* FOOTER */
footer{background:var(--black);padding:2.5rem 4rem;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(255,255,255,.06);}
.footer-logo{font-family:'Cinzel',serif;font-size:1.1rem;color:var(--gold);letter-spacing:.06em;}
footer p{font-size:.78rem;color:var(--gray)}
.oculta{display:none!important}
@media(max-width:900px){
  nav{padding:1rem 1.5rem}nav.scrolled{padding:.8rem 1.5rem}.nav-links{display:none}
  #inicio{grid-template-columns:1fr;height:auto}.hero-photo{height:55vw}
  .hero-text{padding:4rem 1.5rem}
  #servicios,#nosotros,#trayectoria,#prensa,#contacto{padding:5rem 1.5rem}
  .services-grid{grid-template-columns:1fr 1fr}.cases-grid{grid-template-columns:1fr}
  .about-grid,.contact-grid{grid-template-columns:1fr}.stats-row{grid-template-columns:1fr 1fr}
  .videos-grid{grid-template-columns:1fr}
  footer{flex-direction:column;gap:.5rem;text-align:center;padding:2rem 1.5rem}
}
/* --- Portada rotativa (slideshow hero) --- */
.hero-photo .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;filter:brightness(.85) contrast(1.05);opacity:0;transition:opacity 1.6s ease;z-index:1;}
.hero-photo .hero-slide.active{opacity:1;}
.hero-photo::after{z-index:2;}

/* --- Paginas internas de WordPress (fallback) --- */
.wp-page-content h1,.wp-page-content h2,.wp-page-content h3{font-family:'Cinzel',serif;color:var(--dark);margin:1.5rem 0 .6rem;font-weight:600;line-height:1.2}
.wp-page-content h1{font-size:2.4rem}
.wp-page-content h2{font-size:1.7rem}
.wp-page-content h3{font-size:1.25rem}
.wp-page-content p,.wp-page-content li{font-size:.95rem;line-height:1.9;color:#555550;margin:.6rem 0}
.wp-page-content ul{padding-left:1.2rem}
.wp-page-content a{color:var(--gold)}
.wp-page-content blockquote{border-left:3px solid var(--gold);padding-left:1.2rem;font-style:italic;color:#444}
