/* RESET BÁSICO */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color:#4a3b2a;
  background:#fffaf5;
  line-height:1.65;
}

/* CONTENEDOR */
.container{
  max-width:1100px;
  margin:auto;
  padding:0 1.4rem;
}

/* =========================
   HEADER
========================= */
.header{
  background:rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
  position:sticky;
  top:0;
  z-index:10;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0.9rem 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* PNG mandarina */
.brand-icon{
  width: 34px;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo{
  font-size:1.35rem;
  font-weight:700;
  color:#c26a24;
  letter-spacing:0.02em;
  line-height: 1.1;
}

.phone{
  text-decoration:none;
  color:#c26a24;
  font-weight:600;
  font-size:1.2rem;
}

/* =========================
   HERO
========================= */
.hero{
  min-height:88vh;
  background:
    linear-gradient(
      rgba(0,0,0,0.25),
      rgba(0,0,0,0.25)
    ),
    url('img/mandarinas1.webp') center 75% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-text{
  max-width:720px;
  padding:0 1rem;
}

.hero-eyebrow{
  display:inline-block;
  font-size:0.85rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  opacity:0.9;
  margin-bottom:1rem;
}

.hero-text h2{
  font-size:3rem;
  font-weight:700;
  line-height:1.25;
  margin-bottom:1.1rem;
}

.hero-description{
  font-size:1.05rem;
  opacity:0.95;
  margin-bottom:1.8rem;
}

/* LISTA CLAVES */
.hero-highlights{
  list-style:none;
  display:flex;
  justify-content:center;
  gap:1.2rem;
  flex-wrap:wrap;
  margin-bottom:2.2rem;
  font-size:0.95rem;
}

.hero-highlights li{
  background:rgba(255,255,255,0.12);
  padding:0.45rem 0.9rem;
  border-radius:999px;
  backdrop-filter: blur(4px);
}

/* BOTÓN */
.btn-primary{
  background:linear-gradient(135deg,#e07a2f,#d86a1f);
  color:white;
  padding:0.75rem 2rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  display:inline-block;
  box-shadow:0 8px 20px rgba(0,0,0,0.25);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,0.3);
}

.hero-highlights{
  list-style:none;
  display:flex;
  justify-content:center;
  gap:1.4rem;
  flex-wrap:wrap;
  margin-bottom:2.2rem;
}

.hero-highlights li{
  font-size:0.95rem;
  letter-spacing:0.02em;
  color:#fff;
  opacity:0.95;
}

.hero-highlights strong{
  font-weight:600;
  position:relative;
  padding-left:0.9rem;
}

.hero-highlights strong::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:8px;
  height:8px;
  background:#f3b27a; /* naranja Sansofí */
  border-radius:50%;
  transform:translateY(-50%);
}

.hero-highlights span{
  font-weight:400;
  opacity:0.8;
}


/* =========================
   GALERÍA
========================= */

.gallery{
  padding: 3.5rem 0;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

/* Header */

.gallery-header{
  margin-bottom: 2rem;
}

.gallery-eyebrow{
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c26a24;
  margin-bottom: 0.4rem;
}

.gallery-header h3{
  margin: 0;
  font-size: 1.8rem;          /* mismo tamaño típico de secciones */
  font-weight: 600;
  color: #c26a24;             /* naranja Sansofí */
  letter-spacing: 0.01em;
}
/* Grid imágenes (IGUAL que antes) */

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

.gallery-grid img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.18);
}


/* =========================
   LA FINCA
========================= */
.finca{
  background:#fffaf5;
  padding:4.5rem 0;
}

.finca-inner{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:3rem;
  align-items:center;
}

.finca-eyebrow{
  display:inline-block;
  font-size:0.75rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#c26a24;
  margin-bottom:0.6rem;
}

.finca-text h3{
  color:#c26a24;
  font-size:2rem;
  margin-bottom:1.4rem;
}

.finca-text p{
  font-size:1rem;
  margin-bottom:1.1rem;
  color:#4a3b2a;
  text-align: justify;
  text-justify: inter-word;
  
}

.finca-signature{
  font-style:italic;
  opacity:0.8;
}

.finca-images{
  display:grid;
  grid-template-columns:1fr;
  gap:1.2rem;
}

.finca-images img{
  width:100%;
  border-radius:18px;
  box-shadow:0 14px 34px rgba(0,0,0,0.15);
}

.finca-image-link{
  display:block;
  border-radius:18px;
  overflow:hidden;
}

.finca-image-link img{
  transition:transform .5s ease;
}

.finca-image-link:hover img{
  transform:scale(1.04);
}

.finca-editorial-link{
  display:inline-block;
  margin-top:0.6rem;
  font-size:0.9rem;
  color:#c26a24;
  text-decoration:none;
  transition:color .25s ease, transform .25s ease;
}

.finca-editorial-link:hover{
  color:#d86a1f;
  transform:translateX(4px);
}



/* =========================
   PROCESO
========================= */
.process{
  background:linear-gradient(to bottom,#fff,#fff1e6);
  padding:4rem 0;
}

.process-eyebrow{
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c26a24;
  margin-bottom: 0.4rem;
  text-align: center;
}

.process h3,
.product h3,
.order h3,
.testimonials{
  text-align:center;
  color:#c26a24;
  font-size:2rem;
  margin-bottom:2.2rem;
}

.steps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.8rem;
}

.step{
  background:white;
  padding:1.8rem 1.4rem;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(0,0,0,0.1);
  text-align:center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.step span{
  display:inline-block;
  background:#e07a2f;
  color:white;
  width:40px;
  height:40px;
  line-height:40px;
  border-radius:50%;
  margin-bottom:0.9rem;
  font-weight:700;
  transition: transform 0.3s ease, background 0.3s ease;
}

.step:hover span{
  transform: scale(1.1);
  background:#d86a1f;
}

/* =========================
   ICONOS PASOS
========================= */

.step-icon{
  width: 82px;
  height: 82px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img{
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.15));
  transition: transform 0.35s ease;
}

.step:hover .step-icon img{
  transform: scale(1.08);
}

/* Ajuste del número */

.step span{
  display:inline-block;
  background:#e07a2f;
  color:white;
  width:34px;
  height:34px;
  line-height:34px;
  border-radius:50%;
  margin-bottom:0.8rem;
  font-weight:700;
  font-size:0.95rem;
}

/* Texto */

.step p{
  font-size:0.95rem;
  line-height:1.5;
  color:#4a3b2a;
}


/* =========================
   EXPERIENCIAS (SENJA)
========================= 

.testimonials{
  background:#fffaf5;   
  padding:4.5rem 0;
}

.testimonials-inner{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}

.testimonials-eyebrow{
  display:block;
  font-size:0.75rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#c26a24;
  margin-bottom:0.6rem;
}

.testimonials h3{
  color:#c26a24;
  font-size:2rem;
  margin-bottom:0.9rem;
}

.testimonials-intro{
  max-width:520px;
  margin:0 auto 2.8rem;
  font-size:0.95rem;
  color:#4a3b2a;
  opacity:0.85;
}

.senja-frame{
  background:#ffffff;
  border-radius:20px;
  padding:0.8rem 1.4rem;
  box-shadow:0 12px 30px rgba(0,0,0,0.10);
}

@media(max-width:480px){
  .senja-frame{
    padding:0.8rem;
  }
}
*/



/*=========================
   TESTIMONIOS (FAMEWALL)
========================= */
.testimonials {
  background: #fffaf5;
  padding: 4rem 0;
  text-align: center;
}

.testimonials-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c26a24;
  margin-bottom: 0.6rem;
}

