:root {
  --orange: #ff9b21;
  --dark: #181c20;
  --gray: #f5f5f5;
  --mid-gray: #eaeaea;
  --text: #252525;
  --white: #fff;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif; background: var(--gray); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
.container { max-width: 1150px; margin: 0 auto; padding: 0 1.5rem; }

/* NAV */
.main-header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 10; }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo-nav { height: 42px; }
.main-menu { list-style: none; display: flex; gap: 2.1rem; margin: 0; padding: 0; }
.main-menu li a { display: inline-block; padding: .4rem .9rem; border-radius: 20px; font-weight: 500; font-size: 1rem; transition: background .18s, color .18s; }
.main-menu li a:hover, .main-menu li a.active { background: var(--orange); color: #fff; }
.menu-toggle { display: none; font-size: 2.1rem; cursor: pointer; }

/* HERO */
.hero {
  position: relative; min-height: 100vh; background: var(--white); overflow: hidden; display: flex; align-items: center; padding: 0;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100vw; height: 100%; object-fit: cover; z-index: 0; min-height: 670px;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100vw; height: 100%;
  background: linear-gradient(105deg, rgba(24,28,32,0.7) 55%, rgba(24,28,32,0.1) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: flex-start; min-height: 370px;
  padding: 4.5rem 0 4rem 0; color: #fff;
}
.hero-content h1 {
  font-family: 'Italiana', serif;
  font-weight: normal;
  font-size: 3rem;
  letter-spacing: .5px;
}
.hero-content p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: .3px;
  margin-bottom: 2rem;
}
.btn-main { background: var(--orange); color: var(--dark); font-weight: 600; padding: 0.95em 2.2em; border: none; border-radius: 40px; font-size: 1.12rem; box-shadow: 0 2px 10px rgba(255,155,33,0.09); transition: background .18s, box-shadow .18s; cursor: pointer; }
.btn-main:hover { background: #e88d1b; }

/* --- Animación scroll --- */
.scroll-fx { opacity: 0; transform: translateY(50px) scale(0.97); transition: opacity 0.85s cubic-bezier(.21,1.2,.58,1), transform 0.88s cubic-bezier(.21,1.2,.58,1); }
.scroll-fx.visible { opacity: 1; transform: translateY(0) scale(1); }

/* Stats, About, Services, Why, Contact, Footer ... */
.stats { background: var(--dark); padding: 2.8rem 0 2.1rem 0; }
.stats-list { display: flex; justify-content: center; gap: 3.2rem; }
.stat-number { display: block; font-size: 2.2rem; color: var(--orange); font-weight: 700; margin-bottom: .4rem; text-align: center; }
.stat-label { display: block; color: #a9a9a9; font-size: 1.1rem; text-align: center; }

.about { background: var(--white); padding: 3.5rem 0; }
.about-content { display: flex; gap: 2.5rem; align-items: flex-start; flex-wrap: wrap; }
.about-content > div:first-child { flex: 1.5; }
.about-side { display: flex; flex-direction: column; gap: 1.7rem; flex: 1; }
.about-card { background: var(--gray); border-radius: 16px; padding: 1.2rem 1.3rem 1.2rem 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.about-icon { font-size: 2.2rem; color: var(--orange); }
.about-card h3 { margin: 0; }
.about-card p { margin: 0; color: #555; }

.services { background: var(--dark); padding: 3.5rem 0; color: var(--gray); }
.services h2 { margin-bottom: 2.5rem; text-align: center; color: var(--white);}
.services-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.service-card { background: #000;  color: #eee; border-radius: 16px;  box-shadow: 0 2px 14px rgba(0,0,0,0.13); padding: 1.5rem 1.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; transition: box-shadow .18s, transform .19s; }
.service-card:hover { box-shadow: 0 8px 32px rgba(255,155,33,0.15); transform: translateY(-6px) scale(1.04); }
.service-icon { font-size: 2rem; color: var(--orange); }
.service-card h4 { margin: 0 0 .3rem 0; font-weight: 600; }
.service-card p { margin: 0; color: #c0c0c0; font-size: 1rem; }

.why-us { background: var(--dark); padding: 2.7rem 0 2.1rem 0; color: #c0c0c0;}
.why-list { display: flex; justify-content: center; gap: 2.4rem; flex-wrap: wrap; }
.why-card { background: var(--dark); border-radius: 16px; padding: 1.2rem 2.1rem; box-shadow: 0 2px 12px rgba(255, 255, 255, 0.542); display: flex; flex-direction: column; align-items: center; gap: .6rem; min-width: 180px; }
.why-icon { font-size: 2.1rem; color: var(--orange); }
.why-card h4 { margin: 0; font-weight: 500; text-align: center; }

.contact { background: var(--dark); padding: 3.5rem 0; color: var(--gray)}
.contact-content { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.contact-content > div:first-child { flex: 1.2; }
.contact-side { flex: 1; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2.1rem; }
.contact-info-block { display: flex; align-items: center; gap: .8rem; font-size: 1.1rem; color: #b1b1b1; background: var(--white); border-radius: 11px; padding: .8rem 1.1rem; box-shadow: 0 1.5px 7px rgba(255,155,33,0.07); }
.contact-info-icon { font-size: 1.25em; color: var(--orange); }
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 1rem; }
.contact-form input, .contact-form textarea { font-size: 1rem; padding: .8em; border: 1px solid #ddd; border-radius: 8px; outline: none; transition: border-color .2s; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange);}
.contact-form textarea { min-height: 80px; }
.contact-form button { align-self: flex-start; margin-top: .7rem; }

footer { background: var(--dark); color: #fff; padding: 1.1rem 0; text-align: center; }
.footer-content { display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.logo-footer { height: 28px; }

/* RESPONSIVE */
.about-img {
  display: block;
  width: 100%;
  max-width: 700px;     
  margin: 1.5rem auto 0 auto;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(24,28,32,0.09);
  height: auto;
}
@media (max-width: 1000px) {
  .container { padding: 0 .8rem; }
  .hero-content, .about-content, .contact-content { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .stats-list, .why-list { flex-direction: column; align-items: center; gap: 2rem; }
}
@media (max-width: 600px) {
  .hero-content { padding: 2rem 0 1.5rem 0; }
  .hero-content h1 { font-size: 1.2rem; }
  .service-card, .why-card, .about-card { padding: 1.1rem .8rem; }
}
@media (max-width: 800px) {
  .main-menu { position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 1.1rem; padding: 1rem 0; display: none; box-shadow: 0 3px 20px rgba(0,0,0,0.08); }
  .main-menu.active { display: flex; }
  .menu-toggle { display: block; }
  .nav-container { position: relative; }
}
.form-success {
  color: #24a64a;
  font-weight: bold;
  margin-top: 1rem;
}
.form-error {
  color: #cc2222;
  font-weight: bold;
  margin-top: 1rem;
}

.form-success {
  color: #24a64a;
  font-weight: bold;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  font-size: 1.18rem;
  gap: 0.65em;
}

.animated-check {
  width: 28px;
  height: 28px;
  display: inline-block;
}
.animated-check svg {
  display: block;
}
.animated-check .check-path {
  stroke-dasharray: 38;
  stroke-dashoffset: 38;
  animation: check-draw 0.7s 0.15s cubic-bezier(.3,1.6,.5,1) forwards;
}
@keyframes check-draw {
  to {
    stroke-dashoffset: 0;
  }
}