/*
Theme Name: DELEGA Gestión Abogados — Elementor
Theme URI: https://delega-abogados.com/
Author: DELEGA Gestión Abogados
Description: Tema corporativo para DELEGA Gestión Abogados, preparado para Elementor gratuito.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: delega-abogados
*/

:root { --ink:#10213a; --navy:#0b1d34; --blue:#203e69; --sand:#d9b46f; --cream:#f5f1e9; --paper:#fbfaf7; --line:#d8d5ce; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial,Helvetica,sans-serif; }
body.elementor-page .delega-elementor-page { overflow:hidden; }
.delega-elementor-page .elementor { width:100%; }
a { color:inherit; text-decoration:none; }

.site-header { height:96px; display:flex; align-items:center; justify-content:space-between; padding:0 5.5vw; border-bottom:1px solid rgba(16,33,58,.12); background:rgba(251,250,247,.96); position:sticky; top:0; z-index:20; }
.admin-bar .site-header { top:32px; }
.brand { display:inline-flex; gap:13px; align-items:center; }
.brand-logo { display:block; width:285px; height:74px; object-fit:cover; object-position:center 46%; }
nav { display:flex; align-items:center; gap:34px; font-size:12px; letter-spacing:.1em; text-transform:uppercase; }
nav a:hover { color:#8d6725; }
.nav-contact { border:1px solid var(--ink); padding:12px 18px; }

.hero { min-height:calc(100vh - 96px); display:grid; grid-template-columns:1.45fr .75fr; background:var(--paper); }
.hero-copy { padding:10vh 7vw 9vh 9vw; display:flex; flex-direction:column; justify-content:center; }
.eyebrow,.section-number { font-size:11px; font-weight:700; letter-spacing:.22em; color:#8d6725; margin:0 0 32px; }
.hero h1 { max-width:850px; font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:clamp(54px,6.7vw,102px); line-height:.99; letter-spacing:-.045em; margin:0; }
.hero h1 em { color:#a5762d; font-weight:400; }
.hero-lead { max-width:650px; font-size:18px; line-height:1.75; color:#526075; margin:38px 0 40px; }
.hero-actions { display:flex; gap:30px; align-items:center; }
.button { display:inline-block; padding:17px 24px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; transition:.2s ease; }
.primary { background:var(--ink); color:white; }
.primary:hover { background:var(--blue); transform:translateY(-2px); }
.text-link { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.text-link span { color:#a5762d; margin-left:8px; }
.hero-panel { overflow:hidden; background:transparent; color:var(--ink); position:relative; display:flex; align-items:flex-end; justify-content:flex-end; padding:5vw 4vw; isolation:isolate; }
.hero-panel::before,.hero-panel::after { content:none; }
.hero-seal { position:absolute; top:50%; left:50%; width:clamp(145px,14vw,205px); aspect-ratio:1; display:grid; place-items:center; background:transparent; pointer-events:none; filter:drop-shadow(0 13px 18px rgba(69,39,17,.22)); transform:translate(-50%,-58%) rotate(-3deg); }
.hero-seal-wax { grid-area:1/1; display:block; width:100%; height:100%; object-fit:contain; background:transparent; }
.hero-panel p { position:relative; margin:0; color:#8d6725; font-size:10px; line-height:2.1; letter-spacing:.28em; text-align:right; }
.line { display:none; }

.statement { padding:120px 9vw; display:grid; grid-template-columns:1fr 3fr; gap:6vw; border-top:1px solid var(--line); }
.statement h2,.section-heading h2,.contact h2 { font-family:Georgia,serif; font-weight:400; font-size:clamp(40px,4.6vw,69px); line-height:1.12; letter-spacing:-.035em; margin:0; }
.two-columns { display:grid; grid-template-columns:1fr 1fr; gap:5vw; margin-top:54px; max-width:900px; }
.two-columns p { margin:0; font-size:17px; line-height:1.75; color:#536176; }

.philosophy { padding:120px 9vw; background:var(--navy); color:white; }
.philosophy-lead { display:grid; grid-template-columns:1fr 2fr; column-gap:6vw; align-items:start; }
.philosophy-lead .section-number { grid-row:1/4; }
.philosophy-lead h2 { font-family:Georgia,serif; font-weight:400; font-size:clamp(40px,4.6vw,69px); line-height:1.12; letter-spacing:-.035em; margin:0; }
.philosophy-lead>p:last-child { color:#b8c1cd; font-size:17px; line-height:1.75; max-width:710px; }
.principle-grid { display:grid; grid-template-columns:repeat(4,1fr); margin-top:70px; border-top:1px solid rgba(255,255,255,.18); border-left:1px solid rgba(255,255,255,.18); }
.principle-grid article { min-height:270px; padding:30px 26px; border-right:1px solid rgba(255,255,255,.18); border-bottom:1px solid rgba(255,255,255,.18); }
.principle-grid span { color:var(--sand); font-family:Georgia,serif; }
.principle-grid h3 { font-family:Georgia,serif; font-size:25px; font-weight:400; line-height:1.2; margin:48px 0 18px; }
.principle-grid p { color:#aeb8c6; font-size:13px; line-height:1.7; margin:0; }

.areas { background:var(--cream); padding:120px 9vw; }
.section-heading { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:70px; }
.section-heading h2 { width:56%; }
.area-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid #c8c1b4; border-left:1px solid #c8c1b4; }
.area-card { min-height:300px; padding:34px; border-right:1px solid #c8c1b4; border-bottom:1px solid #c8c1b4; transition:background .2s ease,color .2s ease; }
.area-card:hover { background:var(--ink); color:white; }
.area-card span { font-family:Georgia,serif; color:#a5762d; font-size:15px; }
.area-card h3 { font-family:Georgia,serif; font-size:29px; font-weight:400; margin:54px 0 20px; }
.area-card p { color:#667083; font-size:14px; line-height:1.75; margin:0; }
.area-card:hover p { color:#ced5df; }
.area-footer { display:flex; justify-content:space-between; align-items:center; gap:50px; padding-top:42px; }
.area-footer p { max-width:720px; color:#5f6b7c; font-size:14px; line-height:1.7; margin:0; }
.area-footer .text-link { white-space:nowrap; }

.team { padding:120px 9vw; background:var(--paper); }
.team-intro { width:56%; }
.team-intro h2 { width:100%; }
.team-intro>p { max-width:670px; color:#5a687b; font-size:16px; line-height:1.75; margin:28px 0 0; }
.team-grid { display:grid; grid-template-columns:1fr; gap:34px; max-width:1120px; margin-left:auto; }
.profile-card { display:grid; grid-template-columns:minmax(300px,.8fr) 1.2fr; min-height:500px; border:1px solid var(--line); background:white; }
.profile-portrait { position:relative; overflow:hidden; background:var(--navy); display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-start; padding:26px; }
.profile-portrait::before { content:""; position:absolute; width:240px; height:1px; background:rgba(217,180,111,.45); transform:rotate(58deg); top:40%; left:-40%; }
.profile-portrait::after { content:""; position:absolute; width:240px; height:1px; background:rgba(217,180,111,.25); transform:rotate(58deg); top:60%; left:-20%; }
.profile-portrait span { color:var(--sand); font-family:Georgia,serif; font-size:42px; position:relative; z-index:1; }
.profile-portrait small { color:rgba(255,255,255,.52); font-size:9px; letter-spacing:.22em; text-transform:uppercase; margin-top:9px; position:relative; z-index:1; }
.profile-portrait-photo { padding:0; background:#f4f2ed; }
.profile-portrait-photo::before,.profile-portrait-photo::after { display:none; }
.profile-photo { width:100%; height:100%; min-height:500px; object-fit:cover; object-position:center top; display:block; }
.portrait-alt { background:#173456; }
.profile-content { padding:40px 36px; display:flex; flex-direction:column; }
.profile-role { margin:0; color:#8d6725; font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.profile-content h3 { margin:15px 0 12px; font-family:Georgia,serif; font-size:31px; font-weight:400; line-height:1.1; }
.profile-focus { color:var(--blue); font-size:12px; font-weight:700; line-height:1.6; letter-spacing:.045em; }
.profile-summary { color:#5a687b; font-size:14px; line-height:1.75; }
.profile-cv { border-top:1px solid var(--line); margin-top:20px; padding-top:16px; }
.profile-cv>p { margin:0; font-size:10px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:#8d6725; }
.profile-cv li { color:#687487; font-size:12px; line-height:1.65; }
.profile-cv ul { padding-left:18px; margin-bottom:0; }
.profile-link { margin-top:auto; padding-top:22px; font-size:10px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; color:var(--blue); }

.method { padding:120px 9vw; background:var(--navy); color:white; }
.light h2 { color:white; }
.method-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6vw; border-top:1px solid rgba(255,255,255,.18); padding-top:50px; }
.method-grid span { color:var(--sand); font-family:Georgia,serif; }
.method-grid h3 { font-family:Georgia,serif; font-weight:400; font-size:35px; margin:36px 0 20px; }
.method-grid p { color:#aeb8c6; font-size:15px; line-height:1.75; }

.contact { padding:120px 9vw; display:grid; grid-template-columns:1.3fr 1fr; gap:10vw; background:var(--sand); }
.contact-details { display:flex; flex-direction:column; align-items:flex-start; padding-top:45px; }
.contact-details p { font-size:11px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; }
.contact-details>a:not(.button) { font-family:Georgia,serif; font-size:clamp(21px,2vw,29px); margin-top:14px; border-bottom:1px solid rgba(16,33,58,.35); }
.contact-details address { margin-top:34px; font-style:normal; line-height:1.7; color:#39475b; }
.secondary { border:1px solid var(--ink); margin-top:36px; }
.secondary:hover { color:white; background:var(--ink); }

footer { background:#071629; color:white; padding:70px 5.5vw 35px; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:end; }
.footer-brand { background:transparent; width:305px; height:82px; overflow:hidden; }
.footer-brand .brand-logo { width:305px; height:82px; }
.footer-brand img { filter:brightness(0) invert(1); opacity:.92; }
footer>p { color:#aeb8c6; justify-self:end; }
footer>div { grid-column:1/-1; border-top:1px solid rgba(255,255,255,.14); padding-top:25px; display:flex; gap:28px; color:#8994a4; font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
footer>div span { margin-left:auto; }

/* Adaptación de los contenedores y widgets de Elementor */
.delega-elementor-page .e-con { --padding-top:0; --padding-right:0; --padding-bottom:0; --padding-left:0; }
.delega-elementor-page .elementor-widget { margin:0; }
.delega-elementor-page .elementor-widget-text-editor p:last-child { margin-bottom:0; }
.delega-elementor-page .hero { min-height:calc(100vh - 96px); display:grid!important; grid-template-columns:1.45fr .75fr; }
.delega-elementor-page .hero-copy { padding:10vh 7vw 9vh 9vw; display:flex!important; flex-direction:column; justify-content:center; }
.delega-elementor-page .eyebrow .elementor-heading-title,
.delega-elementor-page .section-number .elementor-heading-title { font-family:Arial,Helvetica,sans-serif; font-size:11px; font-weight:700; letter-spacing:.22em; color:#8d6725; margin:0; }
.delega-elementor-page .eyebrow { margin-bottom:32px; }
.delega-elementor-page .hero-title .elementor-heading-title { max-width:850px; font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:clamp(54px,6.7vw,102px); line-height:.99; letter-spacing:-.045em; color:var(--ink); }
.delega-elementor-page .hero-title em { color:#a5762d; font-weight:400; }
.delega-elementor-page .hero-lead { max-width:650px; margin:38px 0 40px; }
.delega-elementor-page .hero-lead p { font-size:18px; line-height:1.75; color:#526075; }
.delega-elementor-page .hero-actions { display:flex!important; flex-direction:row; gap:30px; align-items:center; }
.delega-elementor-page .hero-actions .elementor-button { border-radius:0; padding:17px 24px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; box-shadow:none; }
.delega-elementor-page .hero-actions .primary .elementor-button { background:var(--ink); color:white; }
.delega-elementor-page .hero-actions .text-link .elementor-button { padding:0; background:transparent; color:var(--ink); }
.delega-elementor-page .hero-panel { min-height:100%; position:relative; display:flex!important; flex-direction:column; align-items:flex-end; justify-content:flex-end; padding:5vw 4vw; }
.delega-elementor-page .hero-seal { position:absolute; top:50%; left:50%; width:clamp(145px,14vw,205px); transform:translate(-50%,-58%) rotate(-3deg); filter:drop-shadow(0 13px 18px rgba(69,39,17,.22)); }
.delega-elementor-page .hero-seal img { width:100%; height:auto; background:transparent; }
.delega-elementor-page .hero-values p { color:#8d6725; font-size:10px; line-height:2.1; letter-spacing:.28em; text-align:right; }

.delega-elementor-page .statement { padding:120px 9vw; display:grid!important; grid-template-columns:1fr 3fr; gap:6vw; border-top:1px solid var(--line); }
.delega-elementor-page .statement h2.elementor-heading-title,
.delega-elementor-page .section-heading h2.elementor-heading-title,
.delega-elementor-page .contact h2.elementor-heading-title { font-family:Georgia,serif; font-weight:400; font-size:clamp(40px,4.6vw,69px); line-height:1.12; letter-spacing:-.035em; color:inherit; }
.delega-elementor-page .two-columns { display:grid!important; grid-template-columns:1fr 1fr; gap:5vw; margin-top:54px; max-width:900px; }
.delega-elementor-page .two-columns p { margin:0; font-size:17px; line-height:1.75; color:#536176; }

.delega-elementor-page .philosophy { padding:120px 9vw; background:var(--navy); color:white; }
.delega-elementor-page .philosophy-lead { display:grid!important; grid-template-columns:1fr 2fr; column-gap:6vw; align-items:start; }
.delega-elementor-page .philosophy-lead .section-number { grid-row:1/4; }
.delega-elementor-page .philosophy-lead h2.elementor-heading-title { font-family:Georgia,serif; font-weight:400; font-size:clamp(40px,4.6vw,69px); line-height:1.12; letter-spacing:-.035em; color:white; }
.delega-elementor-page .philosophy-lead>.elementor-widget-text-editor p { color:#b8c1cd; font-size:17px; line-height:1.75; max-width:710px; }
.delega-elementor-page .principle-grid { display:grid!important; grid-template-columns:repeat(4,1fr); margin-top:70px; border-top:1px solid rgba(255,255,255,.18); border-left:1px solid rgba(255,255,255,.18); }
.delega-elementor-page .principle-card { min-height:270px; padding:30px 26px; border-right:1px solid rgba(255,255,255,.18); border-bottom:1px solid rgba(255,255,255,.18); }
.delega-elementor-page .principle-number .elementor-heading-title { color:var(--sand); font-family:Georgia,serif; font-size:16px; }
.delega-elementor-page .principle-card h3.elementor-heading-title { color:white; font-family:Georgia,serif; font-size:25px; font-weight:400; line-height:1.2; margin:48px 0 18px; }
.delega-elementor-page .principle-card p { color:#aeb8c6; font-size:13px; line-height:1.7; }

.delega-elementor-page .areas { background:var(--cream); padding:120px 9vw; }
.delega-elementor-page .section-heading { display:flex!important; flex-direction:row; justify-content:space-between; align-items:flex-start; margin-bottom:70px; }
.delega-elementor-page .section-heading>.elementor-widget-heading:last-child { width:56%; }
.delega-elementor-page .area-grid { display:grid!important; grid-template-columns:repeat(3,1fr); border-top:1px solid #c8c1b4; border-left:1px solid #c8c1b4; }
.delega-elementor-page .area-card { min-height:300px; padding:34px; border-right:1px solid #c8c1b4; border-bottom:1px solid #c8c1b4; transition:.2s ease; }
.delega-elementor-page .area-card:hover { background:var(--ink); color:white; }
.delega-elementor-page .area-number .elementor-heading-title { font-family:Georgia,serif; color:#a5762d; font-size:15px; }
.delega-elementor-page .area-card h3.elementor-heading-title { font-family:Georgia,serif; font-size:29px; font-weight:400; color:inherit; margin:54px 0 20px; }
.delega-elementor-page .area-card p { color:#667083; font-size:14px; line-height:1.75; }
.delega-elementor-page .area-card:hover p { color:#ced5df; }
.delega-elementor-page .area-footer { display:flex!important; flex-direction:row; justify-content:space-between; align-items:center; gap:50px; padding-top:42px; }
.delega-elementor-page .area-footer>.elementor-widget-text-editor { max-width:720px; }
.delega-elementor-page .area-footer p { color:#5f6b7c; font-size:14px; line-height:1.7; }
.delega-elementor-page .area-footer .elementor-button { padding:0; background:transparent; color:var(--ink); font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }

.delega-elementor-page .team { padding:120px 9vw; background:var(--paper); }
.delega-elementor-page .team-intro { width:56%; }
.delega-elementor-page .team-intro>.elementor-widget-heading { width:100%!important; }
.delega-elementor-page .team-intro h2.elementor-heading-title { width:100%; }
.delega-elementor-page .team-intro p { max-width:670px; color:#5a687b; font-size:16px; line-height:1.75; margin-top:28px; }
.delega-elementor-page .team-grid { display:grid!important; grid-template-columns:1fr; gap:34px; max-width:1120px; margin-left:auto; }
.delega-elementor-page .profile-card { display:grid!important; grid-template-columns:minmax(300px,.8fr) 1.2fr; min-height:500px; border:1px solid var(--line); background:white; }
.delega-elementor-page .profile-portrait { overflow:hidden; background:var(--navy); display:flex!important; flex-direction:column; justify-content:flex-end; align-items:flex-start; padding:26px; }
.delega-elementor-page .profile-portrait-photo { padding:0; background:#f4f2ed; }
.delega-elementor-page .profile-photo,.delega-elementor-page .profile-photo .elementor-widget-container { height:100%; }
.delega-elementor-page .profile-photo img { width:100%; height:100%; min-height:500px; object-fit:cover; object-position:center top; display:block; }
.delega-elementor-page .portrait-alt { background:#173456; }
.delega-elementor-page .portrait-alt h3.elementor-heading-title { color:var(--sand); font-family:Georgia,serif; font-size:42px; }
.delega-elementor-page .portrait-alt p { color:rgba(255,255,255,.52); font-size:9px; letter-spacing:.22em; }
.delega-elementor-page .profile-content { padding:40px 36px; display:flex!important; flex-direction:column; }
.delega-elementor-page .profile-role .elementor-heading-title { color:#8d6725; font:700 10px Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; }
.delega-elementor-page .profile-content>h3,
.delega-elementor-page .profile-content h3.elementor-heading-title { margin:15px 0 12px; font-family:Georgia,serif; font-size:31px; font-weight:400; color:var(--ink); }
.delega-elementor-page .profile-focus .elementor-heading-title { color:var(--blue); font:700 12px/1.6 Arial,sans-serif; letter-spacing:.045em; }
.delega-elementor-page .profile-summary p { color:#5a687b; font-size:14px; line-height:1.75; margin-top:18px; }
.delega-elementor-page .profile-cv { border-top:1px solid var(--line); margin-top:20px; padding-top:16px; }
.delega-elementor-page .profile-cv-label { margin:0; font-size:10px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:#8d6725; }
.delega-elementor-page .profile-cv li { color:#687487; font-size:12px; line-height:1.65; }
.delega-elementor-page .profile-link { margin-top:auto; padding-top:22px; }
.delega-elementor-page .profile-link .elementor-button { padding:0; background:transparent; color:var(--blue); font-size:10px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }

.delega-elementor-page .method { padding:120px 9vw; background:var(--navy); color:white; }
.delega-elementor-page .light h2.elementor-heading-title { color:white; }
.delega-elementor-page .method-grid { display:grid!important; grid-template-columns:repeat(3,1fr); gap:6vw; border-top:1px solid rgba(255,255,255,.18); padding-top:50px; }
.delega-elementor-page .method-card h6.elementor-heading-title { color:var(--sand); font-family:Georgia,serif; }
.delega-elementor-page .method-card h3.elementor-heading-title { color:white; font-family:Georgia,serif; font-weight:400; font-size:35px; margin:36px 0 20px; }
.delega-elementor-page .method-card p { color:#aeb8c6; font-size:15px; line-height:1.75; }

.delega-elementor-page .contact { padding:120px 9vw; display:grid!important; grid-template-columns:1.3fr 1fr; gap:10vw; background:var(--sand); }
.delega-elementor-page .contact-details { display:flex!important; flex-direction:column; align-items:flex-start; padding-top:45px; }
.delega-elementor-page .contact-details h6.elementor-heading-title { font:700 11px Arial,sans-serif; letter-spacing:.18em; text-transform:uppercase; color:var(--ink); }
.delega-elementor-page .contact-details .elementor-button { padding:0; background:transparent; color:var(--ink); font-family:Georgia,serif; font-size:clamp(21px,2vw,29px); border-radius:0; border-bottom:1px solid rgba(16,33,58,.35); }
.delega-elementor-page .contact-details .elementor-widget-button { margin-top:14px; }
.delega-elementor-page .contact-address { margin-top:34px; }
.delega-elementor-page .contact-address p { line-height:1.7; color:#39475b; }
.delega-elementor-page .contact-details .secondary { margin-top:36px; }
.delega-elementor-page .contact-details .secondary .elementor-button { border:1px solid var(--ink); padding:17px 24px; font:700 12px Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase; }

@media (max-width:900px) {
  .site-header { height:78px; padding:0 22px; } .brand-logo { width:225px; height:62px; }
  nav a:not(.nav-contact) { display:none; } .hero { grid-template-columns:1fr; } .hero-copy { padding:80px 7vw; } .hero-panel { min-height:280px; padding:42px 7vw; } .hero-seal { width:165px; transform:translate(-50%,-55%) rotate(-3deg); }
  .statement { grid-template-columns:1fr; padding:85px 7vw; } .section-heading { display:block; } .section-heading h2 { width:100%; }
  .philosophy { padding:85px 7vw; } .philosophy-lead { grid-template-columns:1fr; } .philosophy-lead .section-number { grid-row:auto; } .principle-grid { grid-template-columns:1fr 1fr; }
  .area-grid { grid-template-columns:1fr 1fr; } .areas,.team,.method,.contact { padding:85px 7vw; } .contact { grid-template-columns:1fr; gap:20px; }
  .method-grid { grid-template-columns:1fr 1fr; }
  .team-intro { width:100%; } .team-grid { grid-template-columns:1fr; }
  .delega-elementor-page .hero { grid-template-columns:1fr; }
  .delega-elementor-page .hero-copy { padding:80px 7vw; }
  .delega-elementor-page .hero-panel { min-height:280px; padding:42px 7vw; }
  .delega-elementor-page .hero-seal { width:165px; }
  .delega-elementor-page .statement { grid-template-columns:1fr; padding:85px 7vw; }
  .delega-elementor-page .section-heading { display:block!important; }
  .delega-elementor-page .section-heading>.elementor-widget-heading:last-child { width:100%; }
  .delega-elementor-page .philosophy,.delega-elementor-page .areas,.delega-elementor-page .team,.delega-elementor-page .method,.delega-elementor-page .contact { padding:85px 7vw; }
  .delega-elementor-page .philosophy-lead { grid-template-columns:1fr; }
  .delega-elementor-page .philosophy-lead .section-number { grid-row:auto; }
  .delega-elementor-page .principle-grid,.delega-elementor-page .area-grid,.delega-elementor-page .method-grid { grid-template-columns:1fr 1fr; }
  .delega-elementor-page .team-intro { width:100%; }
  .delega-elementor-page .contact { grid-template-columns:1fr; gap:20px; }
}
@media (max-width:600px) {
  .admin-bar .site-header { top:46px; }
  .brand-logo { width:185px; height:54px; }
  .hero h1 { font-size:50px; } .hero-actions { align-items:flex-start; flex-direction:column; }
  .two-columns,.area-grid,.principle-grid,.method-grid { grid-template-columns:1fr; } .area-card { min-height:255px; }
  .area-footer { align-items:flex-start; flex-direction:column; gap:26px; }
  .profile-card { grid-template-columns:1fr; } .profile-portrait { min-height:300px; }
  footer { grid-template-columns:1fr; } footer>p { justify-self:start; } footer>div { flex-wrap:wrap; } footer>div span { width:100%; margin-left:0; }
  .delega-elementor-page .hero-title .elementor-heading-title { font-size:50px; }
  .delega-elementor-page .hero-actions { align-items:flex-start; flex-direction:column; }
  .delega-elementor-page .two-columns,.delega-elementor-page .principle-grid,.delega-elementor-page .area-grid,.delega-elementor-page .method-grid { grid-template-columns:1fr; }
  .delega-elementor-page .area-footer { align-items:flex-start; flex-direction:column; gap:26px; }
  .delega-elementor-page .profile-card { grid-template-columns:1fr; }
  .delega-elementor-page .profile-portrait { min-height:300px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition:none!important; } }

/* Elementor 4 / editor atomico: conservar fielmente la direccion de arte del tema. */
body .elementor .hero .eyebrow,
body .elementor .hero .eyebrow *,
body .elementor .section-number,
body .elementor .section-number * {
  color:#8d6725!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.22em!important;
  line-height:1.3!important;
  text-transform:uppercase!important;
}

body .elementor .hero .hero-title,
body .elementor .hero .hero-title *,
body .elementor .hero h1,
body .elementor .hero h1 * {
  color:var(--ink)!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(54px,6.7vw,102px)!important;
  font-style:normal;
  font-weight:400!important;
  letter-spacing:-.045em!important;
  line-height:.99!important;
}
body .elementor .hero .hero-title em,
body .elementor .hero h1 em { color:#a5762d!important; font-style:italic!important; }
body .elementor .hero .hero-lead,
body .elementor .hero .hero-lead * { color:#526075!important; font-size:18px!important; line-height:1.75!important; }

body .elementor .hero-actions { display:flex!important; flex-direction:row!important; gap:30px!important; align-items:center!important; }
body .elementor .hero-actions .primary a,
body .elementor .hero-actions .primary button,
body .elementor .hero-actions .primary .elementor-button {
  background:var(--ink)!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#fff!important;
  font:700 12px/1 Arial,Helvetica,sans-serif!important;
  letter-spacing:.12em!important;
  padding:17px 24px!important;
  text-transform:uppercase!important;
}
body .elementor .hero-actions .text-link a,
body .elementor .hero-actions .text-link button,
body .elementor .hero-actions .text-link .elementor-button {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--ink)!important;
  padding:0!important;
}

body .elementor .hero-panel { min-height:100%!important; position:relative!important; overflow:hidden!important; }
body .elementor .hero-panel .hero-seal,
body .elementor .hero-panel .elementor-widget-image:has(img[src*="delega-wax-seal"]) {
  height:auto!important;
  left:50%!important;
  margin:0!important;
  max-width:205px!important;
  position:absolute!important;
  top:50%!important;
  transform:translate(-50%,-58%) rotate(-3deg)!important;
  width:clamp(145px,14vw,205px)!important;
  z-index:1!important;
}
body .elementor .hero-panel .hero-seal .elementor-widget-container,
body .elementor .hero-panel .hero-seal figure,
body .elementor .hero-panel .elementor-widget-image:has(img[src*="delega-wax-seal"]) .elementor-widget-container,
body .elementor .hero-panel .elementor-widget-image:has(img[src*="delega-wax-seal"]) figure {
  height:auto!important;
  margin:0!important;
  max-width:205px!important;
  width:100%!important;
}
body .elementor .hero-panel img[src*="delega-wax-seal"] {
  background:transparent!important;
  display:block!important;
  filter:drop-shadow(0 13px 18px rgba(69,39,17,.22))!important;
  height:auto!important;
  margin:0!important;
  max-width:205px!important;
  width:100%!important;
}
body .elementor .hero-values,
body .elementor .hero-values * { color:#8d6725!important; font-size:10px!important; letter-spacing:.28em!important; line-height:2.1!important; text-align:right!important; }

body .elementor .statement h2,
body .elementor .statement h2 *,
body .elementor .section-heading h2,
body .elementor .section-heading h2 *,
body .elementor .team-intro h2,
body .elementor .team-intro h2 *,
body .elementor .contact h2,
body .elementor .contact h2 * {
  color:inherit!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(40px,4.6vw,69px)!important;
  font-weight:400!important;
  letter-spacing:-.035em!important;
  line-height:1.12!important;
}
body .elementor .two-columns p,
body .elementor .team-intro p { color:#536176!important; }
body .elementor .philosophy h2,
body .elementor .philosophy h2 *,
body .elementor .philosophy h3,
body .elementor .philosophy h3 *,
body .elementor .method h2,
body .elementor .method h2 *,
body .elementor .method h3,
body .elementor .method h3 * { color:#fff!important; font-family:Georgia,'Times New Roman',serif!important; }
body .elementor .principle-card p,
body .elementor .method-card p { color:#aeb8c6!important; }
body .elementor .area-card h3,
body .elementor .area-card h3 *,
body .elementor .profile-content h3,
body .elementor .profile-content h3 * { color:var(--ink)!important; font-family:Georgia,'Times New Roman',serif!important; font-weight:400!important; }
body .elementor .area-card:hover h3,
body .elementor .area-card:hover h3 * { color:#fff!important; }
body .elementor .profile-role,
body .elementor .profile-role * { color:#8d6725!important; font-size:10px!important; letter-spacing:.14em!important; text-transform:uppercase!important; }
body .elementor .profile-focus,
body .elementor .profile-focus * { color:var(--blue)!important; }
body .elementor .area-footer a,
body .elementor .profile-link a { background:transparent!important; box-shadow:none!important; color:var(--ink)!important; }
body .elementor .contact-details a { background:transparent!important; border-radius:0!important; box-shadow:none!important; color:var(--ink)!important; }

@media (max-width:900px) {
  body .elementor .hero-panel .hero-seal,
  body .elementor .hero-panel .elementor-widget-image:has(img[src*="delega-wax-seal"]),
  body .elementor .hero-panel img[src*="delega-wax-seal"] { max-width:165px!important; width:165px!important; }
}
@media (max-width:600px) {
  body .elementor .hero .hero-title,
  body .elementor .hero .hero-title *,
  body .elementor .hero h1,
  body .elementor .hero h1 * { font-size:50px!important; }
  body .elementor .hero-actions { align-items:flex-start!important; flex-direction:column!important; }
}
