/* ==========================================================================
   UI REFRESH (v2)
   Same layout, colours and typefaces as style.css; this layer only refines
   the finish: depth, motion, accent lines and consistent hover states.
   Loaded after style.css — remove the enqueue to get the original look back.
   ========================================================================== */
:root {
	--dr-red-dark: #a8091f;
	--dr-red-deep: #8f0820;
	--dr-radius: 4px;
	--dr-shadow-sm: 0 2px 10px rgba(20, 24, 28, .06);
	--dr-shadow: 0 14px 34px -14px rgba(20, 24, 28, .28);
	--dr-shadow-lg: 0 28px 60px -24px rgba(20, 24, 28, .45);
	--dr-ease: cubic-bezier(.22, .61, .36, 1);
	--dr-footer-link: #484848;
}

/* ---------- Base ---------- */
:where(html) { scroll-behavior: smooth; }
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--dr-red); color: #fff; }
a { transition: color .2s var(--dr-ease), opacity .2s var(--dr-ease); }
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 2px solid var(--dr-red); outline-offset: 3px; }

/* ---------- Header ---------- */
.dr-header .dr-phone a:hover { color: var(--dr-red-deep); }

.dr-header .dr-navbar {
	background: linear-gradient(180deg, #da1438 0%, var(--dr-red) 55%, #c20a2d 100%);
	border-radius: var(--dr-radius);
	box-shadow: 0 16px 32px -16px rgba(143, 8, 32, .6);
}

/* Animated underline instead of a plain fade. */
.dr-navbar .et-menu > li > a { position: relative; }
.dr-navbar .et-menu > li > a:hover { opacity: 1; }
.dr-navbar .et-menu > li > a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 11px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s var(--dr-ease);
}
.dr-navbar .et-menu > li:hover > a::before,
.dr-navbar .et-menu > li.current-menu-item > a::before,
.dr-navbar .et-menu > li.current-menu-ancestor > a::before { transform: scaleX(1); }

/* Dropdowns: solid brand red, soft shadow, separators. */
.dr-navbar .et_pb_menu.et_pb_menu .et-menu-nav > ul ul {
	background-color: var(--dr-red) !important;
	width: 300px;
	border-top: 2px solid rgba(255, 255, 255, .9);
	border-radius: 0 0 var(--dr-radius) var(--dr-radius);
	box-shadow: var(--dr-shadow-lg);
	padding: 6px 0;
}
.dr-navbar .et-menu li li a {
	padding: 9px 0;
	font-size: 13px;
	letter-spacing: .06em;
	transition: padding .25s var(--dr-ease), opacity .2s;
}
.dr-navbar .et-menu li li + li a { border-top: 1px solid rgba(255, 255, 255, .15); }
.dr-navbar .et-menu li li a:hover { opacity: 1; padding-left: 8px; }

/* Search: soft translucent pill. */
.dr-navbar .et_pb_search input.et_pb_s {
	height: 38px;
	padding: 8px 40px 8px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .13);
	transition: background .25s var(--dr-ease);
}
.dr-navbar .et_pb_search input.et_pb_s:focus { background: rgba(255, 255, 255, .24); }
.dr-navbar .et_pb_search input.et_pb_s::placeholder { color: rgba(255, 255, 255, .85); }
.dr-navbar .et_pb_search .et_pb_searchform::after { right: 15px; width: 14px; height: 14px; margin-top: -7px; }

.dr-navbar .et_mobile_menu { box-shadow: var(--dr-shadow-lg); border-radius: 0 0 var(--dr-radius) var(--dr-radius); }

/* ---------- Banners and titles ---------- */
.dr-banner { position: relative; }
.dr-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .08) 100%);
}

.dr-title h1,
.dr-title h2 { position: relative; letter-spacing: .02em; }
.dr-title h1::after,
.dr-title h2::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 6px;
	width: 48px;
	height: 3px;
	margin-left: -24px;
	border-radius: 3px;
	background: var(--dr-red);
}

.dr-section-heading h1,
.dr-section-heading h2,
.dr-section-heading h3 { position: relative; letter-spacing: .03em; }
.dr-section-heading h1::after,
.dr-section-heading h2::after,
.dr-section-heading h3::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 40px;
	height: 3px;
	margin-left: -20px;
	border-radius: 3px;
	background: var(--dr-red);
}

.dr-materias-title h2 { position: relative; letter-spacing: .02em; }
.dr-materias-title h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 40px;
	height: 3px;
	border-radius: 3px;
	background: var(--dr-red);
}

/* ---------- Hero slider ---------- */
.dr-hero .et-pb-controllers a {
	width: 9px;
	height: 9px;
	border-radius: 9px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
	transition: width .3s var(--dr-ease), background-color .3s;
}
.dr-hero .et-pb-controllers .et-pb-active-control { width: 28px; }
.dr-hero .et-pb-slider-arrows a {
	width: 46px;
	height: 46px;
	margin-top: -23px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .28);
	color: #fff;
	font-size: 34px;
	line-height: 46px;
	text-align: center;
	z-index: 6;
	transition: background .25s, opacity .3s, left .3s, right .3s;
}
.dr-hero .et-pb-slider-arrows a:hover { background: var(--dr-red); }
.dr-quotes .et-pb-slider-arrows a:hover { color: var(--dr-red); }

/* ---------- Practice areas ---------- */
.dr-areas .et_pb_blurb {
	position: relative;
	border-bottom-color: rgba(208, 12, 48, .3);
}
.dr-areas .et_pb_blurb::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	background: var(--dr-red);
	transform: scaleX(.35);
	transition: transform .4s var(--dr-ease);
}
.dr-areas .et_pb_blurb:hover::after { transform: scaleX(1); }
.dr-areas .et_pb_blurb .et_pb_main_blurb_image a img,
.dr-areas .et_pb_blurb .et_pb_main_blurb_image img {
	filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .14));
	transition: transform .4s var(--dr-ease), filter .4s var(--dr-ease);
}
.dr-areas .et_pb_blurb:hover .et_pb_main_blurb_image a img,
.dr-areas .et_pb_blurb:hover .et_pb_main_blurb_image img {
	transform: translateY(-6px) scale(1.03);
	filter: drop-shadow(0 20px 22px rgba(208, 12, 48, .28));
}
.dr-areas .et_pb_blurb .et_pb_module_header a:hover { color: var(--dr-red-deep); }

