* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}
:root {
  --topbar-height: 32px;
  --header-height: 70px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f7f9fc;

}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-lifemedic .container {
  max-width: 90%;
}

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  background: #0c1b2a;
  transition: transform 0.3s ease;
  height: 32px; 
}

.topbar.hidden {
  transform: translateY(-100%);
}

.topbar .wrap {
  margin-top: 0; 
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.topbar a {
  color: #d5d5d5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.topbar span{
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
}
.topbar a:hover {
  color: #e11d2e;
}
.topbar .emoji {
  width: 12px;
  height: 12px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pill-mini {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar.hidden {
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}

.header { 
  position: fixed; 
  top: var(--topbar-height, 32px);
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgb(255, 255, 255); 
  backdrop-filter: blur(5px); 
  -webkit-backdrop-filter: blur(5px); 
  transition: top 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled { 
  top: 0;
  background: rgba(255, 255, 255, 0.681); 
  box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 250px;
}

.brand-logo img {
  height: 30px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  color: #3b3b3b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1.5px;
  background: #8f8f8f84;
  transition: width 0.3s ease;
}

.menu a:hover::after{
  width: 100%;
}

.menu a:hover {
  color: #6EC1E4;
}

.menu .cta {
  background: #e11d2e;
  color: #ffffff !important;
  padding: 10px 10px; 
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: 
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.menu .cta::after {
  display: none;
}

.menu .cta:hover {
  color: #ffffff !important;
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,.12);
  background: #e11d2e;
}

.menu .cta:hover {
  background: #b91523;
}

.hamb {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
.about-lifemedic {
  padding: 80px 0;
  background: #f7f9fc;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.contact-section {
  margin-top: 20px;
    padding: 0;
    background: #f7f9fc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  max-width: 1300px;
  margin: 30px auto;
  padding: 0 20px;
}

.contact-info {
    padding: 50px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(10, 23, 35, 0.1);
}

.contact-title {
    font-size: 32px;
    color: #0c1b2a;
    margin-bottom: 15px;
}

.contact-title span { 
  color: #389de6; 
}

.method-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.method-item img { 
  width: 28px; height: 28px; 
}

.method-item span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #888;
  font-weight: 700;
}

.method-item p {
    font-weight: 600;
    color: #0c1b2a;
}

.contact-section {
    padding: 80px 0;
    background: #f0f4f8; 
}

.contact-info, .contact-form-container {
    padding: 50px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e8ed;
}

.contact-title {
    font-size: 32px;
    color: #0c1b2a;
    margin-bottom: 20px;
}
.contact-title span { color: #389de6; }

.icon-circle {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #edf2f7;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2px;
}

.method-item span {
    font-size: 11px;
    text-transform: uppercase;
    color: #718096;
    letter-spacing: 1px;
    font-weight: 700;
}

.method-item p {
    font-size: 16px;
    color: #2d3748;
    font-weight: 600;
}

.contact-section {
    padding: 0 0;
    background: #f4f7fa; 
    font-family: "Segoe UI", system-ui, sans-serif;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
    align-items: start;
}

.card-interactive, .card-clean, .contact-form-container {
    position: relative;
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}

.card-interactive:hover, .contact-form-container:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(56, 157, 230, 0.15);
    border-color: #389de6;
}

.contact-video-box {
  margin-top: 0px;
    padding: 0 !important;
    min-height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f7fa;;
    flex-direction: column;
}
.contact-video-box p{
  margin-top: 50px;
  max-width: 500px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

.video-social {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
}

.redes_social {
  display: flex;
  gap: 15px;
}

.redes_social img {
  width: 35px;
  transition: transform 0.3s ease;
}

.redes_social img:hover {
  transform: translateY(-3px);
}

.contact-info.card-interactive {
    grid-column: 1 / -1; 
    margin-top: 20px;
}

.contact-methods {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 2px;
}

.icon-circle {
    width: 55px;
    height: 55px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1efff;
}

.pulse-blue {
    animation: pulse-blue-anim 2s infinite;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-brands {
  overflow: hidden;
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.contact-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.brands-carousel {
  max-width: 1270px;
  margin: 30px auto;
  background: linear-gradient(90deg, #dfe6ff, #ffdede);
  padding: 40px 0;
  overflow: hidden;
  border-radius: 50px;
}

.carousel-inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 24px;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: scrollBrands 45s linear infinite;
}

.carousel-track img {
  height: 64px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-track img:hover {
  transform: scale(1.08);
  opacity: 1;
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse-blue-anim {
    0% { box-shadow: 0 0 0 0px rgba(56, 157, 230, 0.2); }
    100% { box-shadow: 0 0 0 15px rgba(56, 157, 230, 0); }
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 250px;
}


.glass-effect {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-form h3 {
    color: #0c1b2a;
    margin-bottom: 30px;
    font-size: 24px;
    border-left: 5px solid #389de6;
    padding-left: 15px;
}

.form-group, .form-row {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.main-form input, .main-form select, .main-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    transition: all 0.3s ease;
}

.main-form input:focus {
    outline: none;
    border-color: #389de6;
    transform: scale(1.01);
}


.btn-submit {
    margin-top: 20px;
    width: 100%;
    padding: 18px;
    background: #1d99e1;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #1777ae;
    box-shadow: 0 10px 25px rgba(56, 157, 230, 0.3);
}


.card-interactive {
    position: relative;
    background: #ffffff;
    padding: 50px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.card-interactive:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(56, 157, 230, 0.15);
    border-color: #389de6;
}

.contact-title {
    font-size: 34px;
    color: #0c1b2a;
    margin-bottom: 15px;
    font-weight: 800;
}

.contact-title span { color: #389de6; }

.icon-circle {
    width: 55px;
    height: 55px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1efff;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.method-item span {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.method-item p {
    font-size: 17px;
    color: #1e293b;
    font-weight: 600;
}

.pulse-blue {
    animation: pulse-blue-anim 2s infinite;
}

@keyframes pulse-blue-anim {
    0% { box-shadow: 0 0 0 0px rgba(56, 157, 230, 0.2); }
    100% { box-shadow: 0 0 0 15px rgba(56, 157, 230, 0); }
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-form h3 {
    color: #0c1b2a;
    margin-bottom: 30px;
    font-size: 24px;
    border-left: 5px solid #e63838;
    padding-left: 15px;
}

.form-group, .form-row {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.main-form input, .main-form select, .main-form textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.main-form input:focus {
    outline: none;
    border-color: #389de6;
    box-shadow: 0 0 0 4px rgba(56, 157, 230, 0.1);
    transform: scale(1.01);
}

.btn-submit {
  margin-top: 30px;
    width: 100%;
    padding: 18px;
    background: #1d99e1;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #1777ae;
    box-shadow: 0 10px 25px rgb(136, 212, 245);
    transform: translateY(-2px);
}

.quick-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn-quick {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-quick.wa { background: #25d366; }
.btn-quick.call { background: #389de6; }
.btn-quick:hover { opacity: 0.9; }

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.footer {
  background: #f9fbfd;
  border-top: 1px solid #e5e7eb;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.footer .container {
  max-width: 1280px;
  margin: 0 auto;

}

.foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 100px;
}

.foot-col h4 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
  color: #ff0015;
}

.foot-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #ff0000;
}

.foot-col p {
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 15px;
}

.foot-col img {
  max-width: 300px;
}

.foot-col a {
  display: block;
  font-size: 13px;
  color: #494a4c;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .25s ease;
}

.foot-col a:hover {
  color: #e11d2e;
}

.credits {
  border-top: 1px solid #e5e7eb;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
}

@media (max-width:900px){
  .menu {
      position: absolute;
      top: 100%;
      right: 0;
      left: 50%;
      transform: translateX(-50%) translateY(-10px);
      max-width: 320px;
      width: 90%;
      background: #ffffff;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 20px;
      box-shadow: 0 8px 18px rgba(0,0,0,0.08);
      opacity: 0;
      visibility: hidden;
      transition: all 0.25s ease
  }

  .topbar {
    display: none;
  }

  .menu.active {
    opacity: 1;
    visibility: visible;
    transform:translateX(-50%) translateY(0);
  }
.menu a {
    width: 100%;
    padding: 12px 0;
  }

  .hamb {
    display: block;
  }

  .nav{
    padding: 10px 20px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 16px;
  }

   .topbar .wrap {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
    .header {
    top: 0;
  }
    .actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-form-container {
    order: 1;
    padding: 32px 24px;
  }

  .contact-video-box {
    display: none;
  }

  .contact-info {
    order: 3;
    padding: 32px 24px;
  }

  .form-row {
    flex-direction: column;
    gap: 14px;
  }

  .main-form h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .main-form input,
  .main-form select,
  .main-form textarea {
    padding: 14px 16px;
    font-size: 15px;
  }

  .btn-submit {
    margin-top: 20px;
    padding: 16px;
    font-size: 14px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }

  .method-item {
    min-width: unset;
    margin-top: 0;
  }

  .contact-actions {
    flex-direction: column;
    gap: 14px;
  }

   .foot {
    grid-template-columns: 1fr 1fr;
  }

  .credits {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
    .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-brands {
    margin-top: 30px;
  }
  .contact-section{
    margin-top: 80px;
  }

  .contact-info.card-interactive {
    grid-column: auto;     
    width: 100%;
    margin: 0 auto;
    padding: 28px 22px;      
    border-radius: 18px;    

} 

  .method-item {
    align-items: flex-start;
    gap: 13px;
  }

  .method-item p {
    font-size: 14px;
    line-height: 1.4;
  }
  .contact-title{
    font-size: 30px;
    text-align: center;
  }
  .contact-desc{
    font-size: 15px;
    text-align: center;
  }
  .icon-circle{
    width: 40px;
    height: 40px;
  }
  .method-item img{
    width: 20px;
    height: 20px;
  }
  .brands-carousel{
    max-width: 290px;
  }
  .carousel-track{
    gap: 20px;
  }
  .carousel-track img{
    height: 60px;
  }

}


@media (min-width: 901px) {

  .header {
    position: fixed;
    top: 40px; 
  }

  .header.scrolled {
    top: 0;
  }

  
}



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

@media (max-width: 950px) {

    .contact-info, .contact-form-container { padding: 35px; }
    .form-row { flex-direction: column; gap: 15px; }
}

@media (max-width: 768px) {
  .carousel-track img {
    height: 46px;
  }

  .carousel-track {
    gap: 28px;
    animation-duration: 30s;
  }
}

@media (max-width: 1024px) {
    .contact-methods { flex-direction: column; align-items: flex-start; }
    .contact-video-box { min-height: 350px; }
    .form-row { flex-direction: column; }
}