@charset "UTF-8";
/* ============================================================
   CAMILO CARDOZO — ABOGADO | Landing Page
   Fuente SCSS — compilar a css/styles.css con:
     sass scss/styles.scss css/styles.css --style=compressed
   (El archivo css/styles.css ya viene compilado y listo para usar
   sin necesidad de instalar Sass.)
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #10141d;
  --bg-card: #151a24;
  --accent: #c9a256;
  --accent-2: #7c9cff;
  --text-primary: #f2f3f5;
  --text-secondary: #9aa3b2;
  --border: #232838;
  --success: #3ecf8e;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.15;
}

.icon {
  width: 20px;
  height: 20px;
}

.text-gradient {
  background: linear-gradient(120deg, var(--accent), #e8cf94);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--accent), #b6893f);
  color: #12100a;
  box-shadow: 0 8px 24px -8px rgba(201, 162, 86, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(201, 162, 86, 0.7);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}
.btn--sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(21, 26, 36, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__logo {
  height: 34px;
  width: auto;
}
.brand__text {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav__list {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav a:hover {
  color: var(--text-primary);
}
.nav a:hover::after {
  width: 100%;
}
.nav__cta {
  margin-left: 8px;
}

@media (max-width: 900px) {
  .nav, .nav__cta {
    display: none;
  }
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
}

.header.is-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header.is-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.header.is-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-menu__list a {
  font-size: 1.4rem;
  font-family: "Playfair Display", serif;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.hero__bg-glow--1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -150px;
  right: -100px;
}
.hero__bg-glow--2 {
  width: 400px;
  height: 400px;
  background: var(--accent-2);
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 18px 0 22px;
}
.hero__title span {
  display: block;
}
.hero__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
}
.hero__photo-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-secondary));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.hero__photo-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__photo-frame--placeholder::after {
  content: "Foto de perfil\a(reemplazar assets/img/perfil.jpg)";
  white-space: pre;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.hero__photo-frame--placeholder img {
  display: none;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: rgba(21, 26, 36, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
}
.hero__badge .icon {
  color: var(--accent);
  width: 28px;
  height: 28px;
}
.hero__badge div {
  display: flex;
  flex-direction: column;
}
.hero__badge strong {
  font-size: 1.3rem;
  font-family: "Playfair Display", serif;
  color: var(--accent);
}
.hero__badge span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-item strong {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--accent);
}
.stat-item span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  z-index: 1;
}
.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    top: 8px;
  }
  70% {
    opacity: 0;
    top: 22px;
  }
  100% {
    opacity: 0;
    top: 8px;
  }
}
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero__badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }
}
.section {
  padding: 120px 0;
  position: relative;
}
.section--alt {
  background: var(--bg-secondary);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.section-desc {
  margin-top: 14px;
  color: var(--text-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-photo-frame {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-secondary));
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-frame--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo-frame--placeholder::after {
  content: "Foto secundaria\a(assets/img/perfil-secundaria.jpg)";
  white-space: pre;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.about-photo-frame--placeholder img {
  display: none;
}

.about-paragraphs p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.credentials {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.credentials li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 10px 10px 0;
}
.credentials li strong {
  color: var(--text-primary);
}
.credentials li span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo-frame {
    max-width: 360px;
    margin-inline: auto;
  }
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  background: rgba(21, 26, 36, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(201, 162, 86, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.area-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.area-card:hover::before {
  opacity: 1;
}
.area-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(201, 162, 86, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.area-card__icon .icon {
  width: 24px;
  height: 24px;
}
.area-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.area-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}
.feature-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: border-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.feature-item:hover .feature-item__icon {
  border-color: var(--accent);
  transform: scale(1.08);
}
.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}
.trayectoria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.trayectoria-col__title {
  font-size: 1.15rem;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.trayectoria-col__title--spaced {
  margin-top: 40px;
}

.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-item {
  position: relative;
}
.timeline-item__dot {
  position: absolute;
  left: -28.5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 162, 86, 0.18);
}
.timeline-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.02rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.timeline-item__place {
  color: var(--text-primary);
  font-size: 0.92rem;
  opacity: 0.85;
  margin-bottom: 2px;
}
.timeline-item__period {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.timeline-item__detail {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.simple-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.simple-list li strong {
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.simple-list li span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.recognition-card {
  padding: 16px 18px;
  border-left: 2px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 10px 10px 0;
}
.recognition-card h4 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  margin-bottom: 4px;
}
.recognition-card__meta {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.recognition-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 860px) {
  .trayectoria-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.cta-final {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-secondary);
}
.cta-final__glow {
  position: absolute;
  width: 600px;
  height: 300px;
  background: var(--accent);
  filter: blur(140px);
  opacity: 0.18;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cta-final__inner {
  position: relative;
  z-index: 1;
}
.cta-final h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 16px;
}
.cta-final p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

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

.contact-card {
  background: rgba(21, 26, 36, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.contact-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(201, 162, 86, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.contact-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.link-arrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.link-arrow--static {
  color: var(--text-secondary);
  font-weight: 500;
}
.link-arrow:not(.link-arrow--static):hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: var(--bg-secondary);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer__brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 8px;
  max-width: 380px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.footer__social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer__social a .icon {
  width: 18px;
  height: 18px;
}
.footer__rights {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1ebe57);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
  z-index: 90;
  animation: floatPulse 2.6s ease-in-out infinite;
}
.whatsapp-float .icon {
  width: 30px;
  height: 30px;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes floatPulse {
  0%, 100% {
    box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
  }
  50% {
    box-shadow: 0 10px 40px -2px rgba(37, 211, 102, 0.85);
  }
}
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .section {
    padding: 80px 0;
  }
  .hero {
    padding-top: 120px;
  }
}
