* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior:smooth;
}

body {
  display: flex;
  flex-direction: column;
   font-family: "Roboto", sans-serif;
  color: #393E46;
  background: #f0f0f0;
}

main {
  flex: 1;
}

.navContainer {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Navbar --- */
.navbar {
  width: 100%;
  height: 95px;
  display: flex;
    align-items: center;
    justify-content: space-between;
  background:rgba(0,0,0,0.1);
    backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(2px);
  opacity: 0.95;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  

}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: "Roboto", sans-serif;
  font-size: 34px;
  color: #901E3E;
  letter-spacing: 1px;
}
.logo img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu li a {
  color: #393E46;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  font-size: 20px;
}

.menu li a:hover {
  color: #A53860;
}
.socialIcons {
  display: flex;
  align-items: center;
  gap: 10px; 
  
}

.socialIcons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;   /* важно убрать внутренние отступы */
  margin: 0;    /* и внешние тоже */
}

.socialImg {
  width: 40px;
  height: 40px;
}
.navbar.white {
  color: white;
}

.navbar.white .menu li a {
  color: white;
}

.navbar.white .menu li a:hover {
  color: #ddd;
}

.navbar.white .logo {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.navbar.white .socialImg  {
  filter: brightness(0) invert(1); /* делает иконки белыми */
}
.navbr.white .logo {
  filter: brightness(0) invert(1);
}
.navbar.white .hamb {
  filter:brightness(0) invert(1) ;
}
.navbar, 
.navbar .logo, 
.navbar .socialImg, 
.navbar .menu li a {
  transition: all 0.3s ease;
}
/* --- Burger --- */
.hamb {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamb span {
  height: 3px;
  width: 100%;
  background: #901E3E;
  border-radius: 2px;
  transition: 0.3s;
}

.hamb.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamb.active span:nth-child(2) {
  opacity: 0;
}

.hamb.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.btmAbsolute{
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 20;
}
.socialImgGreen {
  width: 60px;
  height: 60px;
}
/* --- Hero --- */
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero {
    width: 100%;
  background-image: url('cover.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    position: relative;
}
.hero-content{ 
    display: flex;
    flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
     height: 100vh;
     width: 100%;    
    /* backdrop-filter: brightness(80%) blur(1px);   */
}
.hero-content h1 {
  font-size: 50px;
  font-family: "Roboto", sans-serif;
    margin-bottom: 20px;
  color:#901E3E;
}

.hero-content p {
  font-size: 28px;
  margin-bottom: 30px;
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #901E3E;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #A53860;
  color: #000;
}

/* --- Secciones generales --- */
section {
  padding: 100px 0;
}

section h2 {
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 40px;
  margin-bottom: 40px;
  color: #901E3E;
}
.about-content p {
  font-size: 18px;
  line-height: 1.6;
  margin: 20px;
  text-align: center;
}
.about-content{
   background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
  width: 80%;
  
}
.about-content:hover {
   box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transform: translateY(-5px);
  transition: 0.3s;
  border: 1px solid #737373;
}
/* --- Servicios --- */
#services  {
    background-color: #dbdfe5;
    color: #393E46;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  
}

.card {
  background: #dbdfe5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
}
.card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transform: translateY(-5px);
  transition: 0.3s;
  border: 1px solid #737373;
}

.card img {
  width: 30%;
  margin-top: 20px;

  object-fit: cover;
}

.card h3 {
  margin-top: 15px;
  font-size: 20px;
  color: #901E3E;
}

.card p {
  margin: 10px 20px;
  color: #555;
}
#aboutSmall{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #901E3E;
    color: white;
    height: 350px;
    width: 100%;
}
.aboutQuick{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 20%;
}
.aboutQuick-img{
    width: 80px;
    margin-bottom: 20px;
    margin-top: 50px;
}
h3{
    font-size: 44px;
}
.aboutQuick p{
    font-size: 20px;
    margin-top: 20px;
}
.aboutQuick-info{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.aboutQuick-stats{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bordo{
    color: #901E3E;
}
#location{
    background-color: #dbdfe5;
    color: #393E46;
    text-align: center;
} 
#location p{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
}
.map-container{
    width: 80%;
}


/* --- Footer --- */
.footer {
  background: #393E46;
  color: white;
  text-align: center;
  padding: 20px;
  margin-bottom: 0;
}
.smallest{
    font-size: 8px;
    margin-top: 10px;
    color: #bbb;
}

/* --- Responsive --- */
@media all and (max-width: 768px) {
  .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.2);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    transform: translateX(100%);
    transition: 0.3s;
    color: white;
  }

  .menu.active {
    transform: translateX(0);
  }

  .hamb {
    display: flex;
  }


#aboutSmall{
    flex-direction: column;
    height: auto;
    gap: 30px;
}
.aboutQuick{
    width: 80%;
    align-items: center;
}
.aboutQuick-img{
    margin-bottom: 20px;
}
h3{
    font-size: 30px;
}
.aboutQuick p{
    margin-top: 20px;
}
.aboutQuick-stats, .aboutQuick-info{
    flex-direction: row;
    gap: 15px;
}
.aboutQuick p{
    margin-top: 0px;
}
.hero-content h1 {
  color: #fff;
}
}
@media all and (max-width: 430px) {
  .logo {
  font-size: 25px;
}
  .logo img {
  width: 30px;
  height: 30px;
}
.socialImg {
  width: 30px;
  height: 30px;
}
.hero-content h1 {
  font-size: 30px;
  margin-bottom:1px;
 
}
section h2 {
  font-size: 30px;
  margin-bottom: 5px;
}
.hero-content p {
  font-size: 20px;
  margin-bottom: 15px;
} 
}