:root {
  --black: #05070b;
  --black-soft: #0a0e15;
  --navy: #081426;
  --navy-light: #10213b;
  --blue: #1e5fe5;
  --blue-light: #4284ff;
  --gold: #c9a24d;
  --gold-light: #e4c675;
  --white: #ffffff;
  --text: #f4f6fb;
  --muted: #aeb8c8;
  --muted-dark: #667085;
  --line: rgba(255, 255, 255, 0.12);
  --line-gold: rgba(201, 162, 77, 0.45);
  --success: #1fc66d;
  --surface: #0d1521;
  --surface-light: #111d2d;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --transition: 0.3s ease;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

p {
  color: var(--muted);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label::before,
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.section-label-light {
  color: var(--gold-light);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading h2 {
  margin: 16px 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p {
  max-width: 650px;
  margin-inline: auto;
  font-size: 1.05rem;
}

.section-heading-light p {
  color: rgba(255, 255, 255, 0.72);
}

/* BOTONES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 700;
  transition:
    transform var(--transition),
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 30px rgba(201, 162, 77, 0.2);
}

.btn-gold:hover {
  box-shadow: 0 16px 38px rgba(201, 162, 77, 0.32);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 162, 77, 0.08);
}

.btn-large {
  min-height: 56px;
  padding-inline: 30px;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  min-height: 84px;
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 11, 0.58);
  backdrop-filter: blur(14px);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(5, 7, 11, 0.95);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 40px));
  min-height: 84px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 280px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  color: var(--white);
  font-size: 0.95rem;
}

.brand-text small {
  margin-top: 4px;
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 30px 14px;
  border: none;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 21px;
  left: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.dropdown a:hover {
  padding-left: 19px;
  color: var(--gold-light);
  background: rgba(201, 162, 77, 0.08);
}

.nav-item:hover .dropdown,
.nav-item.dropdown-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-mobile-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: var(--transition);
}

/* HERO PRINCIPAL */

.main-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 820px;
  padding-top: 84px;
  background:
    url("https://www.voyagevirtuel.net/argentine/buenos-aires/bigphotos/buenos-aires-universidad-abogacia-963.jpg")
    center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 6, 11, 0.96) 0%,
      rgba(5, 12, 23, 0.87) 48%,
      rgba(5, 7, 11, 0.54) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 7, 11, 0.92) 0%,
      transparent 48%
    );
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 90px;
}

.hero-content {
  max-width: 760px;
}

.hero-content h1 {
  max-width: 790px;
  margin: 22px 0;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.hero-stats {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  background: rgba(5, 10, 18, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-stat {
  padding: 28px;
}

.hero-stat + .hero-stat {
  border-top: 1px solid var(--line);
}

.hero-stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-light);
  font-size: 1.7rem;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* SOBRE EL ESTUDIO */

.about-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(30, 95, 229, 0.08), transparent 32%),
    var(--black);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.about-image {
  position: relative;
  padding: 0 22px 22px 0;
}

.about-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 540px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  border: 2px solid var(--gold);
}

.about-content h2 {
  margin: 18px 0 25px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.about-content p {
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: var(--gold-light);
  font-weight: 700;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(6px);
}

/* SERVICIOS */

.services-section {
  background: var(--black-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  min-height: 440px;
  padding: 45px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--surface);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(30, 95, 229, 0.1);
  filter: blur(10px);
}

.service-card-featured::before {
  background: rgba(201, 162, 77, 0.12);
}

.service-card:hover {
  transform: translateY(-9px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow);
}

.service-number {
  position: absolute;
  top: 26px;
  right: 30px;
  color: rgba(255, 255, 255, 0.07);
  font-size: 4.5rem;
  font-weight: 800;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 30px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: rgba(201, 162, 77, 0.08);
  font-size: 1.8rem;
}

.service-card h3 {
  color: var(--white);
  font-size: 2rem;
}

.service-card p {
  max-width: 530px;
  min-height: 100px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.service-whatsapp {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-whatsapp:hover {
  text-decoration: underline;
}

/* HERO ACCIDENTES */

.accident-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 670px;
  background:
    url("https://images.unsplash.com/photo-1551830820-330a71b99659?auto=format&fit=crop&w=1920&q=85")
    center / cover no-repeat;
}

.accident-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 5, 10, 0.97),
      rgba(4, 12, 25, 0.82) 52%,
      rgba(4, 10, 18, 0.55)
    ),
    linear-gradient(0deg, rgba(5, 7, 11, 0.9), transparent);
}

.accident-hero-content {
  position: relative;
  z-index: 2;
}

.accident-hero-content h2 {
  max-width: 850px;
  margin: 18px 0 24px;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.7rem);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.accident-hero-content h2 span {
  display: block;
  color: var(--gold-light);
}

.accident-hero-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

/* PROCESO */

.process-section {
  color: #172033;
  background: #f4f6fa;
}

.process-section .section-heading h2 {
  color: #111827;
}

.process-section .section-heading p {
  color: var(--muted-dark);
}

.process-section .section-label {
  color: #8c681e;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 31px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(201, 162, 77, 0.22),
    var(--gold),
    rgba(201, 162, 77, 0.22)
  );
}

.process-card {
  position: relative;
  z-index: 2;
  padding: 0 18px;
  text-align: center;
}

.process-step {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  border: 6px solid #f4f6fa;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 162, 77, 0.24);
  font-weight: 800;
}

.process-icon {
  margin-bottom: 15px;
  font-size: 2.3rem;
}

.process-card h3 {
  color: #121a2a;
  font-size: 1.08rem;
}

.process-card p {
  color: var(--muted-dark);
  font-size: 0.94rem;
}

/* BENEFICIOS */

.benefits-section {
  position: relative;
  padding: 110px 0;
  background:
    url("https://images.unsplash.com/photo-1525609004556-c46c7d6cf023?auto=format&fit=crop&w=1920&q=80")
    center / cover no-repeat;
}

.benefits-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 17, 34, 0.93);
}

.benefits-content {
  position: relative;
  z-index: 2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.benefit-card {
  min-height: 320px;
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(9px);
  text-align: center;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  background: rgba(201, 162, 77, 0.07);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  font-size: 1.7rem;
}

.benefit-card h3 {
  color: var(--white);
  font-size: 1.08rem;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.9rem;
}

.benefits-strip {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 32px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.strip-message {
  display: flex;
  align-items: center;
  gap: 15px;
}

.strip-message div {
  display: flex;
  flex-direction: column;
}

.strip-message strong {
  color: var(--white);
}

.strip-message span:not(.strip-icon) {
  color: var(--gold-light);
}

.strip-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--black);
  background: var(--gold);
  font-weight: 800;
}

.strip-item {
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.strip-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 0.9rem;
}

.strip-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

/* FORMULARIO */

.claim-section {
  color: #121a2a;
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 162, 77, 0.09), transparent 35%),
    #eef2f7;
}

.claim-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 75px;
}

.claim-information h2 {
  max-width: 580px;
  margin: 18px 0 22px;
  color: #111827;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.claim-information > p {
  color: var(--muted-dark);
}

.claim-feature-list {
  display: grid;
  gap: 23px;
  margin-top: 38px;
}

.claim-feature {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.claim-feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  color: #8c681e;
  background: rgba(201, 162, 77, 0.16);
  font-size: 0.82rem;
  font-weight: 800;
}

.claim-feature h3 {
  margin-bottom: 6px;
  color: #111827;
  font-size: 1.05rem;
}

.claim-feature p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.claim-form {
  padding: 38px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.16);
}

.form-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.form-header-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  color: #8c681e;
  background: rgba(201, 162, 77, 0.16);
}

.form-header h3 {
  margin-bottom: 4px;
  color: #111827;
  font-size: 1.45rem;
}

.form-header p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field span {
  color: #172033;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #d9dfe9;
  border-radius: 8px;
  outline: none;
  color: #172033;
  background: #f8f9fc;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.form-field input,
.form-field select {
  min-height: 49px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.12);
}

