:root {
--bg: #0b0f14;
--surface: #111827;
--text: #e5e7eb;
--muted: #9ca3af;
--border: #1f2937;
--primary: #d4af37;        /* dorado */
--primary-strong: #b8962e;
--accent: #d4af37;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1040px, 92%);
  margin-inline: auto;
}

.header{
  background:
    radial-gradient(circle at 50% -20%, rgba(212,175,55,.12), transparent 60%),
    #0b0f14;
}


.navbar{
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1rem 0;

  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.navbar.scrolled{
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(14px);
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary-strong);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  min-height: calc(90vh - 72px);
  display: grid;
  align-items: center;
  padding: 2rem 0 4rem;
}

.hero-tag {
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.16;
  max-width: 760px;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 1.4rem;
}

.btn-primary{
  background:linear-gradient(135deg,#d4af37,#b8962e);
  color:#111;
  border-radius:999px;
  padding:.8rem 1.4rem;
  font-weight:600;
}

.btn-primary:hover {
  background: var(--primary-strong);
  color: #ffffff;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  margin-bottom: 0.4rem;
}

.section-description {
  color: var(--muted);
  margin-bottom: 1.6rem;
}


.catalog-section + .catalog-section {
  margin-top: 2rem;
}

.catalog-title {
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  color: #0f766e;
}

.catalog-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.perfume-card,
.card {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  overflow: hidden;
  transition: .25s;
}

.perfume-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,.45);
}

.perfume-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: linear-gradient(#ffffff, #f8fafc);
  padding: 16px;
}

.perfume-body,
.card {
  padding: 1rem;
}

.perfume-body h3,
.card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.perfume-body p,
.card p,
#sobre-nosotros p {
  color: var(--muted);
}

.contact-form {
  max-width: 620px;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(56, 189, 248, 0.35);
  border-color: var(--primary);
}

.error {
  display: block;
  min-height: 1rem;
  margin-top: 0.2rem;
  color: #dc2626;
  font-size: 0.84rem;
}

.form-success {
  color: #0f766e;
  font-weight: 600;
  margin-top: 0.8rem;
}

.footer {
  background: #e2e8f0;
  padding: 1rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  gap: 0.9rem;
}

.social-links a {
  color: #0369a1;
  text-decoration: none;
}

.social-links a:hover {
  color: #0f172a;
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    right: 4%;
    width: min(290px, 92%);
    padding: 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }
}


/* ====== HOTFIX: sacar franjas blancas + footer premium ====== */

/* Fondo general oscuro */
body{
  background: #0b0f14;
  color: #e5e7eb;
}

/* Secciones que estaban "soft" (blancas) ahora oscuras */
.section-soft{
  background: #0b0f14;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Contenedores/cards con look más premium */
.perfume-card,
.card{
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.06);
}

/* Footer oscuro y prolijo */
.footer{
  background: #0b0f14;
  border-top: 1px solid rgba(255,255,255,.08);
}

.social-links a{
  color: #d4af37; /* doradito */
}

.social-links a:hover{
  color: #ffffff;
}

/* Formulario: chau blanco quirúrgico */
input, textarea{
  background: #0f172a;
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,.10);
}

label{
  color: #e5e7eb;
}

/* Títulos y textos apagados, pero legibles */
.section-description,
.perfume-body p,
.card p,
#sobre-nosotros p{
  color: #9ca3af;
}


.navbar{
  border-bottom: none !important;
}


/* ===== Responsive polish (mobile first) ===== */
@media (max-width: 760px){

  /* Navbar: que no quede raro el dropdown */
  .navbar{
    padding: .8rem 0;
  }

  .nav-links{
    right: 4%;
    top: 64px;
    width: min(320px, 92%);
    gap: .65rem;
  }

  .nav-links a{
    padding: .6rem .7rem;
    border-radius: 10px;
  }

  /* Hero: menos “banner gigante”, más compacto */
  .hero{
    min-height: auto;
    padding: 2.2rem 0 2.8rem;
  }

  .hero h1{
    font-size: 2rem;
  }

  .hero-subtitle{
    font-size: 1rem;
  }

  /* Secciones: menos aire para que no sea scroll infinito */
  .section{
    padding: 3rem 0;
  }

  /* Cards del catálogo: 2 columnas en celu (cuando hay espacio) */
  .catalog-grid,
  .services-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
  }

  /* Imágenes: un toque más bajas para que no ocupen media pantalla */
  .perfume-card img{
    height: 190px;
    padding: 12px;
  }

  .perfume-body{
    padding: .85rem;
  }

  .perfume-body h3{
    font-size: .95rem;
  }

  .perfume-body p{
    font-size: .9rem;
  }

  /* Footer: que no se rompa */
  .footer-content{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Para pantallas MUY chicas (iPhone SE etc) */
@media (max-width: 420px){
  .catalog-grid,
  .services-grid{
    grid-template-columns: 1fr;
  }

  .perfume-card img{
    height: 210px;
  }
}


.btn-quote{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .9rem;
  width: 100%;
  text-decoration: none;
  font-weight: 700;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #111;
  transition: transform .15s ease, filter .15s ease;
}

.btn-quote:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}
