:root {
  --color-fondo1: #D6C2AD;
  --invert_color: #0c0c0c;
  --color-fondo: #EDE0D1;
  --color-texto-dbg: #FAF4EC;
  --color-texto: #3A2A20;
  --color-texto-sec: #6A574A;
  --color-borde: #5C4333;
  --color-boton-a: #CFA88A;

  --color-gold-a: #C89B6D;
  --color-silver-a: #A89A8F;
  --color-bronce-a: #cda693;

  --gradient-top-bottom: linear-gradient(
    to bottom,
    rgba(58, 42, 32, 0.45),
    rgba(58, 42, 32, 0)
  );

  --gradient-top-top: linear-gradient(
    to top,
    rgba(58, 42, 32, 0.45),
    rgba(58, 42, 32, 0)
  );

  --title_font: 'Cinzel Decorative', serif;
  --body_font: 'Oswald', sans-serif;
}

/* ========================= BASE / RESET ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  width: 100%;
  background-color: var(--color-fondo) !important;
}

body::-webkit-scrollbar {
  display: none;
}

h1,
h2 {
  font-family: var(--title_font);
  color: var(--color-texto);
}

body,
p,
li,
span,
a,
button {
  font-family: var(--body_font);
  color: var(--color-texto);
}

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

button:hover,
a:hover,
.card:hover {
  cursor: pointer;
}

:target {
  scroll-margin-top: 95px;
}

#header {
  z-index: 100000;
}

.borroso {
  filter: none;
}

/* ========================= TYPOGRAPHY ========================= */

h1 {
  font-weight: 400;
  font-size: clamp(3rem, 15vw, 12rem);
  font-style: normal;
  text-transform: uppercase;
}

h2 {
  font-weight: 100;
  font-style: italic;
  font-size: clamp(2rem, 6vw, 4rem);
}

h3 {
  font-weight: 600;
  font-style: normal;
  color: var(--color-texto) !important;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-size: clamp(1.5rem, 4.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: letter-spacing 0.5s, color 0.5s, background 0.5s;
}

h4 {
  font-size: clamp(1.2rem, 3.5vw, 2.5rem);
}

p {
  font-size: clamp(0.8rem, 2.5vw, 1.5rem);
  font-style: normal;
  margin: 0;
}

.title {
  color: var(--color-texto-dbg);
}

.studio-name {
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--color-texto-dbg);
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.529);
}

#title {
  font-size: clamp(2rem, 5vw, 4rem);
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.529);
  color: var(--color-texto-dbg);
}

/* ========================= PRELOADER ========================= */

#preloader {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-fondo);
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#preloader.hide {
  opacity: 0;
  pointer-events: none;
}

#preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#preloader-logo {
  animation: growAndColor 2s ease-in-out infinite alternate;
  width: 150px;
  transform-origin: center bottom;
  filter: brightness(0);
}

@keyframes growAndColor {
  0% {
    transform: scale(1);
    filter: brightness(0);
  }

  100% {
    transform: scale(2.5);
    filter: brightness(0.2);
  }
}

/* ========================= LINKS / NAV ========================= */

#btn_H {
  font-size: 2rem;
}

.lnkMenu {
  position: relative;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  text-wrap: nowrap;
  align-items: center;
  letter-spacing: 0.05em;
  margin-inline: 1rem;
}

.lnkMenu,
.lnkMenu:visited,
.lnkMenu:hover,
.lnkMenu:active {
  color: inherit;
  text-decoration: none;
}

/* ========================= TOP BAR / FOOTER ========================= */

#container_top,
#foot_bar {
  transition: background-color 0s ease;
}

.container_top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  padding-bottom: 15px;
}

.boton-principal {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  z-index: 1100;
  position: relative;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: transparent;
  z-index: 1000;
}

#foot_bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

#div_menubotom {
  visibility: hidden;
}

#div_menubotom a {
  margin: 0 10px;
}

