/* ============================================================
   LATINO FINE ART PHOTOGRAPHY — Sistema de Diseño Global
   Alfredo Crux · Birmingham, Alabama
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #d4af37;
  --gold-light:  #f1d279;
  --gold-dim:    rgba(212,175,55,0.12);
  --gold-line:   rgba(212,175,55,0.30);
  --ink:         #050b14;
  --ink-2:       #0d1520;
  --ink-3:       #1a2535;
  --white:       #ffffff;
  --gray:        #8a9ab0;
  --gray-light:  #c8d0db;
  --green:       #00a86b;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      4px;
  --transition:  all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-line); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
.serif { font-family: var(--font-serif); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; line-height: 1.1; }

.eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.2rem;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-desc {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  font-weight: 300;
  max-width: 560px;
}

.gold-line {
  width: 50px; height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); }

/* ── NAVIGATION ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}

#nav.scrolled {
  background: rgba(5,11,20,0.95);
  backdrop-filter: blur(16px);
  padding: 0.85rem 2rem;
  border-bottom: 1px solid var(--gold-line);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-logo span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--gray);
  font-family: var(--font-sans);
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  display: flex; gap: 2.2rem; list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.5rem 1.3rem;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white); transition: var(--transition);
}

/* Mobile nav overlay */
#mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5,11,20,0.98);
  z-index: 950;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 300;
  color: var(--white); letter-spacing: 0.03em;
  transition: color 0.3s;
}
#mobile-nav a:hover { color: var(--gold); }
#mobile-nav-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--white);
  font-size: 1.8rem; cursor: pointer;
}

/* ── CARDS ── */
.card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.card:hover { border-color: var(--gold-line); }

.card--gold-top { border-top: 2px solid var(--gold); }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
}
.badge-gold { background: var(--gold); color: var(--ink); }
.badge-outline { border: 1px solid var(--gold-line); color: var(--gold); }
.badge-green { background: var(--green); color: var(--white); }

/* ── DIVIDER ── */
.section-divider {
  width: 100%; height: 1px;
  background: var(--gold-line);
  margin: 0;
}

/* ── PRICE DISPLAY ── */
.price-big {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 600;
  color: var(--gold); line-height: 1;
}
.price-big sup { font-size: 1.2rem; vertical-align: super; }
.price-note {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.3rem;
}

/* ── FORMS ── */
.form-group { margin-bottom: 1.2rem; }

.form-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  border-radius: var(--radius);
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--gold); }

.form-select option { background: var(--ink-2); color: var(--white); }
.form-textarea { resize: vertical; min-height: 100px; }

/* ── GRID UTILS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── FOOTER ── */
#footer {
  background: var(--ink);
  border-top: 1px solid var(--gold-line);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: block; margin-bottom: 0.8rem;
}

.footer-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.7; max-width: 260px; }

.footer-col-title {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: var(--gray); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.8rem;
}

.footer-copy { font-size: 0.75rem; color: var(--gray); }
.footer-copy a { color: var(--gold); }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 800;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

/* ── PAGE HERO (shared across pages) ── */
.page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(212,175,55,0.05) 0%, transparent 70%);
}
.page-hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-family: var(--font-serif);
  font-weight: 300;
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes pulse {
  0%,100% { opacity: 0.4; } 50% { opacity: 1; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .container { padding: 0 1.2rem; }
}
