@charset "utf-8";
/* CSS Document */

/* =========================
   RESET GLOBAL
========================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", sans-serif;
  background: #fbf9f8;
  color: #1b1c1c;
  line-height: 1.6;
}

img,
picture,
video,
canvas,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

section,
header,
footer,
nav,
main,
div {
  max-width: 100%;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

/* =========================
   SEGURIDAD DE ESTRUCTURA
========================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.hero,
.projects-categories,
.workshop-section,
.projects-featured,
.gallery-section,
.location-section,
.contact-section-minimal,
.footer {
  width: 100%;
  overflow: hidden;
}

.hero-grid,
.projects-categories-head,
.projects-categories-slider,
.workshop-core,
.projects-featured-grid,
.gallery-head,
.gallery-grid,
.location-grid,
.contact-minimal-row,
.footer-inner {
  min-width: 0;
}

/* =========================
   NAV
========================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eee;
  z-index: 10000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 10001;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 16px 0;
  position: relative;
  z-index: 10002;
  flex-shrink: 0;
}

.logo-link img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-full {
  display: block;
}

.logo-iso {
  display: none;
}

.menu {
  display: flex;
  gap: 32px;
  min-width: 0;
}

.menu a {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #5e5e5f;
}

.menu a:hover {
  color: #f2a93b;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10002;
  flex-shrink: 0;
}

.nav-icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5e5e5f;
  transition: 0.3s;
  padding: 0;
  position: relative;
  z-index: 10003;
}

.nav-icon-btn:hover {
  color: #f2a93b;
}

.nav-icon-btn .material-symbols-outlined {
  font-size: 28px;
  line-height: 1;
}

/* =========================
   MOBILE SEARCH
========================= */
.mobile-search {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: #fbf9f8;
  border-top: 1px solid #eee;
  z-index: 10050;
  padding: 20px 32px;
}

.mobile-search.active {
  display: block;
}

.mobile-search input {
  width: 100%;
  height: 48px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0 16px;
  color: #322214;
  outline: none;
}

.mobile-search input:focus {
  border-color: #f2a93b;
}

#searchResults {
  margin-top: 12px;
}

.search-result-link {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: #322214;
  border-bottom: 1px solid #ece5df;
}

.search-result-link:hover {
  color: #f2a93b;
}

.search-empty {
  padding: 12px 0;
  color: #625e57;
  font-size: 14px;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  right: 20px;
  width: calc(100vw - 40px);
  max-width: 320px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(210, 196, 187, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  z-index: 10050;
  padding: 18px 20px;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #322214;
  text-align: left;
  border-bottom: 1px solid rgba(210, 196, 187, 0.35);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: #f2a93b;
  transition: width 0.3s ease;
}

.mobile-menu a:hover {
  color: #f2a93b;
}

.mobile-menu a:hover::after {
  width: 28px;
}

/* =========================
   PLACEHOLDERS
========================= */
.section-placeholder {
  padding: 80px 0;
  border-bottom: 1px solid rgba(210, 196, 187, 0.28);
  background: #fbf9f8;
}

.placeholder-box {
  min-height: 320px;
  display: flex;
  align-items: center;
}

.placeholder-box h2 {
  font-family: "Noto Serif", serif;
  font-size: 52px;
  color: #322214;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .placeholder-box h2 {
    font-size: 44px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo-full {
    display: none;
  }

  .logo-iso {
    display: block;
  }

  .menu {
    display: none;
  }

  .nav-inner {
    height: 80px;
  }

  .nav-icons {
    gap: 8px;
  }

  .nav-icon-btn {
    width: 40px;
    height: 40px;
  }

  .mobile-search {
    padding: 16px 20px;
  }

  .mobile-menu {
    top: 80px;
    right: 20px;
    width: calc(100vw - 40px);
    max-width: 320px;
    max-height: calc(100vh - 110px);
    padding: 18px 20px;
  }

  .mobile-menu a {
    font-size: 12px;
  }

  .section-placeholder {
    padding: 64px 0;
  }

  .placeholder-box {
    min-height: 220px;
  }

  .placeholder-box h2 {
    font-size: 40px;
    line-height: 1.04;
  }
}

