:root {
  --main-font: 'Montserrat', sans-serif;
  --black: #000;
  --white: #fff;
}

html, body {
  min-height: 100%;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font-family: var(--main-font);
  font-weight: 400;
  font-style: normal;
  color: var(--white);
  background-color: var(--black);
}

*, *:before, *:after {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

footer {
  height: 99px;
  flex-shrink: 0;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.2rem;
}

a {
  font-size: 1.2rem;
  font-weight: 400;
  color: inherit;
  cursor: pointer;
  all: unset;
}

.index-container,
.services-container,
.aboutme-container,
.customers-container,
.contact-container,
.lifestyle-container {
  position: relative;
  width: 100%;
  height: 820px;
}

.navigation-container {
  position: fixed;
  top: 0;
  z-index: 100;
  display: flex;
  width: 100%;
  background-color: var(--white);
  align-self: flex-start;
  justify-content: space-around;
}

.navigation-container a {
  padding: 1rem;
  font-family: var(--main-font);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: clamp(0.2rem, 2.5vw, 0.6rem);
  color: var(--black);
  text-decoration: none;
}

.navigation-container a:hover {
  color: var(--white);
  background-color: var(--black);
}

.index-subtitle {
  width: 100%;
  text-align: center;
}

.index-subtitle h2 {
  color: var(--black);
}

.index-container {
  position: relative;
  display: flex;
  margin-top: 5rem;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  container-name: index-container;
  container-type: inline-size;
}

.index-image {
  display: block;
  width: 100%;
  height: auto;
}

.slogan-content.keyword1 p,
.slogan-content.keyword2 p {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(16px, 2.5vw, 70px);
  letter-spacing: 3rem;
  color: var(--black);
}

.keyword1 {
  position: absolute;
  top: 25%;
  left: 16%;
  z-index: 80;
}

.keyword2 {
  position: absolute;
  top: 55%;
  right: 10%;
  z-index: 80;
}

.h-title,
.h-header,
.h-caption {
  z-index: 90;
  font-family: 'Times New Roman', Times, serif;
  color: var(--black);
}

.header-text {
  position: absolute;
  top: 0;
  display: grid;
  height: 100%;
  grid-template-columns: 1fr;
  grid-template-rows: 7% 83% 10%;
  align-items: start;
  justify-items: center;
}

.h-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.h-header {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  align-self: start;
}

.h-caption {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.h-title h1 {
  margin: 1rem;
  font-size: clamp(1rem, 1.5vw, 2.4rem);
  letter-spacing: 1.5vh;
}

.h-header p {
  font-size: 2vh;
  letter-spacing: 1.5vh;
  align-self: flex-start;
}

.h-caption h2 {
  padding: 1rem 2rem;
  margin-bottom: 4rem;
  border: 2px solid var(--white);
  font-size: 1.5vw;
  letter-spacing: 1.5vh;
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
}

.subtitle {
  display: grid;
  width: 100%;
  height: 12rem;
  padding-top: 1rem;
  place-items: center;
}

.subtitle h2 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5rem;
  color: var(--white);
  text-decoration: none;
}

.subtitle a:visited, 
.subtitle a:hover, 
.subtitle a:link, 
.subtitle a:active {
  text-decoration: none;
}

.services-container {
  display: flex;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

.services-text-container {
  padding: 2rem;
  margin: 3rem;
  text-align: center;
  justify-content: center;
}

.services-text-container p {
  margin: 0 7rem;
  font-family: 'Times New Roman', Times, serif;
  font-size: 2rem;
  line-height: 4rem;
  color: var(--white);
  word-wrap: break-word;
}

.services-wrapper {
  display: flex;
  width: 100%;
  gap: 3rem;
  justify-content: center;
  flex-wrap: nowrap;
}

.services-wrapper:first-of-type {
  padding: 0 2rem;
  gap: 4rem;
  justify-content: space-between;
}

.services-wrapper:last-of-type {
  padding: 0 1rem;
  gap: 2.5rem;
  justify-content: space-evenly;
}

.service-box {
  display: flex;
  width: 314px;
  height: 230px;
  box-sizing: border-box;
  margin: auto auto;
  border: 2px solid  var(--white);
  text-align: center;
  color: var(--white);
  transition: transform 0.3s ease;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.service-box:hover {
  transform: translateY(-10px);
}

.title-service {
  width: 100%;
  box-sizing: border-box;
  padding: 2rem;
  overflow: visible;
  font-weight: 800;
  text-align: center;
}

.icon-service {
  margin: 0.5rem 0;
  text-align: center;
}

.icon-tabler {
  width: 2.5rem;
  height: 2.5rem;
}

.text-service p {
  padding: 2rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 2rem;
  text-align: justify;
}

.aboutme-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

.aboutme-text {
  position: relative;
  z-index: 40;
  width: 612px;
  height: 574px;
}

.aboutme-text-container {
  width: 100%;
  height: auto;
  word-spacing: -0.1em;
}

.aboutme-text-container p {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.7rem;
  line-height: 4rem;
  text-align: justify;
}

.aboutme-text-container h2 {
  margin: 6rem auto;
  font-family: 'Times New Roman', Times, serif;
  font-size: 3rem;
  text-align: center;
}

.aboutme-image {
  position: relative;
  width: 100%;
  max-width: 612px;
  height: auto;
  overflow: hidden;
}

.about-image {
  display: block;
  width: 100%;
  height: auto;
}

.aboutme-phr {
  position: absolute;
  top: 75%;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 2rem;
  font-family: 'Times New Roman', Times, serif;
  text-align: justify;
  word-wrap: break-word;
}

.aboutme-phr p {
  font-size: 1.rem;
  line-height: 2rem;
}

.customers-container {
  display: flex;
  height: 273px;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.image-container {
  position: relative;
  display: flex;
  width: 185px;
  height: auto;
  transition: filter 0.5s ease;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.gallery-image {
  width: 100%;
  cursor: pointer;
  transition: filter 0.5s ease;
  filter: grayscale(100%);
}

.name-text {
  position: absolute;
  /* bottom: 4rem; */ 
  bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  transition: opacity 1.0s ease-in-out;
}

.image-container:hover .gallery-image {
  filter: grayscale(0%);
}

.image-container:hover .name-text {
  opacity: 1;
}

.contact-container {
  display: grid;
  padding: 2rem;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  grid-template-areas: 
        "img form"
        "img policies"
        "img title"
        "img links"
        "img data";
  align-items: start;
}

.img-contact {
  display: flex;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  grid-area: img;
  object-fit: contain;
}

.form-contact {
  display: flex;
  grid-area: form;
  justify-content: center;
}

.form-contact form {
  width: 592px;
  max-width: 100%;
}

form {
  display: flex;
  flex-direction: column;
  justify-self: start;
  /*margin: 0 auto;*/
  text-align: left;
  color: #ffffff;
  flex-direction: column;
  margin: 0;
}

input {
  padding: 1rem;
  margin: 1rem 0;
  margin-bottom: 3rem;
  border: 0.1rem solid #ffffff;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #000000;
}

textarea {
  width: 100%;
  height: 5rem;
  padding: 1rem;
  margin: 1rem 0;
  margin-bottom: 3rem;
  overflow-y: auto;
  border: 0.1rem solid #ffffff;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #000000;
  resize: none;
}

button {
  padding: 1rem;
  border: 0.1rem solid;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #000000;
  cursor: pointer;
}

button:hover {
  color: #000000;
  background-color: gold;
}

input,
textarea {
  padding: 1rem;
  margin: 1rem 0;
  margin-bottom: 3rem;
  border: 0.1rem solid #ffffff;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #000000;
}

label {
  font-size: 1.5rem;
  font-weight: 400;
}

form {
  display: flex;
  flex-direction: column;
  justify-self: start;
  margin: 0;
  text-align: left;
  color: #ffffff;
 
}

textarea {
  width: 100%;
  height: 5rem;
  overflow-y: auto;
  resize: none;
}

button {
  padding: 1rem;
  border: 0.1rem solid;
  font-size: 1.5rem;
  color: #ffffff;
  background-color: #000000;
  cursor: pointer;
}

button:hover {
  background-color: gold;
}
.accept-policies
.social-network-title,
.social-network-link,
.social-data {
  width: 100%;
  max-width: 592px;
  margin-right: auto;
  margin-left: auto;
}
/* ====================== */
/* .accept-policies {
  grid-area: policies;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0 0 0;
  font-size: 1.3rem;
  color: var(--white);
  text-align: left;
}

.accept-policies a {
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.accept-policies a:hover {
 color: gold;
} */
.accept-policies {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 1.4rem;
  color: white;
  margin-top: 1.4rem;
  text-align: left;
}

.accept-policies a {
  color: white;
  text-decoration: none;
}

.accept-policies a:hover {
  text-decoration: none;
  cursor: pointer;
  color: gold;
}


.accept-policies label {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
}

.privacy-text {
  font-size: 1.4rem;
  color: white;
}

.accept-policies input[type="checkbox"] {
  accent-color: gold;
  position: relative;
  top: 1px; /* Ajusta 1-2px si sigue desalineado */
}



/*.social-network-title {
  grid-area: title;
  justify-self: start;
  margin-left: 16.3rem;
  max-width: 592px;
  text-align: left;
}*/
.social-network-title {
  grid-area: title;
  justify-self: start;
  max-width: 592px;
  width: 100%;
  text-align: left;
  margin-left: 0;
}

.social-network-title h3 {
  font-size: 1.5rem;
}

.social-network-link {
  display: flex;
  gap: 1rem;
  grid-area: links;
  justify-content: space-between;
  flex-wrap: wrap;
}

.social-network-icon {
  display: flex;
  width: 48px;
  height: 48px;
  padding: 1rem;
  border: 0.1rem solid var(--white);
  align-items: center;
}

.social-network-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: var(--white);
  cursor: pointer;
}

.social-network-icon:hover {
  transform: translateY(-10px);
}

.social-data {
  grid-area: data;
}

.contact-container img,
.contact-container picture {
  max-width: 100%;
  height: auto;
}

.lifestyle-container {
  height: 660px;
  box-sizing: border-box;
  overflow: hidden;
}

.text-container h3 {
  font-family: 'Times New Roman', Times, serif;
  font-size: 2rem;
  line-height: 4.5rem;
  text-align: center;
}

.services-row {
  display: flex;
  margin: 8rem 0;
  flex-direction: row;
  justify-content: space-around;
}

.service-box-ls {
  display: flex;
  width: 100%;
  max-width: 865px;
  border: solid 2px;
  flex-direction: column;
  align-items: center;
}

.service-title {
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.image-service-ls {
  display: flex;
  background-color: var(--white);
  justify-content: center;
}

.text-service-ls {
  padding: 2rem;
  font-weight: 400;
  line-height: 2.5rem;
  text-align: center;
}

.text-service-ls p {
  font-size: 1.1rem;
}

.slideshow-container {
  position: relative;
  width: 741px;
  height: auto;
  overflow: hidden;
}

.slide-gallery {
  display: none;
  width: 100%;
}

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

.prev, .next {
  position: absolute;
  top: 50%;
  padding: 10px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background 0.3s;
  transform: translateY(-50%);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.fade {
  animation: fadeEffect 4s;
}

@keyframes fadeEffect {
  from { opacity: 0.4;
}

to {
  opacity: 1;
}

}
.image-service-ls {
  width: 741px;
  height: 325px;
}

.call-to-action {
  padding: 2rem;
  margin-top: auto;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.call-to-action a:visited {
  color: #fff;
}

.call-to-action a:active {
  color: gold;
}

.call-to-action a:hover {
  font-weight: 700;
  color: gold;
  cursor: pointer;
}

.footer-container {
  padding: 2rem 1rem;
  font-family: var(--main-font);
  color: var(--white);
}

.footer-container .legal-text {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-container .legal-item {
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-container .legal-item a {
  font-family: inherit;
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
}

.legal-item a:hover {
  color: gold;
}

.footer-container .rights-reserved {
  width: 100%;
  margin: 1.5rem;
  font-size: 1.2rem;
  text-align: center;
}

























/* =================================== */
.confirmation-section {
  display: flex;
  min-height: 70vh;
  padding: 4rem 0;
  align-items: center;
}

.confirmation-container {
  /*max-width: 600px;*/
  max-width: 700px;
  height: 820px;
  padding: 2rem;
  margin: 0 auto;
  text-align: center;
}

.confirmation-icon {
  margin-bottom: 2rem;
}

.confirmation-icon svg {
  width: 100px;
  height: 100px;
}


.confirmation-message h1 {
  margin-bottom: 1rem;
  font-family: var(--main-font);
  font-size: 2.5rem;
  color: var(--color-primary);
}

.confirmation-message p {
  margin-bottom: 2rem;
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  
}

.btn {
  padding: 0.8rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  
}

.btn {
  font-family: var(--main-font);
  font-size: 1.4rem;
  color: var(--white);
}

.btn.secondary {
  font-family: var(--main-font);
  font-size: 1.4rem;
  color: var(--color-primary);
  background: transparent;
}

.btn:hover {
  opacity: 0.9;
  color: gold;
}

/* Versión de error */
.confirmation-icon.error svg {
  stroke: #ff4444;
}

.error-message h1 {
  color: #ff4444;
}

/* Mensajes de feedback */
.form-feedback {
  margin: 1rem 0;
}

.success-message {
  padding: 1rem;
  border: 1px solid #4BB543;
  border-radius: 4px;
  color: #4BB543;
  background: #e6ffe6;
}

.error-message {
  padding: 1rem;
  border: 1px solid #ff4444;
  border-radius: 4px;
  color: #ff4444;
  background: #ffe6e6;
}