.imgLogo_v2 {
  max-height: 100px;
  filter: invert(1) drop-shadow(2px 2px 2px black);
}

/* ========================= MOBILE MENU ========================= */

#navbarMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  visibility: hidden;
}

#menu_hamburguer {
  visibility: hidden;
}

.menu-overlay {
  padding-top: 10px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .lnkMenu {
    color: var(--color-texto-dbg);
  }

  #menu_hamburguer {
    visibility: visible;
  }

  #navbarMenu {
    visibility: hidden;
  }

  #div_menutop {
    display: none;
  }

  #div_menubotom {
    display: block;
    visibility: visible;
  }

  .borroso {
    filter: none;
  }
}

/* ========================= HERO / HOME ========================= */

#init {
  padding: 0 5rem;
}

#cont_background {
  width: 100%;
}

.section_v1 {
  position: relative;
  z-index: 1;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: darken;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.bottom-content {
  display: flex;
  flex-direction: column;
  align-items: self-start;
  padding-bottom: 10rem;
  max-width: clamp(300px, 70vw, 600px);
}

@media (max-width: 768px) {
  #init {
    padding: 0 2rem;
  }

  .bottom-content {
    max-width: 100%;
    padding-bottom: 7rem;
  }
}

/* ========================= BUTTONS ========================= */

.mybtn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: letter-spacing 0.5s, color 0.5s, background 0.5s, transform 0.3s ease;
  background: var(--color-boton-a) !important;
  border: none !important;
  padding: 0.9rem 1.3rem;
  margin: 0;
}

section {
  padding: 6rem 0;
}

/* ========================= HERO BACKGROUND CAROUSEL ========================= */
#carr_ind {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.img_carr {
  transform-origin: center center;
  transition:
    opacity 3s ease-in-out,
    transform 14s linear;
}

/* posiciones iniciales */
.img_carr.start-right {
  transform: scale(1.12) translateX(4%);
}

.img_carr.start-left {
  transform: scale(1.12) translateX(-4%);
}

.img_carr.start-top {
  transform: scale(1.12) translateY(-4%);
}

.img_carr.start-bottom {
  transform: scale(1.12) translateY(4%);
}

.img_carr.start-zoom {
  transform: scale(1.08);
}

/* movimientos */
.img_carr.move-left {
  transform: scale(1.12) translateX(-4%);
}

.img_carr.move-right {
  transform: scale(1.12) translateX(4%);
}

.img_carr.move-down {
  transform: scale(1.12) translateY(4%);
}

.img_carr.move-up {
  transform: scale(1.12) translateY(-4%);
}

.img_carr.move-zoom {
  transform: scale(1.2);
}


/* ========================= FEATURED SESSION ========================= */
.featured_section,
.about-band {
  min-height: clamp(350px, 50vh, 520px);
}

.featured_session {
  width: 100%;
  padding: 6rem 3rem;
  background: rgba(250, 244, 231, 0.78);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 4;
}

.featured_media {
  filter: contrast(1.05) brightness(0.95);
}

.featured_text h2 {
  font-size: 2.4rem;
}

.featured_media_wrap {
  width: 100%;
}

.featured_media {
  width: 100%;
  height: 320px; /* 👈 clave */
  border-radius: 3px;
  background-size: cover;
  background-position: center;
}

.featured_session_inner {  
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}


.featured_media_link {
  display: block;
  width: 100%;
}


.featured_media:hover {
  transform: scale(1.01);
}

.featured_media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.featured_copy {
  max-width: 620px;
}


#featuredTitle {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
}

#featuredDescription {
  max-width: 560px;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .featured_session {
    padding: 4rem 2rem;
  }

  .featured_session_inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured_media {
    min-height: 420px;
  }

  .featured_copy {
    max-width: 100%;
    text-align: center;
    justify-self: center;
  }

  #featuredDescription {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .featured_session {
    padding: 3rem 1.25rem;
  }

  .featured_media {
    min-height: 320px;
  }
}