/* ---------- Home: El despacho ---------- */
.dr-history {
	background: radial-gradient(120% 95% at 12% 0%, #e2183f 0%, var(--dr-red) 48%, #b3092a 100%);
}
.dr-history .dr-badge {
	letter-spacing: .02em;
	box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .6);
}
.dr-history h2 { letter-spacing: .03em; }
.dr-history .dr-history__photo .et_pb_image {
	z-index: 1;
	box-shadow: 0 32px 60px -26px rgba(0, 0, 0, .65);
}
/* Offset outline frame behind the photo. */
.dr-history .dr-history__photo::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 18px;
	right: -18px;
	bottom: -18px;
	border: 2px solid rgba(255, 255, 255, .4);
	pointer-events: none;
}
@media (max-width: 980px) {
	.dr-history .dr-history__photo::before { display: none; }
	.dr-history .dr-history__photo .et_pb_image { box-shadow: none; }
	.dr-history .dr-history__photo img { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
}

.dr-readmore.et_pb_button {
	letter-spacing: .12em;
	box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6);
	transition: background .25s var(--dr-ease), transform .25s var(--dr-ease), box-shadow .25s var(--dr-ease) !important;
}
.dr-readmore.et_pb_button:hover {
	background: var(--dr-red-deep) !important;
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -12px rgba(143, 8, 32, .7);
}

/* ---------- Home: Materias destacadas ---------- */
.dr-quotes .et_pb_slide::before,
.dr-quotes .et_pb_slide::after { background: var(--dr-red); opacity: .85; }
.dr-quote-author img {
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(208, 12, 48, .25), 0 16px 30px -12px rgba(0, 0, 0, .35);
}
.dr-quote-author span { letter-spacing: .1em; }

/* ---------- Home: blog teaser ---------- */
.dr-blog-section { background: linear-gradient(180deg, #f2f2f2 0%, #e9e9e9 100%); }
.dr-blog-feature__media {
	overflow: hidden;
	border-radius: var(--dr-radius);
	box-shadow: var(--dr-shadow);
}
.dr-blog-feature__media img { transition: transform .7s var(--dr-ease); }
.dr-blog-feature__media:hover img { transform: scale(1.04); }
.dr-blog-feature__date { z-index: 1; border-top-right-radius: var(--dr-radius); }

.dr-blog-list .et_pb_post {
	margin-bottom: 22px;
	padding: 24px 28px 26px;
	background: #fff;
	border-left: 3px solid transparent;
	border-radius: var(--dr-radius);
	box-shadow: var(--dr-shadow-sm);
	transition: box-shadow .3s var(--dr-ease), transform .3s var(--dr-ease), border-color .3s;
}
.dr-blog-list .et_pb_post:last-child { margin-bottom: 0; }
.dr-blog-list .et_pb_post:hover {
	border-left-color: var(--dr-red);
	box-shadow: var(--dr-shadow);
	transform: translateY(-3px);
}
.dr-blog-list .post-content-inner,
.dr-blog-list .post-content p { line-height: 26px; }
.dr-blog-list .more-link,
.dr-blog-page .more-link {
	border-radius: 3px;
	letter-spacing: .06em;
	transition: background .25s var(--dr-ease), transform .25s var(--dr-ease), box-shadow .25s var(--dr-ease);
}
.dr-blog-list .more-link { margin-top: 16px; }
.dr-blog-list .more-link:hover {
	background: var(--dr-red-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -10px rgba(229, 45, 39, .8);
}
.dr-blog-page .more-link:hover {
	background: #c4481c;
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -10px rgba(222, 87, 39, .8);
}
.dr-blog-list .entry-title a:hover,
.dr-blog-page .entry-title a:hover { color: var(--dr-red) !important; }

/* ---------- Outlined call-to-action buttons ---------- */
.dr-cta-btn.et_pb_button,
.dr-wa-btn.et_pb_button {
	letter-spacing: .06em;
	transition: background .25s var(--dr-ease), color .25s var(--dr-ease), transform .25s var(--dr-ease), box-shadow .25s var(--dr-ease) !important;
}
.dr-cta-btn.et_pb_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -14px rgba(255, 103, 91, .9);
}
.dr-wa-btn.et_pb_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -14px rgba(91, 168, 67, .9);
}

/* ---------- Contact ---------- */
.dr-contact-box.et_pb_blurb {
	position: relative;
	overflow: hidden;
	background: #fff;
	border-color: #e6ebee;
	border-radius: 6px;
	box-shadow: var(--dr-shadow-sm);
	transition: box-shadow .3s var(--dr-ease), transform .3s var(--dr-ease), border-color .3s;
}
.dr-contact-box.et_pb_blurb::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--dr-orange);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .4s var(--dr-ease);
}
.dr-contact-box.et_pb_blurb:hover {
	border-color: transparent;
	box-shadow: var(--dr-shadow);
	transform: translateY(-2px);
}
.dr-contact-box.et_pb_blurb:hover::before { transform: scaleY(1); }
.dr-contact-box .et_pb_module_header { letter-spacing: .03em; }
.dr-contact-box .et_pb_blurb_description a:hover { color: var(--dr-red); }

