@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg-color: #ffffff;
  --bg-secondary: #f4f5f8;
  --text-primary: #283146;
  --text-muted: #5e6574;
  --text-dim: #888b8e;
  --border-color: rgba(40, 49, 70, 0.14);
  --border-subtle: rgba(40, 49, 70, 0.08);
  --header-bg: rgba(255, 255, 255, 0.88);
  --card-bg: #e6e8ec;
  --accent: #283146;
  --accent-btn: #6584ab;
  --accent-btn-hover: #506f94;
  --badge-bg: rgba(255, 255, 255, 0.92);
  --badge-text: #283146;
  --overlay-bg: rgba(14, 15, 16, 0.94);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --header-height: 76px;
  --footer-height: 56px;
  --gallery-gap: 8px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    --bg-color: #0e0f10;
    --bg-secondary: #14171a;
    --text-primary: #ffffff;
    --text-muted: #b5b9c4;
    --text-dim: #717684;
    --border-color: rgba(188, 192, 204, 0.18);
    --border-subtle: rgba(188, 192, 204, 0.08);
    --header-bg: rgba(14, 15, 16, 0.88);
    --card-bg: #1c1f24;
    --accent: #ffffff;
    --accent-btn: #6584ab;
    --accent-btn-hover: #7b9dc7;
    --badge-bg: rgba(14, 15, 16, 0.88);
    --badge-text: #ffffff;
    --overlay-bg: rgba(5, 6, 7, 0.96);
  }
}

html.dark {
  --bg-color: #0e0f10;
  --bg-secondary: #14171a;
  --text-primary: #ffffff;
  --text-muted: #b5b9c4;
  --text-dim: #717684;
  --border-color: rgba(188, 192, 204, 0.18);
  --border-subtle: rgba(188, 192, 204, 0.08);
  --header-bg: rgba(14, 15, 16, 0.88);
  --card-bg: #1c1f24;
  --accent: #ffffff;
  --accent-btn: #6584ab;
  --accent-btn-hover: #7b9dc7;
  --badge-bg: rgba(14, 15, 16, 0.88);
  --badge-text: #ffffff;
  --overlay-bg: rgba(5, 6, 7, 0.96);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 300;
  line-height: 1.6;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

body.gallery-page {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-brand svg.logo-fotora {
  height: 28px;
  width: auto;
  fill: currentColor;
  color: var(--text-primary);
  transition: transform 0.3s ease;
}

.nav-brand:hover svg.logo-fotora {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
  letter-spacing: -0.01em;
}

.nav-item a:hover {
  color: var(--text-primary);
}

.nav-item.active a {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* THEME TOGGLE BUTTON */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--text-primary);
  transform: rotate(20deg);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* MOBILE BURGER */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* MOBILE OVERLAY */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--bg-color);
  padding: 30px;
  flex-direction: column;
  gap: 24px;
  z-index: 99;
  border-top: 1px solid var(--border-subtle);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer a {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================
   2-ROW HORIZONTAL GALLERY (EXACT FRAMER STRUCTURE)
   ========================================================== */
.gallery-viewport {
  position: absolute;
  top: var(--header-height);
  bottom: var(--footer-height);
  left: 0;
  right: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--gallery-gap) 12px;
  box-sizing: border-box;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-viewport:active {
  cursor: grabbing;
}

.gallery-grid-2rows {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: var(--gallery-gap);
  width: max-content;
  box-sizing: border-box;
  padding-right: 24px;
}

.gallery-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: calc((100% - var(--gallery-gap)) / 2);
  gap: var(--gallery-gap);
  flex-shrink: 0;
}

/* Single row layout (if page has 1 row) */
.gallery-grid-1row {
  display: flex;
  flex-direction: row;
  height: 100%;
  gap: var(--gallery-gap);
  width: max-content;
  box-sizing: border-box;
  padding-right: 24px;
}

.gallery-grid-1row .gallery-card {
  height: 100%;
}

/* Photo Card */
.gallery-card {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  background-color: var(--card-bg);
  cursor: pointer;
  flex-shrink: 0;
  will-change: transform;
}

.gallery-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

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

/* Card Hover Overlay (Expands Info on Hover) */
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #ffffff;
}

.gallery-card-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 8px;
}

.gallery-card-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gallery-card-plus svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
}

/* FOOTER / BOTTOM BAR */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  z-index: 100;
  font-size: 13px;
  color: var(--text-muted);
}

.bottom-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bottom-center {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--border-subtle);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  transition: opacity 0.5s ease;
}

.hint-pill svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================
   ENHANCED LIGHTBOX MODAL WITH FULL INFORMATION
   ========================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Lightbox Header Bar */
.lightbox-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  z-index: 10002;
}

.lightbox-counter {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.lightbox-badge {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* Lightbox Center Area */
.lightbox-main-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(100vh - 160px);
  margin: 10px 0;
}

.lightbox-img {
  max-width: 90vw;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 10002;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev-btn {
  left: 20px;
}

.lightbox-next-btn {
  right: 20px;
}

/* Lightbox Bottom Info Panel */
.lightbox-bottom-panel {
  width: 100%;
  max-width: 800px;
  text-align: center;
  color: #ffffff;
  z-index: 10002;
  padding-top: 8px;
}

.lightbox-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.lightbox-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

/* ==========================================================
   ABOUT & CONTACT PAGES STYLES
   ========================================================== */
.page-container {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: calc(var(--footer-height) + 60px);
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.about-hero {
  margin-bottom: 70px;
}

.about-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-btn);
  font-weight: 600;
  margin-bottom: 12px;
}

.about-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.about-editorial-quote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 42px);
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-weight: 400;
  border-left: 3px solid var(--text-primary);
  padding-left: 28px;
}