/* ========================= SERVICES + ABOUT + FIND US ========================= */
/* CONTENEDOR GLOBAL CONSISTENTE */
.section-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}
.overlay-section {
  background: rgba(0,0,0,0.45); /* más oscuro */
}

#seccionServices {
  width: 100%;
  position: relative;
  z-index: 5;
  background: transparent;
}

/* SERVICES SOLID EDITORIAL AREA */
.services-editorial {
  background: var(--color-fondo);
  padding: 8rem 2rem 7rem;
}

.services-intro {
  max-width: 960px;
  margin: 0 auto 4rem;
}

.section-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--color-bronce-a);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
}

.services-intro h1 {
  max-width: 620px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  margin-bottom: 1.3rem;
}

.services-intro h1 em {
  color: var(--color-gold-a);
  font-style: italic;
  text-transform: none;
}

.services-intro p {
  max-width: 620px;
  line-height: 1.7;
  color: var(--color-texto-sec);
}

/* SERVICES GRID */
.services-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.7rem;
}

.service-card {
  position: relative;
  min-height: 520px;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  box-shadow: 0 22px 45px rgba(58, 42, 32, 0.18);
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.service-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 20, 15, 0.72),
    rgba(30, 20, 15, 0.08) 58%,
    rgba(30, 20, 15, 0)
  );
}

.service-card-text {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
}

.service-card-text span {
  display: block;
  color: rgba(250, 244, 236, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}

.service-card-text h2 {
  color: var(--color-texto-dbg);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  margin: 0;
  font-style: normal;
}

.service-card-text p {
  color: rgba(250, 244, 236, 0.85);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.service-card-text small {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--color-gold-a);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.option-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.05);
  padding: 4px;
  border-radius: 50px;
}

/* BOTONES */
.option-counter button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-boton-a);
  color: white;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* HOVER */
.option-counter button:hover {
  transform: scale(1.1);
  background-color: var(--color-accent); /* si tienes uno */
}

/* CLICK */
.option-counter button:active {
  transform: scale(0.95);
}

/* NUMERO */
.option-counter .count {
  min-width: 20px;
  text-align: center;
  font-weight: 500;
  color: var(--color-texto);
}

/* ABOUT BAND - CAROUSEL SHOWS BEHIND */
.about-band {
  min-height: 430px;
  padding: 7rem 2rem;
  background: rgba(58, 42, 32, 0.48);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-inner {
  max-width: 760px;
  text-align: center;
}

.about-inner h1 {
  color: var(--color-texto-dbg);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.95;
  margin-bottom: 1.3rem;
}

.about-inner p {
  color: rgba(250, 244, 236, 0.88);
  line-height: 1.8;
}

/* QUOTE */
.quote-section {
  background: var(--color-fondo);
  padding: 6rem 2rem;
  text-align: center;
}

.quote-section p {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--title_font);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  font-style: italic;
  color: var(--color-texto);
}

/* FIND US */
.findus-section {
  background: var(--color-boton-a);
 
  padding: 5rem 2rem 6rem;
}

.findus-brand {
  max-width: 960px;
  margin: 0 auto 3rem;
}

.findus-brand img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.findus-brand h1 {
  color: var(--color-texto);
  font-size: clamp(2rem, 4vw, 4rem);
}

.findus-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.findus-grid div {
  border-top: 1.5px solid var(--color-gold-a);
  padding-top: 1rem;
}

.findus-grid i {
  color: var(--color-fondo1);
  margin-bottom: 0.8rem;
}

