@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  /*--primary-color: #0077b6;*/
  --primary-color: #532616;
  --accent-color: #00b4d8;
  --bg-light: #f1f5f9;
  --text-dark: #1e293b;
  --card-bg: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --coral: #Ff7f50;
  --perla: #EAE0C8;
  --cafe-obscuro-sidebar: #532616;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  /*background: var(--bg-light);*/
  background: var(--coral);
  color: var(--text-dark);
  line-height: 1.6;
}

/*body {
  margin: 0;
  padding: 0;
  background-image: url('assets/fondo\ abstracto\ de\ t.png'); 
  background-size: cover;         
  background-position: center;    
  background-repeat: no-repeat;   
  background-attachment: fixed;   
}*/

header {
  background: url('assets/camisapolosinmangas.png') center/cover no-repeat;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 20px 20px;
  box-shadow: var(--shadow);
  position: relative;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0); /* oscurece la imagen para mejor contraste */
  z-index: 0;
}

header h1,
header .slogan,
header .cta-button {
  position: relative;
  z-index: 1;
}

header img{
 /*width: 400px;
  height: 400px;*/
  margin-bottom: 0px;
}

.slogan {
  font-size: 1.3em;
  font-weight: 500;
  font-style: var(--card-bg);
  color: gold;
}

.cta-button {
  margin-top: 25px;
  padding: 14px 28px;
  /*background: white;*/
  background: var(--perla);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: var(--coral);
}

.btn-primary {
  margin-top: 25px;
  padding: 14px 28px;
  background: #031a35;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-primary {
  background: var(--bg-light);
}

section {
  padding: 20px 20px;
  max-width: 1200px;
  margin: auto;
}
h1{
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 20px;
  color: white;
}

h2 {
  text-align: center;
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--coral);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 148px;
  height: 148px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.1em;
  font-weight: 500;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.kpi-card {
  background: var(--perla);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.kpi-card:hover {
  transform: translateY(-5px);
}

.kpi-card img {
  width: 200px;
  height: 148px;
  margin-bottom: 15px;
}


.metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.metric {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  width: 200px;
}

.metric h3 {
  font-size: 2.5em;
  margin: 0;
  color: var(--accent-color);
}

.case {
  background: var(--card-bg);
  padding: 25px;
  margin-bottom: 30px;
  border-left: 6px solid var(--primary-color);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.example-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.example-gallery img {
  width: 280px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.example-gallery img:hover {
  transform: scale(1.05);
}
/* desde aqui */
.example-gallery2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.item2 {
  width: 280px;
  text-align: center;
}

.item2 img.zoomable {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.item2 img.zoomable:hover {
  transform: scale(1.05);
}

figcaption {
  margin-top: 10px;
}

figcaption h3 {
  font-size: 18px;
  margin: 5px 0;
}

figcaption p {
  font-size: 14px;
  color: #555;
}

.mini-icon2 {
  width: 240px;
  height: 90px;
  margin-top: 8px;
}
/* hasta aqui */
footer {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 30px;
  font-size: 0.9em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
}

.contact-form button {
  padding: 12px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: var(--accent-color);
}

#testimonials {
  margin-top: 60px;
}

.testimonial {
  background: var(--perla);
  padding: 25px;
  margin-bottom: 20px;
  border-left: 6px solid var(--primary-color);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial h4 {
  text-align: right;
  font-weight: 500;
  color: var(--primary-color);
}

footer {
  background: url('assets/camisapolosinmangas.png') center/cover no-repeat;
  background-attachment: fixed;
  background-color: #0a1f44;
  color: #ffffff;
  padding: 40px 20px;
  font-size: 0.95em;
  border-top: 1px solid #1e3a8a;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-branding p {
  margin: 0;
  font-weight: 500;
  color: #cbd5e1;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #93c5fd;
}

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.footer-social a:hover {
  color: #93c5fd;
}

.footer-social img {
  width: 20px;
  height: 20px;
}

.btn-back {
  display: inline-block;
  margin-top: 10px;
  background-color: #e2e8f0;
  color: #1e3a8a;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-back:hover {
  background-color: #cbd5e1;
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 20px;
}



.card {
  background-color: var(--perla);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 148px;
  height: 148px;
  margin-bottom: 12px;
}

.card h4 {
  font-size: 1.2em;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.95em;
  color: #475569;
}

.card-solution {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.card-solution:hover {
  transform: translateY(-5px);
}

.card-solution img {
  width: auto;
  height: auto;
  margin-bottom: 12px;
}

.card-solution h4 {
  font-size: 1.2em;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.card-solution p {
  font-size: 0.95em;
  color: #475569;
}

.example-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.example-cards .card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.example-cards .card:hover {
  transform: translateY(-5px);
}

.example-cards .card img {
  width: 200px;
  height: 200px;
  margin-bottom: 12px;
}

.example-cards .card h4 {
  font-size: 1.2em;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.example-cards .card p {
  font-size: 0.95em;
  color: #475569;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
