/* Pedro Brínez Hair Artist - Premium Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Lato:wght@300;400;700;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --white: #FFFFFF;
  --gold: #C9A96B;
  --gold-light: #E8D5A3;
  --gold-dark: #A07840;
  --black: #1F1F1F;
  --black-soft: #2D2D2D;
  --beige: #F8F5F0;
  --beige-dark: #EDE8DF;
  --gray: #6B6B6B;
  --gray-light: #E5E5E5;
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 40px rgba(201,169,107,0.3);
  --radius: 4px;
  --radius-lg: 12px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--black); background-color: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--gray); }
.section-subtitle { font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 0.75rem; display: block; }
.section-title { color: var(--black); margin-bottom: 1.5rem; }
.section-desc { max-width: 600px; margin: 0 auto 3rem; text-align: center; font-size: 1.05rem; }

/* ===== UTILITY CLASSES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-black { background-color: var(--black); }
.bg-beige { background-color: var(--beige); }
.section-padding { padding: 5rem 0; }
.reveal { opacity: 0; transform: translateY(40px); 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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 0.875rem 2.25rem; font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; border-radius: var(--radius); transition: var(--transition); }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--white); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background-color: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--beige); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-soft); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.25rem 0; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(31,31,31,0.97); backdrop-filter: blur(10px); padding: 0.75rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--white) !important; padding: 0.6rem 1.5rem; border-radius: var(--radius); }
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 25px; height: 2px; background: var(--white); transition: var(--transition); display: block; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #0a0a0a 0%, #1F1F1F 50%, #2a1e0e 100%); position: relative; overflow: hidden; padding-top: 80px; }
.hero::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23C9A96B" opacity="0.2"/><circle cx="80" cy="40" r="0.5" fill="%23C9A96B" opacity="0.3"/><circle cx="50" cy="80" r="1.5" fill="%23C9A96B" opacity="0.15"/><circle cx="90" cy="10" r="0.8" fill="%23C9A96B" opacity="0.25"/></svg>') repeat; pointer-events: none; }
.hero-content { max-width: 700px; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(201,169,107,0.15); border: 1px solid rgba(201,169,107,0.3); padding: 0.5rem 1.25rem; border-radius: 50px; margin-bottom: 1.5rem; }
.hero-badge span { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.hero h1 { color: var(--white); line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 550px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--gold); display: block; }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; }
.hero-image { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; background: linear-gradient(135deg, #3d2b1f 0%, #1a1005 100%); display: flex; align-items: center; justify-content: center; }
.hero-image::before { content: 'P'; font-family: var(--font-heading); font-size: 20rem; color: rgba(201,169,107,0.07); position: absolute; font-weight: 900; }

/* ===== SERVICES ===== */
.services { padding: 6rem 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 2.5rem 2rem; transition: var(--transition); cursor: pointer; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transform: scaleX(0); transition: var(--transition); }
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: rgba(201,169,107,0.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(201,169,107,0.15), rgba(201,169,107,0.05)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.service-card h3 { color: var(--black); margin-bottom: 0.75rem; font-size: 1.3rem; }
.service-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }
.service-price { margin-top: 1.25rem; font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.service-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold); font-size: 0.875rem; font-weight: 700; margin-top: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.service-link:hover { gap: 0.75rem; }