.form-submit {
  width: 100%;
  margin-top: 22px;
  border: none;
}

.form-privacy {
  margin: 15px 0 0;
  color: #778195;
  font-size: 0.76rem;
  text-align: center;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--line-gold);
  background: #04070c;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr 1.3fr;
  gap: 50px;
  padding-top: 75px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand p {
  max-width: 300px;
  margin-top: 14px;
  font-size: 0.9rem;
}

.footer-column h3,
.footer-map h3 {
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-column ul {
  display: grid;
  gap: 13px;
}

.footer-column li,
.footer-column a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-column a:hover {
  color: var(--gold-light);
}

.footer-map iframe {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom-layout {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
}

.footer-bottom a {
  color: var(--gold-light);
  font-weight: 700;
}

/* WHATSAPP */

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: var(--white);
  background: var(--success);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.42);
}

/* ANIMACIONES */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 760px;
  }

  .hero-stat + .hero-stat {
    border-top: none;
    border-left: 1px solid var(--line);
  }

  .about-layout,
  .claim-layout {
    gap: 50px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip-item:nth-child(3) {
    border-left: none;
  }

  .footer-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header {
    background: rgba(5, 7, 11, 0.97);
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 11, 0.99);
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 0.45s ease,
      opacity var(--transition),
      visibility var(--transition),
      padding var(--transition);
  }

  .main-nav.is-open {
    max-height: 650px;
    padding-top: 15px;
    padding-bottom: 25px;
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    justify-content: space-between;
    width: 100%;
    padding: 15px 3px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after {
    display: none;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border: none;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      max-height 0.35s ease,
      padding 0.35s ease;
  }

  .nav-item.dropdown-open .dropdown {
    max-height: 180px;
    padding: 7px;
    transform: none;
  }

  .nav-mobile-cta {
    display: inline-flex;
    margin-top: 15px;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-hero {
    min-height: auto;
    padding: 170px 0 100px;
  }

  .hero-layout {
    gap: 45px;
  }

  .about-layout,
  .claim-layout {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 600px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 25px;
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .container,
  .header-container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 78px 0;
  }

  .brand-text strong {
    max-width: 210px;
    font-size: 0.78rem;
  }

  .brand-text small {
    font-size: 0.62rem;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .hero-content h1 {
    font-size: 2.65rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat + .hero-stat {
    border-top: 1px solid var(--line);
    border-left: none;
  }

  .about-image img {
    min-height: 400px;
  }

  .service-card {
    min-height: auto;
    padding: 32px 25px;
  }

  .service-card p {
    min-height: auto;
  }

  .service-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .accident-hero {
    min-height: 650px;
  }

  .accident-hero-content h2 {
    font-size: 3rem;
  }

  .process-grid,
  .benefits-grid,
  .benefits-strip {
    grid-template-columns: 1fr;
  }

  .strip-item {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .claim-form {
    padding: 27px 20px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom-layout {
    flex-direction: column;
    gap: 8px;
  }

  .floating-whatsapp {
    right: 17px;
    bottom: 17px;
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   DEFENSA PENAL — ESTILOS ESPECÍFICOS
   Reutiliza variables existentes:
   --black, --black-soft, --navy, --gold, --gold-light,
   --white, --text, --muted, --line, --line-gold,
   --surface, --shadow, --radius-sm, --radius-md
   ========================================================= */


/* =========================================================
   LINK ACTIVO DEL HEADER
   ========================================================= */

.nav-link.active {
  color: var(--gold-light);
}

.nav-link.active::after {
  transform: scaleX(1);
}


/* =========================================================
   HERO INTERNO — DEFENSA PENAL
   ========================================================= */

.internal-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 720px;
  padding-top: 84px;
  overflow: hidden;
}

.penal-hero {
  background:
    url("penal-hero.jpg")
    center / cover no-repeat;
}

.internal-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 6, 11, 0.97) 0%,
      rgba(6, 15, 28, 0.9) 48%,
      rgba(5, 7, 11, 0.58) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 7, 11, 0.95) 0%,
      transparent 55%
    );
}

.internal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.internal-hero-content h1 {
  max-width: 800px;
  margin: 22px 0;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -0.05em;
}

.internal-hero-content p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.15rem;
}


/* =========================================================
   INTRO / EXPLICACIÓN DEL SERVICIO
   ========================================================= */

.internal-intro {
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(30, 95, 229, 0.08),
      transparent 32%
    ),
    var(--black);
}

.internal-intro-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: start;
}

.internal-intro-content h2 {
  margin: 18px 0 25px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.internal-intro-content p {
  font-size: 1.02rem;
}

.internal-highlight {
  position: sticky;
  top: 120px;
  padding: 38px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-md);
  background:
    linear-gradient(
      145deg,
      rgba(201, 162, 77, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    var(--surface);
  box-shadow: var(--shadow);
}

.highlight-number {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.internal-highlight h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.internal-highlight p {
  margin-bottom: 18px;
}


/* =========================================================
   ÁREAS DE INTERVENCIÓN
   ========================================================= */

.penal-services-section {
  background: var(--black-soft);
}

.penal-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.penal-service-card {
  position: relative;
  min-height: 270px;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    ),
    var(--surface);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.penal-service-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(30, 95, 229, 0.09);
  filter: blur(10px);
}

.penal-service-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-gold);
  background:
    linear-gradient(
      145deg,
      rgba(201, 162, 77, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    var(--surface);
  box-shadow: var(--shadow);
}

.penal-service-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.penal-service-card h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
  color: var(--white);
  font-size: 1.35rem;
}

.penal-service-card p {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  font-size: 0.94rem;
}


/* =========================================================
   CASO DESTACADO
   ========================================================= */

.success-case-section {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(201, 162, 77, 0.08),
      transparent 32%
    ),
    var(--black);
}

.success-case-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.success-case-content h2 {
  margin: 18px 0 24px;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.success-case-content p {
  font-size: 1.02rem;
}

.success-case-result {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(201, 162, 77, 0.06);
}

.success-case-result span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-case-result strong {
  color: var(--white);
  font-size: 1.15rem;
}

.success-case-image {
  position: relative;
  padding: 0 22px 22px 0;
}

.success-case-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 460px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.success-case-image::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  border: 2px solid var(--gold);
}


/* =========================================================
   EXPERIENCIAS / CAPTURAS / TESTIMONIOS
   ========================================================= */

.evidence-section {
  background: var(--black-soft);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.evidence-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.evidence-card:hover {
  transform: translateY(-7px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow);
}

.evidence-image {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: var(--navy);
}

.evidence-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 60%,
      rgba(5, 7, 11, 0.55)
    );
  pointer-events: none;
}

.evidence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.evidence-card:hover .evidence-image img {
  transform: scale(1.04);
}

.evidence-content {
  padding: 24px;
}

.evidence-tag {
  display: inline-block;
  margin-bottom: 15px;
  padding: 5px 10px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(201, 162, 77, 0.05);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.privacy-note {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid rgba(201, 162, 77, 0.25);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(201, 162, 77, 0.04);
  font-size: 0.85rem;
}

.privacy-note strong {
  color: var(--gold-light);
}


/* =========================================================
   GALERÍA PENAL
   ========================================================= */

.penal-gallery-section {
  background: var(--black);
}

.penal-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.gallery-item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-item:nth-child(2) {
  grid-column: span 5;
}

.gallery-item:nth-child(3) {
  grid-column: span 5;
}

.gallery-item:nth-child(4) {
  grid-column: span 12;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background:
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(3, 6, 11, 0.45)
    );
  transition:
    background var(--transition),
    border-color var(--transition);
}

.gallery-item:hover::after {
  border-color: var(--gold);
  background:
    linear-gradient(
      180deg,
      transparent 35%,
      rgba(3, 6, 11, 0.6)
    );
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
  filter: brightness(0.88);
}


/* =========================================================
   CTA FINAL PENAL
   ========================================================= */

