
:root {
  --black: #0b0b0b;
  --surface: #171717;
  --surface-alt: #111111;
  --gold: #c8a96b;
  --gold-light: #d8bc84;
  --white: #ffffff;
  --text: #d7d7d7;
  --border: #2d2d2d;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max-width), 90%);
  margin-inline: auto;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: 1rem;
  z-index: 10000;
  padding: 1rem;
  color: #000;
  background: #fff;
  border-radius: 0.5rem;
}

.skip-link:focus {
  left: 1rem;
}

/* =========================
   HEADER
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}

.logo {
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 2px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

.menu a:hover {
  color: var(--gold);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  color: #000 !important;
  background: var(--gold);
  border-radius: 999px;
  font-weight: 800;
}

.btn-nav:hover {
  color: #000 !important;
  background: var(--gold-light);
}

/* =========================
   BOTONES Y ENLACES
========================= */

.btn-primary,
.btn-secondary,
.btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  color: #000;
  background: var(--gold);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-secondary,
.btn-instagram {
  color: var(--white);
  background: transparent;
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  color: #000;
  background: var(--white);
}

.btn-instagram {
  border-color: var(--gold);
}

.btn-instagram:hover {
  color: #000;
  background: var(--gold);
  transform: translateY(-2px);
}

.simple-link,
.card-link {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.simple-link:hover,
.card-link:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-instagram:focus-visible,
.menu a:focus-visible,
.simple-link:focus-visible,
.card-link:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

/* =========================
   HERO HOME
========================= */

.hero {
  min-height: 100vh;
  padding-top: 90px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.45)),
    url("../multimedia/imagenes/hero.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.hero-content {
  width: min(var(--max-width), 90%);
  max-width: 700px;
  margin: auto;
}

.subtitle,
.section-kicker,
.page-subtitle {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.subtitle,
.page-subtitle {
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.description {
  max-width: 640px;
  margin-bottom: 2rem;
  color: #ededed;
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================
   HERO PÁGINAS INTERIORES
========================= */

.page-hero {
  padding: 180px 0 100px;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url("../multimedia/imagenes/fachada.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.page-hero p {
  max-width: 700px;
  margin-inline: auto;
  color: #ddd;
  font-size: 1.1rem;
}

.team-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82)),
    url("../multimedia/imagenes/sala-espera.jpg");
  background-size: cover;
  background-position: center;
}

.barberia-hero,
.contacto-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)),
    url("../multimedia/imagenes/fachada.jpg");
  background-size: cover;
  background-position: center;
}

/* =========================
   BENEFITS
========================= */

.benefits {
  background: #101010;
}

.benefits .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.5rem;
}

/* =========================
   HOME MEJORADA
========================= */

.section-heading-center {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-heading-center p {
  color: var(--text);
}

.about-preview,
.services-preview,
.team-preview,
.home-gallery-preview,
.cta {
  padding: 7rem 0;
}

.about-preview {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 107, 0.12), transparent 32%),
    var(--black);
}

.about-grid,
.team-preview-grid,
.gallery-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img,
.gallery-preview-images img,
.barberia-intro-image img,
.location-image img,
.map-image img {
  border: 1px solid rgba(200, 169, 107, 0.25);
  border-radius: 28px;
}

.about-image-wrap img,
.gallery-img-large {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.about-floating-card {
  position: absolute;
  right: -1.5rem;
  bottom: 2rem;
  max-width: 260px;
  padding: 1.25rem 1.5rem;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(200, 169, 107, 0.45);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.about-floating-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-content p,
.team-preview-content p,
.gallery-preview-text p {
  color: var(--text);
  margin-bottom: 1.4rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.about-stats div {
  padding: 1.2rem;
  background: #151515;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.about-stats strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 1.3rem;
}

.about-stats span {
  color: #ddd;
  font-size: 0.9rem;
}

.services-preview,
.home-gallery-preview {
  background: var(--surface-alt);
}

.premium-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.premium-service-card {
  position: relative;
  min-height: 340px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)), var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.premium-service-card::before,
.services-page-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(200, 169, 107, 0.25), transparent 70%);
  pointer-events: none;
}

