:root {
  --bg: #fcf8f6;
  --surface: #ffffff;
  --surface-soft: #f3e8e2;
  --surface-alt: #f8efeb;
  --text: #2e2a2a;
  --text-soft: #6f6461;
  --primary: #7a1e2c;
  --primary-dark: #5e1621;
  --accent: #b9897e;
  --accent-soft: #e7d3d0;
  --border: rgba(122, 30, 44, 0.12);
  --shadow: 0 18px 45px rgba(94, 22, 33, 0.08);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(122, 30, 44, 0.06), transparent 24%),
    radial-gradient(circle at top right, rgba(185, 137, 126, 0.10), transparent 22%),
    var(--bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* TOPBAR */
.topbar {
  background: var(--primary-dark);
  color: #f9f4f2;
  font-size: 14px;
}

.topbar-content {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 248, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow);
}

.brand-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
}

.brand-subtitle {
  color: var(--text-soft);
  font-size: 13px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text-soft);
  font-weight: 600;
  transition: 0.25s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 14px 22px;
  font-weight: 700;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-soft);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
}

/* HERO */
.hero {
  padding: 88px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.badge,
.section-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(122, 30, 44, 0.09);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-text h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  margin: 0 0 28px;
  max-width: 650px;
  font-size: 18px;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hero-stats article,
.card,
.glass-card,
.about-box,
.person-card,
.contact-info,
.contact-form {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 18px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--primary-dark);
}

.hero-stats span {
  color: var(--text-soft);
  font-size: 14px;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.glass-card {
  width: 100%;
  max-width: 420px;
  padding: 28px;
  backdrop-filter: blur(10px);
  background: rgba(255, 248, 246, 0.82);
}

.mini-title {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-mini-list {
  display: grid;
  gap: 12px;
}

.service-mini-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid rgba(122, 30, 44, 0.08);
  font-weight: 600;
  color: var(--primary-dark);
}

/* SECCIONES */
.section {
  padding: 85px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-box h2,
.contact-info h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--primary-dark);
}

.section-heading p,
.about-box p,
.contact-info p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 26px;
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 30, 44, 0.2);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  color: var(--primary-dark);
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

/* CLIENTES */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pill-grid span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: var(--shadow);
}

/* ABOUT */
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.about-box,
.contact-info,
.contact-form {
  padding: 30px;
}

.about-side {
  display: grid;
  gap: 20px;
}

.person-card {
  padding: 26px;
  background: linear-gradient(180deg, #ffffff, #fcf3ef);
}

.person-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--primary-dark);
}

.person-card p,
.person-card span {
  margin: 0;
  color: var(--text-soft);
}

/* CONTACTO */
.contact-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.contact-list li {
  color: var(--text-soft);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form h3 {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--primary-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(122, 30, 44, 0.14);
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(122, 30, 44, 0.08);
}

/* FOOTER */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 248, 246, 0.9);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer h3,
.footer p {
  margin: 0;
}

.footer h3 {
  color: var(--primary-dark);
}

.footer p {
  color: var(--text-soft);
}

/* WHATSAPP FLOTANTE OPCIONAL */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
  z-index: 999;
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .topbar-content,
  .footer-content,
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards-grid,
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topbar-content,
  .footer-content {
    text-align: center;
  }

  .nav-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-btn {
    width: 100%;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 560px) {
  .brand {
    align-items: flex-start;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .topbar {
    display: none;
  }
}

.hero-photo-card {
  padding: 14px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}


.hero-photo-card {
  position: relative;
  padding: 10px;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  transition: transform 0.6s ease;
}

/* zoom suave */
.hero-photo-card:hover .hero-photo {
  transform: scale(1.05);
}

/* overlay tipo premium */
.hero-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);

  padding: 18px;
  border-radius: 14px;
  color: #fff;

  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

/* aparece al pasar mouse */
.hero-photo-card:hover .hero-overlay {
  transform: translateY(0);
  opacity: 1;
}

.hero-overlay h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.hero-overlay p {
  margin: 6px 0;
  font-size: 14px;
  opacity: 0.9;
}

.hero-overlay span {
  font-size: 12px;
  opacity: 0.7;
}

.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;

  width: 60px;
  height: 60px;

  background: #25D366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-btn img {
  width: 30px;
  height: 30px;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}


/* ========================= */
/* HERO */
/* ========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 56px;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

/* FLOR IZQUIERDA PRO FINAL */

.hero {
  position: relative;
  overflow: hidden;
}

.flor {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  max-height: 700px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.subtitulo {
  font-size: 1.2rem;
  color: #6b6b6b;
  margin-top: 10px;
  text-align: center;
}

.titulo-principal {
  font-size: 3.2rem;
  line-height: 1.2;
}

.titulo-principal .marca {
  display: block;
  text-align: center;
  font-size: 4rem;   /* 👈 este es el punto justo */
  margin-top: 8px;
  font-weight: 600;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-logo img {
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;   /* 🔥 centra TODO */
    text-align: center;
    gap: 25px;
  }

  .hero-text {
    align-items: center;
  }

  .hero-logo img {
    max-width: 280px;  /* tamaño ideal mobile */
    margin: 0 auto;
  }

  .hero-card {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-photo {
    max-width: 90%;
  }

}