/**
 * FBH Photography
 * HEADER + DRAWER + FOOTER – Final Production Build
 * Mobile First, Desktop Perfect, Premium White UI
 */

/* ----------------------------------------------------
 * Variables (FBH Photography – Blanco Premium)
 * ---------------------------------------------------- */
:root {
  --header-bg: rgba(255,255,255,0.85);
  --header-height-mobile: 50px;
  --header-height-desktop: 88px; /* Apple Style: más alto */

  --text-color: #1a1a1a;
  --color-text-white: #ffffff;
  --color-text-light: #1a1a1a;
  --color-text-dim: #6b7280;
  --color-text-dark: #0d0d0d;

  --g1: #2563eb;
  --g2: #7c3aed;
  --g3: #16a34a;
  --g4: #d4a017;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --container-max: 1200px;
}

/* ----------------------------------------------------
 * Global base
 * ---------------------------------------------------- */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ----------------------------------------------------
 * FIX: SEPARACIÓN ENTRE HEADER Y CONTENIDO
 * ---------------------------------------------------- */
main,
#content,
.site-main {
  padding-top: var(--header-height-mobile);
}

@media (min-width: 1024px) {
  main,
  #content,
  .site-main {
    padding-top: var(--header-height-desktop);
  }
}

/* ----------------------------------------------------
 * HEADER
 * ---------------------------------------------------- */
.pl-header {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height-mobile);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

@media (min-width: 1024px) {
  .pl-header {
    height: var(--header-height-desktop) !important;
  }
}

.pl-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  gap: 28px;
}

/* Logo */
.pl-logo-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pl-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.pl-logo-img {
  height: 38px;
  width: auto;
  margin-right: 14px;
  flex-shrink: 0;
}

/* ----------------------------------------------------
 * MENÚ DESKTOP
 * ---------------------------------------------------- */
.pl-nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .pl-nav-desktop {
    display: flex !important;
    flex: 1 !important;
    justify-content: center !important;
  }

  .pl-menu-desktop {
    display: flex !important;
    list-style: none !important;
    gap: 40px;
    margin: 0;
    padding: 0;
  }

  .pl-menu-desktop li a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: 0.3s ease;
  }

  .pl-menu-desktop li a:hover {
    color: var(--g1);
  }
}

/* ----------------------------------------------------
 * ACTIONS
 * ---------------------------------------------------- */
.pl-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Teléfono Desktop */
.pl-phone-desk {
  display: none;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.6px;
}

@media (min-width: 1024px) {
  .pl-phone-desk {
    display: block;
  }
}

/* Teléfono móvil */
.pl-phone-mobile {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--g1) !important;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 0 4px rgba(37, 99, 235, 0.20);
  transition: 0.25s ease;
}

.pl-phone-mobile:hover {
  background: rgba(37, 99, 235, 0.18);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.30);
}

/* ----------------------------------------------------
 * BOOK BUTTON
 * ---------------------------------------------------- */
.pl-quote-pill {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  border: none;
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(37,99,235,0.22);
  transition: 0.25s ease;
  white-space: nowrap;
}

.pl-quote-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37,99,235,0.32);
}

/* ----------------------------------------------------
 * HAMBURGER
 * ---------------------------------------------------- */
.pl-menu-toggle {
  background: none;
  border: none;
  color: #000;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 5px;
}

@media (min-width: 1024px) {
  .pl-menu-toggle {
    display: none !important;
  }
}

/* ----------------------------------------------------
 * DRAWER
 * ---------------------------------------------------- */
.pl-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  z-index: 2000;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 40px 20px;
  overflow-y: auto;
  border-left: 1px solid rgba(0,0,0,0.1);
}

.pl-drawer.is-open {
  right: 0;
}

.pl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1500;
  display: none;
  backdrop-filter: blur(4px);
}

.pl-overlay.active {
  display: block;
}

.pl-drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pl-drawer-list li a {
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

/* ----------------------------------------------------
 * FOOTER
 * ---------------------------------------------------- */
.pl-footer {
  position: relative;
  background: #ffffff;
  color: var(--color-text-dark);
  padding: 40px 20px 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.pl-content-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 8px;
}

.pl-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 16px 0 24px;
}

@media (min-width: 768px) {
  .pl-footer-grid {
    grid-template-columns: 1.2fr .8fr .8fr;
  }
}

.pl-footer-block {
  display: grid;
  gap: 8px;
}

.pl-footer-heading {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: #000;
  font-weight: 800;
}

.pl-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.pl-footer-links a {
  color: #1a1a1a;
  font-weight: 600;
}

.pl-footer-links a:hover {
  color: var(--g1);
}

.pl-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: var(--radius-sm);
  color: #000;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.pl-footer-social a:hover {
  transform: translateY(-1px);
  border-color: var(--g1);
  color: var(--g1);
}

.pl-footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 16px 0 4px;
  color: var(--color-text-dim);
  font-size: .95rem;
  text-align: center;
}

/* ----------------------------------------------------
 * MOBILE FIXES
 * ---------------------------------------------------- */
@media (max-width: 1023px) {

  .pl-header {
    height: 44px !important;
  }

  .pl-container {
    padding: 0 10px !important;
    gap: 6px !important;
  }

  .pl-logo-img {
    height: 22px !important;
    margin-right: 6px !important;
  }

  .pl-actions {
    gap: 6px !important;
  }

  .pl-menu-toggle {
    font-size: 1.05rem !important;
    padding: 2px !important;
  }

  .pl-footer,
  .pl-footer-grid,
  .pl-footer-block,
  .pl-footer-links,
  .pl-footer-social {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
}
/* ============================================
   FIX: HOME HERO DEBE IR DETRÁS DEL HEADER
   ============================================ */
.home main,
.home #content,
.home .site-main {
  padding-top: 0 !important;
}