.premium-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 107, 0.65);
}

.featured-service {
  background: linear-gradient(135deg, rgba(200, 169, 107, 0.18), rgba(255, 255, 255, 0.03)), #181818;
  border-color: rgba(200, 169, 107, 0.65);
}

.service-number {
  color: rgba(255, 255, 255, 0.22);
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.premium-service-card h3 {
  color: var(--white);
  font-size: 1.7rem;
  margin: 1.5rem 0 1rem;
}

.premium-service-card p {
  color: var(--text);
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-meta span {
  color: #ddd;
}

.service-meta strong {
  color: var(--gold);
  font-size: 1.5rem;
}

.center-button {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.experience-strip {
  padding: 2rem 0;
  background: #080808;
  border-block: 1px solid rgba(200, 169, 107, 0.22);
}

.experience-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.experience-strip-grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.experience-strip-grid span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.team-preview {
  background:
    radial-gradient(circle at bottom right, rgba(200, 169, 107, 0.12), transparent 30%),
    var(--black);
}

.team-preview-grid,
.gallery-preview-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.team-mini-cards,
.gallery-preview-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.team-mini-card {
  min-height: 260px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.team-initial {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.7rem;
  font-weight: 700;
}

.team-mini-card h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.team-mini-card p {
  color: var(--text);
}

.gallery-preview-images {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.gallery-preview-images img {
  height: 420px;
  object-fit: cover;
}

.gallery-preview-images img:not(.gallery-img-large) {
  height: 320px;
  align-self: end;
}

.cta,
.team-cta,
.barberia-cta,
.contact-cta {
  padding: 7rem 0;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82)),
    url("../multimedia/imagenes/sala-espera.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.team-cta,
.contact-cta {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82)),
    url("../multimedia/imagenes/hero.jpg");
}

.cta-content,
.cta h2,
.team-cta h2,
.barberia-cta h2,
.contact-cta h2,
.team-cta p,
.barberia-cta p,
.contact-cta p {
  max-width: 760px;
  margin-inline: auto;
}

.cta p,
.team-cta p,
.barberia-cta p,
.contact-cta p {
  margin-bottom: 2rem;
  color: #eee;
}

/* =========================
   PÁGINA SERVICIOS
========================= */

.services-page-section {
  padding: 7rem 0;
  background:
    radial-gradient(circle at top left, rgba(200, 169, 107, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(200, 169, 107, 0.08), transparent 30%),
    var(--black);
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.services-page-card,
.services-page-booking-card {
  position: relative;
  min-height: 430px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)), var(--surface);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.services-page-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 107, 0.65);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
}

.services-page-card-featured {
  background: linear-gradient(135deg, rgba(200, 169, 107, 0.22), rgba(255,255,255,0.04)), #181818;
  border-color: rgba(200, 169, 107, 0.65);
}

.services-page-card-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  padding: 0.55rem 0.9rem;
  color: #000;
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-page-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.services-page-number {
  color: rgba(255,255,255,0.22);
  font-family: "Cormorant Garamond", serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
}

.services-page-duration {
  padding: 0.55rem 0.9rem;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.services-page-card-body {
  position: relative;
  z-index: 1;
}

.services-page-card-body h2,
.services-page-booking-card h2 {
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.services-page-card-body p,
.services-page-booking-card p {
  color: var(--text);
  margin-bottom: 1.4rem;
}

.services-page-card-body ul {
  list-style: none;
  padding-left: 0;
}

.services-page-card-body li {
  color: #eee;
  margin-bottom: 0.65rem;
}

.services-page-card-body li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  margin-right: 0.55rem;
}

.services-page-card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.services-page-price {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.services-page-price strong {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.services-page-price small {
  color: #bdbdbd;
  text-decoration: line-through;
}

.services-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  color: #000;
  background: var(--gold);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: background 0.25s ease, transform 0.25s ease;
}

.services-page-button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.services-page-button:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

.services-page-booking-card {
  justify-content: center;
  background:
    linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.78)),
    url("../multimedia/imagenes/hero.jpg");
  background-size: cover;
  background-position: center;
  border-color: rgba(200, 169, 107, 0.55);
}

.services-page-booking-card h2 {
  font-size: 2.8rem;
}

.services-page-booking-card .btn-primary {
  width: fit-content;
}

/* =========================
   EQUIPO
========================= */

.team-section {
  padding: 6rem 0;
  background: var(--black);
}

.team-intro {
  max-width: 760px;
  margin-bottom: 4rem;
}

.team-intro p,
.team-card p,
.experience-grid p,
.feature-card p,
.location-grid p,
.contact-card p,
.contact-detail p,
.contact-list li,
.map-grid p,
.contact-form-text p {
  color: var(--text);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.team-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.team-photo {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #111;
  border-bottom: 1px solid rgba(200, 169, 107, 0.25);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

.team-card-content {
  padding: 2rem;
}

.team-role {
  margin-bottom: 0.5rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 800;
}

.team-card h2 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
}

.team-skills {
  list-style: none;
  margin-bottom: 2rem;
  padding-left: 0;
}

.team-skills li {
  color: #eee;
  margin-bottom: 0.6rem;
}

.team-skills li::before,
.experience-box li::before,
.contact-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 800;
  margin-right: 0.55rem;
}

.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.team-experience {
  padding: 6rem 0;
  background: var(--surface-alt);
}

.experience-grid,
.barberia-intro-grid,
.location-grid,
.contact-grid,
.map-grid,
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-grid {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: start;
}

.contact-form-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.experience-box,
.feature-card,
.location-box,
.contact-card,
.contact-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
}

.experience-box ul,
.contact-list {
  list-style: none;
  padding-left: 0;
}

.experience-box li {
  padding: 1rem 0;
  color: #eee;
  border-bottom: 1px solid #333;
}

.experience-box li:last-child {
  border-bottom: none;
}

/* =========================
   BARBERÍA
========================= */

.barberia-intro,
.barberia-features,
.contact-section-page,
.contact-form-section {
  padding: 6rem 0;
  background: var(--black);
}

.barberia-gallery,
.barberia-location,
.map-section {
  padding: 6rem 0;
  background: var(--surface-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 280px);
  gap: 1.5rem;
}

.gallery-item {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.gallery-item-large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card span,
.contact-card span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #000;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.feature-card h3,
.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.location-box {
  margin: 2rem 0;
}

.location-box p {
  margin-bottom: 1rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================
   CONTACTO
========================= */

.contact-info > p {
  color: var(--text);
  margin-bottom: 2rem;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
}

.contact-panel {
  position: sticky;
  top: 110px;
}

.contact-panel h2 {
  font-size: 2.3rem;
  margin-bottom: 2rem;
}

.contact-detail {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #333;
}

.contact-detail:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.contact-detail h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.contact-schedule {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.schedule-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row strong {
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.schedule-time {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
  font-weight: 700;
  text-align: right;
}

.schedule-time span {
  white-space: nowrap;
}

.schedule-separator {
  color: #fff;
  opacity: 0.7;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.form-group label {
  color: #fff;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  color: #fff;
  background: #0d0d0d;
  border: 2px solid #333;
  border-radius: 14px;
  font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 4px solid #fff;
  outline-offset: 3px;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
}

.required {
  color: var(--gold);
  font-weight: 800;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #070707;
  border-top: 1px solid rgba(200, 169, 107, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem 0 3rem;
  text-align: center;
  align-items: stretch;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-grid h3 {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.footer-grid p,
.footer-bottom p {
  color: var(--text);
}

.footer-grid a,
.footer-linkedin {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-linkedin:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

/* =========================
   BOTÓN VOLVER ARRIBA
========================= */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 9999;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: var(--gold);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.back-to-top-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-4px);
}

.back-to-top:focus-visible,
.footer-linkedin:focus-visible,
.footer-grid a:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
  border-radius: 4px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 950px) {
  .about-grid,
  .team-preview-grid,
  .gallery-preview-grid,
  .barberia-intro-grid,
  .location-grid,
  .contact-grid,
  .map-grid,
  .contact-form-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .premium-services-grid {
    grid-template-columns: 1fr;
  }

  .experience-strip-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-preview-images {
    grid-template-columns: 1fr;
  }

  .gallery-preview-images img,
  .gallery-preview-images img:not(.gallery-img-large) {
    height: 320px;
  }

  .about-floating-card {
    right: 1rem;
    bottom: 1rem;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .header .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu {
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-buttons,
  .location-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card h2 {
    font-size: 2.2rem;
  }

  .team-photo {
    height: 300px;
  }
}

@media (max-width: 720px) {
  .services-page-section {
    padding: 5rem 0;
  }

  .services-page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-page-card,
  .services-page-booking-card,
  .premium-service-card {
    min-height: auto;
  }

  .services-page-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-page-button,
  .services-page-booking-card .btn-primary,
  .team-actions .btn-primary,
  .team-actions .btn-instagram,
  .contact-card .btn-primary,
  .contact-card .btn-secondary {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .about-stats,
  .team-mini-cards,
  .experience-strip-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .team-actions {
    flex-direction: column;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

@media (max-width: 520px) {
  .schedule-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .schedule-time {
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: left;
  }

  .schedule-separator {
    width: 100%;
    display: block;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================
   MENÚ HAMBURGUESA MÓVIL
========================= */

.header-container {
    position: relative;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;

    background: transparent;
    border: 2px solid rgba(200, 169, 107, 0.45);
    border-radius: 12px;

    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;

    display: block;

    background: var(--gold);
    border-radius: 999px;
}

.menu-close {
    display: none;
}

.menu-overlay {
    display: none;
}

.mobile-menu-header {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .header .container,
    .header-container {
        flex-direction: row;
        align-items: center;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10001;

        width: min(86vw, 360px);
        height: 100vh;

        padding: 1.5rem;

        background:
            linear-gradient(
                180deg,
                rgba(23, 23, 23, 0.98),
                rgba(8, 8, 8, 0.98)
            );

        border-left: 1px solid rgba(200, 169, 107, 0.35);

        box-shadow: -20px 0 70px rgba(0, 0, 0, 0.6);

        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .main-navigation.is-open {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        margin-bottom: 2rem;
        padding-bottom: 1rem;

        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-menu-title {
        color: var(--gold);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .menu-close {
        width: 44px;
        height: 44px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        color: #000;
        background: var(--gold);

        border: none;
        border-radius: 50%;

        font-size: 2rem;
        line-height: 1;

        cursor: pointer;
    }

    .main-navigation .menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;

        width: 100%;
    }

    .main-navigation .menu li {
        width: 100%;
    }

    .main-navigation .menu a {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 1rem;

        color: #ffffff;
        background: rgba(255, 255, 255, 0.04);

        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;

        font-size: 1rem;
        font-weight: 800;

        text-decoration: none;
    }

    .main-navigation .menu a:hover {
        color: #000000;
        background: var(--gold);
    }

    .main-navigation .menu .btn-nav {
        justify-content: center;

        margin-top: 1rem;

        color: #000000 !important;
        background: var(--gold);

        border-color: var(--gold);
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 10000;

        display: block;

        background: rgba(0, 0, 0, 0.68);
        backdrop-filter: blur(4px);

        opacity: 0;
        visibility: hidden;

        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .menu-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle:focus-visible,
    .menu-close:focus-visible,
    .main-navigation a:focus-visible {
        outline: 4px solid #ffffff;
        outline-offset: 4px;
    }
}

/* =========================
   GOOGLE MAPS EMBED
========================= */

.map-embed {
    width: 100%;
    min-height: 420px;

    overflow: hidden;

    border: 1px solid rgba(200, 169, 107, 0.35);
    border-radius: 28px;

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.map-embed iframe {
    width: 100%;
    height: 420px;

    display: block;

    border: 0;
    filter: grayscale(1) contrast(1.05) brightness(0.85);
}

@media (max-width: 768px) {
    .map-embed,
    .map-embed iframe {
        min-height: 340px;
        height: 340px;
    }
}