.penal-cta {
  position: relative;
  padding: 105px 0;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(
      135deg,
      rgba(8, 20, 38, 0.97),
      rgba(5, 7, 11, 0.98)
    );
}

.penal-cta::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(30, 95, 229, 0.12);
  filter: blur(20px);
  transform: translateX(-50%);
}

.penal-cta::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
}

.penal-cta-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.penal-cta-content .section-label {
  justify-content: center;
}

.penal-cta-content h2 {
  margin: 18px 0 20px;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.penal-cta-content p {
  max-width: 650px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.penal-cta-content .btn {
  margin-top: 22px;
}


/* =========================================================
   RESPONSIVE — DEFENSA PENAL
   ========================================================= */

@media (max-width: 1080px) {

  .internal-intro-layout,
  .success-case-layout {
    gap: 45px;
  }

  .penal-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-card:last-child {
    grid-column: 1 / -1;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

}


@media (max-width: 860px) {

  .internal-hero {
    min-height: auto;
    padding: 170px 0 100px;
  }

  .internal-intro-layout,
  .success-case-layout {
    grid-template-columns: 1fr;
  }

  .internal-highlight {
    position: static;
  }

  .success-case-image {
    max-width: 650px;
  }

  .penal-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

}


@media (max-width: 640px) {

  .internal-hero-content h1 {
    font-size: 2.8rem;
  }

  .internal-hero-content p {
    font-size: 1rem;
  }

  .penal-services-grid,
  .evidence-grid,
  .penal-gallery {
    grid-template-columns: 1fr;
  }

  .evidence-card:last-child {
    grid-column: auto;
  }

  .penal-service-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .success-case-image img {
    min-height: 360px;
  }

  .evidence-image {
    height: 280px;
  }

  .gallery-item {
    min-height: 260px;
  }

  .penal-cta {
    padding: 80px 0;
  }

  .penal-cta-content h2 {
    font-size: 2.5rem;
  }

}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.gallery-item {
  appearance: none;
  padding: 0;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 90px;

  background:
    rgba(3, 5, 9, 0.94);

  backdrop-filter: blur(14px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  max-width: 1200px;
  max-height: 90vh;

  transform: scale(0.94);

  transition:
    transform 0.35s ease;
}

.lightbox.is-open .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  display: block;

  max-width: 100%;
  max-height: 78vh;

  border: 1px solid rgba(201, 162, 77, 0.35);
  border-radius: 6px;

  object-fit: contain;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-content p {
  margin: 18px 0 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.92rem;
  text-align: center;
}


/* CERRAR */

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;

  z-index: 3;

  width: 48px;
  height: 48px;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;

  color: var(--white);

  background:
    rgba(255, 255, 255, 0.06);

  font-size: 2rem;
  line-height: 1;

  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.lightbox-close:hover {
  color: var(--gold-light);

  border-color: var(--gold);

  background:
    rgba(201, 162, 77, 0.08);

  transform: rotate(90deg);
}


/* FLECHAS */

.lightbox-arrow {
  position: absolute;
  top: 50%;

  z-index: 3;

  display: grid;
  place-items: center;

  width: 56px;
  height: 56px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  color: var(--white);

  background:
    rgba(255, 255, 255, 0.06);

  font-size: 2.4rem;
  line-height: 1;

  transform: translateY(-50%);

  transition:
    border-color var(--transition),
    color var(--transition),
    background var(--transition);
}

.lightbox-arrow:hover {
  color: var(--gold-light);

  border-color: var(--gold);

  background:
    rgba(201, 162, 77, 0.08);
}

.lightbox-prev {
  left: 28px;
}

.lightbox-next {
  right: 28px;
}


/* EVITAMOS SCROLL DEL BODY CUANDO ESTÁ ABIERTO */

body.lightbox-open {
  overflow: hidden;
}


/* RESPONSIVE */

@media (max-width: 860px) {

  .lightbox {
    padding:
      70px 65px
      40px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

}


@media (max-width: 640px) {

  .lightbox {
    padding:
      85px 18px
      85px;
  }

  .lightbox-content img {
    max-height: 68vh;
  }

  .lightbox-close {
    top: 18px;
    right: 18px;

    width: 44px;
    height: 44px;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 20px;

    width: 46px;
    height: 46px;

    transform: none;
  }

  .lightbox-prev {
    left:
      calc(50% - 60px);
  }

  .lightbox-next {
    right:
      calc(50% - 60px);
  }

}

/* =========================================================
   ACCIDENTES DE TRÁNSITO — ESTILOS ESPECÍFICOS
   ========================================================= */


/* =========================================================
   HERO DE TRÁNSITO
   ========================================================= */

.traffic-hero {
  background:
    url("transito-hero.jpg")
    center / cover no-repeat;
}

.traffic-hero .internal-hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(3, 6, 11, 0.97) 0%,
      rgba(7, 17, 32, 0.88) 50%,
      rgba(5, 7, 11, 0.5) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 7, 11, 0.94) 0%,
      transparent 55%
    );
}


/* =========================================================
   PRIMEROS PASOS
   ========================================================= */

.traffic-steps-section {
  background: var(--black-soft);
}

.traffic-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.traffic-step-card {
  position: relative;
  min-height: 280px;
  padding: 34px 28px;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    ),
    var(--surface);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.traffic-step-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -70px;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  background:
    rgba(30, 95, 229, 0.1);

  filter: blur(10px);
}

.traffic-step-card:hover {
  transform: translateY(-8px);

  border-color: var(--line-gold);

  background:
    linear-gradient(
      145deg,
      rgba(201, 162, 77, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    var(--surface);

  box-shadow: var(--shadow);
}

.traffic-step-number {
  display: inline-block;

  margin-bottom: 25px;

  color: var(--gold-light);

  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.traffic-step-card h3 {
  position: relative;
  z-index: 2;

  margin-bottom: 14px;

  color: var(--white);

  font-size: 1.25rem;
}

.traffic-step-card p {
  position: relative;
  z-index: 2;

  margin: 0;

  font-size: 0.92rem;
}


/* =========================================================
   CASOS COMPLEJOS
   ========================================================= */

.complex-cases-section {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(30, 95, 229, 0.09),
      transparent 30%
    ),
    var(--black);
}

.complex-cases-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;

  gap: 70px;

  align-items: center;
}

.complex-cases-content h2 {
  margin: 18px 0 24px;

  color: var(--white);

  font-size: clamp(
    2.2rem,
    4vw,
    3.8rem
  );
}

.complex-cases-content p {
  font-size: 1.02rem;
}

.complex-list {
  display: grid;

  gap: 14px;

  margin-top: 28px;
}

.complex-list li {
  position: relative;

  padding-left: 28px;

  color: rgba(
    255,
    255,
    255,
    0.78
  );

  font-size: 0.96rem;
}

.complex-list li::before {
  content: "✓";

  position: absolute;

  left: 0;

  color: var(--gold-light);

  font-weight: 800;
}

.complex-cases-image {
  position: relative;

  padding:
    0
    22px
    22px
    0;
}

.complex-cases-image img {
  position: relative;

  z-index: 2;

  width: 100%;
  min-height: 480px;

  object-fit: cover;

  border-radius: 2px;

  box-shadow: var(--shadow);
}

.complex-cases-image::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;

  width:
    calc(
      100% - 22px
    );

  height:
    calc(
      100% - 22px
    );

  border:
    2px solid
    var(--gold);
}


/* =========================================================
   ACUERDOS
   ========================================================= */

.agreements-section {
  background: var(--black-soft);
}

.agreements-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 24px;
}

.agreement-card {
  position: relative;

  min-height: 290px;

  padding:
    36px
    30px;

  overflow: hidden;

  border:
    1px solid
    var(--line);

  border-radius:
    var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(
        255,
        255,
        255,
        0.04
      ),
      rgba(
        255,
        255,
        255,
        0.015
      )
    ),
    var(--surface);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.agreement-card:hover {
  transform:
    translateY(-8px);

  border-color:
    var(--line-gold);

  box-shadow:
    var(--shadow);
}

