/* ============================
   Sian Pro Studio — Estilos
   ============================ */

:root {
  --bg: #0f0f0f;
  --bg-alt: #171717;
  --surface: #1c1c1c;
  --border: #2b2b2b;
  --text: #f5f5f5;
  --text-muted: #b3aca2;
  --accent: #c9a86a;
  --accent-soft: rgba(201, 168, 106, 0.12);
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

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

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #0f0f0f;
}
.btn-primary:hover { background: #d8bb85; }

.btn-outline {
  border-color: rgba(245, 245, 245, 0.35);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-full { width: 100%; text-align: center; border: none; font-family: inherit; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--text);
}
.logo span { color: var(--accent); }

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--accent); }

.menu-toggle { display: none; }
.hamburger { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-h) 24px 80px;
  background: linear-gradient(180deg, #141414, #0b0b0b),
              url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=70') center/cover;
  background-blend-mode: multiply;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(15,15,15,0.35) 0%, rgba(15,15,15,0.85) 75%);
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero-kicker {
  color: var(--accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 20px;
  animation: bob 2s infinite ease-in-out;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== Secciones genéricas ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.contact-sub {
  color: var(--text-muted);
  margin-top: 14px;
}

/* ===== Portafolio ===== */
.tab-input { display: none; }

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.tab-label {
  padding: 10px 28px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-panel { display: none; }

#tab-fotos:checked ~ .tabs label[for="tab-fotos"],
#tab-video:checked ~ .tabs label[for="tab-video"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

#tab-fotos:checked ~ .panel-fotos,
#tab-video:checked ~ .panel-video {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-size: 13px;
  color: var(--text);
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent 60%);
}

/* ===== Servicios ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 44px 32px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon {
  display: inline-block;
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ===== Sobre Nosotros ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media img {
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy h2 { margin-bottom: 20px; }
.about-copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15.5px;
}

/* ===== Contacto ===== */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }

.form-row-split {
  flex-direction: row;
  gap: 22px;
}
.form-row-split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { resize: vertical; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 28px;
}

.footer-social a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--accent); }

.footer-copy {
  font-size: 12.5px;
  color: #6e6a63;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about-media { order: -1; }

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

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

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

@media (max-width: 720px) {
  :root { --header-h: 68px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #0f0f0f;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav a {
    width: 100%;
    padding: 18px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 400px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.25s ease;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 80px 20px; }

  .form-row-split {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
