/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #a89171;
  --color-secondary: #2c2c2c;
  --color-light: #f5f3f0;
  --color-cream: #ede8e0;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-gray-light: #f8f8f8;
  --color-bone: #f7f5f0;
  --font-primary: "Cormorant Garamond", serif;
  --font-secondary: "Montserrat", sans-serif;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--color-secondary);
  background-color: var(--color-white);
  font-weight: 300;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
}

.container-fluid {
  width: 100%;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: var(--color-secondary);
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(168, 145, 113, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(44, 44, 44, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-text {
  padding: 0;
  background-color: transparent;
  color: var(--color-primary);
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  border-bottom: 1px solid var(--color-primary);
}

.btn-text:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.section-line {
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--color-secondary);
  opacity: 0.8;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  z-index: 1001;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-list a {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-secondary);
}

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

.nav-cta {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

/* Hero Section - Completely New Design */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f3f0 0%, #ede8e0 100%);
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  z-index: 2;
  animation: fadeInLeft 1.2s ease-out;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 30px;
  line-height: 1.1;
  color: var(--color-secondary);
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  font-family: var(--font-secondary);
  font-weight: 300;
  color: var(--color-secondary);
  line-height: 1.6;
  opacity: 0.8;
}

.hero .btn-primary {
  padding: 20px 45px;
  font-size: 1rem;
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(168, 145, 113, 0.3);
}

.hero .btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(168, 145, 113, 0.4);
}

.hero-image-section {
  position: relative;
  height: 80vh;
  min-height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  animation: fadeInRight 1.2s ease-out;
}

.hero-image-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(168, 145, 113, 0.1) 0%, transparent 50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-image-section:hover::before {
  opacity: 1;
}

.hero-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-section:hover img {
  transform: scale(1.05);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-secondary);
  z-index: 3;
  cursor: pointer;
  opacity: 0.7;
}

.mouse {
  width: 28px;
  height: 45px;
  border: 2px solid var(--color-secondary);
  border-radius: 15px;
  position: relative;
  margin-bottom: 12px;
}

