/**
* Template Name: Gp
* Template URL: https://bootstrapmade.com/gp-free-multipurpose-html-bootstrap-template/
* Updated: Aug 15 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */


/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #ffffff; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #151515; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #ffc451; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #312f2f; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffc451; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffc451; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

body {
  color: var(--default-color);
  background-color: black;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: 0.03em;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: "Cormorant Garamond", serif;
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0.8);
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}


.header .logo h1 {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 32px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  font-size: 14px;
  padding: 8px 30px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  border: 2px solid var(--accent-color);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 0;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding: 50px 0;
  background-color: color-mix(in srgb, var(--footer-background-color) 90%, white 10%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 10px;
}



.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  background-color: color-mix(in srgb, var(--default-color) 5%, white 10%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 4px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: color-mix(in srgb, var(--footer-background-color) 90%, white 15%);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: color-mix(in srgb, var(--footer-background-color) 90%, white 15%);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 30px 0;
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #000;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--gold);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 58px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-home {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 58px;
  font-weight: 300;
  letter-spacing: 28px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
}

.hero h2 span {
  color: var(--accent-color);
}

.hero p:not(.hero-subtitle) {
  margin: 12px 0 0 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--gold-dim), transparent 20%);
  letter-spacing: 10px;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

.hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: var(--accent-color);
}

.hero .icon-box h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  margin: 10px 0 0 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero .icon-box h3 a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: ease-in-out 0.3s;
}

.hero .icon-box:hover {
  border-color: var(--accent-color);
}

.hero .icon-box:hover h3 a {
  color: var(--accent-color);
}



/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.features .features-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  height: 100%;
  transition: all ease-in-out 0.3s;
}

.services .service-item .icon {
  background: var(--accent-color);
  color: var(--contrast-color);
  margin: 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-item .icon i {
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--default-color);
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  color: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 10px;
}

.stats .stats-item i {
  font-size: 44px;
  color: var(--accent-color);
  line-height: 0;
  margin-right: 15px;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 40px;
  display: block;
  font-weight: 700;
  line-height: 40px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 25px 15px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.recortar-imagen {
  clip-path: inset(0px 0px 10px 0px) !important; /* Ajusta el valor según necesites */
width: 4rem;
}
.img-home {
  width: 15rem !important;
  clip-path: inset(0px 0px 25px 0px) !important;
}

#nosotros {
  background: #000000; /* Fondo claro */
  color: #ffffff;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
}
.section-subtitle {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #ffffff;
}
#nosotros img {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#nosotros ul {
  list-style-type: disc;
  padding-left: 20px;
}
#nosotros ol {
  list-style-type: decimal;
  padding-left: 20px;
}
#nosotros .btn-primary {
  background-color: #012d5a;
  border-color: #012d5a;
  padding: 10px 20px;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
}
#nosotros .btn-primary:hover {
  background-color: #014a90;
  border-color: #014a90;
}


.carousel-inner .carousel-item img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  margin: 0 auto;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.carousel-indicators button {
  background-color: #ffffff; !important;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 40px;
  height: 10px;
  margin: 0 5px;
  transition: background-color 0.3s;
}

.carousel-indicators .active {
  background-color: #ffffff;
}

@media (max-width: 700px) {
  .carousel-inner .carousel-item img {
    height: 50%; /* Ajuste más pequeño para pantallas pequeñas */
  }
}

@media (max-width: 450px) {
  .carousel-inner .carousel-item img {
    height: 40%; /* Ajuste aún más pequeño para pantallas muy pequeñas */
  }
}




@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
  .section-title {
    font-size: 20px !important;
  }
  .section-subtitle {
    font-size: 15px !important;
  }
  .hero p {
    font-size: 18px;
  }
}

/* ================================================================
   OCELOTE — Design System · Cine de Oro
   ================================================================ */

