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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background-color: #fafbfc;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

ul {
  list-style: none;
}

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

.text-gradient {
  background: linear-gradient(135deg, #1a6b4c 0%, #2d8a66 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::before,
.contact-card::before,
.process-step::before,
.social-link::before,
.mobile-social-link::before,
.file-dropzone::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(26, 107, 76, 0.12), rgba(45, 138, 102, 0.16), rgba(26, 107, 76, 0.12));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.btn:hover::before,
.contact-card:hover::before,
.process-step:hover::before,
.social-link:hover::before,
.mobile-social-link:hover::before,
.file-dropzone:hover::before,
.file-dropzone.is-dragover::before {
  transform: scaleY(1);
}

.btn svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: #1a6b4c;
  color: white;
  box-shadow: 0 4px 14px 0 rgb(26 107 76 / 0.3);
}

.btn-primary:hover {
  background: #145539;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgb(26 107 76 / 0.4);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

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

.btn-outline {
  background: transparent;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
}

.btn-outline:hover {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: padding 300ms cubic-bezier(0.4, 0, 0.2, 1),
              background 300ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  padding: 0.75rem 0;
}

/* When mobile nav is open, remove backdrop-filter so it doesn't create
   a new containing block that breaks the nav's fixed positioning. */
.header.nav-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  box-shadow: none;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-image {
  display: flex;
  width: clamp(120px, 24vw, 220px);
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.footer-logo-link {
  margin-bottom: 1.5rem;
}

.footer-logo-image {
  width: clamp(140px, 18vw, 220px);
  max-height: 64px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #64748b;
  position: relative;
  padding: 0.5rem 0;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a6b4c;
  transition: width 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: #0f172a;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===== HEADER SUB-BAR (socials → quotes on scroll) ===== */
.header-subbar {
  position: relative;
  height: 2.5rem;
  overflow: hidden;
  width: 100%;
}

.subbar-socials,
.subbar-quotes {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.subbar-socials {
  opacity: 1;
  transform: translateY(0);
}

.subbar-quotes {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

/* When header gains .show-quotes, swap the two layers */
.header.show-quotes .subbar-socials {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.header.show-quotes .subbar-quotes {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.subbar-social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1877f2;
  border: 1px solid rgba(26, 107, 76, 0.15);
  box-shadow: 0 4px 8px -2px rgb(0 0 0 / 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.subbar-social-link svg {
  width: 1rem;
  height: 1rem;
}

.subbar-social-link:hover {
  transform: translateY(-2px);
  background: #1a6b4c;
  color: #fff;
}

.subbar-social-link.social-link-yahoo  { color: #6001d2; }
.subbar-social-link.social-link-yahoo:hover  { background: #6001d2; color: #fff; }
.subbar-social-link.social-link-gmail  { color: #d44638; }
.subbar-social-link.social-link-gmail:hover  { background: #d44638; color: #fff; }
.subbar-social-link.mobile-social-link-facebook:hover  { background: #1877f2; }
.subbar-social-link.mobile-social-link-messenger:hover { background: #0084ff; }

.subbar-social-link .social-mark {
  font-size: 0.75rem;
  font-weight: 800;
}

.subbar-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 0.8rem;
  font-weight: 400;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.subbar-quote.show {
  opacity: 1;
}

.mobile-socials {
  display: none;
}

.mobile-social-link {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1877f2;
  border: 1px solid rgba(26, 107, 76, 0.15);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1), background 200ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.mobile-social-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

.mobile-social-link:hover {
  transform: translateY(-2px);
  background: #1a6b4c;
  color: #ffffff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 245, 240, 0.8) 0%, rgba(250, 251, 252, 0.9) 50%, rgba(255, 255, 255, 1) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26, 107, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 107, 76, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 70%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 107, 76, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 107, 76, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -20px); }
  50% { transform: translate(-10px, 10px); }
  75% { transform: translate(15px, 15px); }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-content {
  max-width: 700px;
}


.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

/* ===== HERO SLIDESHOW (Carousel with prev/next peek) ===== */
.hero-slideshow {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: visible;
}

.slideshow-track {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  gap: 0.6rem;
  justify-items: center;
}

.slide {
  border-radius: 0.85rem;
  overflow: hidden;
  background: #f1f5f2;
  display: flex;
  flex-direction: column;
}

.slide-prev,
.slide-next {
  width: 80px;
  height: 140px;
  opacity: 0.3;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.slide-active {
  width: 100%;
  max-width: 300px;
  box-shadow: 0 12px 30px -8px rgb(0 0 0 / 0.18);
  z-index: 1;
}

.slideshow-img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f1f5f2;
}

.slide-prev .slideshow-img,
.slide-next .slideshow-img {
  height: 100%;
  object-fit: cover;
}

.slideshow-caption {
  display: block;
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #0f172a;
  padding: 0.55rem 0.5rem;
  background: #f1f5f2;
  transition: opacity 0.3s ease;
}

.hero-stats {
  display: none;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a6b4c;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e2e8f0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.75rem;
  animation: fadeInUp 1s ease-out 1.5s backwards;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: #1a6b4c;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out backwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out backwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out backwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== SECTION STYLES ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #e8f5f0;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a6b4c;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-description {
  font-size: 1.125rem;
  color: #64748b;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 6rem 0;
  background: #ffffff;
}

/* ===== SERVICE CATEGORIES ===== */
.service-category {
  margin-bottom: 3rem;
}

.service-category:last-child {
  margin-bottom: 0;
}

.category-header {
  margin-bottom: 1.5rem;
}

.category-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.category-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: #fafbfc;
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms ease, border-color 300ms ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  isolation: isolate;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, #1a6b4c 0%, #2d8a66 100%);
  opacity: 0.04;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #e2e8f0;
  box-shadow: 0 16px 22px -5px rgb(0 0 0 / 0.1), 0 6px 8px -4px rgb(0 0 0 / 0.08);
}

.service-card:hover::before {
  opacity: 0.08;
  transform: scaleY(1);
}

.service-item-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}

.service-price {
  font-size: 0.85rem;
  color: #1a6b4c;
  font-weight: 500;
}

/* "View Packages / View Sizes" toggle button */
.service-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid #1a6b4c;
  background: transparent;
  color: #1a6b4c;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.4rem;
  width: 100%;
  transition: background 0.15s ease, color 0.15s ease;
}

.service-expand-btn:hover {
  background: #1a6b4c;
  color: #ffffff;
}

/* Expandable pricing list inside a card */
.service-detail-list {
  display: none;
  width: 100%;
  margin-top: 0.6rem;
  text-align: left;
}

.service-detail-list.open {
  display: block;
}

.service-detail-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.service-detail-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem;
  background: rgba(26, 107, 76, 0.04);
  border-radius: 0.4rem;
  font-size: 0.78rem;
  color: #334155;
}

.service-detail-list li span {
  flex: 1;
  min-width: 0;
}

.service-detail-list li strong {
  color: #1a6b4c;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.detail-note {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 0.4rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 6rem 0;
  background: #fafbfc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image-wrapper {
  display: none;
}

.about-image-container {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.4) 100%);
  pointer-events: none;
}

.about-experience {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: #1a6b4c;
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.experience-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}

.experience-text {
  font-size: 0.875rem;
  opacity: 0.9;
}

.about-content {
  max-width: 760px;
}

.about-description {
  font-size: 1.0625rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: #e8f5f0;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a6b4c;
  flex-shrink: 0;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.about-feature:hover .feature-icon {
  background: #1a6b4c;
  color: white;
  transform: scale(1.1);
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.875rem;
  color: #64748b;
}

/* ===== REQUEST SECTION ===== */
.request {
  padding: 6rem 0;
  background: #ffffff;
  overflow-x: hidden;
}

.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.request-info {
  position: sticky;
  top: 8rem;
}

.request-description {
  font-size: 1.0625rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fafbfc;
  border-radius: 0.75rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.process-step:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: #1a6b4c;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.875rem;
  color: #64748b;
}

.request-form-wrapper {
  background: #fafbfc;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  max-width: 100%;
  overflow: hidden;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 0;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #0f172a;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a6b4c;
  box-shadow: 0 0 0 4px rgb(26 107 76 / 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

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

/* Phone number with +63 prefix */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 0.75rem;
  background: #e8f5f0;
  color: #1a6b4c;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1.5px solid #e2e8f0;
  border-right: none;
  border-radius: 0.75rem 0 0 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-input-wrapper input {
  border-radius: 0 0.75rem 0.75rem 0 !important;
  flex: 1;
  min-width: 0;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.file-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1.5px dashed #b7cdc2;
  background: linear-gradient(135deg, #ffffff 0%, #f5faf7 100%);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.file-dropzone:hover,
.file-dropzone.is-dragover {
  border-color: #1a6b4c;
  transform: translateY(-2px);
  box-shadow: 0 18px 26px -18px rgb(26 107 76 / 0.45);
}

.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-dropzone-content {
  display: grid;
  gap: 0.25rem;
  text-align: center;
  color: #0f172a;
}

.file-dropzone-content span {
  color: #64748b;
  font-size: 0.92rem;
}

.file-note {
  font-size: 0.875rem;
  color: #64748b;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 6rem 0;
  background: #fafbfc;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: #e2e8f0;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  background: #e8f5f0;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a6b4c;
  margin: 0 auto 1.5rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-card:hover .contact-icon {
  background: #1a6b4c;
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

a.contact-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-card p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a1628;
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-description {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.social-mark {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.social-link-facebook:hover,
.mobile-social-link-facebook:hover {
  background: #1877f2;
}

.social-link-yahoo,
.mobile-social-link.social-link-yahoo {
  color: #6001d2;
}

.social-link-yahoo:hover,
.mobile-social-link.social-link-yahoo:hover {
  background: #6001d2;
  color: #ffffff;
}

.social-link-gmail,
.mobile-social-link.social-link-gmail {
  color: #d44638;
}

.social-link-gmail:hover,
.mobile-social-link.social-link-gmail:hover {
  background: #d44638;
  color: #ffffff;
}

.social-link-messenger:hover,
.mobile-social-link-messenger:hover {
  background: #0084ff;
}

.social-link:hover {
  background: #1a6b4c;
  transform: translateY(-4px);
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-newsletter h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #1a6b4c;
}

.newsletter-form button {
  width: 3rem;
  height: 3rem;
  background: #1a6b4c;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-form button svg {
  width: 1.125rem;
  height: 1.125rem;
}

.newsletter-form button:hover {
  background: #2d8a66;
  transform: scale(1.05);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal a:hover {
  color: white;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: #1a6b4c;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #145539;
  transform: translateY(-4px);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

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

/* ── Tablets / small laptops ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-slideshow {
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content {
    max-width: 100%;
  }

  .about-experience {
    right: 1rem;
    bottom: -1rem;
  }

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

  .request-grid {
    grid-template-columns: 1fr;
  }

  .request-info {
    position: static;
  }

  .request-form-wrapper {
    padding: 2rem;
  }

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

/* ── Phones (landscape / large phones) ────────────────────────────────────── */
@media (max-width: 768px) {
  /* Header & Nav */
  .header-container {
    padding: 0 1rem;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
                visibility 300ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: flex;
    z-index: 1002;
  }

  .header-actions .btn {
    display: none;
  }

  /* Sub-bar */
  .subbar-quote {
    font-size: 0.7rem;
  }

  .subbar-social-link {
    width: 1.75rem;
    height: 1.75rem;
  }

  .subbar-social-link svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  /* Hero */
  .hero {
    padding: 7rem 0 3rem;
  }

  .hero-container {
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-orb-1,
  .hero-orb-2 {
    display: none;
  }

  .hero-slideshow {
    max-width: 100%;
  }

  .slideshow-track {
    grid-template-columns: 60px 1fr 60px;
    gap: 0.4rem;
  }

  .slide-active {
    max-width: 220px;
  }

  .slideshow-img {
    height: 165px;
  }

  .slide-prev,
  .slide-next {
    width: 60px;
    height: 110px;
  }

  /* Grids → 2 columns on phones */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* About */
  .about-experience {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1rem auto 0;
    display: inline-block;
  }

  .about-image-container {
    text-align: center;
  }

  /* Misc */
  .scroll-indicator {
    display: none;
  }

  .request-form-wrapper {
    padding: 1.5rem;
  }
}

/* ── Small phones ─────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 6rem 0 2.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .slideshow-track {
    grid-template-columns: 45px 1fr 45px;
    gap: 0.3rem;
  }

  .slide-active {
    max-width: 190px;
  }

  .slideshow-img {
    height: 140px;
  }

  .slide-prev,
  .slide-next {
    width: 45px;
    height: 90px;
  }

  .slideshow-caption {
    font-size: 0.85rem;
    padding: 0.35rem 0;
  }

  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .request-form-wrapper {
    padding: 1.25rem;
  }

  .logo-image {
    width: clamp(100px, 36vw, 160px);
    max-height: 44px;
  }

  .subbar-quote {
    font-size: 0.6rem;
    max-width: 95%;
  }

  .subbar-social-link {
    width: 1.6rem;
    height: 1.6rem;
  }

  .subbar-social-link svg {
    width: 0.8rem;
    height: 0.8rem;
  }

  .subbar-social-link .social-mark {
    font-size: 0.65rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .process-step {
    padding: 1rem;
  }

  .about {
    padding: 4rem 0;
  }

  .services {
    padding: 4rem 0;
  }

  .contact {
    padding: 4rem 0;
  }

  .request {
    padding: 4rem 0;
  }
}

/* ── Very small phones (320px) ────────────────────────────────────────────── */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .header-subbar {
    height: 2rem;
  }

  .subbar-social-link {
    width: 1.4rem;
    height: 1.4rem;
  }

  .subbar-quote {
    font-size: 0.55rem;
  }

  .cart-button {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}