.wheel {
  width: 3px;
  height: 8px;
  background-color: var(--color-secondary);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%,
  20% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.arrow span {
  display: block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--color-secondary);
  border-right: 2px solid var(--color-secondary);
  transform: rotate(45deg);
  animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrow {
  0%,
  20% {
    opacity: 0;
    transform: rotate(45deg) translate(-3px, -3px);
  }
  50% {
    opacity: 1;
  }
  80%,
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(3px, 3px);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* About Section */
.about {
  background-color: var(--color-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-lead {
  font-size: 1.5rem;
  font-family: var(--font-primary);
  margin-bottom: 30px;
  line-height: 1.4;
}

.about-image {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.focus-areas {
  margin-top: 40px;
  padding: 30px;
  background-color: var(--color-light);
  border-radius: 15px;
}

.focus-areas h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.focus-areas ul {
  list-style: none;
}

.focus-areas li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
}

.focus-areas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

/* Vision Section */
.vision {
  background-color: var(--color-light);
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vision-image {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.vision-lead {
  font-size: 1.5rem;
  font-family: var(--font-primary);
  margin-bottom: 30px;
  line-height: 1.4;
}

.vision-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.vision-point h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.vision-point p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Projects Section */
.projects {
  background-color: var(--color-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 40px;
}

.project-card {
  background-color: var(--color-white);
  overflow: hidden;
  transition: var(--transition);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
  height: 400px;
  overflow: hidden;
}

.project-image a {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.project-image a:hover {
  transform: scale(1.02);
}

.project-content {
  padding: 30px;
}

.project-logo {
  margin-bottom: 20px;
}

.project-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.project-logo p {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 0;
}

.project-description {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Experience Section */
.experience {
  background-color: var(--color-light);
}

.experience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.experience-image {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.experience-subtitle {
  font-size: 2rem;
  margin-bottom: 20px;
}

.experience-lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.experience-points {
  margin-bottom: 40px;
}

.experience-point {
  margin-bottom: 25px;
}

.experience-point h4 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.experience-point p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--color-white);
  padding: 120px 0;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Estilos especÃ­ficos para tu iframe de testimonial.to */
#testimonialto-carousel-satori2-tag-all-light {
  width: 100%;
  min-height: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Responsive para testimonios */
@media (max-width: 768px) {
  .testimonials {
    padding: 80px 0;
  }

  #testimonialto-carousel-satori2-tag-all-light {
    min-height: 300px;
  }
}

@media (max-width: 576px) {
  .testimonials {
    padding: 60px 0;
  }

  #testimonialto-carousel-satori2-tag-all-light {
    min-height: 250px;
  }
}

/* Gallery Section */
.gallery {
  padding: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  height: 400px;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

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

/* Contact Section */
.contact {
  background-color: var(--color-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.contact-item p {
  font-size: 1rem;
  margin-bottom: 0;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form-container {
  background-color: var(--color-light);
  padding: 40px;
  border-radius: 15px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  background-color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: var(--transition);
  border-radius: 8px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Brands Section - Ajustado para 3 elementos */
.brands-section {
  background-color: #f7f5f0;
  color: var(--color-secondary);
  padding: 80px 0;
}

.brands-section .section-title {
  color: var(--color-secondary);
}

.brands-section .section-line {
  background-color: var(--color-primary);
}

.brands-section .brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  align-items: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.brands-section .brand-item {
  background-color: rgba(44, 44, 44, 0.03);
  border-radius: 15px;
  padding: 25px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.brands-section .brand-item:hover {
  transform: translateY(-10px);
  background-color: rgba(44, 44, 44, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.brands-section .brand-logo {
  max-width: 90%;
  max-height: 80px;
  transition: transform 0.3s ease;
}

.brands-section .brand-item:hover .brand-logo {
  transform: scale(1.05);
}

.brands-section .brand-text-logo {
  text-align: center;
}

.brands-section .brand-text-logo h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
}

.brands-section .brand-text-logo p {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin: 0;
}

.brand-link {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

.brand-link:hover {
  color: var(--color-secondary);
}

/* Footer - Color Hueso */
.footer {
  background-color: #f7f5f0;
  color: var(--color-secondary);
  padding: 80px 0 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(44, 44, 44, 0.1);
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
}

.footer-logo-img {
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--color-secondary);
  font-size: 0.9rem;
}

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

.footer-copyright {
  text-align: center;
  padding-top: 30px;
  font-size: 0.8rem;
  color: rgba(44, 44, 44, 0.6);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .vision-points {
    grid-template-columns: 1fr;
  }

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

  /* Brands responsive para 1200px */
  .brands-section .brands-grid {
    gap: 35px;
    max-width: 800px;
  }

  .brands-section .brand-item {
    padding: 20px 12px;
    min-height: 150px;
  }

  .brands-section .brand-logo {
    max-height: 75px;
  }

  .brands-section .brand-text-logo h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 120px 5% 60px;
  }

  .hero-image-section {
    height: 60vh;
    min-height: 400px;
    order: -1;
    width: 100%;
  }

  .hero-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-content,
  .vision-content,
  .experience-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image,
  .vision-image,
  .experience-image {
    height: 400px;
    order: -1;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  /* Brands responsive para 992px */
  .brands-section .brands-grid {
    gap: 30px;
    max-width: 700px;
  }

  .brands-section .brand-item {
    padding: 18px 10px;
    min-height: 140px;
  }

  .brands-section .brand-logo {
    max-height: 70px;
  }

  .brands-section .brand-text-logo h3 {
    font-size: 1.2rem;
  }

  .brands-section .brand-text-logo p {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }

  .hero-container {
    min-height: 100vh;
    padding: 100px 5% 40px;
  }

  .hero-image-section {
    height: 50vh;
    min-height: 300px;
    order: -1;
    width: 100%;
  }

  section {
    padding: 60px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-white);
    padding: 100px 40px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  /* Brands responsive para 768px - mantiene 3 columnas */
  .brands-section .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 600px;
  }

  .brands-section .brand-item {
    padding: 20px 15px;
    min-height: 140px;
  }

  .brands-section .brand-logo {
    max-height: 65px;
  }

  .brands-section .brand-text-logo h3 {
    font-size: 1.1rem;
  }

  .brands-section .brand-text-logo p {
    font-size: 0.65rem;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  /* Brands responsive para mÃ³viles pequeÃ±os - 1 columna */
  .brands-section .brands-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 300px;
  }

  .brands-section .brand-item {
    padding: 30px;
    min-height: 180px;
  }

  .brands-section .brand-logo {
    max-height: 100px;
  }

  .brands-section .brand-text-logo h3 {
    font-size: 1.8rem;
  }

  .brands-section .brand-text-logo p {
    font-size: 0.9rem;
  }
}

/* Animation classes for JavaScript */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.no-scroll {
  overflow: hidden;
}
.satori-image-logo {
  max-width: 200px;
  height: auto;
  object-fit: contain;
}
.project-logo-img {
  max-width: 200px;
}

.logo-subtitle {
  font-size: 0.85rem;
  text-align: center;
  color: var(--color-primary);
  font-style: italic;
  font-family: var(--font-secondary);
  opacity: 0.8;
}


/* =============================== */
/* 🔥 Fix Hero Responsive en móvil */
/* =============================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    order: 2;
  }

  .hero-image-section {
    order: 1;
    height: 300px;
    min-height: auto;
    border-radius: 15px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}
