/*
Theme Name: Sosa Legal - Compa Crash
Theme URI: https://example.com/
Author: ADN 360
Description: Tema WordPress para firma legal de lesiones personales. Compatible con Elementor, editor de bloques y secciones independientes.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sosa-compa-crash
*/
:root{--scc-navy:#061d43;--scc-navy-2:#092c63;--scc-blue:#075de4;--scc-red:#fa1728;--scc-white:#fff;--scc-ink:#10264c;--scc-light:#eef3fa;--scc-muted:#60708a;--scc-radius:14px;--scc-container:1200px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--scc-ink);line-height:1.6;background:#fff}
a{color:inherit}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.container{width:min(var(--scc-container),calc(100% - 40px));margin-inline:auto}
.site-header{position:relative;z-index:20;background:var(--scc-navy);color:#fff;border-bottom:1px solid rgba(255,255,255,.13)}
.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-branding{display:flex;align-items:center;gap:18px;min-width:210px}
.site-branding img{max-height:72px;width:auto}
.site-title{font-size:1.15rem;font-weight:900;line-height:1.15;text-decoration:none;color:#fff}
.site-description{display:block;font-size:.75rem;color:#c8d7ee}
.primary-nav ul{display:flex;align-items:center;gap:26px;list-style:none;padding:0;margin:0}
.primary-nav a{font-size:.92rem;font-weight:700;text-decoration:none;color:#fff}
.primary-nav a:hover,.primary-nav .current-menu-item>a{color:#ff4a52}
.header-cta,.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:9px;background:var(--scc-red);color:#fff;padding:13px 20px;text-decoration:none;font-weight:800;cursor:pointer}
.header-cta:hover,.button:hover,.wp-block-button__link:hover{background:#d70d1b;color:#fff}
.menu-toggle{display:none;background:transparent;border:1px solid #ffffff55;color:#fff;border-radius:8px;padding:9px 12px}
.site-main{min-height:50vh}
.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(105deg,rgba(3,20,49,.98) 0%,rgba(4,34,77,.92) 47%,rgba(3,31,70,.4) 100%),var(--hero-image,linear-gradient(135deg,#082451,#075de4));background-size:cover;background-position:center;padding:76px 0 66px}
.hero:after{content:"";position:absolute;right:-100px;top:-100px;width:40%;height:150%;transform:skewX(-25deg);border-left:22px solid #075de4;border-right:12px solid var(--scc-red);opacity:.55;pointer-events:none}
.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:46px;align-items:center}
.eyebrow{color:#ff5a61;font-size:.8rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.hero h1{font-size:clamp(2.6rem,5vw,5rem);line-height:.98;letter-spacing:-.04em;text-transform:uppercase;margin:12px 0 18px;font-weight:950}
.hero h1 span{color:var(--scc-red)}
.hero-lead{font-size:clamp(1.1rem,2vw,1.5rem);font-weight:800;margin:0 0 22px}
.hero-note{font-weight:700;border-bottom:3px solid var(--scc-red);display:inline-block;padding-bottom:8px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.button-outline{border:1px solid #fff;background:transparent}
.hero-portrait{min-height:340px;border-radius:var(--scc-radius);background:linear-gradient(135deg,#153d77,#071c3d);display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-portrait img{width:100%;height:100%;object-fit:cover}
.section{padding:76px 0}
.section-light{background:var(--scc-light)}
.section-dark{background:var(--scc-navy);color:#fff}
.section-heading{max-width:760px;margin-bottom:32px}
.section-heading h2{font-size:clamp(2rem,3.6vw,3rem);line-height:1.08;margin:8px 0 14px;font-weight:900;text-transform:uppercase}
.section-heading p{margin:0;color:var(--scc-muted)}
.section-dark .section-heading p{color:#d5e0f2}
.practice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.practice-card{background:#fff;border:1px solid #dce5f2;border-radius:var(--scc-radius);padding:25px 20px;text-align:center;box-shadow:0 8px 28px #061d430d}
.practice-icon{width:64px;height:64px;margin:0 auto 15px;display:grid;place-items:center;border-radius:50%;background:var(--scc-navy);color:#fff;font-size:1.7rem;font-weight:900}
.practice-card h3{font-size:1.05rem;line-height:1.25;margin:0 0 8px}
.practice-card p{font-size:.92rem;color:var(--scc-muted);margin:0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.split-media{min-height:330px;border-radius:var(--scc-radius);background:linear-gradient(135deg,#dbe6f4,#7f9fc8);overflow:hidden}
.split-media img{width:100%;height:100%;min-height:330px;object-fit:cover}
.check-list{list-style:none;padding:0;margin:20px 0}
.check-list li{margin:12px 0;padding-left:30px;position:relative}
.check-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--scc-red);font-weight:900}
.consult-band{background:linear-gradient(110deg,var(--scc-red),#bd1023);color:#fff;padding:30px;border-radius:var(--scc-radius);display:flex;justify-content:space-between;align-items:center;gap:24px}
.consult-band h2{margin:0;font-size:clamp(1.5rem,3vw,2.3rem);line-height:1.15}
.consult-band p{margin:6px 0 0}
.consult-band .button{background:var(--scc-navy)}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.testimonial{padding:24px;border:1px solid #ffffff35;border-radius:12px;background:#ffffff08}
.testimonial blockquote{margin:0 0 16px;font-size:1rem}
.testimonial strong{color:#ff4b56}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.contact-panel{padding:28px;border-radius:var(--scc-radius);background:#fff;color:var(--scc-ink)}
.contact-panel h2{margin-top:0}
.contact-list{list-style:none;padding:0}
.contact-list li{margin:12px 0}
.site-footer{background:#03132d;color:#fff;padding:34px 0 20px}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:24px}
.footer-nav ul{display:flex;flex-wrap:wrap;gap:18px;list-style:none;padding:0;margin:0}
.footer-nav a{color:#dce7f8;text-decoration:none}
.footer-bottom{border-top:1px solid #ffffff25;padding-top:18px;color:#bdcbe0;font-size:.85rem}
.page-header{background:var(--scc-navy);color:#fff;padding:54px 0}
.page-header h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.1;margin:0}
.entry-content{max-width:900px;margin:0 auto;padding:50px 20px}
.entry-content h2,.entry-content h3{line-height:1.2}
.elementor-page .entry-content{max-width:none;padding:0}
.elementor-section{scroll-margin-top:90px}
.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:1000px){.header-inner{flex-wrap:wrap;padding:14px 0}.menu-toggle{display:block}.primary-nav{display:none;width:100%}.primary-nav.is-open{display:block}.primary-nav ul{flex-direction:column;align-items:flex-start;gap:0}.primary-nav li{width:100%;padding:10px 0;border-top:1px solid #ffffff20}.header-cta{margin-left:auto}.hero-inner{grid-template-columns:1fr}.hero-portrait{min-height:250px;max-height:430px}.practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.container{width:min(100% - 28px,var(--scc-container))}.header-inner{gap:12px}.site-branding{min-width:0}.site-branding img{max-height:54px}.header-cta{order:3;width:100%}.hero{padding:52px 0}.hero h1{font-size:clamp(2.4rem,13vw,4rem)}.hero-inner{gap:26px}.section{padding:52px 0}.split,.contact-grid{grid-template-columns:1fr;gap:26px}.practice-grid,.testimonial-grid{grid-template-columns:1fr}.consult-band,.footer-top{align-items:flex-start;flex-direction:column}.consult-band .button{width:100%}.page-header{padding:38px 0}}

/* Elementor compatibility */
.elementor-page-content,.elementor-content-wrapper{width:100%;max-width:none;margin:0;padding:0}
.elementor-page .site-main{overflow:clip}
.elementor-page .entry-content{max-width:none;padding:0;margin:0}
