/* Carbon Vitality - Mobile First */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --black: #000000;
  --gray: #535151;
  --white: #ffffff;
  --orange: #e54d01;
  --orange-light: #fe800f;
  --gold: #fca404;
  --cream: #fff0da;
  --green-soft: #8fb2ab;
  --green-dark: #183437;
  --red: #cd3621;
  --font-family: 'Century Gothic', Arial, Helvetica, sans-serif;
  --container-width: 1200px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 5px 18px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 20px 42px rgba(0, 0, 0, 0.42);
}

html { min-width: 320px; scroll-behavior: smooth; background: var(--black); }

body {
  width: 100%; min-height: 100vh; margin: 0; overflow-x: hidden;
  font-family: var(--font-family); color: var(--white); line-height: 1.55;
  background: linear-gradient(135deg, var(--black) 0%, #252424 52%, var(--gray) 100%);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { -webkit-appearance: none; appearance: none; }
strong { color: var(--cream); font-weight: 900; }

.page { width: 100%; overflow-x: hidden; }
.content { width: min(100%, var(--container-width)); margin: 0 auto; padding: 0 18px; }

.logo-section {
  width: 100%; min-height: auto; padding: 22px 16px 4px;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.logo-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.logo-link:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 8px; border-radius: 8px; }
.logo-section img { width: auto; max-width: 146px; max-height: 94px; height: auto; margin: 0 auto; object-fit: contain; }

.hero { padding: 20px 0 34px; text-align: center; }
.hero h1 {
  margin: 0 0 16px; color: var(--orange-light); font-size: clamp(1.85rem, 9vw, 2.35rem);
  line-height: 1.08; letter-spacing: -0.02em; text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}
.hero p { max-width: 860px; margin: 0 auto 16px; color: var(--cream); font-size: 1rem; line-height: 1.62; }
.hero p + p { color: rgba(255, 255, 255, 0.88); }

.image-section { width: 100vw; max-width: 100%; height: 235px; min-height: 235px; margin: 0 0 42px; overflow: hidden; background: var(--black); }
.image-section img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

.section-block { padding: 0 0 46px; }
h2 {
  margin: 0 0 24px; color: var(--orange-light); font-size: 1.55rem; line-height: 1.15;
  text-align: center; text-transform: uppercase; letter-spacing: 0.03em; text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.steps { display: grid; gap: 18px; }
.step {
  position: relative; padding: 32px 20px 22px; border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.075); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.step::before {
  content: attr(data-step); position: absolute; top: -12px; left: 18px; padding: 4px 13px; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: var(--white);
  font-size: 0.86rem; font-weight: 900; letter-spacing: 0.02em;
}
.step p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 0.98rem; }

.benefits { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.benefit {
  padding: 20px 18px; border-left: 5px solid var(--orange-light); border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-sm); color: var(--cream);
  text-align: center; font-size: 1.04rem; font-weight: 900;
}
.note { margin: 18px 0 0; color: rgba(255, 255, 255, 0.9); text-align: center; font-size: 0.98rem; }

.form-section {
  max-width: 760px; margin: 0 auto; padding: 22px 18px; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.065); box-shadow: var(--shadow-md);
}
label { display: block; margin: 0 0 7px; color: var(--cream); font-size: 0.98rem; font-weight: 900; }
input {
  width: 100%; min-height: 50px; margin: 0 0 18px; padding: 13px 15px;
  border: 1.8px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22); color: var(--white); font-size: 1rem; outline: none;
  -webkit-appearance: none; appearance: none;
}
input::placeholder { color: rgba(255, 255, 255, 0.52); }
input:focus { border-color: var(--orange-light); box-shadow: 0 0 0 3px rgba(254, 128, 15, 0.22); }

button, #submitButton, .popup button {
  width: 100%; min-height: 54px; padding: 15px 18px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light)) !important; color: var(--white) !important;
  font-size: 0.98rem; font-weight: 900; line-height: 1.15; letter-spacing: 0.035em;
  text-align: center; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 26px rgba(229, 77, 1, 0.36);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease; -webkit-tap-highlight-color: transparent;
}
button:hover:not(:disabled), #submitButton:hover:not(:disabled), .popup button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(229, 77, 1, 0.45); }
button:disabled, #submitButton:disabled { cursor: not-allowed; opacity: 0.72; }

.form-feedback { min-height: 22px; margin: 13px 0 0; color: var(--cream); text-align: center; font-size: 0.95rem; font-weight: 900; }
.form-feedback.error { color: #ff9d9d; }
.form-feedback.success { color: var(--green-soft); }

.faq .content { max-width: 860px; }
.faq-item { margin-bottom: 16px; padding: 20px 18px; border-left: 5px solid var(--gold); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.08); box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0 0 10px; color: var(--cream); font-size: 1.08rem; line-height: 1.25; font-weight: 900; }
.faq-item p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 0.98rem; }

.popup { position: fixed; inset: 0; z-index: 10000; padding: 16px; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(5px); }
.popup-content { width: min(100%, 760px); max-height: 86vh; overflow-y: auto; padding: 22px 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--black), var(--gray)); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7); }
.popup-content h3 { margin: 0 0 16px; color: var(--cream); font-size: 1.1rem; line-height: 1.3; }
.whatsapp-preview { margin-bottom: 16px; padding: 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.1); color: var(--white); white-space: pre-line; word-break: break-word; line-height: 1.55; font-size: 0.96rem; }
.popup-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.close, .popup .close { margin-top: 10px; background: #353535 !important; box-shadow: none; }

@media (min-width: 641px) {
  .content { padding: 0 32px; }
  .logo-section { padding-top: 28px; }
  .logo-section img { max-width: 155px; max-height: 92px; }
  .hero { padding: 28px 0 48px; }
  .hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
  .image-section { height: 380px; margin-bottom: 56px; }
  .section-block { padding-bottom: 58px; }
  h2 { margin-bottom: 34px; font-size: 1.9rem; }
  .form-section, .faq-item, .step, .benefit { padding-left: 28px; padding-right: 28px; }
  .popup-actions { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .content { padding: 0 40px; }
  .logo-section img { max-width: 190px; max-height: 120px; }
  .hero { padding: 35px 0 60px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .image-section { height: 450px; }
}