:root {
  --film-black:  #060504;
  --warm-dark:   #0d0b09;
  --cream:       #ffffff;
  --cream-dim:   rgba(255, 255, 255, 0.75);
  --cream-faint: rgba(255, 255, 255, 0.35);
  --text-body:   rgba(255, 255, 255, 0.75);
  --text-muted:  rgba(255, 255, 255, 0.5);
  --gold:        #d9b36e;
  --gold-dim:    rgba(196, 160, 96, 0.38);
  --gold-soft:   rgba(217, 179, 110, 0.82);
  --gold-bright: #eecf95;
  --rule:        #151210;
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Film Grain (global) ── */
.grain {
  position: fixed; inset: 0; z-index: 400;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='280' height='280' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: overlay;
  animation: grain-shift 0.14s steps(1) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-3%,2%); }
  50%  { transform: translate(2%,-3%); }
  75%  { transform: translate(-2%,3%); }
  100% { transform: translate(3%,-1%); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }
.mobile-nav-active .grain { display: none; }

/* ── Page Header (interior pages) ── */
.page-header {
  padding: 108px 0 52px;
  border-bottom: 1px solid var(--rule);
}

.page-header-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.eyebrow-rule {
  width: 32px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim));
}
.eyebrow-text {
  font-size: 0.48rem; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--gold);
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  line-height: 1;
}

.page-header-sub {
  font-size: 0.52rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); margin: 0;
}

/* Legacy breadcrumb — mantener compatibilidad */
.breadcrumb-custom {
  display: none;
}

/* ── Ornamental divider ── */
.orn-divider {
  display: flex; align-items: center; gap: 12px;
}
.orn-rule { flex: 1; height: 1px; background: var(--rule); }
.orn-diamond {
  width: 4px; height: 4px;
  background: var(--gold-dim);
  transform: rotate(45deg); flex-shrink: 0;
}

/* ── Page header responsive ── */
@media (max-width: 640px) {
  .page-header { padding: 88px 0 36px; }
  .page-header h1 { font-size: clamp(1.8rem, 10vw, 2.8rem); }
}

/* ── Section head ── */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1px;
}
.section-eyebrow {
  font-size: 0.5rem; letter-spacing: 0.45em; text-transform: uppercase; color: var(--text-muted);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: 1.05rem;
  color: var(--gold); letter-spacing: 0.1em; margin: 0;
}
.section-link {
  font-size: 0.5rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-soft); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.22s;
}
.section-link i { font-size: 0.65rem; transition: transform 0.22s; }
.section-link:hover { color: var(--gold); }
.section-link:hover i { transform: translateX(3px); }