.agreement-icon {
  display: grid;

  place-items: center;

  width: 58px;
  height: 58px;

  margin-bottom: 24px;

  border:
    1px solid
    var(--line-gold);

  border-radius: 50%;

  color:
    var(--gold-light);

  background:
    rgba(
      201,
      162,
      77,
      0.08
    );

  font-weight: 800;
}

.agreement-card h3 {
  margin-bottom: 14px;

  color: var(--white);

  font-size: 1.3rem;
}

.agreement-card p {
  margin: 0;

  font-size: 0.92rem;
}


/* =========================================================
   ÁREA PRIVADA / EXPEDIENTES
   ========================================================= */

.client-access-section {
  position: relative;

  padding:
    110px
    0;

  overflow: hidden;

  background:
    url("expedientes-bg.jpg")
    center / cover
    no-repeat;
}

.client-access-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      110deg,
      rgba(
        3,
        7,
        14,
        0.97
      ),
      rgba(
        8,
        20,
        38,
        0.92
      )
    );
}

.client-access-layout {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    1.1fr
    0.9fr;

  gap: 75px;

  align-items: center;
}

.client-access-content h2 {
  max-width: 650px;

  margin:
    18px
    0
    24px;

  color:
    var(--white);

  font-size:
    clamp(
      2.3rem,
      4.5vw,
      4rem
    );
}

.client-access-content > p {
  max-width: 650px;

  color:
    rgba(
      255,
      255,
      255,
      0.72
    );
}

.client-access-features {
  display: grid;

  gap: 15px;

  margin-top: 30px;
}

.client-access-feature {
  display: flex;

  align-items: center;

  gap: 13px;
}

.client-access-feature > span {
  display: grid;

  flex: 0 0 auto;

  place-items: center;

  width: 30px;
  height: 30px;

  border-radius: 50%;

  color:
    var(--black);

  background:
    var(--gold);

  font-size: 0.78rem;
  font-weight: 800;
}

.client-access-feature p {
  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.78
    );
}


/* TARJETA LOGIN */

.client-login-preview {
  max-width: 430px;

  width: 100%;

  margin-left: auto;

  padding: 40px;

  border:
    1px solid
    var(--line-gold);

  border-radius:
    var(--radius-md);

  background:
    rgba(
      6,
      14,
      26,
      0.78
    );

  backdrop-filter:
    blur(16px);

  box-shadow:
    var(--shadow);
}

.login-preview-header {
  display: flex;

  flex-direction: column;

  margin-bottom: 26px;
}

.login-preview-header span {
  margin-bottom: 5px;

  color:
    var(--gold-light);

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform:
    uppercase;
}

.login-preview-header strong {
  color: var(--white);

  font-size: 1.8rem;
}

.login-preview-field {
  display: flex;

  align-items: center;

  min-height: 52px;

  margin-bottom: 14px;

  padding:
    0
    15px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.12
    );

  border-radius: 8px;

  color:
    rgba(
      255,
      255,
      255,
      0.45
    );

  background:
    rgba(
      255,
      255,
      255,
      0.04
    );
}

.login-preview-button {
  width: 100%;

  margin-top: 5px;
}

.login-preview-button:disabled {
  cursor:
    not-allowed;

  opacity: 0.72;
}

.client-login-preview small {
  display: block;

  margin-top: 16px;

  color:
    rgba(
      255,
      255,
      255,
      0.48
    );

  text-align: center;
}


/* =========================================================
   GALERÍA DE TRÁNSITO
   ========================================================= */

.traffic-gallery-section {
  background: var(--black);
}

.traffic-gallery {
  display: grid;

  grid-template-columns:
    repeat(
      12,
      1fr
    );

  grid-auto-rows:
    220px;

  gap: 18px;
}


/* FOTOS */

.traffic-gallery
.gallery-item:nth-child(1) {
  grid-column:
    span 7;

  grid-row:
    span 2;
}

.traffic-gallery
.gallery-item:nth-child(2) {
  grid-column:
    span 5;
}

.traffic-gallery
.gallery-item:nth-child(3) {
  grid-column:
    span 5;
}


/* VIDEO */

.traffic-video-item {
  grid-column:
    span 12;

  overflow: hidden;

  border:
    1px solid
    var(--line);

  border-radius:
    var(--radius-md);

  background:
    var(--surface);

  box-shadow:
    0
    14px
    35px
    rgba(
      0,
      0,
      0,
      0.2
    );
}

.traffic-video-item video {
  display: block;

  width: 100%;

  max-height: 600px;

  object-fit: cover;

  background: #000;
}

.traffic-video-info {
  display: flex;

  align-items: center;

  gap: 20px;

  padding:
    20px
    24px;
}

.traffic-video-info span {
  display: inline-block;

  padding:
    5px
    10px;

  border:
    1px solid
    var(--line-gold);

  border-radius:
    999px;

  color:
    var(--gold-light);

  background:
    rgba(
      201,
      162,
      77,
      0.06
    );

  font-size: 0.7rem;

  font-weight: 800;

  letter-spacing:
    0.08em;

  text-transform:
    uppercase;
}

.traffic-video-info p {
  margin: 0;

  font-size: 0.9rem;
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.traffic-cta {
  position: relative;

  padding:
    110px
    0;

  overflow: hidden;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(
        8,
        20,
        38,
        0.98
      ),
      rgba(
        5,
        7,
        11,
        0.99
      )
    );
}

.traffic-cta::before {
  content: "";

  position: absolute;

  top: -190px;
  left: 50%;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  background:
    rgba(
      30,
      95,
      229,
      0.12
    );

  filter: blur(20px);

  transform:
    translateX(-50%);
}

.traffic-cta::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
}

.traffic-cta-content {
  position: relative;

  z-index: 2;

  max-width: 820px;
}

.traffic-cta-content
.section-label {
  justify-content: center;
}

.traffic-cta-content h2 {
  margin:
    18px
    0
    20px;

  color:
    var(--white);

  font-size:
    clamp(
      2.3rem,
      5vw,
      4.3rem
    );
}

.traffic-cta-content p {
  max-width: 650px;

  margin-inline: auto;

  color:
    rgba(
      255,
      255,
      255,
      0.72
    );

  font-size: 1.05rem;
}

.traffic-cta-content
.btn {
  margin-top: 22px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {

  .traffic-steps-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .complex-cases-layout,
  .client-access-layout {
    gap: 45px;
  }

  .agreements-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

}


@media (max-width: 860px) {

  .complex-cases-layout,
  .client-access-layout {
    grid-template-columns:
      1fr;
  }

  .complex-cases-image {
    max-width: 650px;
  }

  .client-login-preview {
    max-width: none;

    margin-left: 0;
  }

  .agreements-grid {
    grid-template-columns:
      1fr;
  }

  .traffic-gallery {
    grid-template-columns:
      repeat(
        2,
        1fr
      );

    grid-auto-rows:
      260px;
  }

  .traffic-gallery
  .gallery-item:nth-child(1),
  .traffic-gallery
  .gallery-item:nth-child(2),
  .traffic-gallery
  .gallery-item:nth-child(3),
  .traffic-video-item {
    grid-column: auto;

    grid-row: auto;
  }

  .traffic-video-item {
    grid-column:
      1 / -1;
  }

}


@media (max-width: 640px) {

  .traffic-steps-grid,
  .traffic-gallery {
    grid-template-columns:
      1fr;
  }

  .traffic-step-card {
    min-height: auto;

    padding:
      28px
      24px;
  }

  .complex-cases-image img {
    min-height: 360px;
  }

  .client-access-section {
    padding:
      80px
      0;
  }

  .client-login-preview {
    padding:
      28px
      22px;
  }

  .traffic-video-item {
    grid-column: auto;
  }

  .traffic-video-info {
    flex-direction:
      column;

    align-items:
      flex-start;
  }

  .traffic-cta {
    padding:
      80px
      0;
  }

  .traffic-cta-content h2 {
    font-size:
      2.5rem;
  }

}

/* =========================================================
   AMPAROS DE SALUD — ESTILOS ESPECÍFICOS
   ========================================================= */


/* =========================================================
   HERO DE AMPAROS
   ========================================================= */

.health-hero {
  background:
    url("amparo-hero.jpg")
    center / cover no-repeat;
}

.health-hero .internal-hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(3, 6, 11, 0.97) 0%,
      rgba(6, 18, 34, 0.88) 52%,
      rgba(5, 7, 11, 0.5) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 7, 11, 0.94) 0%,
      transparent 55%
    );
}