.testimonials-eyebrow + h3 {
  margin-bottom: 25px;
}

.testimonials-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: #4a3b2a;
  opacity: 0.9;
}

.btn-secondary{
  display:inline-block;
  padding:0.65rem 1.6rem;
  border:2px solid #c26a24;
  color:#c26a24;
  background:transparent;
  text-decoration:none;
  border-radius:999px;
  font-weight:600;
  font-size:0.9rem;
  transition:all .3s ease;
}

.btn-secondary:hover{
  background:linear-gradient(135deg,#e07a2f,#d86a1f);
  color:#ffffff;
  border-color:#d86a1f;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,0.18);
}

.testimonial-card{
  background:#ffffff;
  padding:1.6rem 1.5rem;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(0,0,0,0.08);
  transition:transform .3s ease, box-shadow .3s ease;
}

.testimonial-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(0,0,0,0.14);
}

.testimonial-text{
  font-size:0.95rem;
  color:#4a3b2a;
  margin-bottom:1.2rem;
  font-style:italic;
}

.testimonial-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:0.85rem;
  color:#c26a24;
}

/* --- Añadir debajo de .testimonial-meta --- */

.testimonial-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 15px; 
  align-items: center;
}

/* Forzamos que los botones dentro de acciones no tengan márgenes extraños */
.testimonial-actions button, 
.testimonial-actions .btn-secondary {
  margin: 0 !important;
  cursor: pointer;
  white-space: nowrap;
}

/* Ajuste para que el botón generado por JS se vea igual que el link */
.testimonial-actions button.btn-secondary {
  border: 2px solid #c26a24;
  outline: none;
  font-family: inherit;
}

/* =========================
   FIX TESTIMONIOS GRID
========================= */

