/* Alem Moving Services — layout like reference */

:root {
  --gold: #c9a227;
  --gold-light: #e4c04a;
  --black: #1a1a1a;
  --black-soft: #2d2d2d;
  --white: #fafafa;
  --gray: #6b6b6b;
  --gray-light: #e8e8e8;
  --teal: #1a4d5c;
  --teal-dark: #153d4a;
  --green: #5CB85C;
  --green-hover: #4caf50;
}

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

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

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, #0f2d38 0%, #153d4a 50%, #1a4d5c 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 1rem 0;
  color: var(--white);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-contact-link:hover {
  text-decoration: underline;
}

.header-address {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
}

.header-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.header-contact-sep {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.header-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: background 0.2s;
  justify-self: end;
}

.header-email-btn:hover {
  background: var(--green-hover);
}

.header-email-icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }
  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .header-contact {
    justify-content: center;
    order: 2;
    gap: 0.5rem;
  }
  .header-contact-link,
  .header-address {
    font-size: 0.85rem;
  }
  .header-contact-sep {
    display: none;
  }
  .logo {
    order: 1;
  }
  .logo img {
    height: 56px;
    margin: 0 auto;
  }
  .header-email-btn {
    justify-self: center;
    order: 3;
    min-height: 44px;
    padding: 0.6rem 1.25rem;
  }
}

.logo {
  display: block;
}

.logo img {
  display: block;
  height: 76px;
  width: auto;
  object-fit: contain;
}

/* Hero */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Moving theme: movers and van — Pexels */
  background: #1a1a1a url('https://images.pexels.com/photos/6169668/pexels-photo-6169668.jpeg?auto=compress&cs=tinysrgb&w=1920') center / cover no-repeat;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
    padding: 3rem 0 4rem;
  }
  .hero-inner {
    padding: 0 0.5rem;
  }
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
    margin-bottom: 0.75rem;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 0;
  }
}

/* Services — two cards with section title */
.services-section {
  padding: 4rem 1.5rem;
  background: #d1dae3;
  position: relative;
}

.services-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.services-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin: 0 0 0.35rem 0;
  letter-spacing: 0.02em;
}

.services-lead {
  text-align: center;
  color: var(--black-soft);
  font-size: 1.05rem;
  margin: 0 0 2.5rem 0;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.services-block {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.services-block-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal);
  text-align: center;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
}

.services-block-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 1.25rem;
  border-radius: 2px;
}

.services-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-block-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 1rem;
  color: var(--black-soft);
  line-height: 1.4;
}

.services-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: rgba(26, 77, 92, 0.12);
  color: var(--teal);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Packages section — 3 cards below services */
.packages-section {
  padding: 4rem 1.5rem;
  background: #d1dae3;
}

.packages-grid {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  padding: 0 0 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.package-header {
  flex-shrink: 0;
  background: #2f4858;
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 12px 12px 0 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.package-subtitle {
  flex-shrink: 0;
  text-align: center;
  color: #333c4d;
  font-size: 0.95rem;
  margin: 1rem 1.5rem 1rem;
  padding: 0;
  line-height: 1.4;
  min-height: 2.8em;
}

.package-features {
  flex: 1;
  min-height: 10rem;
  list-style: none;
  padding: 0 1.5rem;
  margin: 0 0 1rem 0;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: #333c4d;
  line-height: 1.4;
}

.package-check {
  color: #d4af37;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.package-price-wrap {
  flex-shrink: 0;
  text-align: center;
  padding: 1rem 1.5rem 0;
  border-top: 1px solid var(--gray-light);
  margin: 0 1.5rem;
}

.package-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black-soft);
  margin: 0;
}

.package-cta {
  flex-shrink: 0;
  display: block;
  margin: 1rem 1.5rem 0;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--white);
  background: var(--green);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.package-cta:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .services-section {
    padding: 2.5rem 1rem;
  }
  .services-block {
    padding: 1.75rem 1.25rem;
  }
  .services-block-heading {
    font-size: 1.3rem;
  }
  .services-block-list li {
    font-size: 0.95rem;
  }
  .packages-section {
    padding: 2.5rem 1rem;
  }
  .packages-grid {
    gap: 1.5rem;
  }
  .package-header {
    font-size: 1.1rem;
  }
  .package-subtitle,
  .package-features {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .package-price-wrap {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .package-cta {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* Quote strip */
.quote-strip {
  background: var(--white);
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.quote-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.quote-strip-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.quote-strip-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quote-input {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  min-width: 180px;
}

.quote-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(26, 77, 92, 0.15);
}

.quote-btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quote-btn:hover {
  background: var(--green-hover);
}

@media (max-width: 640px) {
  .quote-strip {
    padding: 1.25rem 0;
  }
  .quote-strip-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    text-align: center;
  }
  .quote-strip-title {
    font-size: 1.1rem;
  }
  .quote-strip-form {
    flex-direction: column;
  }
  .quote-input {
    min-width: 0;
    width: 100%;
  }
  .quote-btn {
    width: 100%;
    min-height: 44px;
  }
}

/* Form section */
.form-section {
  padding: 4rem 0 5rem;
  background: var(--black);
  color: var(--white);
}

.form-wrapper {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .form-wrapper {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: 3rem;
  }
}

@media (max-width: 719px) {
  .form-section {
    padding: 2.5rem 0 3rem;
  }
  .form-wrapper {
    gap: 1.5rem;
  }
  .form-intro {
    max-width: none;
  }
  .form-heading {
    font-size: 1.5rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .field input,
  .field textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    min-height: 44px;
  }
  .field textarea {
    min-height: 100px;
  }
  .btn {
    min-height: 48px;
    width: 100%;
  }
}

.form-intro {
  max-width: 360px;
}

.form-heading {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.form-text {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.5rem 0;
}

.form-city {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--black-soft);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.2);
}

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

.btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 0.25rem;
}

.btn:hover {
  background: var(--green-hover);
}

.btn:active {
  transform: scale(0.98);
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-brand {
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
  }
  .footer-brand,
  .footer-copyright {
    font-size: 0.85rem;
  }
}
