/*
Theme Name: César Cuadra Abogado
Theme URI: https://cesarcuadra.com.py
Author: César Cuadra
Description: Tema personalizado para la web profesional de César Cuadra, Abogado. Enfoque en Juicios Ejecutivos, Derecho Civil, Contratos, Inmuebles, Sucesiones y Divorcios.
Version: 1.2.0
Text Domain: cesar-cuadra
*/

:root{
  --cc-red:#9d1722;
  --cc-red-dark:#781019;
  --cc-red-light:#ba2431;
  --cc-graphite:#474952;
  --cc-charcoal:#171b20;
  --cc-charcoal-2:#242a30;
  --cc-white:#ffffff;
  --cc-offwhite:#f7f7f6;
  --cc-gray:#d9dadd;
  --cc-muted:#6d7077;
  --cc-serif: Georgia, "Times New Roman", serif;
  --cc-sans: Arial, Helvetica, sans-serif;
  --cc-max: 1480px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:#171717;font-family:var(--cc-sans);line-height:1.55}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
.cc-container{width:min(var(--cc-max),92vw);margin:0 auto}
.cc-site-header{background:#fff;border-bottom:1px solid #ececee;position:relative;z-index:50}
.cc-brand-row{display:flex;justify-content:center;align-items:center;padding:8px 0 0}
.cc-brand-logo{display:block;width:min(300px,64vw);height:108px;object-fit:contain}
.cc-nav-row{border-top:1px solid transparent}
.cc-nav-wrap{display:flex;align-items:center;justify-content:center;gap:22px;padding:2px 0 12px;min-height:52px}
.cc-menu{display:flex;align-items:center;justify-content:center;gap:26px;list-style:none;margin:0;padding:0;flex-wrap:wrap;font-family:var(--cc-serif);font-weight:700}
.cc-menu a{display:block;padding:11px 4px;border-bottom:3px solid transparent}
.cc-menu a:hover,.cc-menu .current-menu-item>a,.cc-menu .current_page_item>a{color:var(--cc-red);border-color:var(--cc-red)}
.cc-menu .menu-item-juicios>a{background:linear-gradient(135deg,var(--cc-red),var(--cc-red-dark));color:#fff;border:0;border-radius:7px;padding:12px 22px;box-shadow:0 8px 22px rgba(122,16,25,.16)}
.cc-whatsapp{margin-left:20px;background:var(--cc-red);color:#fff!important;border-radius:8px;padding:12px 18px;font-family:var(--cc-serif);font-weight:700;white-space:nowrap}
.cc-mobile-toggle{display:none;border:0;background:transparent;color:var(--cc-red);font-size:29px;cursor:pointer}
.cc-hero{background:radial-gradient(circle at 70% 15%,#333b42 0,#22282e 28%,#161a1f 70%);color:#fff;overflow:hidden}
.cc-hero-grid{display:grid;grid-template-columns:1.06fr .94fr;min-height:500px;align-items:stretch}
.cc-hero-copy{padding:48px 34px 46px 0;align-self:center;position:relative;z-index:2}
.cc-eyebrow{display:flex;align-items:center;gap:14px;font-family:var(--cc-serif);font-size:17px;letter-spacing:.13em;text-transform:uppercase}
.cc-eyebrow:before{content:"";width:7px;height:38px;background:var(--cc-red)}
.cc-hero h1{font-family:var(--cc-serif);font-size:clamp(42px,3.4vw,58px);line-height:1.04;margin:18px 0 16px;max-width:720px}
.cc-hero-lead{font-family:var(--cc-serif);font-size:19px;line-height:1.42;max-width:690px;color:#f1f1f1}
.cc-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px}
.cc-btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:52px;padding:13px 22px;border-radius:8px;font-family:var(--cc-serif);font-size:18px;font-weight:700;border:1px solid transparent;cursor:pointer}
.cc-btn-primary{background:linear-gradient(135deg,var(--cc-red-light),var(--cc-red));color:#fff}
.cc-btn-outline{border-color:#fff;color:#fff;background:rgba(0,0,0,.08)}
.cc-hero-photo{position:relative;min-height:500px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:#171b20}
.cc-hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#171b20 0%,rgba(23,27,32,.26) 18%,rgba(23,27,32,0) 42%,rgba(23,27,32,.06) 100%);z-index:1;pointer-events:none}
.cc-hero-photo img{height:500px;width:auto;max-width:92%;object-fit:contain;object-position:center bottom;filter:grayscale(100%) contrast(1.03);position:relative;z-index:0;transform:none}
.cc-stats{background:#fff;border-bottom:1px solid #ececee}
.cc-stats-grid{display:grid;grid-template-columns:1fr 1fr;max-width:900px;margin:auto}
.cc-stat{display:flex;align-items:center;justify-content:center;gap:25px;padding:26px 35px}
.cc-stat:first-child{border-right:1px solid #c8c9cd}
.cc-stat-icon{width:74px;height:74px;color:var(--cc-red);flex:0 0 74px}
.cc-stat strong{display:block;font-family:var(--cc-serif);font-size:42px;line-height:1;color:var(--cc-red)}
.cc-stat span{display:block;font-family:var(--cc-serif);font-size:18px;font-weight:700;line-height:1.2;text-transform:uppercase;letter-spacing:.04em;margin-top:5px}
.cc-section{padding:70px 0}
.cc-section-soft{background:var(--cc-offwhite)}
.cc-heading{font-family:var(--cc-serif);font-size:42px;line-height:1.1;margin:0 0 38px;text-align:center}
.cc-heading:before,.cc-heading:after{content:"";display:inline-block;width:150px;height:1px;background:#97999f;vertical-align:middle;margin:0 24px}
.cc-practice-grid{display:grid;grid-template-columns:repeat(5,1fr)}
.cc-practice{padding:15px 24px;text-align:center;border-right:1px solid #c7c8cb}
.cc-practice:last-child{border-right:0}
.cc-practice svg{width:48px;height:48px;stroke:var(--cc-red);fill:none;stroke-width:1.8}
.cc-practice h3{font-family:var(--cc-serif);font-size:22px;margin:10px 0 8px}
.cc-practice p{font-size:14px;color:#4e5055;margin:0}
.cc-practice:after{content:"";display:block;width:50px;height:3px;background:var(--cc-red);margin:18px auto 0}
.cc-band{background:linear-gradient(120deg,#272d33,#15191d);color:#fff;padding:38px 0}
.cc-band-grid{display:grid;grid-template-columns:1fr 1.2fr auto;align-items:center;gap:35px}
.cc-band h2{font-family:var(--cc-serif);font-size:34px;font-style:italic;margin:0}
.cc-band p{font-family:var(--cc-serif);font-size:19px;margin:0;color:#ececef}
.cc-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cc-card{border:1px solid #e2e3e5;background:#fff;border-radius:14px;padding:28px;box-shadow:0 15px 38px rgba(40,40,45,.07)}
.cc-card h3{font-family:var(--cc-serif);font-size:26px;color:var(--cc-red);margin:0 0 10px}
.cc-card p{color:#4f5157}
.cc-page-hero{background:linear-gradient(120deg,#14181d,#2b3239);color:#fff;padding:65px 0}
.cc-page-hero h1{font-family:var(--cc-serif);font-size:56px;line-height:1;margin:0 0 15px}
.cc-page-hero p{font-family:var(--cc-serif);font-size:22px;max-width:850px;margin:0;color:#e7e7e9}
.cc-kicker{color:var(--cc-red);text-transform:uppercase;font-size:13px;font-weight:800;letter-spacing:.13em}
.cc-page-hero .cc-kicker{color:#f1b1b6}
.cc-two-col{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.cc-prose h2{font-family:var(--cc-serif);font-size:36px;color:var(--cc-red);margin-top:0}
.cc-prose h3{font-family:var(--cc-serif);font-size:25px;color:var(--cc-red)}
.cc-prose p,.cc-prose li{font-size:17px;color:#45474d}
.cc-checks{list-style:none;padding:0;margin:0}
.cc-checks li{position:relative;padding:8px 0 8px 31px}
.cc-checks li:before{content:"✓";position:absolute;left:0;color:var(--cc-red);font-weight:900;font-size:20px}
.cc-profile-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:38px}
.cc-profile-box{background:var(--cc-offwhite);border:1px solid #e0e1e4;border-radius:16px;padding:30px}
.cc-profile-box h2{font-family:var(--cc-serif);font-size:38px;color:var(--cc-red);line-height:1.08;margin:0 0 12px}
.cc-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}
.cc-article-card{border:1px solid #e1e2e4;border-radius:13px;overflow:hidden;background:#fff}
.cc-article-thumb{height:160px;background:linear-gradient(135deg,#1d2227,#343c43);display:flex;align-items:center;justify-content:center}
.cc-article-thumb svg{width:65px;height:65px;stroke:#fff;fill:none;stroke-width:1.5}
.cc-article-body{padding:22px}
.cc-article-body h2,.cc-article-body h3{font-family:var(--cc-serif);color:var(--cc-red);margin:4px 0 10px}
.cc-meta{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--cc-muted)}
.cc-contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:35px}
.cc-contact-box{background:var(--cc-offwhite);border:1px solid #dedfe2;border-radius:16px;padding:30px}
.cc-form-row{margin-bottom:16px}
.cc-form-row label{display:block;font-weight:700;font-size:13px;margin-bottom:6px}
.cc-form-row input,.cc-form-row textarea{width:100%;padding:13px 14px;border:1px solid #cfd0d4;border-radius:7px;font:inherit}
.cc-form-row textarea{min-height:150px;resize:vertical}
.cc-footer{background:#14171b;color:#dcdde0;padding:40px 0 24px;border-top:8px solid var(--cc-red)}
.cc-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.cc-footer h4{font-family:var(--cc-serif);font-size:20px;color:#fff;margin-top:0}
.cc-footer a{color:#fff}
.cc-footer small{display:block;border-top:1px solid #3a3f44;margin-top:28px;padding-top:20px;color:#aeb0b4}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:980px){
  .cc-brand-logo{height:125px;width:min(320px,72vw)}
  .cc-nav-wrap{justify-content:space-between;padding:5px 4vw 12px}
  .cc-mobile-toggle{display:block}
  .cc-menu{display:none;position:absolute;left:0;right:0;top:194px;background:#fff;flex-direction:column;align-items:stretch;padding:16px 5vw;gap:3px;border-top:1px solid #eee;box-shadow:0 15px 30px rgba(0,0,0,.08)}
  .cc-menu.is-open{display:flex}
  .cc-menu li,.cc-menu a{width:100%}
  .cc-menu .menu-item-juicios>a{display:block}
  .cc-whatsapp{margin-left:auto}
  .cc-hero-grid{grid-template-columns:1fr}
  .cc-hero-photo{order:-1;min-height:430px}
  .cc-hero-copy{padding:42px 0}
  .cc-practice-grid{grid-template-columns:repeat(2,1fr)}
  .cc-practice{border-bottom:1px solid #ddd}
  .cc-card-grid,.cc-two-col,.cc-profile-grid,.cc-article-grid,.cc-contact-grid,.cc-footer-grid,.cc-band-grid{grid-template-columns:1fr}
  .cc-heading:before,.cc-heading:after{display:none}
}
@media(max-width:620px){
  .cc-brand-logo{height:112px;width:min(280px,82vw)}
  .cc-menu{top:178px}
  .cc-whatsapp{font-size:0;padding:11px 14px}
  .cc-whatsapp:before{content:"WhatsApp";font-size:15px}
  .cc-hero h1{font-size:44px}
  .cc-hero-lead{font-size:19px}
  .cc-actions .cc-btn{width:100%}
  .cc-stats-grid{grid-template-columns:1fr}
  .cc-stat:first-child{border-right:0;border-bottom:1px solid #d5d6d9}
  .cc-stat strong{font-size:35px}
  .cc-practice-grid{grid-template-columns:1fr}
  .cc-practice{border-right:0}
  .cc-section{padding:52px 0}
  .cc-page-hero h1{font-size:43px}
}

@media(min-width:1200px){
  .cc-hero .cc-container{width:min(1500px,96vw)}
  .cc-hero-copy{padding-left:18px}
  .cc-eyebrow{font-size:16px}
}

.cc-btn svg{width:24px;height:24px;min-width:24px;stroke:currentColor!important;fill:none!important;stroke-width:1.8}
.cc-stat-icon svg{width:74px;height:74px;stroke:var(--cc-red);fill:none;stroke-width:1.8}
.cc-article-thumb img{width:100%;height:100%;object-fit:cover}
@media(min-width:1200px){
  .cc-hero .cc-container{width:min(1360px,92vw)}
  .cc-hero-copy{padding-left:0}
}
@media(max-width:980px){
  .cc-hero-photo img{height:430px;max-width:100%}
}
