:root {
  --primary: #6f5ef7;
  --secondary: #27c2c9;

  --bg-dark: #0b1f2a;
  --bg-dark-soft: rgba(11, 31, 42, 0.92);

  --white: #ffffff;
  --text-main: #1c1c1e;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-soft: rgba(230, 255, 250, 0.75);
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --text-deep: #17303d;

  --border-soft: rgba(39, 194, 201, 0.18);
  --border-card: rgba(39, 194, 201, 0.1);
  --border-card-soft: rgba(39, 194, 201, 0.08);

  --gradient-main: linear-gradient(90deg, #6f5ef7 0%, #27c2c9 100%);
  --gradient-brand: linear-gradient(90deg, #ffffff 0%, #d8f7f8 100%);

  --shadow-nav: 0 12px 30px rgba(0, 0, 0, 0.22);
  --shadow-card: 0 18px 40px rgba(11, 31, 42, 0.06),
    0 8px 18px rgba(39, 194, 201, 0.04);
  --shadow-card-hover: 0 24px 48px rgba(11, 31, 42, 0.1),
    0 10px 24px rgba(39, 194, 201, 0.06);

  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f8f9fc;
  color: var(--text-main);
}

/* =========================
   HELPERS GENERALES
========================= */

.section-header {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.section-subtitle {
  max-width: 600px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.section-divider {
  width: 90px;
  height: 4px;
  border-radius: 999px;
  margin: 1.2rem auto 0;
  background: var(--gradient-main);
}

.section-badge,
.badge-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(39, 194, 201, 0.1);
  border: 1px solid rgba(39, 194, 201, 0.16);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* =========================
   NAVBAR
========================= */

.custom-navbar {
  background: linear-gradient(
    135deg,
    rgba(8, 26, 36, 0.96) 0%,
    rgba(18, 71, 86, 0.92) 55%,
    rgba(39, 194, 201, 0.22) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-nav);
  padding: 14px 0;
  position: relative;
  z-index: 999;
  overflow: hidden;
}

.custom-navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(39, 194, 201, 0.14) 0%,
    rgba(111, 94, 247, 0.08) 100%
  );
  pointer-events: none;
}

.brand-name {
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-name:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(39, 194, 201, 0.4) 0%,
    rgba(123, 97, 255, 0.25) 45%,
    transparent 75%
  );
  filter: blur(14px);
  z-index: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.08);
}

