/* DELIWAY - estilos base (responsive, mobile-first) */

:root{
  --brand-dark: #0b0d10;
  --brand-dark-2: #11151c;
  --brand-light: #f5f7fb;
  --brand-muted: rgba(245,247,251,.72);
  --brand-blue: #1596ff;
  --brand-blue-2: #0b6fbf;
  --brand-orange: #ff8a00;
  --brand-orange-2: #ff5f00;

  --card: rgba(255,255,255,.06);
  --card-border: rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1040px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 14px;
  color: var(--brand-light);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(21,150,255,.25), transparent 60%),
    radial-gradient(900px 500px at 110% 40%, rgba(255,138,0,.18), transparent 60%),
    linear-gradient(180deg, var(--brand-dark), var(--brand-dark-2));
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11,13,16,.6);
  border-bottom: 1px solid rgba(255,255,255,.08);
  width: 100%;
}
.site-header .container{
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  width: 100%;
  position: relative;
}
.brand{
  display: flex;
  align-items: center;
  width: 100%;
  flex: 1;
  min-width: 0;
}
.brand img{
  width: 100%;
  height: auto;
  max-width: 100%;
}
.nav{
  display: none;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.nav a{
  font-weight: 600;
  opacity: .9;
}
.nav a:hover{ opacity: 1; }

.menu-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--brand-light);
  flex-shrink: 0;
}
.menu-btn:focus{ outline: 2px solid rgba(21,150,255,.55); outline-offset: 2px; }

.mobile-nav{
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 10px 0 14px;
}
.mobile-nav[data-open="true"]{ display: block; }
.mobile-nav a{
  display: block;
  padding: 10px 0;
  font-weight: 700;
  opacity: .95;
}

.hero{
  padding: 28px 0 10px;
}
.hero-grid{
  display: grid;
  gap: 18px;
}
.hero-card{
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.hero-title{
  margin: 0 0 10px;
  font-size: clamp(22px, 4.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-subtitle{
  margin: 0;
  color: var(--brand-muted);
  font-size: 14px;
  line-height: 1.55;
}

.actions{
  display: grid;
  gap: 20px;
  margin-top: 16px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 70px;
  padding: 24px 20px;
  border-radius: 20px;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 32px);
  letter-spacing: .2px;
  text-align: center;
  line-height: 1.3;
  border: 4px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  color: var(--brand-light);
  box-shadow: 0 8px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.btn::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.btn:hover{
  transform: translateY(-6px) scale(1.02);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 12px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn:hover::before{
  opacity: 1;
}
.btn:active{ 
  transform: translateY(-2px) scale(1);
}

.btn-primary{
  border: 4px solid rgba(21,150,255,.6);
  background: linear-gradient(135deg, rgba(21,150,255,.85), rgba(11,111,191,.85));
  box-shadow: 0 8px 24px rgba(21,150,255,.25), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover{ 
  background: linear-gradient(135deg, rgba(21,150,255,1), rgba(11,111,191,1));
  border-color: rgba(21,150,255,.8);
  box-shadow: 0 12px 32px rgba(21,150,255,.35), inset 0 1px 0 rgba(255,255,255,.25);
}

.btn-accent{
  border: 4px solid rgba(255,138,0,.6);
  background: linear-gradient(135deg, rgba(255,138,0,.9), rgba(255,95,0,.9));
  color: #120c06;
  box-shadow: 0 8px 24px rgba(255,138,0,.25), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-accent:hover{ 
  background: linear-gradient(135deg, rgba(255,138,0,1), rgba(255,95,0,1));
  border-color: rgba(255,138,0,.8);
  box-shadow: 0 12px 32px rgba(255,138,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
}

.page{
  padding: 22px 0 28px;
}
.page h1{
  margin: 0 0 10px;
  font-size: clamp(20px, 4.6vw, 34px);
  letter-spacing: -0.02em;
}
.page p{
  margin: 0 0 14px;
  color: var(--brand-muted);
  line-height: 1.6;
}
.specs-grid{
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.spec-item{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.spec-label{
  font-weight: 700;
  color: rgba(245,247,251,.9);
}
.spec-value{
  color: var(--brand-muted);
}
.section-title{
  margin: 28px 0 16px;
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 800;
  color: var(--brand-light);
  border-bottom: 2px solid rgba(255,255,255,.1);
  padding-bottom: 8px;
}
.carousel-container{
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 24px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.carousel-wrapper{
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-track{
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}
.carousel-slide{
  min-width: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.6);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease;
  backdrop-filter: blur(4px);
}
.carousel-btn:hover{
  background: rgba(0,0,0,.8);
}
.carousel-btn-prev{
  left: 12px;
}
.carousel-btn-next{
  right: 12px;
}
.carousel-indicators{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
}
.carousel-indicator{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
  padding: 0;
}
.carousel-indicator.active{
  background: rgba(255,255,255,.9);
  transform: scale(1.2);
}

.form-card{
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.field{
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
label{
  font-weight: 750;
  font-size: 13px;
  color: rgba(245,247,251,.92);
}
input, textarea, select{
  width: 100%;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: var(--brand-light);
  font-size: 14px;
  font-family: inherit;
  min-height: auto;
  line-height: 1.5;
}
select{
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f5f7fb' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  height: auto;
}
select:focus{
  outline: 2px solid rgba(21,150,255,.55);
  outline-offset: 2px;
}
select option{
  background: var(--brand-dark);
  color: var(--brand-light);
  padding: 8px;
}
input::placeholder, textarea::placeholder{
  color: rgba(245,247,251,.55);
}
textarea{ min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder{ color: rgba(245,247,251,.55); }
input:focus, textarea:focus{
  outline: 2px solid rgba(21,150,255,.55);
  outline-offset: 2px;
}

.helper{
  margin-top: 10px;
  font-size: 11px;
  color: rgba(245,247,251,.72);
}
.notice{
  display: none;
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(21,150,255,.35);
  background: rgba(21,150,255,.10);
  color: rgba(245,247,251,.92);
  font-size: 13px;
  line-height: 1.45;
}
.notice[data-show="true"]{ display: block; }

.site-footer{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  color: rgba(245,247,251,.65);
  font-size: 18px;
}
.footer-inner{
  display: grid;
  gap: 10px;
  align-items: center;
}
.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a{ opacity: .9; }
.footer-links a:hover{ opacity: 1; }

.maquinas-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 20px;
}
.maquina-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
  border: 4px solid;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.maquina-btn-1{
  border-color: var(--brand-blue);
}
.maquina-btn-2{
  border-color: var(--brand-orange);
}
.maquina-btn::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.05), transparent);
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 1;
  pointer-events: none;
}
.maquina-btn:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.maquina-btn-1:hover{
  border-color: var(--brand-blue-2);
}
.maquina-btn-2:hover{
  border-color: var(--brand-orange-2);
}
.maquina-btn:hover::before{
  opacity: 1;
}
.maquina-btn:active{
  transform: translateY(-2px) scale(1);
}
.maquina-btn img{
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform .3s ease;
}
.maquina-btn:hover img{
  transform: scale(1.05);
}

/* Desktop */
@media (min-width: 820px){
  .nav{ display: inline-flex; }
  .menu-btn{ display: none; }
  .mobile-nav{ display: none !important; }
  .hero{
    padding: 44px 0 14px;
  }
  .hero-grid{
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
    gap: 18px;
  }
  .actions{
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .btn{
    min-height: 80px;
    padding: 28px 24px;
  }
  .footer-inner{
    grid-template-columns: 1fr auto;
    justify-content: space-between;
  }
  .maquinas-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
