@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;700&display=swap');

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-dark: #1a1a1a;
  --gray-mid: #4a4a4a;
  --gray-light: #f4f4f4;
  --gray-border: #e8e8e8;
  --blue: #0057FF;
  --blue-light: #e8efff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
}
.logo { font-family: 'Ubuntu', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.5px; color: var(--black); }
.logo span { color: var(--blue); }
.logo .logo-i, .footer-logo .logo-i { color: var(--blue); }
nav ul { list-style: none; display: flex; gap: 16px; align-items: center; }
nav ul li a { text-decoration: none; color: var(--gray-mid); font-size: 14px; font-weight: 500; transition: color 0.2s; }
nav ul li a:hover { color: var(--black); }
.nav-cta { background: var(--black); color: var(--white) !important; padding: 10px 22px; border-radius: 6px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--blue) !important; }

/* Language selector */
.lang-selector { display:flex; gap:8px; align-items:center; }
.lang-selector .lang { background:transparent; border:none; font-size:18px; cursor:pointer; padding:6px; border-radius:6px; }
.lang-selector .lang.active { background:rgba(0,0,0,0.06); }
.lang-item { display:flex; align-items:center; }
.lang-selector .flag { width:22px; height:auto; display:block; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 60px 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,87,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,87,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-center { position: relative; z-index: 10; text-align: center; max-width: 700px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  border: 1px solid rgba(0,87,255,0.15);
  padding: 8px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease forwards;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes float { 0%,100%{transform:translateY(0) rotate(var(--rot,0deg))} 50%{transform:translateY(-12px) rotate(var(--rot,0deg))} }

h1 { font-family: 'Ubuntu', sans-serif; font-size: clamp(42px,6vw,72px); font-weight: 800; line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px; animation: fadeUp 0.7s 0.1s ease both; }
h1 em { font-style: normal; color: var(--blue); }
.subtitle { font-size: 18px; font-weight: 300; color: var(--gray-mid); line-height: 1.6; max-width: 520px; margin: 0 auto 40px; animation: fadeUp 0.7s 0.2s ease both; }
.hero-actions { display: flex; gap: 16px; justify-content: center; animation: fadeUp 0.7s 0.3s ease both; }

.btn-primary { background: var(--black); color: var(--white); padding: 16px 32px; border-radius: 8px; font-size: 15px; font-weight: 500; text-decoration: none; transition: all .25s; border: 2px solid var(--black); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,87,255,.25); }
.btn-secondary { background: transparent; color: var(--black); padding: 16px 32px; border-radius: 8px; font-size: 15px; font-weight: 500; text-decoration: none; border: 2px solid var(--gray-border); transition: all .25s; }
.btn-secondary:hover { border-color: var(--black); transform: translateY(-2px); }

/* FLOATING OBJECTS */
.floating-obj { position: absolute; z-index: 5; animation: float 6s ease-in-out infinite; }
.obj-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: 16px; padding: 16px 20px; box-shadow: 0 8px 32px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.04); display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--gray-dark); }
.obj-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.obj-icon.blue { background: var(--blue-light); }
.obj-icon.green { background: #e8fdf0; }
.obj-icon.yellow { background: #fff8e1; }
.obj-icon.gray { background: var(--gray-light); }
.obj-label { font-size: 11px; color: var(--gray-mid); font-weight: 400; }

.obj-1 { top:18%; left:5%; --rot:-4deg; animation-delay:0s; animation-duration:7s; }
.obj-2 { top:28%; right:4%; --rot:3deg; animation-delay:1s; animation-duration:6.5s; }
.obj-3 { top:55%; left:3%; --rot:-2deg; animation-delay:2s; animation-duration:8s; }
.obj-4 { top:65%; right:5%; --rot:5deg; animation-delay:.5s; animation-duration:7.5s; }
.obj-5 { top:42%; left:8%; --rot:-6deg; animation-delay:1.5s; animation-duration:6s; }
.obj-6 { top:80%; left:18%; --rot:2deg; animation-delay:3s; animation-duration:7s; }
.obj-7 { top:78%; right:15%; --rot:-3deg; animation-delay:2.5s; animation-duration:8s; }

.dots { position: absolute; z-index: 1; opacity: .35; }
.dots-tl { top:15%; left:15%; }
.dots-br { bottom:20%; right:18%; }
.dot-grid { display: grid; grid-template-columns: repeat(5,6px); gap: 8px; }
.dot { width:3px; height:3px; border-radius:50%; background: var(--blue); }

.stats-bar { display:flex; justify-content:center; border: 1px solid var(--gray-border); border-radius: 16px; overflow:hidden; animation: fadeUp 0.7s 0.5s ease both; max-width:560px; margin: 40px auto 0; }
.stat { flex:1; padding:20px 24px; text-align:center; border-right: 1px solid var(--gray-border); }
.stat:last-child { border-right:none; }
.stat-num { font-family: 'Ubuntu', sans-serif; font-size:24px; font-weight:800; color:var(--black); letter-spacing:-1px; }
.stat-num span { color:var(--blue); }
.stat-label { font-size:11px; color:var(--gray-mid); font-weight:400; margin-top:2px; }

/* TOOLS STRIP */
.tools-strip { padding:16px 60px; display:flex; align-items:center; justify-content:center; gap:40px; border-top:1px solid var(--gray-border); background:var(--gray-light); }
.tools-label { font-size:11px; color:var(--gray-mid); text-transform:uppercase; letter-spacing:1px; font-weight:500; white-space:nowrap; }
.tools-list { display:flex; gap:32px; align-items:center; }
.tool-item { font-size:13px; font-weight:500; color:var(--gray-mid); display:flex; align-items:center; gap:8px; }
.tool-dot { width:8px; height:8px; border-radius:50%; background:var(--blue); opacity:.6; }

/* WORKERS SECTION */
.workers-section { padding: 100px 60px; max-width: 1200px; margin: 0 auto; }
.section-tag { font-size:11px; text-transform:uppercase; letter-spacing:2px; color:var(--blue); font-weight:600; margin-bottom:16px; }
.section-title { font-family: 'Ubuntu', sans-serif; font-size:clamp(28px,4vw,46px); font-weight:800; letter-spacing:-1.5px; color:var(--black); max-width:580px; line-height:1.1; margin-bottom:16px; }
.section-subtitle { font-size:16px; color:var(--gray-mid); line-height:1.7; max-width:520px; margin-bottom:60px; }

.workers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.worker-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: default;
}
.worker-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.1); border-color: transparent; }

