/* ==========================================================================
   Manolo Granado — Website
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

:root {
  --black: #dedede;
  --white: #000000;
  --blue: #1f35ea;
  --bg: #dedede;
  --header-h: 92px;
  --content-width: 80%;
  --content-max: 1400px;
  --gap: 34px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
picture { display: contents; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

a { color: inherit; text-decoration: none; }

.montserrat-bold { font-weight: 700; }
.montserrat-light { font-weight: 300; }

.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;
}

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(222, 222, 222, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 50px;
}

.site-header .brand {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.site-header nav.main-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  margin-right: 50px;
}

.site-header nav.main-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  padding: 6px 0;
  position: relative;
}

.site-header nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .site-header nav.main-nav a:hover::after {
    transform: scaleX(1);
  }
}

.site-header nav.main-nav a.active {
  font-weight: 700;
}

.site-header .lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.site-header .lang-switch button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  color: var(--white);
  padding: 4px 2px;
  font-weight: 400;
}

.site-header .lang-switch button.active {
  font-weight: 700;
}

.site-header .lang-switch .sep {
  opacity: 0.5;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--white);
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Hero / portada                                                          */
/* ---------------------------------------------------------------------- */

.hero {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 40px auto 0;
}

.hero img {
  width: 100%;
  height: auto;
}

.home-quote {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 50px auto 100px;
  text-align: left;
}

.home-quote .quote-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  margin: 0 0 10px;
}

.home-quote .quote-author {
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  margin: 0;
}

.section-label-wrap {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-label {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-align: left;
  margin: 0 0 50px;
}

.section-label--bold {
  margin: 40px 0 0;
}

.section-label-wrap + .gallery {
  margin-top: 0;
}

/* ---------------------------------------------------------------------- */
/* Page title (OBRAS / GRABADOS / etc.)                                    */
/* ---------------------------------------------------------------------- */

.page-title-wrap {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 60px auto 0;
}

.page-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(36px, 6vw, 72px);
  text-align: left;
  margin: 0;
  line-height: 1;
}

.contact-photo {
  margin: 34px 0;
}

.contact-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Gallery grid                                                            */
/* ---------------------------------------------------------------------- */

.gallery {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 100px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap) var(--gap);
}

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

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

.cv-photos {
  margin: 30px auto 40px;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
}

.gallery:not(.grid-2) .gallery-item {
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  outline: none;
  box-shadow: none;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .caption {
  margin-top: 14px;
}

.gallery-item .caption .work-name {
  font-weight: 700;
  font-size: 14px;
  text-transform: none;
}

.gallery-item .caption .work-meta {
  font-weight: 300;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 2px;
}

/* ---------------------------------------------------------------------- */
/* Lightbox                                                                */
/* ---------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(0.23, 1, 0.32, 1), visibility 220ms;
}

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

.lightbox-box {
  position: relative;
  width: 100%;
  max-width: 1200px;
  max-height: min(980px, 95vh);
  box-sizing: border-box;
  padding: 60px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1), opacity 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

.lightbox.active .lightbox-box {
  transform: scale(1);
  opacity: 1;
}

.lightbox-box.lightbox-zoomable {
  max-width: 1700px;
  max-height: min(1040px, 96vh);
}

.lightbox-box.lightbox-zoomable .lightbox-main {
  max-height: min(880px, 90vh);
}

.lightbox-box.lightbox-zoomable .lightbox-image img,
.lightbox-box.lightbox-zoomable .lightbox-image-stack {
  max-height: min(880px, 90vh);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 5;
}

.lightbox-close svg { width: 100%; height: 100%; }

.lightbox-main {
  display: flex;
  width: 100%;
  gap: 0;
  align-items: stretch;
  max-height: min(800px, 85vh);
}

.lightbox-image {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 30px;
  min-width: 0;
}

.lightbox-zoom-viewport {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.lightbox-box.lightbox-zoomable .lightbox-zoom-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.lightbox-box.lightbox-zoomable .lightbox-zoom-viewport.dragging {
  cursor: grabbing;
}

.lightbox-box.lightbox-zoomable #lightbox-img {
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-zoom-controls {
  display: none;
  position: absolute;
  bottom: 16px;
  right: 16px;
  gap: 2px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  overflow: hidden;
}

.lightbox-box.lightbox-zoomable .lightbox-zoom-controls {
  display: flex;
}

.lightbox-zoom-controls button {
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  transition: background-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .lightbox-zoom-controls button:hover {
    background: rgba(0, 0, 0, 0.1);
  }
}

.lightbox-image img {
  max-width: 100%;
  max-height: min(800px, 85vh);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-image-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  max-height: min(800px, 85vh);
  overflow-y: auto;
}

#lightbox-img2 {
  display: none;
  max-width: 100%;
  max-height: min(380px, 42vh);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-text {
  flex: 0 0 260px;
  padding: 40px;
  text-align: left;
  color: #000000;
}

.lightbox-text .work-name {
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
  text-transform: none;
  color: #1b2ad1;
}

.lightbox-text .work-year,
.lightbox-text .work-technique,
.lightbox-text .work-measures {
  font-weight: 300;
  font-size: 15px;
  margin: 0 0 4px;
  color: #000000;
}

.lightbox-text .work-sold {
  display: block;
  margin-top: 32px;
  color: #000000;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}

.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 26px;
}

.lightbox-nav button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 46px;
}

.lightbox-nav button svg { width: 100%; height: auto; display: block; }

.lightbox-nav button img {
  transition: transform 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  #lightbox-prev:hover img { transform: translateX(-3px); }
  #lightbox-next:hover img { transform: translateX(3px); }
}

/* ---------------------------------------------------------------------- */
/* Video lightbox                                                          */
/* ---------------------------------------------------------------------- */

.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms cubic-bezier(0.23, 1, 0.32, 1), visibility 220ms;
}