/* =========================================================
   SERVICIOS PRINCIPALES
   ========================================================= */

.health-services-section {
  background: var(--black-soft);
}

.health-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.health-service-card {
  position: relative;
  min-height: 330px;
  padding: 38px 32px;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    ),
    var(--surface);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.health-service-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;

  width: 210px;
  height: 210px;

  border-radius: 50%;

  background:
    rgba(30, 95, 229, 0.1);

  filter: blur(12px);
}

.health-service-card:hover {
  transform: translateY(-8px);

  border-color: var(--line-gold);

  background:
    linear-gradient(
      145deg,
      rgba(201, 162, 77, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    var(--surface);

  box-shadow: var(--shadow);
}

.health-service-number {
  position: absolute;
  top: 24px;
  right: 28px;

  color: rgba(255, 255, 255, 0.06);

  font-size: 4rem;
  font-weight: 800;
}

.health-service-icon {
  display: grid;
  place-items: center;

  width: 68px;
  height: 68px;

  margin-bottom: 26px;

  border: 1px solid var(--line-gold);
  border-radius: 50%;

  background:
    rgba(201, 162, 77, 0.08);

  font-size: 1.8rem;
}

.health-service-card h3 {
  position: relative;
  z-index: 2;

  margin-bottom: 15px;

  color: var(--white);

  font-size: 1.45rem;
}

.health-service-card p {
  position: relative;
  z-index: 2;

  margin-bottom: 18px;

  font-size: 0.94rem;
}


/* =========================================================
   BLOQUES DETALLE — MEDICACIÓN / OBRA SOCIAL
   ========================================================= */

.health-detail-section {
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(30, 95, 229, 0.08),
      transparent 30%
    ),
    var(--black);
}

.health-detail-alt {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(201, 162, 77, 0.08),
      transparent 32%
    ),
    var(--black-soft);
}

.health-detail-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.health-detail-reverse .health-detail-image {
  order: 2;
}

.health-detail-reverse .health-detail-content {
  order: 1;
}

.health-detail-image {
  position: relative;

  padding:
    0
    22px
    22px
    0;
}

.health-detail-image img {
  position: relative;
  z-index: 2;

  width: 100%;
  min-height: 470px;

  object-fit: cover;

  border-radius: 2px;

  box-shadow: var(--shadow);
}

.health-detail-accent {
  position: absolute;

  right: 0;
  bottom: 0;

  width:
    calc(100% - 22px);

  height:
    calc(100% - 22px);

  border:
    2px solid
    var(--gold);
}

.health-detail-content h2 {
  margin: 18px 0 24px;

  color: var(--white);

  font-size:
    clamp(
      2.2rem,
      4vw,
      3.8rem
    );
}

.health-detail-content p {
  font-size: 1.02rem;
}

.health-points {
  display: grid;
  gap: 14px;

  margin-top: 28px;
}

.health-points div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.health-points span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;

  width: 28px;
  height: 28px;

  border-radius: 50%;

  color: var(--black);

  background: var(--gold);

  font-size: 0.75rem;
  font-weight: 800;
}

.health-points p {
  margin: 0;

  color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   INTERNACIÓN DOMICILIARIA
   ========================================================= */

.health-info-section {
  background: var(--black-soft);
}

.health-info-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 24px;
}

.health-info-card {
  min-height: 280px;

  padding: 34px 30px;

  border:
    1px solid
    var(--line);

  border-radius:
    var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(
        255,
        255,
        255,
        0.04
      ),
      rgba(
        255,
        255,
        255,
        0.015
      )
    ),
    var(--surface);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.health-info-card:hover {
  transform:
    translateY(-8px);

  border-color:
    var(--line-gold);

  box-shadow:
    var(--shadow);
}

.health-info-icon {
  display: grid;

  place-items: center;

  width: 58px;
  height: 58px;

  margin-bottom: 24px;

  border:
    1px solid
    var(--line-gold);

  border-radius: 50%;

  color:
    var(--gold-light);

  background:
    rgba(
      201,
      162,
      77,
      0.08
    );

  font-weight: 800;
}

.health-info-card h3 {
  margin-bottom: 14px;

  color: var(--white);

  font-size: 1.3rem;
}

.health-info-card p {
  margin: 0;

  font-size: 0.92rem;
}


/* =========================================================
   GERIÁTRICOS
   ========================================================= */

.geriatric-section {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 620px;

  background:
    url("geriatricos-bg.jpg")
    center / cover
    no-repeat;
}

.geriatric-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(
        3,
        7,
        14,
        0.97
      ),
      rgba(
        8,
        20,
        38,
        0.86
      ),
      rgba(
        5,
        7,
        11,
        0.55
      )
    );
}

.geriatric-content {
  position: relative;
  z-index: 2;

  max-width: 780px;
}

.geriatric-content h2 {
  margin: 18px 0 24px;

  color: var(--white);

  font-size:
    clamp(
      2.5rem,
      5vw,
      4.6rem
    );
}

.geriatric-content p {
  max-width: 680px;

  color:
    rgba(
      255,
      255,
      255,
      0.76
    );

  font-size: 1.08rem;
}

.geriatric-content .btn {
  margin-top: 24px;
}


/* =========================================================
   PROCESO
   ========================================================= */

.health-process-section {
  background: #f4f6fa;
}

.health-process-section .section-heading h2 {
  color: #111827;
}

.health-process-section .section-heading p {
  color: var(--muted-dark);
}

.health-process-section .section-label {
  color: #8c681e;
}

.health-process-grid {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 24px;
}

.health-process-grid::before {
  content: "";

  position: absolute;

  top: 32px;
  right: 12%;
  left: 12%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(
        201,
        162,
        77,
        0.2
      ),
      var(--gold),
      rgba(
        201,
        162,
        77,
        0.2
      )
    );
}

.health-process-card {
  position: relative;
  z-index: 2;

  text-align: center;

  padding:
    0
    18px;
}

.health-process-step {
  display: grid;

  place-items: center;

  width: 64px;
  height: 64px;

  margin:
    0
    auto
    28px;

  border:
    6px solid
    #f4f6fa;

  border-radius: 50%;

  color: var(--black);

  background:
    var(--gold);

  box-shadow:
    0 0 0 1px
    rgba(
      201,
      162,
      77,
      0.24
    );

  font-weight: 800;
}

.health-process-card h3 {
  color: #121a2a;

  font-size: 1.08rem;
}

.health-process-card p {
  color: var(--muted-dark);

  font-size: 0.92rem;
}


/* =========================================================
   CASO DESTACADO
   ========================================================= */

.health-success-section {
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(
        201,
        162,
        77,
        0.08
      ),
      transparent
      32%
    ),
    var(--black);
}

.health-success-layout {
  display: grid;

  grid-template-columns:
    1fr
    0.95fr;

  gap: 70px;

  align-items: center;
}

.health-success-content h2 {
  margin:
    18px
    0
    24px;

  color:
    var(--white);

  font-size:
    clamp(
      2.2rem,
      4vw,
      3.8rem
    );
}

.health-success-content p {
  font-size: 1.02rem;
}

.health-success-result {
  margin-top: 30px;

  padding:
    22px
    24px;

  border-left:
    3px solid
    var(--gold);

  background:
    rgba(
      201,
      162,
      77,
      0.06
    );
}