/* ── Shared CTA button ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background-color: var(--gold);
  color: #000 !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-cta:hover {
  background-color: #d4c49e;
  transform: translateY(-2px);
}

/* ── Instagram FAB ── */
.instagram-fab {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 18px rgba(180, 60, 120, 0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.instagram-fab:hover {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(180, 60, 120, 0.65);
  text-decoration: none;
}

/* ── Site Footer ── */
.site-footer {
  background: #080808;
  border-top: 1px solid #1a1a1a;
  padding: 60px 0 0;
  font-family: 'Raleway', sans-serif;
}

.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 14px;
  clip-path: inset(0px 0px 10px 0px);
  display: block;
}

.footer-tagline {
  font-size: 0.82rem;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  border: 1px solid #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background: #1a1a1a;
  color: var(--gold);
  border-color: #333;
}

.footer-heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-size: 0.83rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-soon {
  font-size: 0.83rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.footer-soon span {
  font-size: 0.58rem;
  background: #111;
  color: #3a3a3a;
  border: 1px solid #222;
  border-radius: 3px;
  padding: 1px 5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-contact-note {
  font-size: 0.83rem;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 9px 18px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.footer-cta:hover {
  border-color: var(--gold-soft);
  background: rgba(232, 217, 176, 0.05);
  color: var(--gold);
}

.footer-bottom {
  margin-top: 52px;
  border-top: 1px solid #111;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.74rem;
  color: #2e2e2e;
  font-family: 'Raleway', sans-serif;
}

/* ── Featured section (index.html) ── */
/* ================================================================
   FEATURED — Colección actual
   ================================================================ */
.featured-section {
  background: #000;
  padding: 80px 0 88px;
  border-top: 1px solid #111;
}

.featured-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 10px;
}

.featured-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--gold);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.featured-card {
  background: #0d0d0d;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
  transform: translateY(-3px);
  border-color: #2a2a2a;
  box-shadow: 0 8px 24px rgba(232, 217, 176, 0.07);
}

.featured-img-wrap {
  position: relative;
  overflow: hidden;
}

.featured-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

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

.featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.featured-view {
  color: var(--gold);
  background: transparent;
  text-decoration: none;
}

.featured-info {
  padding: 16px 18px 18px;
}

.featured-material {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}

.featured-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

/* Swiper */
.featured-swiper {
  width: 100%;
  padding-bottom: 30px;
  overflow: visible;
}

.featured-swiper .swiper-slide { height: auto; }
.featured-swiper .featured-card { height: 100%; }

.featured-pagination { bottom: 0; }

.featured-pagination .swiper-pagination-bullet {
  background: var(--gold-dim);
  opacity: 0.5;
}

.featured-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  opacity: 1;
}

/* ================================================================
   MENÚ MÓVIL — Rediseño Ocelote
   ================================================================ */
@media (max-width: 1199px) {

  /* ── Botón hamburguesa ── */
  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(232, 217, 176, 0.08);
    border: 1px solid rgba(232, 217, 176, 0.15);
    color: var(--gold) !important;
    font-size: 20px !important;
    margin-right: 8px;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
  }

  .mobile-nav-toggle:hover {
    background: rgba(232, 217, 176, 0.15);
    border-color: rgba(232, 217, 176, 0.3);
  }

  /* ── Overlay ── */
  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 9997;
  }

  /* ── Panel deslizante ── */
  .navmenu > ul {
    position: fixed !important;
    top: 0 !important; left: 0 !important; bottom: 0 !important; right: auto !important;
    inset: auto !important;
    top: 0 !important; left: 0 !important; bottom: 0 !important;
    width: min(300px, 88vw) !important;
    padding: 80px 0 40px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #080604 !important;
    border-right: 1px solid rgba(196,160,96,0.2) !important;
    box-shadow: 12px 0 48px rgba(0,0,0,0.8) !important;
    overflow-y: auto !important;
    transform: translateX(-100%) !important;
    transition: transform 0.32s cubic-bezier(0.23,1,0.32,1) !important;
    display: block !important;
    z-index: 100000 !important;
  }

  .mobile-nav-active .navmenu > ul {
    transform: translateX(0) !important;
  }

  /* ── Overlay oscuro detrás del panel ── */
  .mobile-nav-active .navmenu {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.7) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    z-index: 99999 !important;
  }

  /* ── Dropdowns dentro del panel ── */
  .navmenu .dropdown ul {
    position: static !important;
    transform: none !important;
    display: none !important;
    background: rgba(255,255,255,0.03) !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 4px 0 8px !important;
    width: 100% !important;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block !important;
  }

  /* ── Links principales ── */
  .navmenu a,
  .navmenu a:focus {
    color: #ffffff !important;
    padding: 15px 28px !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 0.68rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.28em !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: color 0.2s, padding-left 0.2s !important;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--gold) !important;
    background: rgba(196,160,96,0.05) !important;
    padding-left: 36px !important;
  }

  /* ── Ícono chevron ── */
  .navmenu a i,
  .navmenu a:focus i {
    background: rgba(255,255,255,0.06) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 24px !important; height: 24px !important;
    font-size: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  /* ── Items del dropdown ── */
  .navmenu .dropdown ul a {
    color: #ffffff !important;
    padding: 12px 28px 12px 44px !important;
    font-size: 0.6rem !important;
    border-bottom: none !important;
    letter-spacing: 0.22em !important;
  }
  .navmenu .dropdown ul a:hover {
    color: var(--gold) !important;
    padding-left: 52px !important;
    background: transparent !important;
  }

  /* ── Botón X (cerrar) ── */
  .mobile-nav-active .mobile-nav-toggle {
    position: fixed !important;
    top: 18px !important;
    left: calc(min(300px, 88vw) - 52px) !important;
    right: auto !important;
    z-index: 100001 !important;
    background: rgba(196,160,96,0.12) !important;
    border-color: rgba(196,160,96,0.25) !important;
    color: var(--gold) !important;
    font-size: 16px !important;
    margin: 0 !important;
    width: 38px !important; height: 38px !important;
  }

  /* ── Título del panel ── */
  .navmenu > ul::before {
    content: 'OCELOTE';
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    color: var(--gold-soft);
    padding: 0 28px 20px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 8px;
  }
}