.video-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-lightbox-box {
  position: relative;
  width: 100%;
  max-width: 1080px;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1), opacity 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

.video-lightbox.active .video-lightbox-box {
  transform: scale(1);
  opacity: 1;
}

.video-lightbox-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-lightbox-media video,
.video-lightbox-media iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.video-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  border: none;
  padding: 7px;
  box-sizing: border-box;
  z-index: 5;
}

.video-lightbox-close svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------------- */
/* Pagination                                                              */
/* ---------------------------------------------------------------------- */

.pagination {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pagination .page-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
  padding: 0;
}

.pagination .page-arrow svg {
  width: 28px;
  height: 28px;
}

.pagination .page-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .pagination .page-arrow:not(:disabled):hover {
    color: var(--white);
  }
}

.pagination .page-num {
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .pagination .page-num:not(.active):hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--white);
  }
}

.pagination .page-num.active {
  background: var(--white);
  color: var(--bg);
}

/* ---------------------------------------------------------------------- */
/* Contact CTA                                                             */
/* ---------------------------------------------------------------------- */

.contact-cta {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 120px auto 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-cta p {
  font-size: 15px;
  margin: 0 0 24px;
}

.contact-btn {
  width: 220px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  color: var(--white);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .contact-btn:hover {
    transform: scale(1.02);
  }
}

.contact-btn:hover,
.contact-btn:focus,
.contact-btn:active {
  background-color: var(--white);
  color: var(--bg);
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand span {
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-contact a.email,
.footer-contact a.phone {
  color: var(--white);
  font-weight: 400;
  font-size: 14px;
  transition: opacity 200ms ease;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  display: block;
  transition: opacity 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .footer-contact a.email:hover,
  .footer-contact a.phone:hover { opacity: 0.7; }
  .footer-social a:hover { opacity: 0.7; transform: translateY(-2px); }
}

.footer-social img,
.footer-social svg {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

.footer-legal a {
  opacity: 0.6;
  transition: opacity 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-legal a:hover { opacity: 1; }
}

@media (max-width: 900px) {
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}

/* ---------------------------------------------------------------------- */
/* Generic content sections (Curriculum / Editorial / Contacto)            */
/* ---------------------------------------------------------------------- */

.content-section {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 60px auto;
}

.content-section + .content-section {
  margin-top: 0;
}

.lede {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  max-width: 720px;
  margin: 24px 0 0;
}

.cv-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}

.cv-list li {
  display: flex;
  gap: 40px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  align-items: baseline;
}

.cv-list .year {
  flex: 0 0 90px;
  font-weight: 700;
}

.cv-list .desc {
  font-weight: 300;
  line-height: 1.5;
}

.cv-biography {
  margin: 50px 0 0;
  max-width: 900px;
}

.cv-biography p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 20px;
}

.cv-biography p:last-child {
  margin-bottom: 0;
}

.cv-group-title {
  margin: 70px 0 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 50px;
}

.editorial-item {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  padding-top: 24px;
}

.editorial-item .ed-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}

.editorial-item .ed-meta {
  font-weight: 300;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  line-height: 1.5;
}

.editorial-item .ed-card-link {
  display: block;
}

.editorial-item .ed-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 16px;
}