.health-success-result span {
  display: block;

  margin-bottom: 6px;

  color:
    var(--gold-light);

  font-size: 0.75rem;
  font-weight: 800;

  letter-spacing:
    0.12em;

  text-transform:
    uppercase;
}

.health-success-result strong {
  color:
    var(--white);

  font-size: 1.1rem;
}

.health-success-image {
  position: relative;

  padding:
    0
    22px
    22px
    0;
}

.health-success-image img {
  position: relative;

  z-index: 2;

  width: 100%;
  min-height: 450px;

  object-fit: cover;

  border-radius: 2px;

  box-shadow:
    var(--shadow);
}

.health-success-image::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;

  width:
    calc(
      100% - 22px
    );

  height:
    calc(
      100% - 22px
    );

  border:
    2px solid
    var(--gold);
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.health-cta {
  position: relative;

  padding:
    110px
    0;

  overflow: hidden;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(
        8,
        20,
        38,
        0.98
      ),
      rgba(
        5,
        7,
        11,
        0.99
      )
    );
}

.health-cta::before {
  content: "";

  position: absolute;

  top: -190px;
  left: 50%;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  background:
    rgba(
      30,
      95,
      229,
      0.12
    );

  filter: blur(20px);

  transform:
    translateX(-50%);
}

.health-cta::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
}

.health-cta-content {
  position: relative;

  z-index: 2;

  max-width: 820px;
}

.health-cta-content
.section-label {
  justify-content: center;
}

.health-cta-content h2 {
  margin:
    18px
    0
    20px;

  color:
    var(--white);

  font-size:
    clamp(
      2.3rem,
      5vw,
      4.3rem
    );
}

.health-cta-content p {
  max-width: 650px;

  margin-inline: auto;

  color:
    rgba(
      255,
      255,
      255,
      0.72
    );

  font-size: 1.05rem;
}

.health-cta-content .btn {
  margin-top: 22px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {

  .health-services-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .health-detail-layout,
  .health-success-layout {
    gap: 45px;
  }

  .health-info-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

}


@media (max-width: 860px) {

  .health-detail-layout,
  .health-success-layout {
    grid-template-columns: 1fr;
  }

  .health-detail-reverse .health-detail-image,
  .health-detail-reverse .health-detail-content {
    order: initial;
  }

  .health-detail-image,
  .health-success-image {
    max-width: 650px;
  }

  .health-info-grid {
    grid-template-columns: 1fr;
  }

  .health-process-grid {
    grid-template-columns:
      repeat(
        2,
        1fr
      );

    gap:
      50px
      25px;
  }

  .health-process-grid::before {
    display: none;
  }

  .geriatric-section {
    min-height: 560px;
  }

}


@media (max-width: 640px) {

  .health-services-grid,
  .health-process-grid {
    grid-template-columns: 1fr;
  }

  .health-service-card {
    min-height: auto;

    padding:
      30px
      24px;
  }

  .health-detail-image img,
  .health-success-image img {
    min-height: 350px;
  }

  .geriatric-section {
    min-height: 520px;
  }

  .geriatric-content h2 {
    font-size: 2.8rem;
  }

  .health-cta {
    padding:
      80px
      0;
  }

  .health-cta-content h2 {
    font-size: 2.5rem;
  }

}

/* =========================================================
   HOME — ÁREAS DE PRÁCTICA
   ========================================================= */

.practice-section {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(30, 95, 229, 0.08),
      transparent 35%
    ),
    var(--black);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.practice-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background: var(--surface);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.practice-card-bg {
  position: absolute;
  inset: 0;

  background-position: center;
  background-size: cover;

  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.practice-card-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(5, 7, 11, 0.08) 0%,
      rgba(5, 7, 11, 0.35) 40%,
      rgba(5, 7, 11, 0.96) 100%
    );

  transition: background 0.4s ease;
}

.practice-card-content {
  position: relative;
  z-index: 2;

  width: 100%;
  padding: 34px;
}

.practice-number {
  display: block;

  margin-bottom: 14px;

  color: var(--gold-light);

  font-size: 0.75rem;
  font-weight: 800;

  letter-spacing: 0.15em;
}

.practice-card h3 {
  margin: 0 0 14px;

  color: var(--white);

  font-size: 1.65rem;
}

.practice-card p {
  max-width: 330px;

  margin-bottom: 22px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.94rem;
  line-height: 1.7;
}

.practice-link {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: var(--gold-light);

  font-size: 0.82rem;
  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;
}

.practice-link span {
  transition: transform 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-8px);

  border-color: var(--gold);

  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.38);
}

.practice-card:hover .practice-card-bg {
  transform: scale(1.07);

  filter: brightness(0.82);
}

.practice-card:hover .practice-card-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(8, 20, 38, 0.12) 0%,
      rgba(8, 20, 38, 0.42) 38%,
      rgba(5, 7, 11, 0.98) 100%
    );
}

.practice-card:hover .practice-link span {
  transform: translateX(6px);
}

.practice-card::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 3;

  height: 3px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );

  transform: scaleX(0);

  transition: transform 0.4s ease;
}

.practice-card:hover::after {
  transform: scaleX(1);
}


/* =========================================================
   HOME — RESEÑAS
   ========================================================= */

.reviews-section {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(201, 162, 77, 0.08),
      transparent 30%
    ),
    var(--black-soft);
}

.reviews-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}

.review-card {
  position: relative;

  min-height: 290px;

  padding: 34px 30px;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.015)
    ),
    var(--surface);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.review-card::before {
  content: "“";

  position: absolute;

  top: 10px;
  right: 22px;

  color: rgba(201, 162, 77, 0.08);

  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-7px);

  border-color: var(--line-gold);

  box-shadow: var(--shadow);
}

.review-stars {
  margin-bottom: 24px;

  color: var(--gold-light);

  font-size: 1rem;

  letter-spacing: 0.12em;
}

.review-card > p {
  position: relative;
  z-index: 2;

  min-height: 100px;

  color: rgba(255, 255, 255, 0.8);

  font-size: 1rem;
  line-height: 1.75;
}

.review-author {
  display: flex;
  flex-direction: column;

  gap: 3px;

  margin-top: 25px;
  padding-top: 18px;

  border-top: 1px solid var(--line);
}

.review-author strong {
  color: var(--white);

  font-size: 0.9rem;
}

.review-author span {
  color: var(--muted);

  font-size: 0.75rem;
}

.reviews-action {
  display: flex;
  justify-content: center;

  margin-top: 35px;
}


/* =========================================================
   HOME — GALERÍA GENERAL
   ========================================================= */

.home-gallery-section {
  background: var(--black);
}

.home-gallery {
  display: grid;

  grid-template-columns:
    repeat(12, 1fr);

  grid-auto-rows: 220px;

  gap: 18px;
}

/* Primera imagen grande */

.home-gallery .gallery-item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

/* Segunda */

.home-gallery .gallery-item:nth-child(2) {
  grid-column: span 5;
}

/* Tercera */

.home-gallery .gallery-item:nth-child(3) {
  grid-column: span 5;
}

/* Cuarta ancho completo */

.home-gallery .gallery-item:nth-child(4) {
  grid-column: span 12;
  min-height: 260px;
}


/* =========================================================
   HOME — CTA FINAL
   ========================================================= */

.home-cta {
  position: relative;

  padding: 110px 0;

  overflow: hidden;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(8, 20, 38, 0.98),
      rgba(5, 7, 11, 0.99)
    );
}

.home-cta::before {
  content: "";

  position: absolute;

  top: -210px;
  left: 50%;

  width: 560px;
  height: 560px;

  border-radius: 50%;

  background:
    rgba(30, 95, 229, 0.13);

  filter: blur(24px);

  transform: translateX(-50%);
}

.home-cta::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--gold),
      transparent
    );
}

.home-cta-content {
  position: relative;
  z-index: 2;

  max-width: 820px;
}