.dr-map .dr-map-gate {
	overflow: hidden;
	border-radius: 6px;
	box-shadow: var(--dr-shadow);
}
.dr-map-gate {
	background-color: #eef1f3;
	background-image: radial-gradient(rgba(71, 79, 83, .13) 1px, transparent 1px);
	background-size: 18px 18px;
}
.dr-map-gate__notice::before {
	content: "";
	width: 44px;
	height: 44px;
	margin-bottom: 4px;
	background: var(--dr-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.dr-map-gate__btn {
	border-radius: 3px;
	letter-spacing: .06em;
	box-shadow: 0 10px 22px -10px rgba(208, 12, 48, .7);
	transition: background .25s var(--dr-ease), transform .25s var(--dr-ease);
}
.dr-map-gate__btn:hover { background: var(--dr-red-deep); transform: translateY(-2px); }

/* ---------- El equipo ---------- */
.dr-team .et_pb_blurb .et-pb-icon { transition: color .3s var(--dr-ease), transform .3s var(--dr-ease); }
.dr-team .et_pb_blurb:hover .et-pb-icon { color: var(--dr-red); transform: translateY(-3px); }
.dr-team .et_pb_blurb .et_pb_module_header { letter-spacing: .06em; }

/* ---------- ¿Por qué? photos and gallery ---------- */
.dr-porque-photo .et_pb_image_wrap {
	display: block;
	overflow: hidden;
	border-radius: var(--dr-radius);
	box-shadow: var(--dr-shadow-lg);
}
.dr-gallery .et_pb_gallery_image {
	overflow: hidden;
	border-radius: var(--dr-radius);
	box-shadow: var(--dr-shadow-sm);
	transition: box-shadow .35s var(--dr-ease), transform .35s var(--dr-ease);
}
.dr-gallery .et_pb_gallery_image img { transition: transform .7s var(--dr-ease); }
.dr-gallery .et_pb_gallery_item:hover .et_pb_gallery_image { box-shadow: var(--dr-shadow); transform: translateY(-3px); }
.dr-gallery .et_pb_gallery_item:hover .et_pb_gallery_image img { transform: scale(1.05); }
.dr-gallery .et_overlay { background: rgba(208, 12, 48, .3); border: 0; }
.dr-gallery .et_overlay::before { color: #fff !important; }

/* ---------- Legal tables ---------- */
.dr-table tr:nth-child(even) td { background: #fafafa; }

/* ---------- Footer ---------- */
.dr-footer {
	background: linear-gradient(180deg, #bdbdbd 0%, var(--dr-footer) 100%);
	border-top: 4px solid var(--dr-red);
}
.dr-footer h4 {
	position: relative;
	padding-bottom: 20px;
	letter-spacing: .06em;
}
.dr-footer h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 9px;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--dr-red);
}
.dr-footer ul a {
	display: inline-block;
	transition: color .2s var(--dr-ease), transform .25s var(--dr-ease);
}
.dr-footer ul a:hover { transform: translateX(4px); }
.dr-footer .dr-social { gap: 10px; padding-top: 12px; }
.dr-footer .dr-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
	transition: background .25s var(--dr-ease), transform .25s var(--dr-ease);
}
.dr-footer .dr-social svg { width: 16px; height: 16px; }
.dr-footer .dr-social a:hover { background: var(--dr-red); transform: translateY(-2px); }
.dr-footer .dr-social a:hover svg { fill: #fff; }

.dr-copyright { background: linear-gradient(180deg, #5c5c5c 0%, var(--dr-copyright) 100%); }
.dr-copyright a:hover { opacity: .8; color: #fff; }

@media (max-width: 980px) {
	.dr-footer h4::after { left: 50%; margin-left: -14px; }
	.dr-footer ul a:hover { transform: none; }
}

/* ---------- Floating WhatsApp: gentle pulse ---------- */
.dr-whatsapp { isolation: isolate; }
.dr-whatsapp::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 50%;
	background: var(--dr-whatsapp);
	animation: dr-pulse 2.8s ease-out infinite;
}
@keyframes dr-pulse {
	0% { transform: scale(1); opacity: .5; }
	70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Single posts and landing pages ---------- */
body.single-post .entry-content img,
body.page:not(.et_pb_pagebuilder_layout) .entry-content img { border-radius: var(--dr-radius); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.dr-whatsapp::before { display: none; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

/* Áreas de actuación page: its larger labels overflowed into each other
   ("PROBLEMAS COTIDIANOS" / "SUBASTAS"); scale them to fit their column. */
@media (min-width: 981px) {
	body.page-id-80 .dr-areas .et_pb_blurb .et_pb_module_header { font-size: clamp(12px, 1.15vw, 17px); }
}

/* ==========================================================================
   UI REFRESH — round 2
   ========================================================================== */

/* Branded scrollbar */
:where(html) { scrollbar-color: rgba(208, 12, 48, .75) #f1f1f1; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: rgba(208, 12, 48, .75); border-radius: 10px; border: 2px solid #f1f1f1; }
::-webkit-scrollbar-thumb:hover { background: var(--dr-red); }

/* Scroll reveal (only active once JS has run) */
.dr-reveal-on .dr-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s var(--dr-ease), transform .8s var(--dr-ease);
	transition-delay: var(--dr-delay, 0ms);
}
.dr-reveal-on .dr-reveal.is-in { opacity: 1; transform: none; }
/* Elements that carry their own hover transforms keep them after revealing. */
.dr-reveal-on .dr-blog-list .et_pb_post.dr-reveal.is-in,
.dr-reveal-on .dr-contact-box.dr-reveal.is-in { transition: opacity .8s var(--dr-ease), transform .3s var(--dr-ease), box-shadow .3s var(--dr-ease), border-color .3s; transition-delay: 0ms; }
.dr-reveal-on .dr-blog-list .et_pb_post.dr-reveal.is-in:hover,
.dr-reveal-on .dr-contact-box.dr-reveal.is-in:hover { transform: translateY(-3px); }

/* Topbar: small icons before phone and e-mail */
.dr-header .dr-phone .dr-phone__tel a,
.dr-header .dr-phone .dr-phone__mail a { display: inline-flex; align-items: center; gap: 8px; }
.dr-header .dr-phone .dr-phone__tel a::before,
.dr-header .dr-phone .dr-phone__mail a::before {
	content: "";
	flex: 0 0 auto;
	background: currentColor;
	-webkit-mask: var(--dr-ico) no-repeat center / contain;
	mask: var(--dr-ico) no-repeat center / contain;
}
.dr-header .dr-phone .dr-phone__tel a::before {
	width: 16px;
	height: 16px;
	--dr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z'/%3E%3C/svg%3E");
}
.dr-header .dr-phone .dr-phone__mail a::before {
	width: 13px;
	height: 13px;
	--dr-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18c.6 0 1 .4 1 1v12c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V6c0-.6.4-1 1-1Zm9 7.2L4.4 7H4v.3l8 5.5 8-5.5V7h-.4L12 12.2Z'/%3E%3C/svg%3E");
}
@media (max-width: 980px) {
	.dr-header .dr-phone .dr-phone__tel a,
	.dr-header .dr-phone .dr-phone__mail a { justify-content: center; }
}

/* Content photos on inner pages: soft frame */
.et-l--post .et_pb_section:not(.dr-history) .et_pb_image:not(.dr-porque-photo) .et_pb_image_wrap {
	display: inline-block;
	overflow: hidden;
	border-radius: var(--dr-radius);
	box-shadow: var(--dr-shadow);
}
.et-l--post .et_pb_section:not(.dr-history) .et_pb_image:not(.dr-porque-photo) .et_pb_image_wrap img { transition: transform .8s var(--dr-ease); }
.et-l--post .et_pb_section:not(.dr-history) .et_pb_image:not(.dr-porque-photo):hover .et_pb_image_wrap img { transform: scale(1.03); }

/* Practice-area sub-headings: small red marker */
.dr-content h2 { position: relative; padding-left: 16px; }
.dr-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 4px;
	height: 13px;
	border-radius: 2px;
	background: var(--dr-red);
}
.dr-legal h2 { padding-left: 0; }
.dr-legal h2::before { display: none; }
.dr-content ul li::marker { color: var(--dr-red); }

/* Back-to-top button (sits above the WhatsApp button) */
.dr-totop {
	position: fixed;
	right: 32px;
	bottom: 96px;
	z-index: 9989;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--dr-red);
	box-shadow: 0 8px 22px -6px rgba(20, 24, 28, .35);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .3s var(--dr-ease), transform .3s var(--dr-ease), visibility .3s, background .25s, color .25s;
}
.dr-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.dr-totop:hover { background: var(--dr-red); color: #fff; }
@media (max-width: 767px) { .dr-totop { right: 23px; bottom: 82px; } }

/* Reading progress bar on blog posts */
.dr-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 99999; height: 3px; pointer-events: none; }
.dr-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--dr-red-deep), var(--dr-red), #ff4d6d);
	transform: scaleX(0);
	transform-origin: left center;
}
body.admin-bar .dr-progress { top: 32px; }

/* Blog posts: title and meta */
.single-post .entry-title { font-size: 26px; line-height: 1.35; letter-spacing: .01em; }
.single-post .post-meta { letter-spacing: .06em; padding-bottom: 18px; border-bottom: 1px solid #ececec; margin-bottom: 10px; }
.single-post .entry-content a:not(.wp-block-button__link):hover { color: var(--dr-red); }

/* Cookie banner: floating card that never covers the WhatsApp button */
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
	left: 20px;
	right: 104px;
	bottom: 20px;
	width: auto;
	max-width: 1140px;
	margin: 0 auto;
	border: 0;
	border-radius: 10px;
	background: rgba(28, 30, 33, .94);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container { padding: 18px 26px; }
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
	border-radius: 999px;
	letter-spacing: .04em;
	transition: transform .2s var(--dr-ease), filter .2s;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover { transform: translateY(-1px); filter: brightness(1.08); }
@media (max-width: 767px) {
	#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme { left: 12px; right: 12px; bottom: 12px; }
	body.gdpr-infobar-visible .dr-whatsapp,
	body.gdpr-infobar-visible .dr-totop { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
	.dr-reveal-on .dr-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   UI REFRESH — round 3 (visible upgrade, same layout)
   New type pairing, card surfaces, solid brand buttons, overlapping page
   titles, icon badges and a dark footer. Every section stays where it was.
   ========================================================================== */
:root {
	--dr-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--dr-sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
	--dr-ink: #16181b;
	--dr-body: #555c63;
	--dr-soft: #f6f4f2;
	--dr-line: #ebe7e3;
	--dr-r-lg: 16px;
	--dr-r-md: 10px;
	--et_global_body_font: var(--dr-sans);
}

/* ---------- Type ---------- */
:where(html) body,
:where(html) .dr-navbar .et-menu > li > a,
:where(html) .dr-navbar .et-menu li li a,
:where(html) .dr-navbar .et_pb_search input.et_pb_s,
:where(html) .dr-navbar .et_mobile_menu li a,
:where(html) .dr-cta-btn.et_pb_button,
:where(html) .et_pb_button.dr-cta-btn,
:where(html) .dr-wa-btn.et_pb_button,
:where(html) .dr-areas .et_pb_blurb h3,
:where(html) .dr-areas .et_pb_blurb h4,
:where(html) .dr-areas .et_pb_blurb .et_pb_module_header,
:where(html) .dr-section-heading h1,
:where(html) .dr-section-heading h2,
:where(html) .dr-section-heading h3,
:where(html) .dr-history .dr-history__text p,
:where(html) .dr-readmore.et_pb_button,
:where(html) .dr-quotes .et_pb_slide_content,
:where(html) .dr-quotes .et_pb_slide_content p,
:where(html) .dr-quote-author span,
:where(html) .dr-blog-feature__excerpt,
:where(html) .dr-blog-list .post-content-inner,
:where(html) .dr-blog-list .post-content p,
:where(html) .dr-blog-list .more-link,
:where(html) .dr-blog-page .post-meta,
:where(html) .dr-blog-page .more-link,
:where(html) .dr-contact-box .et_pb_blurb_description,
:where(html) .dr-contact-box .et_pb_blurb_description p,
:where(html) .dr-map-gate__btn,
:where(html) .dr-team .et_pb_blurb .et_pb_module_header,
:where(html) .dr-team .et_pb_blurb_description,
:where(html) .dr-team .et_pb_blurb_description p,
:where(html) .dr-footer h4,
:where(html) .dr-footer ul a,
:where(html) .dr-footer .dr-footer__contact,
:where(html) .dr-footer .dr-footer__contact a,
:where(html) .dr-copyright p,
:where(html) .single-post .post-meta { font-family: var(--dr-sans); }

:where(html) h1,
:where(html) h2,
:where(html) h3,
:where(html) h4,
:where(html) h5,
:where(html) h6,
:where(html) .dr-header .dr-cta p,
:where(html) .dr-title h1,
:where(html) .dr-title h2,
:where(html) .dr-content h2,
:where(html) .dr-content h5,
:where(html) .dr-content h4,
:where(html) .dr-content h3,
:where(html) .dr-history .dr-badge,
:where(html) .dr-history h2,
:where(html) .dr-materias-title h2,
:where(html) .dr-blog-feature__date,
:where(html) .dr-blog-list .entry-title,
:where(html) .dr-blog-page .entry-title,
:where(html) .dr-contact-box .et_pb_module_header,
:where(html) .dr-lead h2,
:where(html) .single-post .entry-title,
:where(html) .page:not(.et_pb_pagebuilder_layout) .entry-title { font-family: var(--dr-serif); }

.et_pb_menu_0_tb_header.et_pb_menu ul li a { font-family: var(--dr-sans) !important; }
:where(html) body { font-size: 15px; color: var(--dr-body); }
h1, h2, h3, h4, h5, h6 { font-family: var(--dr-serif); color: var(--dr-ink); }
.et-l--post p,
.et-l--post li { line-height: 1.85; }
.dr-navbar .et-menu > li > a { font-weight: 500; font-size: 14px; letter-spacing: .1em; }

/* ---------- Header: appointment chip + phone badge ---------- */
.dr-header .dr-cta p {
	position: relative;
	max-width: 250px;
	padding: 9px 16px 9px 46px;
	border: 1px solid rgba(208, 12, 48, .18);
	border-radius: 12px;
	background: linear-gradient(135deg, #fff 0%, #fff5f6 100%);
	font-family: var(--dr-sans);
	font-weight: 600;
	font-size: 13px;
	line-height: 18px;
	text-align: left;
	color: var(--dr-ink);
	transition: border-color .25s var(--dr-ease), box-shadow .25s var(--dr-ease), transform .25s var(--dr-ease);
}
.dr-header .dr-cta p::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background: var(--dr-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3V2Zm12 8H5v9h14v-9Zm-8 2h2v2h2v2h-2v2h-2v-2H9v-2h2v-2Z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3V2Zm12 8H5v9h14v-9Zm-8 2h2v2h2v2h-2v2h-2v-2H9v-2h2v-2Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.dr-header .dr-cta a { color: inherit; display: block; }
.dr-header .dr-cta p:hover {
	border-color: rgba(208, 12, 48, .45);
	box-shadow: 0 10px 22px -14px rgba(208, 12, 48, .55);
	transform: translateY(-1px);
}

.dr-header .dr-phone .dr-phone__tel a {
	font-family: var(--dr-sans);
	font-weight: 700;
	font-size: 21px;
	letter-spacing: .01em;
	color: var(--dr-ink);
	gap: 10px;
}
.dr-header .dr-phone .dr-phone__tel a::before {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	-webkit-mask: none;
	mask: none;
	background: var(--dr-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z'/%3E%3C/svg%3E") no-repeat center / 14px;
	box-shadow: 0 6px 14px -6px rgba(208, 12, 48, .8);
}
.dr-header .dr-phone .dr-phone__tel a:hover { color: var(--dr-red); }
.dr-header .dr-phone .dr-phone__mail a { padding-left: 4px; font-family: var(--dr-sans); font-size: 13.5px; color: var(--dr-body); }
.dr-header .dr-phone .dr-phone__mail a::before { margin: 0 9px 0 6px; color: var(--dr-red); }
.dr-header .dr-phone .dr-phone__mail a:hover { color: var(--dr-red); }
@media (max-width: 980px) {
	.dr-header .dr-cta p { margin: 0 auto; }
}

/* ---------- Section headings ---------- */
.dr-section-heading h1,
.dr-section-heading h2,
.dr-section-heading h3,
.dr-materias-title h2 {
	font-family: var(--dr-serif);
	font-weight: 600;
	font-size: 34px;
	line-height: 1.25;
	letter-spacing: .01em;
	text-transform: none;
	color: var(--dr-ink);
}
.dr-section-heading span,
.dr-materias-title strong { font-style: italic; font-weight: 500; color: var(--dr-red); }
.dr-section-heading h1::after,
.dr-section-heading h2::after,
.dr-section-heading h3::after,
.dr-materias-title h2::after { bottom: -14px; width: 56px; margin-left: -28px; height: 3px; background: linear-gradient(90deg, var(--dr-red) 0 60%, rgba(208, 12, 48, .25) 60% 100%); }
.dr-materias-title h2::after { margin-left: 0; }
.dr-section-heading::before,
.dr-materias-title::before {
	content: "Diego Rossi Abogados";
	display: block;
	margin-bottom: 10px;
	font-family: var(--dr-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	text-align: center;
	color: var(--dr-red);
}
.dr-materias-title::before { text-align: left; }

/* ---------- Inner pages: banner + title card that overlaps it ---------- */
.dr-banner { min-height: 260px; overflow: hidden; }
.dr-banner::after {
	background:
		linear-gradient(90deg, rgba(208, 12, 48, .45) 0%, rgba(208, 12, 48, 0) 45%),
		linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .3) 100%);
}
.dr-banner + .et_pb_section .dr-title {
	position: relative;
	z-index: 3;
	max-width: 760px;
	margin: -180px auto 46px !important;
	padding: 34px 48px 34px;
	background: #fff;
	border-radius: var(--dr-r-lg) var(--dr-r-lg) 0 0;
	box-shadow: 0 -24px 50px -30px rgba(0, 0, 0, .45);
}
.dr-title::before {
	content: "Diego Rossi Abogados";
	display: block;
	margin-bottom: 8px;
	font-family: var(--dr-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	text-align: center;
	color: var(--dr-red);
}
.dr-title h1,
.dr-title h2 {
	font-family: var(--dr-serif);
	font-weight: 600;
	font-size: 36px;
	line-height: 1.2;
	letter-spacing: .01em;
	text-transform: none;
	color: var(--dr-ink);
	margin: 0;
	padding-bottom: 26px;
}
.dr-title h1::after,
.dr-title h2::after { bottom: 0; width: 56px; margin-left: -28px; background: linear-gradient(90deg, var(--dr-red) 0 60%, rgba(208, 12, 48, .25) 60% 100%); }
@media (max-width: 980px) {
	.dr-banner { min-height: 190px; }
	.dr-banner + .et_pb_section .dr-title { margin-top: -130px !important; padding: 26px 22px 26px; }
	.dr-title h1, .dr-title h2 { font-size: 28px; }
}

/* ---------- Practice areas: cards ---------- */
.et_pb_section:has(> .dr-areas) { background: linear-gradient(180deg, #fff 0%, var(--dr-soft) 38%, var(--dr-soft) 100%); }
.dr-areas > .et_pb_column { display: flex; }
.dr-areas .et_pb_blurb {
	flex: 1;
	padding: 34px 16px 30px;
	background: #fff;
	border: 1px solid var(--dr-line);
	border-radius: var(--dr-r-lg);
	box-shadow: 0 2px 6px rgba(20, 24, 28, .04), 0 18px 36px -28px rgba(20, 24, 28, .4);
	overflow: hidden;
	transition: transform .4s var(--dr-ease), box-shadow .4s var(--dr-ease), border-color .4s;
}
.dr-areas .et_pb_blurb::after { left: 0; right: 0; bottom: 0; height: 4px; transform: scaleX(0); transform-origin: center; }
.dr-areas .et_pb_blurb:hover {
	transform: translateY(-8px);
	border-color: rgba(208, 12, 48, .25);
	box-shadow: 0 30px 50px -28px rgba(208, 12, 48, .45);
}
.dr-areas .et_pb_blurb .et_pb_main_blurb_image { margin-bottom: 22px; }
.dr-areas .et_pb_blurb .et_pb_main_blurb_image img { max-width: 132px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(208, 12, 48, .06); }
.dr-areas .et_pb_blurb .et_pb_module_header,
.dr-areas .et_pb_blurb h2,
.dr-areas .et_pb_blurb h3 {
	font-family: var(--dr-sans);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	white-space: normal;
	text-wrap: balance;
	color: var(--dr-ink);
}
.dr-areas .et_pb_blurb .et_pb_module_header a { color: var(--dr-ink); }
.dr-areas .et_pb_blurb:hover .et_pb_module_header a { color: var(--dr-red); }
.dr-areas .et_pb_blurb .et_pb_module_header::after {
	content: "Ver más \2192";
	display: block;
	margin-top: 10px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: none;
	color: var(--dr-red);
	opacity: .75;
	transition: opacity .3s, transform .3s var(--dr-ease);
}
.dr-areas .et_pb_blurb:hover .et_pb_module_header::after { opacity: 1; transform: translateX(4px); }
@media (min-width: 981px) {
	body.page-id-80 .dr-areas .et_pb_blurb .et_pb_module_header { font-size: 13px; }
}
@media (max-width: 980px) {
	.dr-areas .et_pb_blurb { margin: 0 6px !important; }
}

/* ---------- Home: El despacho ---------- */
.dr-history { position: relative; overflow: hidden; }
.dr-history::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .12) 0, rgba(255, 255, 255, 0) 32%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, rgba(255, 255, 255, 0) 2px 14px);
}
.dr-history .dr-badge {
	border-radius: 0 0 var(--dr-r-lg) var(--dr-r-lg);
	padding: 54px 30px 16px;
	font-family: var(--dr-serif);
	font-weight: 600;
	letter-spacing: .02em;
	background: linear-gradient(180deg, #0c0d0f 0%, #1d2024 100%);
}
.dr-history .dr-badge span { font-style: italic; }
.dr-history h2 { font-family: var(--dr-serif); font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.dr-history h2::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 14px; background: rgba(255, 255, 255, .6); }
.dr-history .dr-history__text p { font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, .93); }
.dr-history .dr-history__photo .et_pb_image,
.dr-history .dr-history__photo .et_pb_image_wrap,
.dr-history .dr-history__photo img { border-radius: var(--dr-r-lg); }
.dr-history .dr-history__photo::before { border-radius: var(--dr-r-lg); }

.dr-readmore.et_pb_button,
.dr-readmore.et_pb_button:hover {
	border-radius: 0 0 999px 999px !important;
	padding: 16px 52px 16px !important;
	font-family: var(--dr-sans);
	letter-spacing: .16em;
}
.dr-readmore.et_pb_button { background: var(--dr-ink) !important; }

/* ---------- Home: Materias destacadas as a quote card ---------- */
.et_pb_section:has(.dr-quotes) { background: linear-gradient(180deg, #fff 0%, var(--dr-soft) 100%); padding-top: 80px !important; padding-bottom: 70px !important; }
.et_pb_row:has(> .et_pb_column > .dr-quotes) {
	margin-top: 26px !important;
	padding: 48px 0 40px !important;
	background: #fff;
	border-radius: var(--dr-r-lg);
	border: 1px solid var(--dr-line);
	box-shadow: 0 30px 60px -40px rgba(20, 24, 28, .45);
}
.dr-quotes .et_pb_slide { padding: 0 110px; }
.dr-quotes .et_pb_slide::before { left: 40px; top: -2px; width: 40px; height: 32px; }
.dr-quotes .et_pb_slide::after { right: 40px; bottom: -6px; width: 40px; height: 32px; opacity: .25 !important; }
.dr-quotes .et_pb_slide_content,
.dr-quotes .et_pb_slide_content p {
	font-family: var(--dr-serif);
	font-size: 22px;
	line-height: 1.6;
	color: var(--dr-ink) !important;
}
.dr-quote-author { padding-left: 0; padding-top: 26px; }
.dr-quote-author img { width: 76px; height: 76px; }
.dr-quote-author span { font-family: var(--dr-sans); letter-spacing: .14em; color: var(--dr-ink); }
@media (max-width: 767px) {
	.dr-quotes .et_pb_slide { padding: 0 28px; }
	.dr-quotes .et_pb_slide::before { left: 14px; top: -30px; }
	.dr-quotes .et_pb_slide::after { display: none; }
	.dr-quotes .et_pb_slide_content, .dr-quotes .et_pb_slide_content p { font-size: 18px; }
}

/* ---------- Home: blog teaser ---------- */
.et_pb_section:has(+ .dr-blog-section) { background: var(--dr-soft); }
.dr-blog-section { background: var(--dr-soft); }
.dr-blog-feature__media { border-radius: var(--dr-r-lg); }
.dr-blog-feature__date {
	left: 18px;
	bottom: 18px;
	width: 68px;
	border-radius: 12px;
	background: var(--dr-red);
	font-family: var(--dr-sans);
	box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6);
}
.dr-blog-feature__excerpt { font-family: var(--dr-sans); font-weight: 600; font-size: 13.5px; line-height: 1.9; color: var(--dr-ink); letter-spacing: .02em; }
.dr-blog-list .et_pb_post { border-radius: var(--dr-r-lg); border: 1px solid var(--dr-line); border-left: 1px solid var(--dr-line); padding: 28px 30px 28px; }
.dr-blog-list .et_pb_post:hover { border-color: rgba(208, 12, 48, .3); }
.dr-blog-list .entry-title,
.dr-blog-page .entry-title { font-family: var(--dr-serif) !important; font-weight: 600 !important; letter-spacing: .01em; }
.dr-blog-list .entry-title a,
.dr-blog-page .entry-title a { color: var(--dr-ink) !important; }
.dr-blog-list .entry-title a:hover,
.dr-blog-page .entry-title a:hover { color: var(--dr-red) !important; }
.dr-blog-list .post-content-inner,
.dr-blog-list .post-content p { font-size: 13px; color: var(--dr-body); }

.dr-blog-list .more-link,
.dr-blog-page .more-link {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	padding: 11px 22px 11px 24px;
	border-radius: 999px;
	background: var(--dr-red);
	font-family: var(--dr-sans);
	font-size: 12.5px;
	letter-spacing: .12em;
	box-shadow: 0 10px 22px -12px rgba(208, 12, 48, .8);
}
.dr-blog-list .more-link::after,
.dr-blog-page .more-link::after { content: "\2192"; font-size: 15px; line-height: 1; transition: transform .25s var(--dr-ease); }
.dr-blog-list .more-link:hover,
.dr-blog-page .more-link:hover { background: var(--dr-red-deep); box-shadow: 0 14px 26px -12px rgba(143, 8, 32, .8); }
.dr-blog-list .more-link:hover::after,
.dr-blog-page .more-link:hover::after { transform: translateX(3px); }

/* Blog page: cards */
.dr-blog-page .et_pb_post {
	padding: 34px 38px 34px;
	margin-bottom: 26px;
	background: #fff;
	border: 1px solid var(--dr-line);
	border-radius: var(--dr-r-lg);
	box-shadow: 0 2px 6px rgba(20, 24, 28, .03);
	transition: transform .35s var(--dr-ease), box-shadow .35s var(--dr-ease), border-color .35s;
}
.dr-blog-page .et_pb_post:hover { transform: translateY(-4px); border-color: rgba(208, 12, 48, .25); box-shadow: 0 26px 50px -30px rgba(20, 24, 28, .4); }
.dr-blog-page .post-meta { font-family: var(--dr-sans); font-size: 12px; letter-spacing: .12em; color: var(--dr-red); }
.dr-blog-page .post-meta a { color: var(--dr-ink); }
.dr-blog-page .post-content p,
.dr-blog-page .post-content-inner { font-size: 14px; color: var(--dr-body); }
.dr-blog-page .pagination a { font-family: var(--dr-sans); font-weight: 600; color: var(--dr-red); }

/* ---------- Call-to-action buttons: solid brand fills ---------- */
.dr-cta-btn.et_pb_button,
.et_pb_button.dr-cta-btn,
.dr-cta-btn.et_pb_button:hover {
	max-width: 520px;
	margin: 0 auto;
	padding: 17px 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #e0153b 0%, var(--dr-red) 50%, #b20a29 100%) !important;
	color: #fff !important;
	font-family: var(--dr-sans);
	font-weight: 700;
	font-size: 14px !important;
	letter-spacing: .14em;
	box-shadow: 0 18px 34px -16px rgba(208, 12, 48, .75);
}
.dr-cta-btn.et_pb_button:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -16px rgba(208, 12, 48, .85); filter: brightness(1.05); }
.dr-wa-btn.et_pb_button,
.dr-wa-btn.et_pb_button:hover {
	max-width: 520px;
	margin: 0 auto;
	padding: 17px 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, #2fd673 0%, #1fae55 100%) !important;
	color: #fff !important;
	font-family: var(--dr-sans);
	font-weight: 700;
	letter-spacing: .14em;
	box-shadow: 0 18px 34px -16px rgba(31, 174, 85, .75);
}
.dr-wa-btn.et_pb_button:hover { transform: translateY(-3px); filter: brightness(1.05); }
.dr-porque .et_pb_button, .et_pb_row .dr-wa-btn { max-width: none; }

/* ---------- Contact: icon badges ---------- */
.dr-contact-box.et_pb_blurb { border-radius: var(--dr-r-lg); padding: 28px 28px 24px; }
.dr-contact-box.et_pb_blurb::before { background: var(--dr-red); }
.dr-contact-box .et_pb_main_blurb_image { width: 56px !important; margin-right: 6px; }
.dr-contact-box .et-pb-icon {
	width: 52px;
	height: 52px;
	line-height: 52px;
	text-align: center;
	font-size: 21px !important;
	border-radius: 14px;
	background: rgba(208, 12, 48, .08);
	color: var(--dr-red) !important;
	transition: background .3s, color .3s;
}
.dr-contact-box.et_pb_blurb:hover .et-pb-icon { background: var(--dr-red); color: #fff !important; }
.dr-contact-box .et_pb_module_header { font-family: var(--dr-serif); font-weight: 600; font-size: 19px; text-transform: none; }
.dr-contact-box .et_pb_blurb_description,
.dr-contact-box .et_pb_blurb_description p { font-size: 15px; }
.dr-map .dr-map-gate { border-radius: var(--dr-r-lg); }

/* ---------- El equipo: icon badges + cards ---------- */
.dr-team > .et_pb_column { display: flex; }
.dr-team .et_pb_blurb {
	flex: 1;
	padding: 36px 22px 30px;
	background: #fff;
	border: 1px solid var(--dr-line);
	border-radius: var(--dr-r-lg);
	transition: transform .35s var(--dr-ease), box-shadow .35s var(--dr-ease), border-color .35s;
}
.dr-team .et_pb_blurb:hover { transform: translateY(-6px); border-color: rgba(208, 12, 48, .25); box-shadow: 0 28px 50px -30px rgba(20, 24, 28, .45); }
.dr-team .et_pb_blurb .et-pb-icon {
	width: 84px;
	height: 84px;
	line-height: 84px;
	font-size: 34px !important;
	border-radius: 50%;
	background: rgba(208, 12, 48, .08);
	color: var(--dr-red) !important;
}
.dr-team .et_pb_blurb:hover .et-pb-icon { background: var(--dr-red); color: #fff !important; transform: none; }
.dr-team .et_pb_blurb .et_pb_module_header { font-family: var(--dr-serif); font-weight: 600; font-size: 19px; letter-spacing: .01em; text-transform: none; color: var(--dr-ink); }
.dr-team .et_pb_blurb_description,
.dr-team .et_pb_blurb_description p { font-size: 14px; color: var(--dr-body); }

/* ---------- Practice pages: photo with offset accent, stays in view ---------- */
@media (min-width: 981px) {
	.et-l--post .et_pb_row:has(.dr-content) { align-items: flex-start; }
	.et-l--post .et_pb_row:has(.dr-content) > .et_pb_column:last-child { position: sticky; top: 90px; }
}
.et-l--post .et_pb_row:has(.dr-content) .et_pb_image .et_pb_image_wrap {
	border-radius: var(--dr-r-lg);
	box-shadow: 18px 18px 0 0 rgba(208, 12, 48, .12), 0 30px 60px -30px rgba(20, 24, 28, .5);
}
.dr-content h2,
.dr-content h3,
.dr-content h4,
.dr-content h5 { font-family: var(--dr-serif); font-weight: 600; text-transform: none; color: var(--dr-ink); }
.dr-content h2 { font-size: 20px; line-height: 1.35; padding-top: 10px; }
.dr-content h2::before { top: 15px; height: 16px; }
.dr-content h3 { font-size: 22px; }
.dr-divider hr, .dr-divider .et_pb_divider_internal { border-color: var(--dr-line) !important; }
.dr-lead h2 { font-family: var(--dr-serif); font-weight: 500; font-style: italic; font-size: 24px; line-height: 1.45; text-transform: none; text-align: left; color: var(--dr-ink); }

/* Legal pages read better without the decorative headings. */
.dr-legal h2, .dr-legal h3 { text-transform: none; }

/* ---------- Footer: dark, with light logo ---------- */
.dr-footer {
	background:
		radial-gradient(circle at 100% 0%, rgba(208, 12, 48, .16) 0, rgba(208, 12, 48, 0) 40%),
		linear-gradient(180deg, #1b1d21 0%, #131417 100%);
	border-top: 4px solid var(--dr-red);
	padding: 70px 0 56px !important;
}
.dr-footer .dr-footer__logo img { content: url("img/logo-footer-light.png"); max-width: 230px; }
.dr-footer h4 { font-family: var(--dr-serif); font-weight: 600; font-size: 19px; letter-spacing: .02em; text-transform: none; color: #fff; }
.dr-footer ul a,
.dr-footer .dr-footer__contact,
.dr-footer .dr-footer__contact a { font-family: var(--dr-sans); font-weight: 500; font-size: 14.5px; letter-spacing: .01em; color: #b8bdc3; }
.dr-footer ul a:hover,
.dr-footer .dr-footer__contact a:hover { color: #fff; }
.dr-footer .dr-footer__contact svg { fill: var(--dr-red); }
.dr-footer .dr-social a { background: rgba(255, 255, 255, .08); }
.dr-footer .dr-social a:hover svg { fill: #fff; }
.dr-copyright { background-image: linear-gradient(#0d0e10, #0d0e10); border-top: 1px solid rgba(255, 255, 255, .06); }
.dr-copyright p { font-family: var(--dr-sans); font-size: 13px; color: #8d9399; }
.dr-copyright a { color: #8d9399; }

/* ---------- Single posts ---------- */
.single-post .entry-title { font-family: var(--dr-serif); font-weight: 600; font-size: 34px; line-height: 1.25; text-transform: none; color: var(--dr-ink); }
.single-post .post-meta { font-family: var(--dr-sans); font-size: 12px; color: var(--dr-red); }
.single-post .entry-content h2,
.single-post .entry-content h3 { font-family: var(--dr-serif); font-weight: 600; color: var(--dr-ink); }
.single-post #left-area { font-size: 16px; }

/* ---------- Small finishing touches ---------- */
.dr-totop { border-radius: 14px; }
.dr-gallery .et_pb_gallery_image { border-radius: 12px; }
.dr-porque-photo .et_pb_image_wrap { border-radius: var(--dr-r-lg); }
.et-l--post .et_pb_section:not(.dr-history) .et_pb_image:not(.dr-porque-photo) .et_pb_image_wrap { border-radius: var(--dr-r-lg); }

/* round 3 — fit and finish */
html body { font-size: 15px; }
.et-l--post .et_pb_text p,
.et-l--post .et_pb_text li { font-size: 15px; }
.dr-team.et_pb_row,
.dr-areas.et_pb_row { display: flex; align-items: stretch; }
.dr-team .et_pb_blurb .et_pb_main_blurb_image { margin-bottom: 8px; }
.dr-team .et_pb_blurb .et_pb_module_header { padding-top: 10px; }
.dr-quotes .et_pb_slide_content,
.dr-quotes .et_pb_slide_content p { text-align: left !important; }
.dr-blog-section { background-image: linear-gradient(var(--dr-soft), var(--dr-soft)); }
.et_pb_section:has(+ .dr-blog-section) { background-image: linear-gradient(var(--dr-soft), var(--dr-soft)); }
.dr-map-gate__btn { border-radius: 999px; padding: 12px 28px; }
@media (max-width: 980px) {
	.dr-team.et_pb_row, .dr-areas.et_pb_row { flex-wrap: wrap; }
	.dr-team > .et_pb_column { margin-bottom: 20px !important; }
}
.dr-areas .et_pb_blurb .et_pb_module_header a { color: var(--dr-ink) !important; }
.dr-areas .et_pb_blurb:hover .et_pb_module_header a { color: var(--dr-red) !important; }
@media (max-width: 479px) {
	.dr-areas .et_pb_column { width: 50% !important; padding: 0 5px; margin-bottom: 12px !important; }
	.dr-areas .et_pb_column:last-child { margin-left: 25%; }
	.dr-areas .et_pb_blurb { margin: 0 !important; padding: 22px 8px 20px; }
	.dr-areas .et_pb_blurb .et_pb_main_blurb_image img { max-width: 92px; }
	.dr-areas .et_pb_blurb .et_pb_module_header,
	.dr-areas .et_pb_blurb h2,
	.dr-areas .et_pb_blurb h3 { font-size: 12.5px; letter-spacing: .04em; }
}
@media (max-width: 980px) {
	.dr-areas.et_pb_row { justify-content: center; }
	.dr-areas .et_pb_column:last-child { margin-left: 0 !important; }
}
