
:root{
  --bg:#f5f1e9;
  --paper:#fbfaf6;
  --ink:#151817;
  --muted:#6d706b;
  --line:rgba(21,24,23,.14);
  --accent:#2d4f47;
  --accent2:#17372f;
  --soft:#e8e0d3;
  --white:#fff;
  --wa:#1fa66a;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  opacity:0;transition:opacity .18s ease;
}
body.ready{opacity:1} body.leaving{opacity:0}
body.rtl{direction:rtl}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
img{display:block;width:100%;height:100%;object-fit:cover}
.wrap{width:min(1240px,calc(100% - 48px));margin:0 auto}
.mini{
  height:36px;background:var(--ink);color:#e8ece9;font-size:11px;
}
.mini .wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.mini-right{display:flex;gap:20px}
.site-header{
  position:sticky;top:0;z-index:80;
  background:color-mix(in srgb,var(--paper) 94%,transparent);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.header-row{height:84px;display:flex;align-items:center;gap:28px}
.identity{display:flex;align-items:center;gap:12px;min-width:max-content}
.identity-mark{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  border:1px solid var(--ink);font-family:Georgia,serif;font-size:24px;
}
.identity-copy strong{display:block;font-family:Georgia,serif;font-size:24px;letter-spacing:.08em}
.identity-copy small{display:block;margin-top:3px;color:var(--muted);font-size:9px;font-weight:600}
.primary-nav{margin-left:auto;display:flex;align-items:center;gap:27px;font-size:12px;font-weight:700}
body.rtl .primary-nav{margin-left:0;margin-right:auto}
.primary-nav a{padding:31px 0 28px;border-bottom:2px solid transparent}
.primary-nav a:hover{border-color:var(--accent)}
.header-tools{display:flex;align-items:center;gap:8px}
.tool{position:relative}
.tool-button{
  height:38px;border:1px solid var(--line);border-radius:999px;background:var(--paper);
  padding:0 13px;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;cursor:pointer
}
.tool-button .dot{
  width:15px;height:15px;border-radius:50%;
  background:conic-gradient(#111 0 20%,#6b4632 20% 40%,#2f5d7c 40% 60%,#654273 60% 80%,#2d5d4f 80%);
}
.pop{
  position:absolute;top:48px;right:0;min-width:170px;padding:9px;background:var(--paper);
  border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 55px rgba(10,20,16,.15);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:.18s;
}
body.rtl .pop{right:auto;left:0}
.tool.open .pop{opacity:1;visibility:visible;transform:none}
.pop a,.pop button{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  border:0;background:transparent;border-radius:9px;padding:9px 10px;font-size:11px;font-weight:700;cursor:pointer
}
.pop a:hover,.pop button:hover{background:var(--soft)}
.pop .active{background:var(--soft)}
.menu-toggle{display:none;margin-left:auto;border:0;background:transparent;font-size:24px;color:var(--ink)}
body.rtl .menu-toggle{margin-left:0;margin-right:auto}

/* Hero: editorial split */
.hero{padding:54px 0 92px}
.hero-grid{
  display:grid;grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);
  gap:28px;align-items:stretch
}
.hero-copy{
  min-height:640px;background:var(--paper);border:1px solid var(--line);border-radius:4px;
  padding:72px 66px;display:flex;flex-direction:column;justify-content:center
}
.eyebrow{
  display:flex;align-items:center;gap:12px;
  color:var(--accent);font-size:10px;letter-spacing:.17em;text-transform:uppercase;font-weight:900
}
.eyebrow:before{content:"";width:42px;height:1px;background:currentColor}
.hero h1{
  max-width:800px;margin:24px 0 26px;font-family:Georgia,serif;
  font-size:clamp(52px,6vw,84px);line-height:.98;font-weight:400;letter-spacing:-.035em
}
body.rtl .hero h1{font-family:Arial,sans-serif;line-height:1.35;letter-spacing:0}
.hero-lead{max-width:690px;font-size:17px;line-height:1.75;color:var(--muted);margin:0}
.hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:35px}
.btn{
  min-height:48px;padding:0 19px;border-radius:2px;display:inline-flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:850;border:1px solid var(--ink);cursor:pointer
}
.btn-primary{background:var(--ink);color:#fff}
.btn-secondary{background:transparent}
.hero-image{min-height:640px;position:relative;overflow:hidden;background:#d8d8d3}
.hero-image img{filter:saturate(.75) contrast(1.04)}
.hero-image:after{
  content:"Buenos Aires";position:absolute;left:24px;bottom:22px;
  color:#fff;font-family:Georgia,serif;font-size:20px;letter-spacing:.03em;
  text-shadow:0 2px 16px rgba(0,0,0,.5)
}
body.rtl .hero-image:after{left:auto;right:24px}
.hero-meta{
  display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:auto;padding-top:50px
}
.meta-item{border-top:1px solid var(--line);padding:18px 16px 0 0}
body.rtl .meta-item{padding:18px 0 0 16px}
.meta-item strong{display:block;font-family:Georgia,serif;font-size:24px;font-weight:400}
.meta-item span{display:block;margin-top:5px;color:var(--muted);font-size:10px}

/* Practice index */
.practice-index{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper)}
.practice-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.practice-link{
  min-height:120px;padding:24px 20px;border-right:1px solid var(--line);
  display:flex;flex-direction:column;justify-content:space-between;transition:.2s
}
body.rtl .practice-link{border-right:0;border-left:1px solid var(--line)}
.practice-link:last-child{border-right:0}
.practice-link:hover{background:var(--soft)}
.practice-link span{font-size:9px;color:var(--muted);font-weight:800}
.practice-link strong{font-family:Georgia,serif;font-size:20px;font-weight:400}

/* Sections */
.section{padding:108px 0}
.section-head{
  display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:end;margin-bottom:52px
}
.section-head h2{
  margin:12px 0 0;font-family:Georgia,serif;font-size:clamp(42px,5vw,64px);
  font-weight:400;line-height:1.03;letter-spacing:-.025em
}
body.rtl .section-head h2{font-family:Arial,sans-serif;line-height:1.45}
.section-head p{margin:0;color:var(--muted);line-height:1.8;font-size:14px}
.services-list{border-top:1px solid var(--line)}
.service-row{
  display:grid;grid-template-columns:80px .65fr 1.35fr 40px;
  gap:28px;align-items:start;padding:30px 0;border-bottom:1px solid var(--line)
}
.service-num{font-size:11px;color:var(--muted);padding-top:7px}
.service-row h3{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:0}
body.rtl .service-row h3{font-family:Arial,sans-serif}
.service-row p{color:var(--muted);font-size:13px;line-height:1.75;margin:3px 0 0}
.service-arrow{font-size:22px;color:var(--accent)}
.editorial-strip{
  margin-top:38px;display:grid;grid-template-columns:1.1fr .9fr;min-height:330px
}
.strip-image{overflow:hidden}.strip-image img{filter:saturate(.65)}
.strip-copy{
  background:var(--accent2);color:#fff;padding:46px;display:flex;flex-direction:column;justify-content:center
}
.strip-copy strong{font-family:Georgia,serif;font-size:34px;font-weight:400;line-height:1.15}
.strip-copy p{color:#cedbd5;font-size:13px;line-height:1.75}

/* About */
.about-section{background:var(--ink);color:#fff}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:0}
.about-image{min-height:610px;overflow:hidden}
.about-image img{filter:saturate(.55) contrast(1.03)}
.about-copy{padding:72px 70px;display:flex;flex-direction:column;justify-content:center}
.about-copy .eyebrow{color:#b7d0c7}
.about-copy h2{
  font-family:Georgia,serif;font-size:clamp(42px,5vw,62px);font-weight:400;line-height:1.05;margin:20px 0 24px
}
body.rtl .about-copy h2{font-family:Arial,sans-serif;line-height:1.45}
.about-copy p{color:#c6cdca;font-size:14px;line-height:1.9}
.about-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:36px}
.fact{border-top:1px solid rgba(255,255,255,.22);padding-top:15px}
.fact strong{font-family:Georgia,serif;font-size:28px;font-weight:400;color:#fff}
.fact span{display:block;color:#abb6b1;font-size:10px;margin-top:4px}

/* Team */
.team-list{border-top:1px solid var(--line)}
.person-row{
  display:grid;grid-template-columns:52px 1fr auto;gap:20px;align-items:center;
  padding:19px 0;border-bottom:1px solid var(--line)
}
.person-mark{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--soft);
  font-family:Georgia,serif;font-size:14px
}
.person-row h3{margin:0;font-family:Georgia,serif;font-size:22px;font-weight:400}
.person-row small{display:block;color:var(--muted);margin-top:3px}
.person-actions{display:flex;gap:7px}
.person-actions a{border:1px solid var(--line);padding:8px 10px;border-radius:999px;font-size:10px;font-weight:800}
.team-bottom{display:grid;grid-template-columns:1fr 1fr;margin-top:42px;min-height:360px}
.location-photo{position:relative;overflow:hidden}
.location-photo:after{
  content:"Libertad 480 · Buenos Aires";position:absolute;left:22px;bottom:20px;color:white;
  font-family:Georgia,serif;font-size:18px;text-shadow:0 3px 14px rgba(0,0,0,.55)
}
body.rtl .location-photo:after{left:auto;right:22px}
.location-copy{background:var(--paper);border:1px solid var(--line);padding:48px;display:flex;flex-direction:column;justify-content:center}
.location-copy h3{font-family:Georgia,serif;font-size:34px;font-weight:400;margin:0 0 16px}
.location-copy p{color:var(--muted);line-height:1.8;font-size:13px}

/* Contact */
.contact-section{background:var(--soft)}
.contact-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:70px}
.contact-intro h2{
  font-family:Georgia,serif;font-size:clamp(42px,5vw,60px);font-weight:400;line-height:1.05;margin:18px 0 22px
}
body.rtl .contact-intro h2{font-family:Arial,sans-serif;line-height:1.4}
.contact-intro p{color:var(--muted);line-height:1.8;font-size:14px}
.contact-detail{padding:17px 0;border-top:1px solid var(--line);font-size:12px}
.form-card{background:var(--paper);border:1px solid var(--line);padding:34px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-card label{display:block;font-size:10px;font-weight:850;margin-bottom:15px}
.form-card input,.form-card select,.form-card textarea{
  width:100%;margin-top:7px;border:1px solid var(--line);background:transparent;
  border-radius:0;padding:12px;outline:none;color:var(--ink)
}
.form-card textarea{resize:vertical}
.consent{display:flex!important;gap:9px;align-items:flex-start;color:var(--muted)}
.consent input{width:15px;margin-top:3px;flex:none}
.form-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:6px}
.status{font-size:11px;color:#8a5f44;min-height:18px}

/* Footer / floating */
footer{background:var(--ink);color:#aeb5b2;padding:42px 0 24px}
.footer-grid{display:grid;grid-template-columns:1fr auto auto;gap:40px;align-items:end}
.footer-brand{color:#fff;font-family:Georgia,serif;font-size:25px}
.footer-grid span,.footer-grid a{font-size:10px}
.wa{
  position:fixed;right:20px;bottom:20px;z-index:90;background:var(--wa);color:#fff;
  min-height:56px;padding:0 21px;border-radius:999px;display:flex;align-items:center;gap:9px;
  box-shadow:0 16px 40px rgba(31,166,106,.32);font-size:12px;font-weight:850
}
body.rtl .wa{right:auto;left:20px}
.top-btn{
  position:fixed;right:24px;bottom:88px;width:44px;height:44px;border:0;border-radius:50%;
  background:var(--ink);color:#fff;z-index:89;opacity:0;visibility:hidden;transition:.2s;cursor:pointer
}
.top-btn.show{opacity:1;visibility:visible}
body.rtl .top-btn{right:auto;left:24px}

/* Theme palettes */
html[data-theme="black"]{--bg:#f4f2ed;--paper:#fbfaf7;--ink:#111;--muted:#6f6f6b;--accent:#393939;--accent2:#171717;--soft:#e7e4dc}
html[data-theme="brown"]{--bg:#f4eee7;--paper:#fffaf5;--ink:#33241c;--muted:#796b62;--accent:#6b4935;--accent2:#3d291e;--soft:#e9ddd0}
html[data-theme="blue"]{--bg:#eef3f6;--paper:#fbfdfe;--ink:#142534;--muted:#687985;--accent:#2f5d7c;--accent2:#18394f;--soft:#dfe9ee}
html[data-theme="purple"]{--bg:#f2edf4;--paper:#fffaff;--ink:#302237;--muted:#7a6f80;--accent:#654273;--accent2:#402a4a;--soft:#e9deec}
html[data-theme="green"]{--bg:#f5f1e9;--paper:#fbfaf6;--ink:#151817;--muted:#6d706b;--accent:#2d4f47;--accent2:#17372f;--soft:#e8e0d3}

/* Responsive */
@media(max-width:1040px){
  .primary-nav{display:none}
  .menu-toggle{display:block}
  .header-tools{margin-left:auto}
  body.rtl .header-tools{margin-left:0;margin-right:auto}
  .primary-nav.open{
    display:flex;position:absolute;top:84px;left:24px;right:24px;background:var(--paper);
    border:1px solid var(--line);padding:18px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 18px 55px rgba(0,0,0,.12)
  }
  .primary-nav.open a{padding:12px 4px;border-bottom:1px solid var(--line)}
  .hero-grid{grid-template-columns:1fr .7fr}
  .hero-copy{padding:58px 44px}
  .section-head{gap:42px}
}
@media(max-width:760px){
  .wrap{width:min(100% - 26px,1240px)}
  .mini .wrap{justify-content:center}.mini-right{display:none}
  .header-row{height:72px;gap:10px}
  .identity-copy small{display:none}.identity-mark{width:38px;height:38px}.identity-copy strong{font-size:21px}
  .tool-button{height:34px;padding:0 10px}
  .tool .tool-label{display:none}
  .hero{padding:22px 0 65px}
  .hero-grid{grid-template-columns:1fr}
  .hero-copy{min-height:auto;padding:42px 28px 36px}
  .hero-image{min-height:390px;order:-1}
  .hero h1{font-size:48px}
  .hero-lead{font-size:15px}
  .hero-meta{padding-top:36px}
  .practice-grid{grid-template-columns:1fr 1fr}
  .practice-link{min-height:105px;border-bottom:1px solid var(--line)}
  .section{padding:75px 0}
  .section-head{grid-template-columns:1fr;gap:18px;margin-bottom:35px}
  .section-head h2{font-size:42px}
  .service-row{grid-template-columns:44px 1fr 24px;gap:14px}
  .service-row p{grid-column:2/4;margin-top:10px}
  .editorial-strip,.about-grid,.team-bottom,.contact-grid{grid-template-columns:1fr}
  .about-image{min-height:390px}
  .about-copy{padding:44px 26px}
  .team-bottom{min-height:auto}.location-photo{min-height:320px}
  .person-row{grid-template-columns:46px 1fr}.person-actions{grid-column:2;justify-content:flex-start}
  .form-row{grid-template-columns:1fr}
  .form-card{padding:24px}
  .footer-grid{grid-template-columns:1fr;gap:16px}
  .wa{right:13px;bottom:13px;min-height:52px;padding:0 17px}
  body.rtl .wa{right:auto;left:13px}
  .top-btn{right:17px;bottom:76px}
  body.rtl .top-btn{right:auto;left:17px}
}
@media(max-width:420px){
  .hero h1{font-size:42px}
  .practice-grid{grid-template-columns:1fr}
  .hero-meta{grid-template-columns:1fr 1fr 1fr}
  .meta-item strong{font-size:20px}
  .about-facts{grid-template-columns:1fr}
}