.home-cta-content .section-label {
  justify-content: center;
}

.home-cta-content h2 {
  margin: 18px 0 20px;

  color: var(--white);

  font-size:
    clamp(
      2.4rem,
      5vw,
      4.4rem
    );
}

.home-cta-content p {
  max-width: 680px;

  margin-inline: auto;

  color: rgba(255, 255, 255, 0.72);

  font-size: 1.05rem;
}

.home-cta-content .btn {
  margin-top: 25px;
}


/* =========================================================
   FOOTER — REDES SOCIALES
   ========================================================= */

.footer-socials {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 20px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;

  padding: 8px 13px;

  border: 1px solid var(--line);
  border-radius: 999px;

  color: var(--muted);

  background:
    rgba(255, 255, 255, 0.025);

  font-size: 0.76rem;
  font-weight: 600;

  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.footer-socials a:hover {
  transform: translateY(-2px);

  color: var(--gold-light);

  border-color: var(--line-gold);

  background:
    rgba(201, 162, 77, 0.07);
}


/* =========================================================
   MEJORA GENERAL DE GALERÍA
   Reutiliza lightbox que ya tenemos
   ========================================================= */

.home-gallery .gallery-item {
  appearance: none;

  position: relative;

  padding: 0;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-sm);

  background: var(--surface);

  cursor: pointer;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.16);

  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.home-gallery .gallery-item::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(3, 6, 11, 0.48)
    );

  transition: background var(--transition);
}

.home-gallery .gallery-item:hover {
  transform: translateY(-5px);

  border-color: var(--gold);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.28);
}

.home-gallery .gallery-item:hover::after {
  background:
    linear-gradient(
      180deg,
      transparent 32%,
      rgba(3, 6, 11, 0.62)
    );
}

.home-gallery .gallery-item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}

.home-gallery .gallery-item:hover img {
  transform: scale(1.05);

  filter: brightness(0.86);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {

  .practice-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .practice-card:last-child {
    grid-column: 1 / -1;

    max-width: 570px;

    width: 100%;

    margin-inline: auto;
  }

  .reviews-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .review-card:last-child {
    grid-column: 1 / -1;

    max-width: 570px;

    width: 100%;

    margin-inline: auto;
  }

}


@media (max-width: 860px) {

  .home-gallery {
    grid-template-columns:
      repeat(2, 1fr);

    grid-auto-rows: 260px;
  }

  .home-gallery .gallery-item:nth-child(1),
  .home-gallery .gallery-item:nth-child(2),
  .home-gallery .gallery-item:nth-child(3),
  .home-gallery .gallery-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;

    min-height: auto;
  }

}


@media (max-width: 700px) {

  .practice-grid,
  .reviews-grid,
  .home-gallery {
    grid-template-columns: 1fr;
  }

  .practice-card:last-child,
  .review-card:last-child {
    grid-column: auto;

    max-width: none;
  }

  .practice-card {
    min-height: 430px;
  }

  .practice-card-content {
    padding: 28px 24px;
  }

  .review-card {
    min-height: auto;

    padding: 28px 24px;
  }

  .review-card > p {
    min-height: auto;
  }

  .home-gallery .gallery-item {
    min-height: 280px;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .home-cta {
    padding: 80px 0;
  }

  .home-cta-content h2 {
    font-size: 2.5rem;
  }

}

/* =========================================================
   CASOS REALES — AMPAROS
   ========================================================= */

.case-separator {
  width: 100%;
  height: 1px;

  margin: 95px 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(201, 162, 77, 0.55),
      transparent
    );
}


/* AVISO DE PRIVACIDAD */

.case-privacy-text {
  margin-top: 28px;
  padding: 16px 18px;

  border-left: 2px solid var(--gold);

  color: var(--muted);

  background:
    rgba(201, 162, 77, 0.05);

  font-size: 0.82rem;
  line-height: 1.65;
}


/* RESULTADO FAVORABLE */

.success-highlight {
  border-left-width: 4px;

  background:
    linear-gradient(
      90deg,
      rgba(201, 162, 77, 0.12),
      rgba(201, 162, 77, 0.03)
    );
}

.success-highlight strong {
  color: var(--gold-light);
}


/* ALTERNAMOS EL SEGUNDO CASO */

.health-success-layout-reverse
.health-success-content {
  order: 2;
}

.health-success-layout-reverse
.health-success-image {
  order: 1;
}


/* DOCUMENTOS */

.health-success-image img {
  object-position: top center;
}


/* RESPONSIVE */

@media (max-width: 860px) {

  .health-success-layout-reverse
  .health-success-content,
  .health-success-layout-reverse
  .health-success-image {
    order: initial;
  }

  .case-separator {
    margin: 65px 0;
  }

}
/* =========================================================
   DOCUMENTOS JUDICIALES
   ========================================================= */

.document-preview {
  position: relative;

  height: auto;
  min-height: 0;

  padding: 22px;

  border: 1px solid rgba(201, 162, 77, 0.35);
  border-radius: 4px;

  background:
    linear-gradient(
      145deg,
      rgba(201, 162, 77, 0.05),
      rgba(255, 255, 255, 0.015)
    );
}


/* BOTÓN QUE CONTIENE EL DOCUMENTO */

.document-open {
  position: relative;

  display: block;

  width: 100%;

  padding: 0;

  overflow: hidden;

  border: 0;
  border-radius: 3px;

  background: #ffffff;

  cursor: zoom-in;

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.35);
}


/* IMAGEN */

.document-preview .document-open img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;

  object-position: center;

  filter: none;

  transform: none;

  image-rendering: auto;

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}


/* HOVER */

.document-open:hover img {
  transform: scale(1.025);

  filter: brightness(0.72);
}


/* BOTÓN VER DOCUMENTO */

.document-zoom {
  position: absolute;

  top: 50%;
  left: 50%;

  z-index: 3;

  padding: 13px 20px;

  border: 1px solid var(--gold);
  border-radius: 3px;

  color: var(--white);

  background:
    rgba(5, 7, 11, 0.88);

  font-size: 0.8rem;
  font-weight: 700;

  letter-spacing: 0.05em;

  opacity: 0;

  transform:
    translate(-50%, -40%);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}


.document-open:hover
.document-zoom {
  opacity: 1;

  transform:
    translate(-50%, -50%);
}


/* DESCRIPCIÓN */

.document-caption {
  margin: 14px 0 0;

  color: var(--muted);

  font-size: 0.75rem;
  line-height: 1.5;

  text-align: center;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 860px) {

  .document-preview {
    padding: 12px;
  }

  .document-zoom {
    opacity: 1;

    top: auto;
    bottom: 15px;

    transform:
      translateX(-50%);
  }

  .document-open:hover
  .document-zoom {
    transform:
      translateX(-50%);
  }

}

/* =========================================================
   LIGHTBOX PARA DOCUMENTOS JUDICIALES
   ========================================================= */

.document-lightbox {
  position: fixed;
  inset: 0;

  z-index: 5000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 80px 40px 40px;

  background: rgba(2, 4, 8, 0.96);

  backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}


.document-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


.document-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  max-width: 1400px;
  max-height: 92vh;

  transform: scale(0.96);

  transition: transform 0.3s ease;
}


.document-lightbox.is-open
.document-lightbox-content {
  transform: scale(1);
}


.document-lightbox-content img {
  display: block;

  width: auto;
  max-width: 100%;

  height: auto;
  max-height: 82vh;

  object-fit: contain;

  background: #ffffff;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6);
}


.document-lightbox-content p {
  margin: 15px 0 0;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.85rem;

  text-align: center;
}


/* CERRAR */

.document-lightbox-close {
  position: absolute;

  top: 22px;
  right: 28px;

  z-index: 10;

  display: grid;
  place-items: center;

  width: 50px;
  height: 50px;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;

  color: var(--white);

  background:
    rgba(255, 255, 255, 0.06);

  font-size: 2rem;

  cursor: pointer;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}