/* LUXURY REDESIGN block removed — variables defined in Ocelote Design System above */

/* ── Hero luxury ── */
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-home {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.38);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 100px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Overline */
.hero-overline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-overline-line {
  width: 48px; height: 1px;
  background: rgba(212,175,122,0.45);
}
.hero-overline-text {
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Title */
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  letter-spacing: clamp(16px, 4vw, 36px);
  color: var(--gold);
  margin: 0 0 16px;
  line-height: 1;
}

/* Subtitle */
.hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 48px;
}

/* CTA */
.hero-cta {
  font-family: 'Raleway', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(212,175,122,0.35);
  padding: 14px 36px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  margin-bottom: 56px;
}
.hero-cta:hover {
  background: rgba(212,175,122,0.08);
  border-color: rgba(212,175,122,0.7);
  color: var(--gold-bright);
}

/* Categorías strip */
.hero-categories {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-cat {
  font-family: 'Raleway', sans-serif;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
a.hero-cat:hover { color: var(--gold); }
.hero-cat--soon { opacity: 0.4; cursor: default; }
.hero-cat-dot { color: rgba(212,175,122,0.3); font-size: 0.5rem; }

/* ── Featured section luxury ── */
.featured-section {
  background: #000;
  padding: 96px 0 104px;
  border-top: 1px solid #0d0d0d;
}

.featured-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 52px;
  justify-content: center;
}
.featured-header-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,122,0.2));
}
.featured-header-line:last-child {
  background: linear-gradient(to left, transparent, rgba(212,175,122,0.2));
}
.featured-header > div:nth-child(2) { text-align: center; }

.featured-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 6px;
}

.featured-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

/* Cards */
.featured-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid #111;
  overflow: hidden;
  transition: border-color 0.3s;
}
.featured-card:hover { border-bottom-color: rgba(212,175,122,0.25); }

.featured-img-wrap { position: relative; overflow: hidden; }
.featured-img-wrap img {
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.featured-card:hover .featured-img-wrap img { transform: scale(1.05); }

.featured-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s;
}
.featured-card:hover .featured-overlay { opacity: 1; }

.featured-view {
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(212,175,122,0.4);
  padding: 11px 26px;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.featured-view:hover { background: rgba(212,175,122,0.1); border-color: var(--gold-soft); color: var(--gold); }

.featured-info {
  padding: 18px 0 20px;
  border-top: 1px solid #0e0e0e;
}
.featured-material {
  font-size: 0.55rem; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--gold-soft);
  font-weight: 500; display: block; margin-bottom: 6px;
}
.featured-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 300;
  color: var(--gold); margin: 0;
  letter-spacing: 0.06em;
}

/* ── Swiper pagination luxury ── */
.featured-swiper { padding-bottom: 36px !important; }
.featured-pagination .swiper-pagination-bullet {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(212,175,122,0.25); opacity: 1;
  transition: background 0.3s, transform 0.3s;
}
.featured-pagination .swiper-pagination-bullet-active {
  background: var(--gold); transform: scale(1.4);
}

/* ── CTA button luxury ── */
.btn-cta {
  font-family: 'Raleway', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #000 !important;
  background: var(--gold);
  border: none;
  padding: 14px 40px;
  border-radius: 0;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.25s, color 0.25s;
}
.btn-cta:hover { background: var(--gold-bright); }