.testimonial-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  gap:2rem;
  justify-content:center;
  margin-top:3rem;
}

/* Evita efecto salchicha */
.testimonial-card{
  max-width:340px;
  width:100%;
}

/* =========================
   FIX ALTURA UNIFICADA BOTONES
========================= */

.testimonial-actions{
  margin-top:4rem;
  display:flex;
  justify-content:center;
  gap:1.5rem;
  flex-wrap:wrap;
}

/* Link + Button idénticos */
.testimonial-actions .btn-secondary,
.testimonial-actions button{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:52px;
  padding:0 2.4rem;
  border-radius:999px;

  border:2px solid #c26a24;
  background:transparent;
  color:#c26a24;

  font-family:inherit;
  font-weight:600;
  font-size:0.95rem;
  text-decoration:none;
  cursor:pointer;

  transition:all .3s ease;
  margin:0;
}

/* Hover coherente */
.testimonial-actions .btn-secondary:hover,
.testimonial-actions button:hover{
  background:#c26a24;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(194,106,36,.2);
}



/* =========================
   FORMATOS Y PRECIOS
========================= */

.product{
  padding: 2rem 0 3.5rem;
  text-align: center;
}

.product-eyebrow{
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c26a24;
  margin-bottom: 0.4rem;
  text-align: center;
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin: 2.5rem 0 1.5rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.product-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.product-card:hover{
  transform: translateY(-6px);
}

.product-image{
  width: 100%;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
}

.product-image img{
  width: 100%;
  max-width: 260px;          /* controla protagonismo */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover .product-image img{
  transform: scale(1.05);
  box-shadow: 0 18px 42px rgba(0,0,0,0.2);
}

.product-weight{
  font-size: 2rem;
  font-weight: 700;
  color: #c76a1f;
  margin-bottom: 0.2rem;
}

.product-price{
  font-size: 1.8rem;
  font-weight: 600;
  color: #4a3b2a;
}

.note{
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: rgba(74,59,42,0.75);
}

/* =========================
   FORMULARIO
========================= */
.order{
  background:#fff1e6;
  padding:4.5rem 0;
}

.order-eyebrow{
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c26a24;
  margin-bottom: 0.4rem;
  text-align: center;
}

.order .order-intro{
  text-align: center;
  max-width: 500px;
  margin: 0 auto 0.5rem;
  line-height: 1.6;
}

form{
  max-width:620px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:1.1rem;
}

label{
  font-weight:600;
}

input,select,textarea{
  padding:0.75rem;
  border-radius:10px;
  border:1px solid #ccc;
  font-family:inherit;
}

textarea{
  min-height:120px;
}

.jotform-wrapper{
  width:100%;
  max-width:100%;
}

.jotform-wrapper iframe{
  width:100%;
  min-height:1300px;          /* base de seguridad */
  border:none;
  display:block;
}



/* =========================
   FOOTER
========================= */
.footer{
  background:#c26a24;
  color:white;
  text-align:center;
  padding:1.4rem;
  font-size:0.85rem;
  letter-spacing:0.02em;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 820px){

  /* HERO */
  .hero-text h2{
    font-size:2.4rem;
  }

  .hero-highlights{
    gap:0.6rem;
  }

  /* FINCA */
  .finca-inner{
    grid-template-columns: 1fr !important;
    gap:2rem;
  }

  .finca-text{
    order:1;
  }

  .finca-images{
    order:2;
  }

  .finca-text p{
    text-align:left;
  }

  .finca-images img{
    max-width:100%;
    margin:0 auto;
  }

}

@media (max-width: 820px){

  .finca-text p{
    text-align: justify;
    text-justify: inter-word;

    /* Guionado correcto */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;

    /* Mejora de lectura en móvil */
    word-break: normal;
    overflow-wrap: break-word;
  }

}

@media (max-width: 820px){

  .phone{
    font-size: 0.95rem;
    font-weight: 600;
  }
  .header-inner{
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
  .brand{
    padding-left: 0.2rem;
  }

}

@media (max-width: 420px){
  .phone{
    font-size: 0.85rem;
  }
}

@media (max-width: 900px){
  .product-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 480px){
  .product-grid{
    gap: 1rem;

  }

  .product-image img{
    max-width: 100%;
  }

  .product-weight{
    font-size: 1.6rem;
  }

  .product-price{
    font-size: 1.4rem;
  }
}


@media (max-width: 820px){
  .gallery-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =========================
   FIX CÓMO FUNCIONA RESPONSIVE
========================= */

/* Desktop grande → 4 columnas */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:2rem;
}

/* Tablet → 2 columnas */
@media (max-width: 900px){
  .steps{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móvil → 1 columna */
@media (max-width: 520px){
  .steps{
    grid-template-columns: 1fr;
  }
}