.about-lead {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 60px;
}

.about-hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 50px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.stat-card {
  padding: 30px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.services-section {
  margin-bottom: 90px;
}

.section-headline {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 32px;
}

.service-num {
  font-size: 14px;
  color: var(--accent-btn);
  font-weight: 600;
  margin-bottom: 8px;
}

.service-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.selected-works-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: none;
  margin-bottom: 80px;
}

.selected-works-strip::-webkit-scrollbar {
  display: none;
}

.selected-works-card {
  flex: 0 0 320px;
  height: 420px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.selected-works-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.selected-works-card:hover img {
  transform: scale(1.05);
}

.awards-section {
  margin-bottom: 90px;
}

.awards-list {
  display: flex;
  flex-direction: column;
}

.award-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding-left 0.3s ease;
}

.award-item:hover {
  padding-left: 10px;
}

.award-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
}

.award-org {
  font-size: 15px;
  color: var(--text-muted);
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 50px;
  margin-bottom: 80px;
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 14px;
  color: var(--text-muted);
}

/* CONTACT PAGE */
.contact-hero {
  margin-bottom: 50px;
}

.contact-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.contact-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
}

.contact-banner-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 50px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-bottom: 90px;
}

.contact-form-wrap {
  background: var(--bg-secondary);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus {
  border-color: var(--accent-btn);
  box-shadow: 0 0 0 3px rgba(101, 132, 171, 0.15);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background-color: var(--accent-btn);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background-color 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
}

.btn-submit:hover:not(:disabled) {
  background-color: var(--accent-btn-hover);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Honeypot Spam Trap (Hidden from users and bots) */
.hp-trap-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
  line-height: 1.5;
}

.form-feedback.success {
  display: block;
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.3);
}

.form-feedback.error {
  display: block;
  background: rgba(211, 47, 47, 0.12);
  color: #d32f2f;
  border: 1px solid rgba(211, 47, 47, 0.3);
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-info-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-meta-item {
  margin-bottom: 20px;
}

.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.meta-val a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.meta-val a:hover {
  color: var(--accent-btn);
}

/* FAQ ACCORDION */
.faq-section {
  margin-top: 40px;
  margin-bottom: 80px;
}

.faq-container {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq-trigger:hover {
  color: var(--accent-btn);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-icon::before {
  width: 14px;
  height: 1.8px;
}

.faq-icon::after {
  width: 1.8px;
  height: 14px;
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================
   RESPONSIVE DESIGN (PC & MOBILE 100% OPTIMIZED)
   ========================================================== */
@media (max-width: 1024px) {
  .navbar, .bottom-bar {
    padding: 0 24px;
  }
  .page-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --footer-height: 52px;
    --gallery-gap: 6px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .mobile-nav-drawer {
    display: flex;
  }
  .bottom-center {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .gallery-viewport {
    padding: 6px 8px;
  }
  .gallery-row {
    height: calc((100% - 6px) / 2);
    gap: 6px;
  }
  .gallery-card-overlay {
    opacity: 1; /* On mobile touch, overlay title is visible subtly */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
    padding: 8px 10px;
  }
  .gallery-card-title {
    font-size: 11px;
  }
  .gallery-card-plus {
    width: 20px;
    height: 20px;
  }
  .award-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .lightbox-prev-btn {
    left: 8px;
    width: 40px;
    height: 40px;
  }
  .lightbox-next-btn {
    right: 8px;
    width: 40px;
    height: 40px;
  }
  .lightbox-close-btn {
    width: 36px;
    height: 36px;
  }
  .lightbox-modal {
    padding: 16px 14px;
  }
  .lightbox-title {
    font-size: 15px;
  }
  .lightbox-meta {
    font-size: 12px;
  }
}

/* Pildora de cookies (RGPD: solo mide con aceptacion) */
.cookie-pill{position:fixed;left:50%;transform:translateX(-50%);bottom:16px;z-index:9999;width:min(560px,calc(100vw - 32px));background:#111;color:#fff;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.35);padding:18px 20px}
.cookie-pill[hidden]{display:none}
.cookie-text{font-size:13px;line-height:1.6;color:rgba(255,255,255,.78);margin:0 0 12px}
.cookie-text a{color:#fff;font-weight:700}
.cookie-btns{display:flex;flex-wrap:wrap;gap:8px}
.cookie-btn{font-size:13px;font-weight:700;border-radius:999px;padding:9px 18px;cursor:pointer;border:1px solid transparent;min-height:40px}
.cookie-accept{background:#fff;color:#111}
.cookie-reject,.cookie-config{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.cookie-save{background:#fff;color:#111;margin-top:10px}
.cookie-prefs{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;gap:8px}
.cookie-prefs[hidden]{display:none}
.cookie-prefs label{display:flex;align-items:center;gap:8px;font-size:13px;color:rgba(255,255,255,.78);cursor:pointer}
.cookie-prefs input[type="checkbox"]{width:18px;height:18px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Accesibilidad 2026: skip-link, foco visible y movimiento reducido */
.skip-link{position:absolute;left:12px;top:-60px;z-index:10000;background:#111;color:#fff;font-size:14px;font-weight:700;border-radius:0 0 10px 0;padding:10px 16px;text-decoration:none;transition:top .2s ease}
.skip-link:focus{top:0;color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{[outline:3px solid #1a73e8;outline-offset:2px]}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}