/* ── Page header luxury ── */
.page-header {
  padding: 120px 0 56px;
  text-align: center;
  border-bottom: 1px solid #0e0e0e;
  position: relative;
}
.page-header::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: rgba(212,175,122,0.35);
  margin: 20px auto 0;
}

.breadcrumb-custom {
  font-size: 0.58rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #777;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.breadcrumb-custom a { color: #777; text-decoration: none; transition: color 0.2s; }
.breadcrumb-custom a:hover { color: var(--gold); }

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-header p {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
  max-width: 480px;
  margin: 0 auto;
  line-height: 2;
}

/* ── Footer luxury ── */
.site-footer {
  background: #030303;
  padding: 0;
  font-family: 'Raleway', sans-serif;
}

.footer-topline {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212,175,122,0.25), transparent);
}

.site-footer .container { padding-top: 64px; }

.footer-brand {
  text-align: center;
  padding-bottom: 52px;
  border-bottom: 1px solid #0e0e0e;
  margin-bottom: 48px;
}

.footer-logo {
  width: 40px; height: 40px;
  object-fit: contain;
  clip-path: inset(0 0 8px 0);
  margin: 0 auto 12px;
  display: block;
  opacity: 0.7;
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--gold);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.58rem;
  color: #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 2;
}

.footer-social {
  display: flex; gap: 16px; justify-content: center;
}
.footer-social a {
  width: 32px; height: 32px;
  border: 1px solid #1a1a1a;
  color: #fff; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--gold); border-color: rgba(212,175,122,0.3); }

/* Footer nav */
.footer-nav-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px 24px;
  padding-bottom: 52px;
}

.footer-nav-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold-soft);
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-nav-group ul {
  list-style: none; padding: 0; margin: 0;
}
.footer-nav-group ul li {
  margin-bottom: 12px;
}
.footer-nav-group ul a {
  font-size: 0.72rem; color: #fff;
  text-decoration: none; letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-nav-group ul a:hover { color: var(--gold); }

.footer-soon {
  font-size: 0.72rem; color: #fff;
  letter-spacing: 0.08em; margin-bottom: 12px;
}

.footer-idea-text {
  font-size: 0.72rem; color: #fff;
  line-height: 1.9; letter-spacing: 0.04em; margin-bottom: 20px;
}

.footer-cta {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; padding-bottom: 3px;
  transition: color 0.2s;
}
.footer-cta::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--gold-dim);
  transform: scaleX(0.3); transform-origin: left;
  transition: transform 0.3s;
}
.footer-cta:hover::after { transform: scaleX(1); }
.footer-cta:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid #0a0a0a;
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  font-size: 0.58rem; color: #fff;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* ── Instagram FAB luxury ── */
.instagram-fab {
  position: fixed; bottom: 84px; right: 28px;
  z-index: 998;
  width: 44px; height: 44px;
  background: #000;
  border: 1px solid rgba(212,175,122,0.2);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  box-shadow: none;
}
.instagram-fab:hover {
  border-color: rgba(212,175,122,0.6);
  color: var(--gold);
  background: rgba(212,175,122,0.05);
}

/* ── Scroll-top luxury ── */
.scroll-top {
  width: 44px; height: 44px;
  right: 28px; bottom: 28px;
  background: #000;
  border: 1px solid rgba(212,175,122,0.4);
  color: var(--gold);
  border-radius: 0;
}
.scroll-top:hover { background: rgba(212,175,122,0.08); color: var(--gold-bright); border-color: rgba(212,175,122,0.7); }

/* ── Mobile hero responsive ── */
@media (max-width: 576px) {
  .hero-title { letter-spacing: 10px; }
  .hero-cta { padding: 12px 28px; }
  .hero-categories { gap: 8px; }
  .featured-section { padding: 64px 0 72px; }
  .featured-img-wrap img { height: 220px; }
}

/* ── Catálogo: una tarjeta por pieza, galería al hacer clic ────────────────── */
/* Lo pinta assets/js/catalogo.js desde assets/data/catalogo.json.             */