/* ===== ABOUT PREVIEW ===== */
.about-preview { padding: 6rem 0; background: var(--black); color: var(--white); }
.about-preview .container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text .section-title { color: var(--white); }
.about-text p { color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
.about-feature { display: flex; align-items: flex-start; gap: 0.75rem; }
.about-feature-icon { color: var(--gold); font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.about-feature strong { color: var(--white); display: block; font-size: 0.875rem; }
.about-feature span { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; position: relative; background: linear-gradient(135deg, #3d2b1f, #1a1005); min-height: 500px; display: flex; align-items: center; justify-content: center; }
.about-img::after { content: 'Pedro Brínez'; font-family: var(--font-heading); color: rgba(201,169,107,0.3); font-size: 2rem; text-align: center; padding: 2rem; font-style: italic; }

/* ===== ACADEMY ===== */
.academy { padding: 6rem 0; background: linear-gradient(135deg, var(--beige) 0%, #fff 100%); }
.academy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.academy-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.academy-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.academy-card-top { height: 180px; background: linear-gradient(135deg, var(--black) 0%, #3d2b1f 100%); display: flex; align-items: center; justify-content: center; }
.academy-icon { font-size: 3rem; }
.academy-card-body { padding: 2rem; }
.academy-card h3 { color: var(--black); margin-bottom: 0.75rem; }
.academy-card p { color: var(--gray); font-size: 0.95rem; }
.academy-price { color: var(--gold); font-weight: 700; font-size: 1.2rem; margin-top: 1rem; }

/* ===== GALLERY PREVIEW ===== */
.gallery-preview { padding: 6rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: linear-gradient(135deg, #2a1e0e, #1F1F1F); cursor: pointer; }
.gallery-item::before { content: 'Antes / Después'; position: absolute; inset: 0; background: rgba(31,31,31,0.6); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-heading); font-size: 1rem; opacity: 0; transition: var(--transition); }
.gallery-item:hover::before { opacity: 1; }
.gallery-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #3d2b1f 0%, #1a1005 50%, #2a1e0e 100%); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: rgba(201,169,107,0.4); }
.gallery-item.featured { grid-column: span 2; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 0; background: var(--beige); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.stars { color: #FFD700; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { color: var(--gray); font-size: 0.95rem; line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.testimonial-info strong { display: block; color: var(--black); font-size: 0.95rem; }
.testimonial-info span { color: var(--gray); font-size: 0.8rem; }

/* ===== STORE PREVIEW ===== */
.store-preview { padding: 6rem 0; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; margin-top: 3rem; }
.product-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.product-img { height: 220px; background: linear-gradient(135deg, var(--beige), var(--beige-dark)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-img-placeholder { font-size: 3rem; }
.product-badge { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.1em; }
.product-info { padding: 1.25rem; }
.product-info h4 { color: var(--black); margin-bottom: 0.5rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; }
.product-info p { color: var(--gray); font-size: 0.875rem; margin-bottom: 0.75rem; }
.product-price { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.product-actions { padding: 0 1.25rem 1.25rem; }
.product-actions .btn { width: 100%; text-align: center; font-size: 0.8rem; padding: 0.65rem; }

/* ===== CONTACT STRIP ===== */
.contact-strip { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); padding: 4rem 0; }
.contact-strip .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.contact-strip h2 { color: var(--white); }
.contact-strip p { color: rgba(255,255,255,0.85); margin-bottom: 0; }

/* ===== FOOTER ===== */
.footer { background: #111; padding: 4rem 0 2rem; color: rgba(255,255,255,0.75); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-logo { font-family: var(--font-heading); font-size: 1.4rem; color: var(--white); margin-bottom: 1rem; display: block; }
.footer-logo span { color: var(--gold); }
.footer h4 { color: var(--white); font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.25rem; font-family: var(--font-body); }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--gold); }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-link { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: var(--transition); }
.social-link:hover { background: var(--gold); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; }
.footer-bottom a { color: var(--gold); font-size: 0.8rem; }

/* ===== MOBILE MENU ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { position: fixed; inset: 0; background: rgba(31,31,31,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem; transform: translateX(100%); transition: var(--transition-slow); z-index: 999; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.25rem; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-stats { gap: 1.5rem; }
  .about-preview .container { grid-template-columns: 1fr; gap: 3rem; }
  .about-img { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .contact-strip .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
}

/* ===== PAGE HERO ===== */
.page-hero { padding: 8rem 0 4rem; background: linear-gradient(135deg, var(--black), #2a1e0e); color: var(--white); text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.85rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; color: var(--black); font-size: 0.875rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.875rem 1.25rem; border: 2px solid var(--gray-light); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--black); transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,107,0.1); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-error { font-size: 0.8rem; color: #e74c3c; margin-top: 0.3rem; display: none; }
.form-error.show { display: block; }

/* ===== LIGHTBOX ===== */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition); }
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-content { max-width: 90vw; max-height: 90vh; position: relative; }
.lightbox-close { position: absolute; top: -2rem; right: 0; color: var(--white); font-size: 1.5rem; cursor: pointer; background: none; border: none; }

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.blog-card-img { height: 200px; background: linear-gradient(135deg, #2a1e0e, #1F1F1F); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-card-body { padding: 1.5rem; }
.blog-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); font-weight: 700; display: block; margin-bottom: 0.5rem; }
.blog-card h3 { color: var(--black); font-size: 1.1rem; margin-bottom: 0.75rem; }
.blog-card p { color: var(--gray); font-size: 0.875rem; line-height: 1.7; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--gray); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray-light); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; width: 55px; height: 55px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 9999; transition: var(--transition); text-decoration: none; }
.whatsapp-float:hover { background: #128C7E; transform: scale(1.1); }
