/* Cueto Rua Abogados — estilos del sitio */

@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/roboto-condensed-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/roboto-condensed-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--navy: #2a3847;
	--slate: #49576a;
	--slate-light: #667489;
	--gold: #dab844;
	--white: #fff;
	--container: 1100px;
	--gutter: 15px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
	font-size: 15px;
	line-height: 1.3333;
	color: var(--navy);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
	margin: 0;
	font-weight: 300;
	text-transform: uppercase;
	line-height: 1.1;
}
h1 { font-size: 70px; }
h2 { font-size: 32px; }
h3 { font-size: 26px; }
p { margin: 0 0 9.5px; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 400;
	background: var(--white); color: var(--navy); padding: 10px 15px;
}
.skip-link:focus { left: 15px; top: 15px; }

/* ---------- Header ---------- */

.site-header {
	position: absolute;
	top: 0; left: 0; right: 0;
	padding-top: 50px;
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.logo { display: block; width: 200px; height: 52px; }
.logo img { width: 200px; height: 52px; }

.menu-toggle {
	z-index: 320;
	position: relative;
	width: 23px; height: 28px;
	margin-right: 15px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: var(--white);
}
.menu-toggle span {
	position: absolute;
	left: 0;
	width: 23px; height: 2px;
	background: currentColor;
	transition: transform 300ms ease, opacity 300ms ease, top 300ms ease;
}
.menu-toggle span:nth-child(1) { top: 5px; }
.menu-toggle span:nth-child(2) { top: 13px; }
.menu-toggle span:nth-child(3) { top: 21px; }
.menu-open .menu-toggle span:nth-child(1) { top: 13px; transform: rotate(-45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 13px; transform: rotate(45deg); }

/* ---------- Menú pantalla completa ---------- */

.fullscreen-menu {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(42, 56, 71, .9);
	visibility: hidden;
	opacity: 0;
	transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}
.menu-open .fullscreen-menu { visibility: visible; opacity: 1; }
.fullscreen-menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.fullscreen-menu li + li { margin-top: 10px; }
.fullscreen-menu a {
	font-size: 32px;
	font-weight: 300;
	line-height: 1.3333;
	text-transform: uppercase;
	color: var(--white);
}
.fullscreen-menu a:hover { text-decoration: none; opacity: .75; }
.fullscreen-menu .lang a { color: var(--gold); }

/* ---------- Home ---------- */

.home-hero {
	background: var(--slate) url(../img/bg-01.png) center / cover no-repeat;
	color: var(--white);
}
.home-hero .inner { padding: calc(12% + 35px) 5px calc(5% + 35px); }

.home-mission { background: var(--navy); color: var(--white); }
.home-mission .inner { padding: calc(10% + 3px) 5px calc(10% + 35px); }

.home-grid { background: var(--slate-light); color: var(--white); }
.home-grid .container { display: flex; padding: 0; }
.home-grid .col {
	flex: 1 1 33.333%;
	display: flex;
	align-items: center;
	padding: 0 20px;
}
.home-grid .col--slate h3 { padding: calc(30% + 35px) 0; }
.home-grid .col--slate { background: var(--slate); }
.home-grid .col--image { background: var(--slate-light) url(../img/bg-02.png) center / cover no-repeat; }
.home-grid .col--gold { background: var(--gold); }

/* ---------- Páginas internas ---------- */

.page-hero { background: center / cover no-repeat; }
.page-hero .inner { padding-top: calc(30% + 35px); }

.page-content .inner { padding: 5% 0 calc(5% + 35px); }
.visually-h2 { font-size: 32px; margin-bottom: 9.5px; }
.visually-h3 { font-size: 26px; }
.page-content .visually-h2 + .lead { margin-top: 30px; }

.practice-area { margin-top: 40px; }
.practice-area + .practice-area { margin-top: 48px; }
.practice-area .visually-h3 { margin-bottom: 9.5px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Equipo */
.team-group { padding-top: calc(min(100vw - 30px, 1070px) * .05); }
.team-group:last-of-type { padding-bottom: calc(min(100vw - 30px, 1070px) * .05); }
.team-group h2 { margin-bottom: 35px; }
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 78px 30px;
	margin-bottom: 40px;
}
.team-member img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-member h3 { margin: 34px 0 9.5px; }
.team-member .role { text-transform: uppercase; font-size: 12px; margin-bottom: 9.5px; }
.team-member .email { font-size: 12px; display: inline-block; margin-bottom: 9.5px; }
.btn {
	display: inline-block;
	margin-top: 21px;
	padding: 14px 20px;
	border-radius: 5px;
	background: var(--navy);
	color: var(--white);
	font-size: 14px;
	line-height: 1.35;
}
.btn:hover { text-decoration: none; background: var(--slate); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-top: 30px; }
.contact--solo { grid-template-columns: 1fr; }
.contact-info .visually-h3 { font-size: 20px; margin: 0 0 6px; }
.contact-info p { margin-bottom: 28px; }
.contact-form .lead { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 18px; text-transform: uppercase; font-size: 13px; letter-spacing: .03em; }
.contact-form input, .contact-form textarea {
	display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
	font: inherit; font-size: 16px; text-transform: none; letter-spacing: normal; color: var(--navy);
	background: #fff; border: 1px solid #c5ccd6; border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { margin-top: 6px; border: 0; cursor: pointer; font-family: inherit; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }
.form-note { font-size: 13px; color: var(--slate-light); }
.form-status { padding: 14px 16px; margin-bottom: 20px; }
.form-status--ok { background: var(--navy); color: #fff; }
.form-status--err { background: #f6e9c0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Franja de color antes del footer */
.color-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.color-strip > div { aspect-ratio: 1; }
.color-strip img { width: 100%; height: 100%; object-fit: cover; }
.color-strip .c1 { background: var(--navy); }
.color-strip .c2 { background: var(--slate); }
.color-strip .c3 { background: var(--slate-light); }
.color-strip .c4 { background: var(--gold); }

/* ---------- Footer ---------- */

.site-footer { padding: 50px 0 84px; font-size: 16px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 30px; }
.site-footer p { margin: 0; }
.site-footer .right { text-align: right; }

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
	h1 { font-size: 50px; }
	.site-header { padding-top: 25px; }
	.menu-toggle { margin-right: 0; }
	.home-hero .inner { padding: calc(25% + 35px) 5px calc(12% + 35px); }
	.home-grid .container { display: block; padding: 0; }
	.home-grid .col { padding: 35px 20px; }
	.home-grid .col--slate h3 { padding: 0; }
	.home-grid .col--image { display: none; }
	.page-hero .inner { padding-top: 50%; }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.contact { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 767px) {
	.team-grid { grid-template-columns: 1fr; }
	.site-footer .container { flex-direction: column; text-align: center; gap: 45px; }
	.site-footer .right { text-align: center; }
	.fullscreen-menu a { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.fullscreen-menu, .menu-toggle span { transition: none; }
}