.findus-grid p {
  color: var(--color-texto);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* TABLET / MOBILE */
@media (max-width: 900px) {
  .services-editorial {
    padding: 6rem 1.5rem;
  }

  .services-intro {
    text-align: center;
  }

  .services-intro h1,
  .services-intro p {
    margin-inline: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }

  .service-card,
  .service-card img {
    min-height: 440px;
  }

  .findus-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-editorial {
    padding: 5rem 1.2rem;
  }

  .service-card,
  .service-card img {
    min-height: 360px;
  }

  .about-band {
    padding: 5rem 1.5rem;
  }

  .quote-section {
    padding: 5rem 1.5rem;
  }

  .findus-section {
    padding: 4rem 1.5rem 5rem;
  }
}
/* ========================= CONTACT SECTION ========================= */

#contact {
  background: transparent;
}

#contact .wrapper,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 4rem;
  backdrop-filter: blur(10px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 320px;
}

.contact-info p,
#contact p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 320px;
  opacity: 0.9;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-direct a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--color-texto);
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-direct a:hover {
  opacity: 1;
  transform: translateX(3px);
}

#contact form {
  width: 100%;
  margin-top: 0;
}

#contact .btn.mybtn {
  min-width: 220px;
  justify-content: center;
  margin-top: 1rem;
}

@media (max-width: 900px) {
  #contact .wrapper,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .contact-info,
  .contact-info p,
  #contact p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #contact {
    margin-top: 6rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
  }
}

/* ========================= FORM ELEMENTS ========================= */

form {
  color: var(--color-texto);
  width: 100%;
}

.input-box {
  position: relative;
  display: inline-block;
  width: 100%;
}

textarea,
input {
  width: 100%;
  margin-bottom: 2rem;
  padding: 14px 10px;
  font-size: 2rem;
  line-height: 20px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  outline: none;
  background: none;
  color: var(--color-texto) !important;
  resize: none;
  overflow: hidden;
  vertical-align: top;
}

input:focus,
textarea:focus {
  border-bottom: 1px solid var(--color-texto);
}

form label {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 0 10px;
  font-size: 16px;
  border-radius: 5px;
  transition: 0.3s ease;
  pointer-events: none;
  color: var(--color-texto);
  text-transform: uppercase;
  background-color: var(--color-fondo);
}

.input-box input:focus + label,
.input-box textarea:focus + label,
.input-box input:checked + label,
.input-box.has-value label,
.input-box select:focus + label,
.input-box textarea:not(:empty) + label {
  transform: translateY(-20px);
  font-size: 12px;
}

/* ========================= POPUP / THANK YOU ========================= */

.popup {
  display: none;
  position: fixed;
  top: 30%;
  left: 4%;
  z-index: 100 !important;
  padding: 10px;
}

.thankyou-container {
  border: 1px solid transparent;
  box-shadow: 0 4px 10px rgba(74, 74, 74, 0.5);
  border-radius: 15px;
  margin: 2rem;
  padding: 1rem;
}

/* ========================= GALLERY ========================= */


.gallery-page {
  width: 100%;
  background: var(--color-fondo);
}

.gallery-hero {
  min-height: 82vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 8rem 12vw;
}

.gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 20, 15, 0.72),
    rgba(30, 20, 15, 0.15)
  );
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.gallery-hero-content h1 {
  color: var(--color-texto-dbg);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
}

.gallery-hero-content p {
  color: rgba(250, 244, 236, 0.9);
  line-height: 1.7;
  max-width: 520px;
}

.gallery-intro {
  padding: 5rem 2rem 3rem;
  text-align: center;
}

.gallery-intro p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--color-texto-sec);
  line-height: 1.8;
}

.gallery-masonry {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 2rem 7rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}

