/* ==========================================================================
   IMI Container Park — Landing Page Styles
   Mobile-first. Breakpoints: 480 / 640 / 768 / 1024 / 1280 / 1536
   ========================================================================== */

:root {
  --color-dark: #101112;
  --color-dark-2: #131313;
  --color-accent: #b8c134;
  --color-accent-dark: #9aa32a;
  --color-white: #ffffff;
  --color-offwhite: #edeff1;
  --color-gray: #5c5b5b;
  --color-gray-light: #cccccc;
  --color-bg-soft: #f6f7f2;
  --color-border: #e4e4e0;

  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Sora', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  --radius-pill: 50px;
  --radius-card: 16px;
  --max-width: 1200px;
  --section-pad-y: clamp(3.5rem, 8vw, 6.5rem);
  --section-pad-x: clamp(1.25rem, 5vw, 2.5rem);

  --shadow-card: 0 10px 30px rgba(16, 17, 18, 0.08);
  --transition-base: 0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 1rem 2.1rem;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  white-space: normal;
  text-align: center;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 8px 20px rgba(184, 193, 52, 0.4);
}

.btn-dark {
  background: var(--color-dark);
  color: var(--color-offwhite);
}

.btn-dark:hover {
  background: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1.25rem var(--section-pad-x);
  display: flex;
  justify-content: center;
}

.site-header .logo img {
  height: 44px;
  width: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--color-dark-2);
  padding-top: 7.5rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.71);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__content {
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-white);
  font-size: clamp(2rem, 7vw, 3.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-white);
  opacity: 0.92;
  max-width: 40ch;
  margin-inline: auto;
}

.hero__cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__visual img {
  width: min(100%, 480px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
    text-align: left;
  }

  .hero__content {
    text-align: left;
  }

  .hero__subtitle {
    margin-inline: 0;
  }

  .hero__cta {
    justify-content: flex-start;
  }
}

/* ---------- Section shared ---------- */
.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section--dark {
  background: var(--color-dark-2);
  color: var(--color-white);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 6vw, 3.5rem);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.75rem;
}

.section--dark .section-eyebrow {
  color: var(--color-accent);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.25;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 6vw, 3rem);
}

/* ---------- Lead form section ---------- */
.lead {
  position: relative;
}

.lead__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.lead__intro-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.25;
}

.lead__intro-text {
  margin-top: 1rem;
  color: var(--color-gray);
  font-size: 1.05rem;
  max-width: 46ch;
}

.lead__card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

@media (min-width: 900px) {
  .lead__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

/* ---------- Form ---------- */
.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-dark);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--color-gray-light);
  background: var(--color-white);
  color: var(--color-dark);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent-dark);
  box-shadow: 0 0 0 3px rgba(184, 193, 52, 0.3);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #d84c4c;
}

.form-field__error {
  display: none;
  color: #d84c4c;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.form-field.has-error .form-field__error {
  display: block;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #3a7d33;
}

.form-status.is-error {
  color: #d84c4c;
}

.form-privacy {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--color-gray);
}

/* ---------- Features ---------- */
.features {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.features__bg {
  position: absolute;
  top: -5%;
  right: -10%;
  width: 60%;
  max-width: 640px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.features__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.feature-card__text {
  font-size: 0.92rem;
  color: var(--color-gray);
  line-height: 1.5;
}

/* ---------- Process ---------- */
.process {
  position: relative;
  isolation: isolate;
  background-color: var(--color-dark-2);
  color: var(--color-white);
  background-size: cover;
  background-position: center;
}

.process__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.82) 100%);
  z-index: 1;
}

.process__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.process__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process .container {
  position: relative;
  z-index: 2;
}

.process__steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  backdrop-filter: blur(4px);
}

.process-step__number {
  counter-increment: step;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.process-step__number::before {
  content: "0" counter(step);
}

.process-step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step__text {
  font-size: 0.95rem;
  color: var(--color-offwhite);
  opacity: 0.85;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-offwhite);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.75rem;
}

.site-footer__top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .site-footer__top {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-white);
}

.site-footer__brand span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-gray-light);
  margin-top: 0.35rem;
}

.site-footer__contact {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-gray-light);
}

.site-footer__contact a {
  color: var(--color-white);
}

.site-footer__tagline {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  font-size: clamp(1rem, 3vw, 1.35rem);
  padding: 1.75rem 0;
  text-transform: uppercase;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--color-gray-light);
}

.site-footer__bottom a:hover {
  color: var(--color-accent);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Utilities for large screens ---------- */
@media (min-width: 1536px) {
  :root {
    --max-width: 1320px;
  }
}