.document-lightbox-close:hover {
  color: var(--gold-light);

  border-color: var(--gold);

  background:
    rgba(201, 162, 77, 0.1);

  transform: rotate(90deg);
}


body.document-lightbox-open {
  overflow: hidden;
}


/* MOBILE */

@media (max-width: 640px) {

  .document-lightbox {
    padding:
      75px
      12px
      25px;
  }

  .document-lightbox-content img {
    max-height: 78vh;
  }

  .document-lightbox-close {
    top: 15px;
    right: 15px;

    width: 44px;
    height: 44px;
  }

}

/* =========================================================
   AJUSTE VISUAL DE DOCUMENTOS — CASOS DE AMPARO
   ========================================================= */

.health-success-image.document-preview {
  width: 100%;
  max-width: 620px;
  height: auto;
  min-height: 0;

  padding: 18px;
  margin: 0 auto;

  align-self: center;
}


/* El documento nunca fuerza el alto de la sección */

.document-preview .document-open {
  width: 100%;
  height: auto;
  max-height: none;
}


/* Imagen completa, sin recortes */

.document-preview .document-open img {
  display: block;

  width: 100%;
  height: auto;

  max-height: 520px;

  object-fit: contain;
  object-position: center;

  background: #fff;
}


/* Caso invertido */

.health-success-layout-reverse
.document-preview {
  justify-self: center;
}


/* MOBILE */

@media (max-width: 860px) {

  .health-success-image.document-preview {
    max-width: 100%;
    padding: 12px;
  }

  .document-preview .document-open img {
    max-height: none;
  }

}

/* =========================================================
   CASOS PENALES — DOCUMENTOS
   ========================================================= */

.penal-case {
  padding: 80px 0;
}

.penal-case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 70px;
  align-items: center;
}

/* Caso alternado */
.penal-case-layout.penal-case-reverse {
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
}

.penal-case-reverse .penal-case-content {
  order: 2;
}

.penal-case-reverse .penal-document-preview {
  order: 1;
}


/* =========================================================
   CONTENEDOR DEL DOCUMENTO
   ========================================================= */

.penal-document-preview {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.penal-document-open {
  position: relative;

  display: block;
  width: 100%;

  padding: 12px;

  background: #111;
  border: 1px solid rgba(212, 175, 55, 0.65);
  border-radius: 4px;

  cursor: pointer;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.penal-document-open:hover {
  transform: translateY(-5px);

  border-color: #d4af37;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   IMAGEN
   ========================================================= */

.penal-document-open img {
  display: block;

  width: 100%;
  height: 430px;

  object-fit: contain;
  object-position: center;

  background: #fff;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.penal-document-open:hover img {
  transform: scale(1.015);
  filter: brightness(0.72);
}


/* =========================================================
   BOTÓN VER DOCUMENTO
   ========================================================= */

.penal-document-zoom {
  position: absolute;
  left: 50%;
  bottom: 30px;

  transform: translate(-50%, 10px);

  padding: 11px 20px;

  background: rgba(5, 12, 22, 0.94);
  border: 1px solid #d4af37;

  color: #fff;

  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;

  opacity: 0;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.penal-document-open:hover .penal-document-zoom {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* =========================================================
   TEXTO DEBAJO DEL DOCUMENTO
   ========================================================= */

.penal-document-caption {
  margin: 14px 0 0;

  color: #8f98a5;

  font-size: 0.82rem;
  line-height: 1.5;

  text-align: center;
}


/* =========================================================
   INFORMACIÓN DEL CASO
   ========================================================= */

.penal-case-content {
  min-width: 0;
}

.penal-case-content h2 {
  margin: 10px 0 22px;

  color: #fff;

  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.penal-case-content > p {
  max-width: 720px;

  color: #c7ced8;

  line-height: 1.8;
}


/* =========================================================
   TARJETAS DE DATOS
   ========================================================= */

.penal-case-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 15px;

  margin-top: 30px;
}

.penal-case-result {
  padding: 20px 22px;

  background: rgba(212, 175, 55, 0.045);

  border-left: 3px solid #d4af37;
}

.penal-case-result span {
  display: block;

  margin-bottom: 7px;

  color: #d4af37;

  font-size: 0.72rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.penal-case-result strong {
  color: #fff;

  font-size: 0.95rem;
  line-height: 1.45;
}


/* =========================================================
   PRIVACIDAD
   ========================================================= */

.case-privacy-text {
  margin-top: 25px !important;
  padding-top: 18px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #808996 !important;

  font-size: 0.8rem;
}


/* =========================================================
   SEPARADOR ENTRE CASOS
   ========================================================= */

.penal-case-separator {
  width: 100%;
  height: 1px;

  margin: 10px 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.35),
    transparent
  );
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.document-lightbox {
  position: fixed;
  inset: 0;

  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  background: rgba(0, 0, 0, 0.92);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.document-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.document-lightbox-content {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: auto;
  max-width: 95vw;
  max-height: 92vh;
}

.document-lightbox-content img {
  display: block;

  width: auto;
  max-width: 92vw;

  height: auto;
  max-height: 82vh;

  object-fit: contain;

  background: #fff;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.65);
}

.document-lightbox-content p {
  margin: 15px 0 0;

  color: #fff;

  font-size: 0.9rem;
  text-align: center;
}


/* CERRAR */

.document-lightbox-close {
  position: fixed;
  top: 22px;
  right: 30px;

  z-index: 100000;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.65);
  border-radius: 50%;

  color: #fff;

  font-size: 2rem;
  line-height: 1;

  cursor: pointer;
}

.document-lightbox-close:hover {
  background: #d4af37;
  color: #050505;
}

body.document-lightbox-open {
  overflow: hidden;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .penal-case-layout,
  .penal-case-layout.penal-case-reverse {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
  }

  .penal-document-open img {
    height: 380px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 820px) {

  .penal-case {
    padding: 55px 0;
  }

  .penal-case-layout,
  .penal-case-layout.penal-case-reverse {
    display: flex;
    flex-direction: column;

    gap: 35px;
  }

  .penal-case-content,
  .penal-case-reverse .penal-case-content {
    order: 1;
  }

  .penal-document-preview,
  .penal-case-reverse .penal-document-preview {
    order: 2;
  }

  .penal-document-preview {
    max-width: 440px;
  }

  .penal-document-open img {
    height: 400px;
  }

  .penal-case-data {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 520px) {

  .penal-document-preview {
    max-width: 100%;
  }

  .penal-document-open {
    padding: 8px;
  }

  .penal-document-open img {
    height: 340px;
  }

  .penal-document-zoom {
    opacity: 1;

    bottom: 20px;

    transform: translate(-50%, 0);
  }

  .document-lightbox {
    padding: 15px;
  }

  .document-lightbox-content img {
    max-width: 96vw;
    max-height: 78vh;
  }

}

/* =========================================================
   GALERÍA — UNA SOLA IMAGEN CENTRADA
   ========================================================= */

.penal-gallery-single {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
}

.gallery-item-single {
  display: block;

  width: 100%;
  max-width: 850px;

  margin: 0 auto;
  padding: 0;

  border: 1px solid rgba(201, 162, 77, 0.35);
  border-radius: 4px;

  overflow: hidden;

  background: #080b10;

  cursor: zoom-in;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3);
}

.gallery-item-single img {
  display: block;

  width: 100%;
  height: 500px;

  object-fit: cover;

  /* Centra el encuadre de la foto */
  object-position: center center;

  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.gallery-item-single:hover img {
  transform: scale(1.025);
  filter: brightness(0.82);
}


/* TABLET */

@media (max-width: 900px) {

  .gallery-item-single {
    max-width: 700px;
  }

  .gallery-item-single img {
    height: 420px;
  }

}


/* CELULAR */

@media (max-width: 600px) {

  .gallery-item-single {
    max-width: 100%;
  }

  .gallery-item-single img {
    height: 320px;
  }

}