.brand-text {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-custom .nav-link {
  position: relative;
  z-index: 2;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.98rem;
  margin-left: 1rem;
  padding: 0.45rem 0.15rem;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-custom .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
}

.nav-custom .nav-link:hover,
.nav-custom .nav-link:focus {
  color: var(--white);
}

.nav-custom .nav-link:hover::after,
.nav-custom .nav-link:focus::after,
.nav-custom .nav-link.active::after {
  width: 100%;
}

.nav-custom .nav-link.active {
  color: var(--white);
}

.navbar-toggler {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-collapse {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* =========================
   HERO
========================= */

.hero-section {
  position: relative;
  padding: 2.25rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(39, 194, 201, 0.1), transparent 28%),
    radial-gradient(circle at bottom right, rgba(111, 94, 247, 0.1), transparent 24%),
    linear-gradient(180deg, #f7fbfd 0%, #f4f7fb 100%);
  overflow: hidden;
}

.hero-box {
  position: relative;
  z-index: 2;
}

.hero-photo-wrap {
  position: relative;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: linear-gradient(
    135deg,
    rgba(39, 194, 201, 0.2),
    rgba(111, 94, 247, 0.16)
  );
  border-radius: 50%;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(30px);
  z-index: 0;
}

.hero-photo-card {
  position: relative;
  z-index: 2;
  max-width: 420px;
  padding: 14px;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.72)
  );
  border: 1px solid rgba(39, 194, 201, 0.14);
  box-shadow: 0 20px 50px rgba(11, 31, 42, 0.1),
    0 10px 24px rgba(39, 194, 201, 0.08);
}

.hero-photo {
  width: 100%;
  border-radius: 24px;
  display: block;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.8rem;
   margin-top: 0;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #15323d;
  font-weight: 500;
  max-width: 760px;
}

.hero-subtitle span {
  color: var(--secondary);
  font-weight: 700;
  margin: 0 0.2rem;
}

.hero-description {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 2rem;
}

.hero-actions {
  margin-bottom: 0.5rem;
}

.hero-actions .btn {
  min-width: 180px;
}

.btn-primary-custom {
  background: var(--gradient-main);
  color: var(--white);
  border: none;
  padding: 0.95rem 1.5rem;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(39, 194, 201, 0.18);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(39, 194, 201, 0.22);
}

.btn-whatsapp {
  background: rgba(255, 255, 255, 0.75);
  color: #15323d;
  border: 1px solid rgba(39, 194, 201, 0.16);
  padding: 0.95rem 1.35rem;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(11, 31, 42, 0.05);
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  color: #15323d;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}

.highlight-card {
  height: 100%;
  padding: 1.4rem 1.3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(39, 194, 201, 0.12);
  box-shadow: 0 16px 34px rgba(11, 31, 42, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.highlight-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.highlight-card p {
  color: #374151;
  line-height: 1.75;
  font-size: 0.98rem;
}
.hero-actions .btn,
.btn-primary-custom,
.btn-whatsapp {
  min-height: 52px;
}

/* =========================
   SECCIONES GENERALES
========================= */

.about-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.section-alt {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at top left, rgba(39, 194, 201, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(111, 94, 247, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fbfc 0%, #eef4f8 100%);
  overflow: hidden;
}

.section-alt .section-header {
  position: relative;
  z-index: 2;
}

/* =========================
   CARDS BASE
========================= */

.card-experience,
.card-education,
.tech-card,
.project-card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card-experience:hover,
.card-education:hover,
.tech-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.card-experience::before,
.card-education::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--gradient-main);
  opacity: 0.9;
}

/* =========================
   ABOUT
========================= */

.card-main {
  padding: 2rem;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(39, 194, 201, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.card-side {
  padding: 1.8rem;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(39, 194, 201, 0.05)
  );
  border: 1px solid rgba(39, 194, 201, 0.12);
}

.profile-highlight {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f2a35;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.profile-text {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.mini-block {
  margin-bottom: 1.5rem;
}

.mini-block:last-child {
  margin-bottom: 0;
}

.mini-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* =========================
   EXPERIENCIA
========================= */

.card-experience {
  padding: 2rem 1.9rem;
  border-radius: var(--radius-xl);
}

.experience-tag,
.education-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(39, 194, 201, 0.1);
  border: 1px solid rgba(39, 194, 201, 0.16);
  color: var(--secondary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.experience-tag-tech,
.education-tag-tech {
  background: rgba(111, 94, 247, 0.1);
  border: 1px solid rgba(111, 94, 247, 0.16);
  color: var(--primary);
}

.experience-title,
.education-title {
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.experience-subtitle {
  font-size: 1.02rem;
  color: #234252;
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.experience-date {
  display: inline-block;
  margin-bottom: 1.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.05);
  color: #5f6b7a;
  font-size: 0.92rem;
  font-weight: 700;
}

.experience-list {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.experience-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.experience-list li:last-child {
  margin-bottom: 0;
}

.experience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(39, 194, 201, 0.12);
}

.experience-tag-tech
  + .experience-title
  + .experience-subtitle
  + .experience-date
  + .experience-list
  li::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(111, 94, 247, 0.12);
}

/* =========================
   EDUCACIÓN
========================= */

.education-section {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at top right, rgba(39, 194, 201, 0.08), transparent 22%),
    radial-gradient(circle at bottom left, rgba(111, 94, 247, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.card-education {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.education-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.education-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 194, 201, 0.1);
  color: var(--secondary);
  font-size: 1.15rem;
  border: 1px solid rgba(39, 194, 201, 0.16);
}

.education-icon-circle-tech {
  background: rgba(111, 94, 247, 0.1);
  color: var(--primary);
  border: 1px solid rgba(111, 94, 247, 0.16);
}

.education-subtitle {
  font-size: 1rem;
  color: #566171;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.education-block {
  margin-bottom: 1.4rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(248, 251, 252, 0.9);
  border: 1px solid var(--border-card-soft);
}

.education-block:last-child {
  margin-bottom: 0;
}

.education-block-soft {
  background: rgba(111, 94, 247, 0.04);
  border: 1px solid rgba(111, 94, 247, 0.08);
}

.education-block-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 0.8rem;
}

.education-block-title i {
  color: var(--secondary);
}

.education-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.education-list li {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 0.55rem;
}

.education-list li:last-child {
  margin-bottom: 0;
}

/* =========================
   TECNOLOGÍAS
========================= */

.tech-section {
  background:
    radial-gradient(circle at top left, rgba(39, 194, 201, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(111, 94, 247, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fbfc 0%, #eef4f8 100%);
}

.tech-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  height: 100%;
}

.tech-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.tech-grid,
.tech-grid-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-item,
.tech-item-mini {
  min-width: 92px;
  padding: 0.85rem 0.75rem;
  border-radius: 16px;
  background: rgba(248, 251, 252, 0.95);
  border: 1px solid var(--border-card-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover,
.tech-item-mini:hover,
.tech-badge:hover,
.tech-badge-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(11, 31, 42, 0.06);
}

.tech-item img,
.tech-item-mini img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.tech-item span,
.tech-item-mini span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.tech-badge,
.tech-badge-mini {
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(111, 94, 247, 0.08);
  border: 1px solid rgba(111, 94, 247, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* =========================
   PROYECTOS
========================= */

.projects-section {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at top left, rgba(39, 194, 201, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(111, 94, 247, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.project-card {
  height: 100%;
  border-radius: var(--radius-xl);
}

.project-card-img-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0.85rem 0.85rem 0;
}

.project-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  transition: transform 0.45s ease;
}

.project-card:hover .project-card-img {
  transform: scale(1.03);
}

.project-card-body {
  padding: 1.3rem 1.25rem 1.35rem;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(39, 194, 201, 0.1);
  border: 1px solid rgba(39, 194, 201, 0.14);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card-title {
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.project-card-text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.project-tag {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(111, 94, 247, 0.08);
  border: 1px solid rgba(111, 94, 247, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.projects-section .btn-primary-custom,
.projects-section .btn-whatsapp {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 600;
}

/* =========================
   MODAL DE PROYECTOS
========================= */

.project-modal {
  border: 1px solid rgba(39, 194, 201, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 251, 252, 0.96) 100%
  );
  box-shadow: 0 26px 60px rgba(11, 31, 42, 0.18);
  overflow: hidden;
}

.project-modal-header {
  position: relative;
  align-items: flex-start;
}

.project-modal-header::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 1px;
  background: rgba(39, 194, 201, 0.1);
}

.project-modal-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(39, 194, 201, 0.1);
  border: 1px solid rgba(39, 194, 201, 0.14);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.project-modal-title {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-main);
}

.project-modal-close {
  box-shadow: none;
  opacity: 0.7;
}

.project-modal-close:hover {
  opacity: 1;
}

.project-modal-block {
  padding: 1rem 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-card-soft);
}

.project-modal-subtitle {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-deep);
  margin-bottom: 0.75rem;
}

.project-modal-text {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 0;
}

.project-modal-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.project-modal-list li {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 0.45rem;
}

.project-modal-list li:last-child {
  margin-bottom: 0;
}

.btn-modal-secondary {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-modal-secondary:hover {
  background: #eef2f7;
  color: #334155;
  border-color: #d8e0ea;
}

/* =========================
   CONTACTO
========================= */

.contact-section {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at top left, rgba(39, 194, 201, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(111, 94, 247, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.contact-card {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border: 1px solid rgba(39, 194, 201, 0.1);
  box-shadow: 0 18px 40px rgba(11, 31, 42, 0.06),
    0 8px 18px rgba(39, 194, 201, 0.04);
  overflow: hidden;
}

.contact-main,
.contact-side {
  padding: 2rem;
  height: 100%;
}

.contact-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    180deg,
    rgba(248, 251, 252, 0.95) 0%,
    rgba(111, 94, 247, 0.04) 100%
  );
  border-left: 1px solid rgba(39, 194, 201, 0.08);
}

.contact-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}

.contact-text {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 95%;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(248, 251, 252, 0.92);
  border: 1px solid rgba(39, 194, 201, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11, 31, 42, 0.05);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 194, 201, 0.1);
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.22rem;
}

.contact-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary);
}

.contact-info {
  color: var(--text-body);
  line-height: 1.7;
}

.contact-mini-block {
  margin-bottom: 1rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(39, 194, 201, 0.08);
}

.contact-mini-block:last-child {
  margin-bottom: 0;
}

.contact-mini-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.contact-mini-block p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 0;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.contact-socials .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-contact-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: #15323d;
  border: 1px solid rgba(39, 194, 201, 0.16);
  padding: 0.95rem 1.35rem;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(11, 31, 42, 0.05);
  transition: all 0.3s ease;
}

.btn-contact-secondary:hover {
  color: #15323d;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
}
.contact-item {
  min-height: 96px;
}

.contact-item-content {
  max-width: 100%;
}

.contact-link {
  overflow-wrap: anywhere;
}

.contact-text {
  max-width: 560px;
}

.contact-side,
.contact-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* =========================
   FOOTER
========================= */

.cv-footer {
  padding: 4.5rem 0;
  background: linear-gradient(
    135deg,
    rgba(8, 26, 36, 0.98) 0%,
    rgba(18, 71, 86, 0.94) 55%,
    rgba(39, 194, 201, 0.18) 100%
  );
  color: var(--white);
}

.cv-footer-box {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-brand:hover {
  color: var(--white);
  opacity: 0.9;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-description {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  padding: 0;
  margin: 0;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--white);
}

.footer-social a,
.footer-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-social a:hover,
.footer-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom-text {
  color: rgba(255, 255, 255, 0.68);
}

/* =========================
   BOTÓN TOP
========================= */

.btn-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--gradient-main);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(39, 194, 201, 0.18);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.btn-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(39, 194, 201, 0.22);
}