.gallery-item {
  border: none;
  padding: 0;
  background: none;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(58, 42, 32, 0.14);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.item-1 {
  grid-column: span 4;
}

.item-2 {
  grid-column: span 2;
}

.item-3,
.item-4,
.item-5 {
  grid-column: span 2;
}

.item-6 {
  grid-column: span 4;
}

.gallery-cta {
  background: #2d1d15;
  color: var(--color-texto-dbg);
  padding: 6rem 2rem;
  text-align: center;
}

.gallery-cta h2 {
  color: var(--color-texto-dbg);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  max-width: 760px;
  margin: 0 auto 1.5rem;
  line-height: 0.95;
}

/* OVERLAY / FANCYBOX STYLE */
#popupOverlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 9, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

#popupImage {
  max-width: 86vw;
  max-height: 86vh;
  object-fit: contain;
}

.gallery-close,
.gallery-arrow {
  position: absolute;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.gallery-close {
  top: 2rem;
  right: 2rem;
}

.gallery-prev {
  left: 2rem;
}

.gallery-next {
  right: 2rem;
}

/* ========================= GALLERY MOBILE FIX ========================= */
/* ========================= GALLERY HERO MOBILE SHORT ========================= */

@media (max-width: 768px) {
  .gallery-hero {
    min-height: unset !important;
    height: 520px !important;
    margin: 1rem !important;
    padding: 2rem !important;
    align-items: flex-end;
    background-size: cover;
    background-position: center center;
  }

  .gallery-hero-content h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem) !important;
    line-height: 0.9;
  }

  .gallery-hero-content p {
    font-size: 0.95rem !important;
    line-height: 1.45;
  }

  .gallery-hero-content .mybtn {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }
}


/* ========================= CALCULATOR HERO ========================= */

#calculator {
  max-width: 1700px;
  justify-items: center;
  align-items: start;
  margin-top: 10rem;
  margin-bottom: 10rem;
  padding-bottom: 8rem;
}

#previewImage .title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1;
}

.calculator-kicker {
  font-family: var(--body_font);
  font-size: clamp(0.8rem, 1vw, 1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 244, 236, 0.85);
}

#previewImage {
  display: flex;
  min-width: 100%;
  min-height: 40vh;
  align-items: center;
  justify-content: center;
  background-image: url('/img/photos/family_kids/10.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  margin: 0 0 2rem;
}

#previewImage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-top-top);
  pointer-events: none;
}

#previewImage .title {
  position: absolute;
  z-index: 2;
}

@media (max-width: 768px) {
  #calculator {
    margin-top: 6rem;
    margin-bottom: 4rem;
  }
}

/* ========================= CALCULATOR CARDS ========================= */
/* ========================= CALCULATOR PAGE ========================= */

#calculator {
  max-width: 1200px;
  margin-top: 8rem;
  margin-bottom: 8rem;
}

#card_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: start;
  margin-top: 4rem;
}