.piezas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  /* Sin fondo propio: los huecos dejan ver el negro de la página. Antes había
     una rejilla de 1px que hacía de línea divisoria. */
  background: transparent;
}

.pieza {
  background: var(--film-black, #060504);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;                 /* recorta la foto a las esquinas */
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 240ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .pieza:hover { border-color: rgba(217, 179, 110, 0.28); }
}

/* Todas las portadas con la misma proporción: la cuadrícula queda pareja
   sin importar si la foto es vertical u horizontal. */
.pieza-foto {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  text-decoration: none;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pieza-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75) sepia(0.35) contrast(1.05);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1),
              filter    240ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pieza-foto:active { transform: scale(0.985); }

@media (hover: hover) and (pointer: fine) {
  .pieza-foto:hover img { transform: scale(1.04); filter: brightness(0.95) sepia(0.12); }
  .pieza-foto:hover .pieza-lupa { opacity: 1; transform: translateY(0); }
}

/* Contador de fotos */
.pieza-contador {
  position: absolute; right: 12px; bottom: 12px;
  border-radius: 4px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  font-size: 0.64rem; letter-spacing: 0.08em;
  color: var(--cream, #e0d0b8);
  background: rgba(6, 5, 4, 0.72);
  backdrop-filter: blur(4px);
}

/* Pista de "ampliar" */
.pieza-lupa {
  position: absolute; left: 12px; bottom: 12px;
  border-radius: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream, #e0d0b8);
  background: rgba(6, 5, 4, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Material, nombre y descripción con altura reservada, así los tres quedan a
   la misma altura en todas las tarjetas de la fila aunque el texto cambie de
   longitud. Lo que sobra se recorta con puntos suspensivos. */
.pieza-info {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pieza-mat {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft);
  min-height: 1.1em;
  margin-bottom: 6px;
}
.pieza-nombre {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem; font-weight: 400; margin: 0 0 8px;
  color: var(--cream);
  line-height: 1.25;
  min-height: 2.5em;                 /* dos líneas */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pieza-desc {
  font-size: 0.78rem; line-height: 1.55; margin: 0;
  color: rgba(255, 255, 255, 0.62);
  min-height: 4.65em;                /* tres líneas */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pieza-cta {
  margin-top: 14px;
  align-self: flex-start;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color 200ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pieza-cta i { transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.pieza-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .pieza-cta:hover { color: var(--gold-bright); }
  .pieza-cta:hover i { transform: translateX(3px); }
}

/* Las fotos secundarias sólo alimentan la galería */
.pieza-galeria-oculta { display: none; }

@media (max-width: 992px) { .piezas-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 640px) { .piezas-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 380px) { .piezas-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .pieza-foto,
  .pieza-foto img,
  .pieza-lupa,
  .pieza-cta,
  .pieza-cta i { transition-duration: 1ms; }
  .pieza-foto:hover img { transform: none; }
  .pieza-foto:active { transform: none; }
  .pieza-lupa { opacity: 1; transform: none; }
}

/* ── Galería (GLightbox) ───────────────────────────────────────────────────── */
/* Sólo la imagen: sin pie de foto ni descripción. El nombre y los textos ya
   están en la tarjeta, repetirlos aquí sólo resta espacio a la foto. */

.glightbox-container .goverlay {
  background: #000000;
}

/* Deslizado suave entre fotos */
.glightbox-container .gslider {
  transition: transform 420ms cubic-bezier(0.23, 1, 0.32, 1) !important;
}
.glightbox-container .gslide-image img { border-radius: 6px; }

.glightbox-container .gslide-description,
.glightbox-container .gslide-title,
.glightbox-container .gslide-desc { display: none; }

.glightbox-container .gslide-media { box-shadow: none; }

/* La imagen entra con una subida corta y un punto de escala: nunca desde
   scale(0), que parece que aparece de la nada. */
.glightbox-container .gslide.current .gslide-image img {
  animation: piezaEntra 360ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes piezaEntra {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Contador de fotos */
.glightbox-container .gslide-index {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  font-size: 0.66rem; letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(6, 5, 4, 0.6);
  padding: 6px 14px;
  pointer-events: none;
}

.glightbox-container .gnext,
.glightbox-container .gprev,
.glightbox-container .gclose {
  background-color: rgba(6, 5, 4, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.7;
  transition: opacity 160ms var(--ease-out),
              background-color 160ms var(--ease-out),
              border-color 160ms var(--ease-out),
              transform 160ms var(--ease-out);
}
.glightbox-container .gnext:active,
.glightbox-container .gprev:active,
.glightbox-container .gclose:active { transform: scale(0.94); }

@media (hover: hover) and (pointer: fine) {
  .glightbox-container .gnext:hover,
  .glightbox-container .gprev:hover,
  .glightbox-container .gclose:hover {
    opacity: 1;
    background-color: rgba(6, 5, 4, 0.85);
    border-color: rgba(217, 179, 110, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .glightbox-container .gslide.current .gslide-image img { animation: none; }
  .glightbox-container .gnext,
  .glightbox-container .gprev,
  .glightbox-container .gclose { transition-duration: 1ms; }
}

/* ── Botón flotante de Instagram vs. flecha de "subir" ─────────────────────── */
/* Los dos viven en la esquina inferior derecha: el FAB en bottom:24px y la
   flecha en bottom:28px, así que se solapan. Cuando la flecha aparece al hacer
   scroll (.scroll-top.active), el FAB se aparta hacia arriba.
   La regla vive aquí y no en el <style> de footer.html porque ese fragmento se
   inyecta por innerHTML y :has() no vuelve a evaluarse al cambiar la clase. */
.instagram-fab {
  transition: color 0.22s, border-color 0.22s, background 0.22s,
              transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}
body:has(.scroll-top.active) .instagram-fab {
  transform: translateY(-56px);
}
@media (prefers-reduced-motion: reduce) {
  .instagram-fab { transition: color 0.22s, border-color 0.22s, background 0.22s; }
}

/* ── Etiqueta de pieza (Destacado / Colección / Exclusivo / Nuevo) ─────────── */
/* Se marca con un archivo en la carpeta de la pieza o con "badge" en
   catalogo.meta.json. Ver assets/img/productos/README.txt */

.pieza-badge {
  position: absolute; top: 12px; left: 12px;
  border-radius: 4px;
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(6, 5, 4, 0.78);
  backdrop-filter: blur(4px);
  border: 1px solid transparent;
}

/* Se distinguen por ESTRUCTURA, no sólo por color, para que se lean de un
   vistazo: relleno / subrayado / contorno dorado / contorno blanco.
   Todos con base opaca: sobre una foto clara, un fondo translúcido dejaba el
   texto ilegible. */

.pieza-badge--destacado {          /* relleno dorado: el más fuerte */
  color: var(--film-black);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 500;
}
.pieza-badge--coleccion {          /* subrayado dorado */
  color: var(--gold-bright);
  background: rgba(6, 5, 4, 0.82);
  border-color: transparent;
  border-bottom: 2px solid var(--gold);
}
.pieza-badge--exclusivo {          /* contorno dorado completo */
  color: var(--gold-bright);
  background: rgba(6, 5, 4, 0.82);
  border-color: rgba(217, 179, 110, 0.7);
}
.pieza-badge--nuevo {              /* contorno blanco: el más neutro */
  color: #ffffff;
  background: rgba(6, 5, 4, 0.82);
  border-color: rgba(255, 255, 255, 0.45);
}

/* ── Fondo de las secciones ────────────────────────────────────────────────── */
/* La plantilla original pinta toda <section> de blanco (--background-color:
   #ffffff). En un sitio oscuro eso deja bandas blancas donde el contenido no
   las tapa, y el texto claro encima se vuelve invisible.
   Se hereda el fondo del body; una sección que quiera otro color lo declara. */
section,
.section {
  background-color: transparent;
}
