:root {
  --primary: #8b6f5a;     /* café claro elegante */
  --secondary: #bfa68a;   /* beige cálido */
  --dark: #3f3a36;        /* gris café oscuro */
  --light: #f6f4f1;       /* fondo claro */
  --gray: #8a857f;        /* gris neutro */
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* BODY SIN EMPUJES */
body {
  background: var(--light);
  display: flex;
  justify-content: center;
}
/* ================= CONTENEDOR BIO LINK ================= */
.phone {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ================= CONTENEDOR PRINCIPAL ================= */
.card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

/* ================= HEADER ================= */
.header {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: visible;
}


/* ================= AVATAR ================= */
.avatar {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);

  width: 120px;
  height: 120px;

  background: #ffffff;
  border-radius: 50%;

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

  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  z-index: 15;
}

.avatar img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}

/* ================= TEXTO PERFIL ================= */
.profile-text {
  text-align: center;
  margin-top: 90px;
  margin-bottom: 14px;
}

.profile-text h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--light); /* CONTRASTE */
}

.profile-text span {
  font-size: 14px;
  color: var(--light);
  letter-spacing: 0.4px;
}

/* ================= CONTENIDO (FONDO PRINCIPAL) ================= */
.content {
  padding: 22px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
  );
}

/* ================= LINKS ================= */
.links {
  padding: 14px 0;
}

/* Tarjetas */
.links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 18px;
  margin-bottom: 12px;

  background: #ffffff;
  border-radius: 16px;

  color: #3a2f2a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-align: center;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

/* Iconos */
.links a i {
  font-size: 22px;
  color: var(--primary);
}

/* Hover */
.links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-3px);
}

.links a:hover i {
  color: #ffffff;
}

/* ================= RESPONSIVE ================= */
@media (min-width: 768px) {
  .header {
    height: 80px;
  }

  .avatar {
    width: 140px;
    height: 140px;
    bottom: -70px;
  }
}
/* ================= CONTENIDO ================= */

.content {
  padding: 20px;
}

/* LINKS */
.links {
  padding: 12px 0;
}


/* ================= FOOTER BIO ================= */
.bio-footer {
  margin-top: 32px;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid var(--light);
}

.bio-footer__text {
  font-size: 13px;
  color: var(--light);
  margin-bottom: 6px;
}

.bio-footer__copy {
  font-size: 11px;
  color: var(--light);
}


/* SOCIAL */
.social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0 6px;
}

.social i {
  font-size: 25px;
  color: var(--light);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.social i:hover {
  transform: scale(1.25);
}

/* USERNAME */
.username {
  font-size: 15px;
  color: var(--light);
  padding-bottom: 16px;
  text-align: center;
}

.header--image {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 0 0 22px 22px;
}


.header--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BOTON BACK */
.back-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 6;

  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);

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

  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

/* AVATAR ENCIMA */
.header--image .avatar {
  position: absolute;
  left: 50%;
  bottom: -55px;
  transform: translateX(-50%);
  z-index: 5;
}

/* AJUSTE CONTENIDO */
.content--catalog {
  padding-top: 0;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 10px 0 20px;
}

.cake-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.cake-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.cake-card h3 {
  font-size: 14px;
  margin: 10px 0 6px;
  color: #3a2f2a;
}

.cake-card .btn {
  display: block;
  margin: 8px 12px 14px;
  padding: 8px;
  border-radius: 12px;

  background: var(--primary);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

/* TEXTO INTRO */
.custom-text {
  text-align: center;
  font-size: 14px;
  color: var(--light);
  margin: 16px 0 22px;
  line-height: 1.5;
}

/* SUBTEXTO EN LINKS */
.links a small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

/* CTA FINAL */
.cta-box {
  margin-top: 26px;
  padding: 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  text-align: center;
}

.cta-box p {
  color: var(--light);
  font-size: 14px;
  margin-bottom: 12px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 22px;
  background: #ffffff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
}

/* TEXTO INTRO */
.custom-text {
  text-align: center;
  font-size: 14px;
  color: var(--light);
  margin: 16px 0 22px;
  line-height: 1.5;
}

/* SUBTEXTO EN LINKS */
.links a small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

/* CTA FINAL */
.cta-box {
  margin-top: 26px;
  padding: 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  text-align: center;
}

.cta-box p {
  color: var(--light);
  font-size: 14px;
  margin-bottom: 12px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 22px;
  background: #ffffff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
}


/* ================= HEADER CONTACTO ================= */
.header--contact {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.header--contact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TITULO */
.contact-title {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.contact-title h2 {
  background: white;
  padding: 5px;  
  border-radius: 8px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 600;
  text-shadow: 0 4px 14px rgba(0,0,0,0.45);
}

/* ================= CONTENIDO ================= */
.content {
  padding: 22px;
}

/* TEXTO INTRO */
.contact-intro {
  text-align: center;
  margin-bottom: 26px;
}

.contact-intro p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--light);
}

/* ================= OPCIONES ================= */
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

/* TARJETA */
.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  text-decoration: none;
  color: #333;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
}

.contact-card i {
  font-size: 26px;
  color: var(--primary);
}

.contact-card span {
  font-size: 14px;
  font-weight: 600;
}

.contact-card small {
  font-size: 11px;
  opacity: 0.7;
}

/* HOVER */
.contact-card:hover {
  transform: translateY(-4px);
}

/* ================= FORMULARIO ================= */
.contact-form {
  background: rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 20px;
}

.contact-form h3 {
  text-align: center;
  font-size: 16px;
  color: var(--light);
  margin-bottom: 16px;
}

/* FORM */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  outline: none;

  font-size: 14px;
  background: #ffffff;
}

.contact-form textarea {
  resize: none;
  min-height: 90px;
}

/* BOTÓN */
.contact-form button {
  margin-top: 8px;
  padding: 12px;
  border-radius: 999px;
  border: none;

  background: #ffffff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.contact-form button:hover {
  transform: scale(1.05);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 420px) {
  .contact-options {
    grid-template-columns: 1fr;
  }
}
