/* =============================================
   AMRYN CLEANING SERVICES — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #111111;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* --- CSS Variables --- */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #aaaaaa;
  --gray-600: #666666;
  --gray-800: #222222;
  --green: #3a7d44;
  --max-width: 1200px;
  --section-pad: 96px 24px;
  --radius: 4px;
  --transition: 0.2s ease;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--gray-600); }

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

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

.section--dark p {
  color: rgba(255,255,255,0.65);
}

.section--gray {
  background: var(--gray-100);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: #333333;
  border-color: #333333;
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-200);
  border-color: var(--gray-200);
}

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}

.nav__logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black);
  text-transform: uppercase;
}

.nav__logo span {
  color: var(--gray-400);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--black);
}

.nav__cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
}

.nav__cta:hover {
  background: #333 !important;
  color: var(--white) !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 24px;
  gap: 20px;
}

.nav__mobile a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
}

.nav__mobile.open {
  display: flex;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 24px;
}

.hero__title span {
  font-style: italic;
  font-weight: 400;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.2; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* =============================================
   STATS BAR
   ============================================= */

.stats-bar {
  background: var(--black);
  padding: 32px 24px;
}

.stats-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-bar__item h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}

.stats-bar__item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =============================================
   SERVICE CARDS (Preview)
   ============================================= */

.services-preview {
  padding: var(--section-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.service-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card__body {
  padding: 28px;
}

.service-card__body h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card__body p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

.service-card__link::after {
  content: '→';
  transition: transform 0.2s;
}

.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-item {
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.why-item:hover {
  border-color: var(--black);
  box-shadow: 0 0 0 1px var(--black);
}

.why-item__icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* =============================================
   OUR PROCESS
   ============================================= */

.our-process__layout {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 56px;
  align-items: start;
}

.our-process__col {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.our-process__image-wrap {
  position: sticky;
  top: 88px;
}

.our-process__image-wrap img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
}

.process-item__icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.process-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.process-item p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* =============================================
   PROCESS
   ============================================= */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: var(--gray-200);
}

.process-step {
  padding: 0 32px;
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 64px;
  height: 64px;
  background: var(--black);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-card__stars span {
  color: #f5a623;
  font-size: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-800);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  border-top: 1px solid var(--gray-200);
  padding-top: 20px;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black);
}

.testimonial-card__author span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* =============================================
   CTA BANNER
   ============================================= */

.cta-banner {
  background: var(--black);
  padding: 80px 24px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 36px;
}

/* =============================================
   CONTACT FORM
   ============================================= */

.contact-form-section {
  padding: var(--section-pad);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--black);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail__text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-detail__text span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.925rem;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  width: 100%;
  text-align: center;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 8px;
}

/* =============================================
   SERVICES PAGE
   ============================================= */

.page-hero {
  background: var(--black);
  padding: 80px 24px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.service-detail {
  padding: 80px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.service-detail__inner.reverse {
  direction: rtl;
}

.service-detail__inner.reverse > * {
  direction: ltr;
}

.service-detail__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
}

.service-detail__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.service-detail__content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-detail__content p {
  margin-bottom: 24px;
  line-height: 1.75;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-800);
  font-weight: 500;
}

.service-bullets li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* =============================================
   ABOUT PAGE
   ============================================= */

.about-intro {
  padding: var(--section-pad);
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-intro__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 6px;
}

.about-intro__content h2 {
  margin-bottom: 20px;
}

.about-intro__content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 36px 28px;
  background: var(--black);
  border-radius: 6px;
}

.value-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 24px 32px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer__brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.7;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.footer__logo span {
  color: rgba(255,255,255,0.35);
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 16px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--black);
  border-left: 3px solid var(--green);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
}

.toast--error {
  border-left-color: #c0392b;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =============================================
   ANIMATIONS
   ============================================= */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .our-process__layout {
    grid-template-columns: 1fr 280px 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .services-grid,
  .testimonials-grid,
  .process-steps,
  .why-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .our-process__layout {
    grid-template-columns: 1fr;
  }

  .our-process__image-wrap {
    position: static;
    order: -1;
  }

  .our-process__image-wrap img {
    height: 340px;
  }

  .process-steps::before {
    display: none;
  }

  .contact-form-grid,
  .about-intro__inner,
  .service-detail__inner,
  .service-detail__inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .service-detail__img,
  .about-intro__img {
    height: 260px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .stats-bar__inner {
    grid-template-columns: 1fr 1fr;
  }
}