.package-card {
  position: relative;
  background: rgba(250, 244, 236, 0.86);
  border: 1px solid rgba(58, 42, 32, 0.16);
  padding: 2rem;
  min-height: 520px;
  box-shadow: 0 18px 40px rgba(58, 42, 32, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card.active {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(58, 42, 32, 0.18);
}

.package-special {
  background: #2f1f18;
  color: var(--color-texto-dbg);
}

.package-special h2,
.package-special h3,
.package-special p,
.package-special li {
  color: var(--color-texto-dbg);
}

.package-badge {
  position: absolute;
  top: -0.8rem;
  left: 2rem;
  background: var(--color-gold-a);
  color: #2f1f18;
  padding: 0.25rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.package-card h2 {
  font-family: var(--title_font);
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.5rem;
}

.package-blurb {
  font-style: italic;
  color: var(--color-texto-sec);
  margin-bottom: 1.5rem;
}

.package-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.package-includes {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.package-includes li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.package-includes i {
  color: var(--color-gold-a);
  margin-right: 0.4rem;
}

.customize-label {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--color-gold-a);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.package-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;

  border: 1px solid rgba(58, 42, 32, 0.12);
  padding: 0.8rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.package-option-row input {
  width: auto;
  margin: 0 0.5rem 0 0;
  accent-color: var(--color-gold-a);
}

.package-total {
  margin-top: 1.5rem;
  font-size: 1.3rem;
}
.selectPackageBtn {
  display: none;
}

.package-card.active .selectPackageBtn {
  display: block;
}

.selectPackageBtn {
  width: 100%;
  margin-top: 2rem;
  border: none;
  border-radius: 30px;
  background: #2f1f18;
  color: var(--color-texto-dbg);
  padding: 0.8rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.package-special .selectPackageBtn {
  background: var(--color-gold-a);
  color: var();
}

/* ========================= CONTACT INLINE FIX ========================= */

.contact-section {
  max-width: 980px;
  margin: 6rem auto 0;
  padding: 4rem 1.5rem 6rem;
}

.contact-heading {
  margin-bottom: 3rem;
}

.contact-heading h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  max-width: 850px;
}

.contact-heading p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-top: 1rem;
  color: var(--color-texto-sec);
}

.contact-form {
  max-width: 850px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form .input-box {
  margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
  font-size: 1.1rem;
  padding: 1rem 0.5rem;
  margin-bottom: 0;
}

.contact-form textarea {
  min-height: 180px;
}

.contact-form label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-heading h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }
}
/* ========================= FIX TEXT COLOR DARK CARD ========================= */

.package-special {
  color: #f5efe6; /* color crema elegante */
}

.package-special h2,
.package-special h3,
.package-special p,
.package-special li,
.package-special span,
.package-special strong {
  color: #f5efe6 !important;
}

/* precios de extras */
.package-special .package-option-row strong {
  color: #e6d3b3 !important;
}

/* texto gris secundario */
.package-special .package-blurb {
  color: #d6c5aa !important;
}

/* labels tipo CUSTOMIZE */
.package-special .customize-label {
  color: #c8a97e !important;
  
}

/* TOTAL */
.package-special .package-total {
  color: #ffffff !important;
}

.contact-section {
  width: min(100%, 980px);
  margin: 6rem auto 0;
  padding: 4rem 1.5rem 6rem;
}

.contact-heading,
.contact-form {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.contact-heading {
  max-width: 900px;
  margin-bottom: 3rem;
}

.contact-form {
  max-width: 900px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(58, 42, 32, 0.18);
  padding: 1rem;
}

.contact-form textarea::placeholder {
  color: rgba(58, 42, 32, 0.45);
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========================= MOBILE FIXES ========================= */

@media (max-width: 768px) {
  /* GALLERY HERO */
  .gallery-hero {
    min-height: 78vh;
    padding: 4rem 1.5rem;
    margin: 0.8rem;
    background-position: center center;
  }

  .gallery-hero-content {
    max-width: 100%;
  }

  .gallery-hero-content h1 {
    font-size: clamp(3rem, 15vw, 5rem);
    line-height: 0.9;
  }

  .gallery-hero-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  

  /* PACKAGE CARDS */
  #card_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: visible;
  }

  #card_container .package-card {
    width: min(100%, 360px);
    max-width: 360px;
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .package-card h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .package-card h3 {
    font-size: 2.8rem;
  }

  .package-includes li {
    font-size: 1rem;
    line-height: 1.5;
  }

  .package-special {
    margin-top: 1rem;
  }

  .package-badge {
    left: 1.5rem;
    top: -1rem;
  }

  /* FIND US */
  #findus,
  .findus-section {
    overflow: hidden;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .findus-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .findus-brand h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }
}

/* ========================= MOBILE MENU LINK COLOR FIX ========================= */

#navbarMenu .lnkMenu,
#navbarMenu .lnkMenu:link,
#navbarMenu .lnkMenu:visited,
#navbarMenu .lnkMenu:hover,
#navbarMenu .lnkMenu:active,
#navbarMenu .lnkMenu:focus {
  color: var(--color-texto-dbg) !important;
}

#navbarMenu .lnkMenu * {
  color: var(--color-texto-dbg) !important;
}


