:root {
  --background: #0b0908;
  --surface: #0f0c0a;
  --primary: #d8b65a; /* Gold inspired by the Funarya Beauté logo */
  --primary-dark: #b69344;
  --secondary: #1a8d68; /* Green accent seen in uniforms */
  --text: #f8f1df;
  --muted: #d8c9b0;
  --card: #16100c;
  --border: #3a2714;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  --hero-dark: #0d0a08;
  --glow: 0 0 0 1px rgba(216, 182, 90, 0.35), 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(216, 182, 90, 0.12), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(26, 141, 104, 0.1), transparent 30%),
    var(--background);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.hero {
  background: linear-gradient(120deg, rgba(216, 182, 90, 0.12), transparent 28%),
    linear-gradient(200deg, rgba(26, 141, 104, 0.12), transparent 32%),
    radial-gradient(circle at 15% 30%, rgba(216, 182, 90, 0.16), transparent 35%),
    linear-gradient(140deg, #0b0a09 0%, #100d0b 48%, #18110c 100%);
  color: #f7f3eb;
  padding: 1.75rem 1.25rem 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 182, 90, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 2.25rem;
  align-items: center;
  justify-items: center;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 9, 7, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.9rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  margin-bottom: 2rem;
  width: 100%;
  border: 1px solid rgba(216, 182, 90, 0.4);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #f4ead9;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  transition: all 0.2s ease;
  color: #f2e4c5;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(216, 182, 90, 0.18);
  color: #0b0908;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.25rem;
  cursor: pointer;
}

.hero-text {
  color: #f7f3eb;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: #f7f3eb;
  border-radius: 12px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  width: 100%;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.3rem);
  margin-bottom: 1rem;
}

.hero-text .subhead {
  color: #d7d1c4;
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  display: grid;
  justify-content: end;
  justify-items: end;
}

.hero-card {
  background: rgba(15, 12, 9, 0.76);
  border: 1px solid rgba(216, 182, 90, 0.4);
  padding: 1.35rem;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-width: 440px;
  backdrop-filter: blur(10px);
}

.hero-highlight {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f4ead9;
}

.mini {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.section {
  padding: 4rem 1.5rem;
  margin: 0 auto 1.5rem;
  max-width: 1100px;
  background: linear-gradient(180deg, #120d0a 0%, #0f0c0a 100%);
  border-radius: 18px;
  border: 1px solid rgba(216, 182, 90, 0.4);
  box-shadow: var(--shadow);
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.lead {
  max-width: 880px;
  color: var(--muted);
}

.services .section-header h2,
.training .section-header h2 {
  color: var(--text);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid rgba(216, 182, 90, 0.4);
  padding: 1.25rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.price {
  font-weight: 700;
  color: var(--text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(216, 182, 90, 0.42);
  background: var(--card);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

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

blockquote {
  background: var(--card);
  border: 1px solid rgba(216, 182, 90, 0.32);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  color: var(--muted);
  box-shadow: var(--shadow);
}

blockquote p {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

blockquote cite {
  color: var(--text);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-details {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.socials a {
  color: var(--secondary);
  font-weight: 600;
}

.contact-form {
  background: var(--card);
  border: 1px solid rgba(216, 182, 90, 0.35);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

label {
  font-weight: 600;
  color: var(--text);
}

input, textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 163, 74, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #0f5f48;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--primary);
  color: #0b0908;
}

.btn-link {
  color: var(--secondary);
  font-weight: 700;
}

.footer {
  background: #13171a;
  color: #d7dde3;
  padding: 1.5rem;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  background: var(--secondary);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(216, 182, 90, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  z-index: 30;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  transform: translateY(-2px);
  background: #0f5f48;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (max-width: 900px) {
  .top-nav {
    position: sticky;
  }

  .nav-links {
    position: absolute;
    right: 1.25rem;
    top: 3.5rem;
    flex-direction: column;
    background: #0f0f12;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
    display: none;
    border: 1px solid rgba(216, 182, 90, 0.26);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    justify-content: center;
    justify-items: center;
  }

  .hero-actions {
    justify-content: center;
  }
  
  .brand {
    color: #f7f3eb;
  }
}

@media (min-width: 900px) {
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hero-visual {
    justify-items: end;
  }
}
