body {
	container: body / inline-size;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	letter-spacing: 0px;
	background-color: #fff;
	overflow: auto;
}

.text {
}

.app-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-logo {
	width: 213px;
    height: 48px;
	background: url(../img/logo.png) center no-repeat;
}

.header-logo span {
	display: none;
}

.header-nav .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.nav-link {
    display: inline-block;
    color: #64748B;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
	padding: 0px 18px;
}

.nav-link:hover,
.nav-link.active {
    color: #1E3A8A;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #1E3A8A;
    border-radius: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
}

.social-icons img {
    width: 18px;
    height: 18px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.social-icons a:hover img {
    filter: grayscale(0%);
}

.btn-demo {
    background: #dc2626;
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    border: none;
    border-radius: 32px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
    }
    .header-nav .nav-list {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .app-header {
        padding: 16px;
    }
    /* .header-container {
        flex-direction: column;
        align-items: center;
    } */
    .header-nav .nav-list {
        order: 3;
        gap: 16px;
        font-size: 14px;
    }
    .header-right {
        order: 2;
    }
}

.app {
	margin-top: -86px;
	display: flex;
	flex-direction: column;
	padding-top: 80px;
}

.app-contact-page {
	display: flex;
	flex-direction: column;
	gap: 64px;
	background: linear-gradient(180deg, #f0f4f8 0%, #fff 100%) top left / auto auto no-repeat;
}

.app-container1 {
	display: flex;
	flex-direction: column;
	gap: 23px;
	text-align: center;
	background: url(../assets/app-container.png) center / cover no-repeat, linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%) top left / auto auto no-repeat;
	padding: 81px 24px 80px 24px;
}

.app-title {
	color: #fff;
	--min-font-size: 27; --max-font-size: 48; font-size: var(--interpolate);
	font-family: 'Montserrat';
	font-weight: 600;
	line-height: 1;
}

.app-text {
	margin-left: 1px;
	width: 100%;
	max-width: 760px;
	align-self: center;
	color: rgba(255, 255, 255, 0.9);
	--min-font-size: 16; --max-font-size: 20; font-size: var(--interpolate);
	font-family: 'Lato';
	font-weight: 400;
	line-height: 1.4;
}

.app-container2 {
	container: app-container2 / inline-size;
	margin: 0 95px;
	display: flex;
	flex-direction: column;
	gap: 58px;
	text-align: left;
}

.app-container3 {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.app-container4 {
	container: app-container4 / inline-size;
	margin-top: 24px;
	width: 100%;
	max-width: 384px;
	display: flex;
	flex-direction: column;
	gap: 72px;
	flex-shrink: 0;
	padding: 0 24px;
}



/* container-a */

.container-a {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.container-circle1 {
	flex-shrink: 0;
}

.container-icon1 {
	height: 24px;
}

.container-container1 {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-shrink: 0;
}

.container-text-heading1 {
	color: #1a1a1a;
	font-size: 18px;
	font-family: 'Montserrat';
	font-weight: 500;
	line-height: 1.556;
}

.container-paragraph1 {
	display: flex;
	flex-direction: column;
	color: #64748b;
	font-size: 16px;
	font-family: 'Lato';
	font-weight: 400;
	line-height: 1.5;
}

.container-b {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.container-circle2 {
	flex-shrink: 0;
}

.container-icon2 {
	height: 24px;
}

.container-container2 {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-shrink: 0;
}

.container-text-heading2 {
	color: #1a1a1a;
	font-size: 18px;
	font-family: 'Montserrat';
	font-weight: 500;
	line-height: 1.556;
}

.container-paragraph2 {
	display: flex;
	flex-direction: column;
	color: #64748b;
	font-size: 16px;
	font-family: 'Lato';
	font-weight: 400;
	line-height: 1.5;
}
/* end container-b*/


.container1 .container-container1 {
	width: 229px;
}

.container2 .container-container2 {
	width: 142px;
}

.container3 .container-container2 {
	width: 178px;
}

.container4 .container-container1 {
	width: 246px;
}

.card {
	box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	gap: 49px;
	flex-grow: 1;
	background-color: #fff;
	padding: 31px 20px 32px 32px;
	border-radius: 20.8px;
}

.card-subtitle {
	color: #1a1a1a;
	font-size: 30px;
	font-family: 'Montserrat';
	font-weight: 600;
	line-height: 1.2;
}

.card-contact-page {
	margin-right: 12px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex-grow: 1;
	font-size: 14px;
	font-family: 'Lato';
}



/* container-c */

.container-c {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.container-text2 {
	color: #1a1a1a;
	font-weight: 500;
	line-height: 1;
}

.container-input {
	color: #64748b;
	font-weight: 400;
	line-height: normal;
	padding-top: 10px;
	padding-bottom: 10px;
}
/* end container-c*/


.input-group-container {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.input-group-container-text {
	color: #1a1a1a;
	font-weight: 500;
	line-height: 1;
}

.input-group-container-input {
	height: 150px;
	flex-shrink: 0;
	color: #64748b;
	font-style: normal;
	font-weight: 400;
	line-height: 1.429;
	letter-spacing: 0px;
	text-align: left;
	padding-top: 8px;
	padding-bottom: 122px;
}

.card-btn {
	box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.16);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.556;
	text-align: center;
	background-color: #dc2626;
	padding: 10px 18px;
	border-radius: 32px;
}

.app-card {
	flex-shrink: 0;
	border-radius: 20.8px;
}

.app-footer {
  background-color: #0f172a;
  color: #94a3b8;
  font-family: 'Lato', sans-serif;
  padding: 48px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer-description {
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8;
  max-width: 220px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 0px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: #94a3b8;
  transition: fill 0.3s ease;
}

.social-link:hover .social-icon {
  fill: white;
}

.footer-column h3.footer-heading {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-list,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-list a,
.footer-contact span {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact object {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact span {
  flex: 1;
}

.footer-contact li a {
	display: flex;
	align-items: flex-start;
    gap: 8px;
}

.footer-contact li a:hover span {
	cursor: pointer;
	color: #fff !important;
}
/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding-top: 32px;
  border-top: 1px solid #1e293b;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  margin: 0px auto;
}

.footer-copyright {
  color: #94a3b8;
  margin: 0;
}

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

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #fff;
}

.footer-separator {
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .app-footer {
    padding: 32px 16px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    width: 100%;
  }
}

/* container queries (flex rows) */

@container body (width < 1405px) {
	.header {
		flex-direction: column;
		align-items: center;
		gap: 14px;
	}

	.header>* {
		margin-left: unset !important;
		margin-right: unset !important;
		text-align: center;
	}

	.header>.header-nav {
		width: 100%;
	}
}

@container header (width < 568px) {
	.header-nav {
		flex-direction: column;
		align-items: center;
		gap: 13px;
	}

	.header-nav>* {
		margin-left: unset !important;
		margin-right: unset !important;
		margin-top: unset !important;
		text-align: center;
	}

	.header-nav>.header-text-btn2 {
		width: 100%;
	}
}

@container app-container2 (width < 1215px) {
	.app-container3 {
		/* flex-direction: column; */
		align-items: stretch;
		gap: 100px;
	}
	.app-container3 > * {
		margin-top: unset !important;
	}
	.app-container3 > .app-container4 {
		align-self: center;
	}
}

@container app-container4 (width < 291px) {
	.container-a {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}
	.container-a > .container-circle1 {
		align-self: center;
	}
	.container-a > .container-container1 {
		align-self: center;
	}
}

@container app-container4 (width < 204px) {
	.container-b {
		flex-direction: column;
		align-items: stretch;
		gap: 72px;
	}
	.container-b > .container-circle2 {
		align-self: center;
	}
	.container-b > .container-container2 {
		align-self: center;
	}
}


.map-container {
  margin: 30px 0;
  width: 100%;
}

.map-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.google-map {
  width: 100%;
  height: 521px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* ================================================================
   contacto.css – VERSIÓN FINAL 100% RESPONSIVA + MENÚ FULL-SCREEN
   ================================================================ */

:root {
  --color-primary: #dc2626;
  --color-primary-dark: #b91c1c;
  --color-bg: #f0f4f8;
  --color-text: #1e293b;
  --color-muted: #64748b;
}

/* ======================= RESET & BASE ======================= */
body {
  container: body / inline-size;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  letter-spacing: 0px;
  background-color: #fff;
  margin: 0;
  font-family: 'Lato', sans-serif;
  overflow-x: hidden;
}

/* ======================= HEADER ======================= */
.app-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: padding 0.3s ease;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}

.header-logo {
  width: 213px;
  height: 48px;
  background: url(../img/logo.png) center / contain no-repeat;
  flex-shrink: 0;
}

.header-logo span { display: none; }

.header-nav .nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.nav-link {
  color: #64748b;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 0 18px;
}

.nav-link:hover,
.nav-link.active { color: #1E3A8A; }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #1E3A8A;
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.social-icons { display: flex; gap: 12px; }
.social-icons a:hover img { filter: grayscale(0%); }

.btn-demo {
  background: var(--color-primary);
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
}

.btn-demo:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ======================= HAMBURGUESA + MENÚ FULL-SCREEN ======================= */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #1e293b;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 992px) {
  .hamburger { display: block; }

  .header-container {
    padding: 16px 20px;
  }

  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.35s ease;
    z-index: 1000;
  }

  .header-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    padding: 0;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: 12px 0;
    display: block;
  }

  /* Ocultar logo y botón demo cuando menú abierto */
  body.menu-open .header-logo,
  body.menu-open .header-right { opacity: 0; pointer-events: none; }
}

/* Bloqueo de scroll */
body.menu-open { overflow: hidden; }

/* ======================= HERO ======================= */
.app {
  margin-top: -86px;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

.app-contact-page {
  display: flex;
  flex-direction: column;
  gap: 64px;
  background: linear-gradient(180deg, #f0f4f8 0%, #fff 100%);
}

.app-container1 {
  display: flex;
  flex-direction: column;
  gap: 23px;
  text-align: center;
  background: url(../assets/app-container.png) center/cover no-repeat,
              linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 81px 24px 80px;
  color: white;
}

.app-title {
  --min-font-size: 27; --max-font-size: 48;
  font-size: clamp(27px, 4vw, 48px);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1;
}

.app-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(16px, 3vw, 20px);
  opacity: 0.9;
  line-height: 1.4;
}

/* ======================= CONTENIDO ======================= */
.app-container2 {
  margin: 0 95px;
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.app-container3 {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.app-container4 {
  margin-top: 24px;
  max-width: 384px;
  display: flex;
  flex-direction: column;
  gap: 72px;
  flex-shrink: 0;
  padding: 0 24px;
}

/* Bloques de contacto (visítanos, llámanos…) */
.container-a, .container-b {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.circle-blue {
  width: 48px; height: 48px;
  background: rgba(30,58,138,0.1);
  border-radius: 50%;
  padding: 12px;
  flex-shrink: 0;
}

/* Formulario */
.card {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: white;
  padding: 31px 20px 32px 32px;
  border-radius: 20.8px;
  display: flex;
  flex-direction: column;
  gap: 49px;
  flex-grow: 1;
}

.card-subtitle { font: 600 30px 'Montserrat', sans-serif; }

.card-contact-page { display: flex; flex-direction: column; gap: 24px; }

.container-c { display: flex; flex-direction: column; gap: 8px; }
.container-text2 { font-weight: 500; }

.card-light {
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 18.8px;
  border: 1px solid #e2e8f0;
}

.input-group-container-input { height: 150px; padding: 12px 16px; }

/* Botón */
.card-btn {
  background: var(--color-primary);
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 32px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s;
}

.card-btn:hover { background: var(--color-primary-dark); }
.card-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Mapa */
#map { width: 100%; height: 450px; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

/* ======================= FOOTER ======================= */
.app-footer { background: #0f172a; color: #94a3b8; padding: 48px 32px 32px; margin-top: auto; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; max-width: 1200px; margin: 0 auto; }
.footer-brand img { width: 213px; }

@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { width: 220px; grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .app-footer { padding: 32px 16px; }
}

/* ======================= RESPONSIVE GENERAL ======================= */
@media (max-width: 1200px) {
  .app-container2 { margin: 0 40px; }
}

@media (max-width: 992px) {
  .app-container3 {
    flex-direction: column;
    align-items: stretch;
    gap: 60px;
  }
  .app-container4, .card { max-width: none; width: 100%; }
  .card { padding: 32px 24px; }
  .card-subtitle { text-align: center; }
  .card-btn { width: 100%; }
}

@media (max-width: 768px) {
  .app-header { padding: 16px; }
  .app-container1 { padding: 70px 20px 60px; }
  .app-title { font-size: 2.4rem !important; }
  .app-text { font-size: 1.1rem !important; }
  .app-container2 { margin: 0 20px; }
  #map { height: 380px; }

    .header-container {
        align-items: center;
		  justify-content: space-between;
		  padding: 16px 0px !important;
    }
    .header-right {
	    margin: 0px auto;
	  }
}

@media (max-width: 480px) {
  .app-container1 { padding: 60px 16px 50px; }
  .app-title { font-size: 2rem !important; }
  #map { height: 320px; }
  .card { padding: 24px 16px; }
}

/* ======================= UTILIDADES ======================= */
.hover-bright:hover { filter: brightness(1.2); }