
/* Paleta basada en la imagen de tonos de piel */
:root {
  --porcelain: #fbe9e3;
  --ivory: #f4e0c8;
  --warm-ivory: #f6e3b5;
  --sand: #d8b695;
  --rose-beige: #f2b8a0;
  --natural: #e3b18a;
  --beige: #e0ae76;
  --siena: #c07a52;
  --band: #a57a58;
  --almond: #8b5a3c;
  --amber: #b0693f;
  --umber: #8a4a2f;
  --bronze: #7a4a2d;
  --espresso: #4b2b1a;
  --chocolate: #3b2314;

  --color-primario: var(--siena);
  --color-secundario: var(--warm-ivory);
  --color-fondo: #fffaf6;
  --color-texto: var(--chocolate);
  --color-subtexto: #7a5a45;
  --color-chip: #f6decf;
  --color-acento: var(--rose-beige);
  --max-width: 1100px;
  --radius: 12px;
  --shadow-suave: 0 8px 22px rgba(139, 90, 60, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, var(--color-fondo) 55%, #f8eadd 100%);
  color: var(--color-texto);
  line-height: 1.6;
}

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

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

header {
  background: linear-gradient(120deg, #ffffff, var(--ivory));
  box-shadow: 0 12px 30px rgba(122, 90, 69, 0.12);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(8px);
}

.contenedor {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--chocolate);
}

.logo-img {
  height: 56px;
  width: auto;
}

.logo-texto-principal {
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.logo-texto-secundario {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-profesional {
  font-size: 0.75rem;
  margin-top: 0.15rem;
  color: #8c6d58;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: #8c6d58;
}

nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primario);
  transition: width 0.2s ease;
  border-radius: 999px;
}

nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primario {
  background: var(--color-primario);
  color: #fff7f2;
  box-shadow: 0 10px 22px rgba(139, 90, 60, 0.55);
}

.btn-primario:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(75, 43, 26, 0.7);
  background: #9b5b39;
}

.btn-secundario {
  background: rgba(246, 222, 207, 0.7);
  color: var(--chocolate);
  border: 1px solid rgba(192, 122, 82, 0.3);
}

.btn-secundario:hover {
  background: rgba(245, 210, 193, 1);
}

/* Hero */

.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero small {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #a37c61;
  font-weight: 600;
}

.hero h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.2;
  color: var(--chocolate);
}

.hero h1 span {
  color: var(--color-primario);
}

.hero-resumen {
  font-size: 0.98rem;
  color: var(--color-subtexto);
  max-width: 32rem;
}

.hero-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.7rem 0 1rem;
}

.hero-detalles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.86rem;
  color: #a37c61;
}

.hero-detalles div span {
  display: block;
  font-weight: 600;
  color: var(--chocolate);
  font-size: 0.88rem;
}

.hero-tarjeta {
  background: linear-gradient(140deg, #ffffff, var(--porcelain));
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow-suave);
  border: 1px solid rgba(250, 220, 205, 0.7);
}

.hero-tarjeta h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--chocolate);
}

.hero-tarjeta p {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-subtexto);
}

.hero-etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--color-chip);
  color: var(--umber);
  border: 1px solid rgba(192, 122, 82, 0.3);
}

/* Secciones genéricas */

section {
  padding: 2.5rem 0;
}

section h2 {
  font-size: 1.6rem;
  margin: 0 0 0.25rem;
  color: var(--chocolate);
}

section p.subtitulo {
  margin: 0 0 1.5rem;
  color: var(--color-subtexto);
  font-size: 0.95rem;
}

/* Nosotros */

.nosotros-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.tarjeta {
  background: #fffaf6;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-suave);
  border: 1px solid rgba(244, 212, 190, 0.9);
}

.tarjeta h3 {
  margin-top: 0;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--chocolate);
}

.tarjeta p {
  font-size: 0.92rem;
  color: var(--color-subtexto);
}

.lista-simple {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.lista-simple li {
  margin-bottom: 0.35rem;
  display: flex;
  gap: 0.5rem;
  color: var(--color-subtexto);
}

.lista-simple li::before {
  content: "•";
  color: var(--color-primario);
  margin-top: 0.1rem;
}

.tarjeta-foto {
  background: #fffdfb;
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: var(--shadow-suave);
  border: 1px solid rgba(245, 215, 193, 0.95);
  text-align: center;
}

.tarjeta-foto img {
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
  margin-bottom: 0.8rem;
}

.tarjeta-foto small {
  display: block;
  font-size: 0.78rem;
  color: #a37c61;
}

/* Servicios */

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.servicio {
  background: #fffdfb;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-suave);
  border: 1px solid rgba(245, 215, 193, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.servicio span.icono {
  font-size: 1.4rem;
}

.servicio h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--chocolate);
}

.servicio p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-subtexto);
}

.servicio ul {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--color-subtexto);
}

.servicio ul li {
  margin-bottom: 0.25rem;
  display: flex;
  gap: 0.35rem;
}

.servicio ul li::before {
  content: "›";
  color: var(--color-primario);
  font-weight: 700;
  margin-top: -0.02rem;
}

/* Testimonios */

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.testimonio {
  background: #fffaf6;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-suave);
  font-size: 0.88rem;
  color: var(--color-subtexto);
  position: relative;
  border: 1px solid rgba(245, 215, 193, 0.85);
}

.testimonio::before {
  content: "“";
  position: absolute;
  font-size: 3rem;
  color: #f2d4c3;
  top: 0.4rem;
  left: 0.8rem;
  pointer-events: none;
}

.testimonio footer {
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--chocolate);
}

.testimonio footer span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: #a37c61;
}

/* Contacto */

.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

form {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-suave);
  border: 1px solid rgba(245, 215, 193, 0.9);
  display: grid;
  gap: 0.85rem;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--chocolate);
  display: block;
  margin-bottom: 0.15rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #e2c7b3;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  background: #fffaf7;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(192, 122, 82, 0.35);
  border-color: var(--color-primario);
  background: #fffdfb;
}

.contacto-info {
  font-size: 0.9rem;
  color: var(--color-subtexto);
}

.contacto-info strong {
  color: var(--chocolate);
}

.contacto-item {
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(224, 174, 118, 0.4);
}

.contacto-tag {
  display: inline-block;
  font-size: 0.78rem;
  background: var(--color-chip);
  color: var(--umber);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(192, 122, 82, 0.35);
}

footer {
  background: linear-gradient(160deg, #3b2314, #4b2b1a);
  color: #f7e4d5;
  padding: 1.5rem 0;
  margin-top: 2rem;
  font-size: 0.8rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #f3cfb5;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Botón flotante WhatsApp */

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25d366;
  color: white;
  font-size: 1.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .nosotros-grid,
  .contacto-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tarjeta-foto {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  nav ul {
    display: none;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .contenedor {
    padding: 0 1.1rem;
  }
}