.worker-avatar {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.worker-avatar.peluquera { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.worker-avatar.fotografo { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.worker-avatar.constructor { background: linear-gradient(135deg, #fff8e1, #ffecb3); }
.worker-avatar.limpieza { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); }
.worker-avatar.disenador { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }
.worker-avatar.mecanico { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); }
.worker-avatar.fontanero { background: linear-gradient(135deg, #e8eaf6, #c5cae9); }
.worker-avatar.esteticista { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }

/* SVG illustration inside avatar */
.worker-avatar svg { width: 80%; height: 80%; }

.worker-info { padding: 20px; }
.worker-profession { font-family: 'Ubuntu', sans-serif; font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.worker-desc { font-size: 12px; color: var(--gray-mid); line-height: 1.5; margin-bottom: 12px; }
.worker-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-light); color: var(--blue); border-radius: 100px; padding: 4px 10px; font-size: 11px; font-weight: 500; }

/* WHY */
.why-section { padding: 100px 60px; max-width: 1200px; margin: 0 auto; }
.cards-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.feature-card { background:var(--white); border:1px solid var(--gray-border); border-radius:20px; padding:36px 32px; transition:all .3s; position:relative; overflow:hidden; }
.feature-card:hover { transform:translateY(-4px); box-shadow:0 20px 60px rgba(0,0,0,.08); border-color:transparent; }
.feature-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--blue); transform:scaleX(0); transition:transform .3s; }
.feature-card:hover::after { transform:scaleX(1); }
.card-icon { font-size:32px; margin-bottom:20px; }
.card-title { font-family: 'Ubuntu', sans-serif; font-size:18px; font-weight:700; letter-spacing:-.3px; margin-bottom:12px; }
.card-text { font-size:14px; color:var(--gray-mid); line-height:1.7; }

/* PRICING */
.pricing-section { background:var(--gray-light); padding:100px 60px; }
.pricing-inner { max-width:900px; margin:0 auto; }
.pricing-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:60px; }

.price-card { background:var(--white); border:1px solid var(--gray-border); border-radius:24px; padding:44px 40px; transition:all .3s; }
.price-card.featured { background:var(--black); border-color:var(--black); color:var(--white); }
.price-card:not(.featured):hover { transform:translateY(-4px); box-shadow:0 24px 60px rgba(0,0,0,.1); }

.plan-name { font-family: 'Ubuntu', sans-serif; font-size:13px; text-transform:uppercase; letter-spacing:2px; font-weight:700; color:var(--blue); margin-bottom:12px; }
.featured .plan-name { color:rgba(255,255,255,.5); }

.plan-price { font-family: 'Ubuntu', sans-serif; font-size:52px; font-weight:800; letter-spacing:-2px; line-height:1; margin-bottom:4px; }
.plan-price sup { font-size:20px; font-weight:600; vertical-align:super; letter-spacing:0; }
.plan-price sub { font-size:16px; font-weight:400; vertical-align:baseline; }

.plan-iva { font-size:11px; color:var(--gray-mid); margin-bottom:4px; }
.featured .plan-iva { color:rgba(255,255,255,.4); }

.plan-iva-total { font-size:13px; font-weight:600; color:var(--gray-dark); margin-bottom:24px; }
.featured .plan-iva-total { color:rgba(255,255,255,.7); }

.plan-period { font-size:13px; color:var(--gray-mid); margin-bottom:32px; }
.featured .plan-period { color:rgba(255,255,255,.5); }

.plan-desc { font-size:15px; line-height:1.6; color:var(--gray-mid); margin-bottom:32px; padding-bottom:32px; border-bottom:1px solid var(--gray-border); }
.featured .plan-desc { color:rgba(255,255,255,.6); border-color:rgba(255,255,255,.1); }

.plan-features { list-style:none; display:flex; flex-direction:column; gap:14px; margin-bottom:36px; }
.plan-features li { display:flex; align-items:center; gap:12px; font-size:14px; color:var(--gray-dark); }
.featured .plan-features li { color:rgba(255,255,255,.85); }
.check { width:20px; height:20px; border-radius:50%; background:var(--blue-light); display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--blue); flex-shrink:0; }
.featured .check { background:rgba(0,87,255,.25); color:#80aaff; }

.btn-plan { display:block; text-align:center; padding:16px; border-radius:10px; font-size:14px; font-weight:600; text-decoration:none; transition:all .25s; }
.btn-plan-outline { border:2px solid var(--black); color:var(--black); }
.btn-plan-outline:hover { background:var(--black); color:var(--white); }
.btn-plan-white { background:var(--white); color:var(--black); }
.btn-plan-white:hover { background:var(--blue); color:var(--white); }

/* CTA SECTION */
.cta-section { padding:100px 60px; text-align:center; max-width:700px; margin:0 auto; }
.cta-section h2 { font-family: 'Ubuntu', sans-serif; font-size:clamp(32px,5vw,56px); font-weight:800; letter-spacing:-2px; margin-bottom:20px; line-height:1.05; }
.cta-section p { font-size:16px; color:var(--gray-mid); line-height:1.7; margin-bottom:40px; }

/* CONTACT STRIP */
.contact-strip {
  background: var(--black);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-label { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin-bottom: 4px; }
.contact-value { font-size: 15px; font-weight: 500; color: var(--white); text-decoration: none; }
.contact-value:hover { color: var(--blue); }

/* FOOTER */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-family: 'Ubuntu', sans-serif; font-weight:800; font-size:18px; color:var(--white); }
.footer-logo span { color:var(--blue); }
.footer-links { display:flex; gap:32px; }
.footer-links a { font-size:12px; color:rgba(255,255,255,.4); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:rgba(255,255,255,.8); }
.footer-copy { font-size:12px; color:rgba(255,255,255,.3); }

/* Instagram CTA */
.instagram-banner {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  flex-wrap: wrap;
}
.ig-content h3 { font-family: 'Ubuntu', sans-serif; font-size:22px; font-weight:800; color:white; letter-spacing:-0.5px; margin-bottom:6px; }
.ig-content p { font-size:14px; color:rgba(255,255,255,.85); }
.btn-ig { background:white; color:#dc2743; padding:12px 28px; border-radius:8px; font-size:14px; font-weight:700; text-decoration:none; transition:all .2s; white-space:nowrap; }
.btn-ig:hover { transform:scale(1.04); box-shadow:0 8px 24px rgba(0,0,0,.2); }

@media (max-width:900px) {
  nav { padding:20px 24px; }
  nav ul { display:none; }
  .hero { padding:100px 24px 60px; }
  .floating-obj { display:none; }
  .workers-section,.why-section,.pricing-section,.cta-section { padding:60px 24px; }
  .workers-grid { grid-template-columns:repeat(2,1fr); }
  .cards-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; }
  .tools-strip,.contact-strip,.instagram-banner { padding:24px; gap:20px; }
  footer { padding:24px; flex-direction:column; text-align:center; }
  .footer-links { flex-wrap:wrap; justify-content:center; }
}

/* CONTACT FORM */
.contact-form { display:flex; flex-direction:column; gap:12px; text-align:left; margin:0 auto; max-width:680px; }
.contact-form .form-row { display:flex; flex-direction:column; gap:6px; }
.contact-form label { font-size:14px; font-weight:600; color:var(--gray-dark); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea { width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--gray-border); font-size:14px; background:var(--white); color:var(--black); }
.contact-form textarea { resize:vertical; min-height:100px; }
.form-actions { display:flex; gap:12px; margin-top:8px; }
.form-feedback { margin-top:10px; font-size:14px; color:var(--gray-mid); }
.req { color: var(--blue); font-weight:700; margin-left:4px; }

/* Disabled / submitted visual state: oscurecer inputs y botones cuando están deshabilitados */
.contact-form input[disabled],
.contact-form textarea[disabled],
.contact-form select[disabled] {
  background: #f0f0f0; /* gris medio claro */
  color: #6b6b6b; /* texto gris para contraste */
  border-color: #d6d6d6;
  box-shadow: none;
}

.contact-form button[disabled],
.contact-form .btn-primary[disabled],
.contact-form .btn-secondary[disabled] {
  background: #e6e6e6 !important; /* botón gris claro */
  color: #5e5e5e !important; /* texto gris oscuro */
  border-color: #d0d0d0 !important;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}

/* Slight dimming overlay effect when any control is disabled (optional visual cue) */
.contact-form.disabled-overlay {
  position: relative;
}
.contact-form.disabled-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.03);
  pointer-events: none;
  border-radius: 8px;
}

@media (max-width:900px) {
  .contact-form { padding: 0 8px; }
  .workers-grid { grid-template-columns: repeat(1,1fr); }
}