.editorial-item .ed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.editorial-item .video-thumb {
  margin-bottom: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .ed-card-link:hover .ed-media img {
    transform: scale(1.03);
  }
}

.cv-intro {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.cv-intro .cv-portrait {
  flex: 0 0 520px;
}

.cv-intro .cv-portrait img {
  width: 100%;
  filter: grayscale(100%);
}

.cv-intro .cv-formation {
  flex: 1;
  padding-top: 4px;
}

.cv-intro .cv-name {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 44px;
}

.cv-intro .cv-bio-rest {
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 40px;
}

.cv-intro .cv-formation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv-intro .cv-formation li {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.obra-featured {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: 40px auto 0;
  cursor: pointer;
  overflow: hidden;
}

.obra-featured img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.obra-featured:hover img {
  transform: scale(1.03);
}

.grabado-feature {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  align-items: flex-start;
}

.grabado-feature .gf-image {
  flex: 0 0 46%;
  cursor: pointer;
  overflow: hidden;
}

.grabado-feature .gf-image img {
  width: 100%;
  transition: transform 0.35s ease;
}

.grabado-feature .gf-image:hover img {
  transform: scale(1.05);
}

.grabado-feature .gf-text {
  flex: 1;
  padding-top: 10px;
}

.grabado-feature .gf-text h2 {
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.grabado-feature .gf-text p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.grabado-extra-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 40px;
}

.grabado-extra-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 40px;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.video-thumb video,
.video-thumb img,
.video-thumb iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.video-thumb .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 200ms ease, transform 200ms ease;
}

.video-thumb .play-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .video-thumb:hover .play-btn {
    background: rgba(0, 0, 0, 0.75);
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.video-caption {
  margin: 12px 0 0;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 50px;
}

.contact-info .ci-row {
  margin-bottom: 30px;
}

.contact-info .ci-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.contact-info .ci-value {
  font-weight: 300;
  font-size: 16px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  margin-top: 22px;
}

.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  padding: 8px 0;
  background: transparent;
  color: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 1px solid var(--blue);
}

.contact-form textarea { resize: vertical; min-height: 90px; }

.contact-form button {
  margin-top: 30px;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  padding: 14px 40px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-form button:hover {
  background: var(--white);
  color: var(--bg);
}

.form-note {
  font-weight: 300;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
  margin-top: 14px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                              */
/* ---------------------------------------------------------------------- */

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .site-header { padding: 0 24px; }
  .site-header .brand { font-size: 15px; }

  .nav-toggle { display: flex; margin-left: auto; }

  .site-header nav.main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(222, 222, 222, 0.98);
    flex-direction: column;
    gap: 0;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-header nav.main-nav.open {
    max-height: 400px;
  }

  .site-header nav.main-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
  }

  .gallery,
  .gallery.grid-2,
  .gallery.grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grabado-extra-photos,
  .video-row {
    grid-template-columns: 1fr;
  }

  .lightbox-box {
    padding: 24px;
    max-height: 92vh;
  }

  .lightbox-main {
    flex-direction: column;
    overflow-y: auto;
  }

  .lightbox-image { padding-left: 0; justify-content: center; }
  .lightbox-text { flex: none; padding: 30px 10px 0; text-align: center; }

  .contact-page-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .grabado-feature { flex-direction: column; gap: 30px; }
  .cv-intro { flex-direction: column; gap: 30px; }
  .cv-intro .cv-portrait { flex: none; width: 320px; }
  .grabado-feature .gf-image { flex: none; width: 100%; }

  .site-footer {
    height: auto;
    padding: 30px 24px;
    justify-content: center;
    text-align: center;
  }

  .footer-contact { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 560px) {
  .hero, .gallery, .gallery.grid-2, .page-title-wrap, .content-section, .contact-cta {
    width: 88%;
  }
  .footer-brand img { width: 34px; height: 34px; }
}
