/* ============================================================
   Gravity Excavation Ltd. — Main Stylesheet
   Colors: Earth Brown #2c1810 | Amber #e8a020 | BG #f8f5f0 | Text #2d2d2d
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brown:      #2c1810;
  --brown-dark: #1a0e09;
  --amber:      #e8a020;
  --amber-dk:   #c48010;
  --bg:         #f8f5f0;
  --bg-alt:     #f0ebe3;
  --text:       #2d2d2d;
  --text-muted: #6b5c50;
  --white:      #ffffff;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(44,24,16,0.10);
  --shadow-lg:  0 8px 40px rgba(44,24,16,0.15);
  --transition: 0.2s ease;
  --max-w:      1140px;
  --section-py: 80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.btn-primary {
  background: var(--amber);
  color: var(--brown-dark);
}
.btn-primary:hover { background: var(--amber-dk); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,160,32,0.40); }

.btn-secondary {
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
}
.btn-secondary:hover { background: var(--brown); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; padding: 15px; }

/* ---------- Section Shared ---------- */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--bg); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.section-label {
  display: inline-block;
  background: rgba(232,160,32,0.12);
  color: #a06010;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; color: var(--white); }
h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 700; color: var(--brown); line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--brown); margin-bottom: 10px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(44,24,16,0.08);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brown);
  letter-spacing: 0.02em;
}

/* Nav */
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: var(--brown); background: var(--bg); }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 55%, #4a2418 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 40%, rgba(232,160,32,0.18) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(232,160,32,0.2);
  color: #ffd080;
  border: 1px solid rgba(232,160,32,0.4);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 600px;
  margin: 20px 0 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e2d8d0;
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(44,24,16,0.07), rgba(232,160,32,0.10));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 10px; }
.service-card p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }

.service-card ul { display: flex; flex-direction: column; gap: 7px; }
.service-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.8rem;
}

/* ============================================================
   VINEYARD & ORCHARD SPOTLIGHT
   ============================================================ */
.vineyard-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.vineyard-text .section-label { display: block; margin-bottom: 12px; }
.vineyard-text h2 { margin-bottom: 20px; }

.vineyard-intro {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.65;
}

.vineyard-text > p { color: var(--text-muted); margin-bottom: 24px; }

.vineyard-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.vineyard-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--brown);
}
.vineyard-list svg {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.vineyard-cta-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Vineyard visual card */
.vineyard-visual {
  position: sticky;
  top: 90px;
}

.vineyard-card {
  background: linear-gradient(145deg, var(--brown) 0%, #4a2418 100%);
  border-radius: 24px;
  padding: 48px 36px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.vineyard-card-icon {
  width: 100px;
  height: 100px;
  background: rgba(232,160,32,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--amber);
}

.vineyard-card-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.vineyard-card-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  margin-bottom: 28px;
}

.vineyard-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.vineyard-areas span {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brown), #4a2418);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}

.feature h3 { font-size: 1.05rem; margin-bottom: 0; }
.feature p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.area-text .section-label { display: block; margin-bottom: 12px; }
.area-text h2 { margin-bottom: 16px; }
.area-text > p { color: var(--text-muted); margin-bottom: 28px; }

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 32px;
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brown);
}
.area-list svg { color: var(--amber); flex-shrink: 0; }

.area-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.area-map-placeholder {
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  background: linear-gradient(135deg, var(--brown) 0%, #4a2418 100%);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.area-map-placeholder p  { font-size: 1.3rem; font-weight: 700; }
.area-map-placeholder span { font-size: 0.9rem; opacity: 0.7; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-label { display: block; margin-bottom: 12px; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid #e2d8d0;
  transition: border-color var(--transition), box-shadow var(--transition);
}
a.contact-item:hover { border-color: var(--amber); box-shadow: 0 2px 12px rgba(232,160,32,0.15); }

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(44,24,16,0.08), rgba(232,160,32,0.10));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-item span   { font-size: 0.95rem; font-weight: 500; color: var(--brown); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2d8d0;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brown);
}
.form-group label span { color: var(--amber); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid #d1c8c0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.18);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b5c50' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -8px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 600;
}
.form-success[hidden] { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px 40px;
}

.footer-brand .logo-text { color: var(--white); font-size: 1rem; }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: var(--amber); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--amber); }
.footer-contact .btn { margin-top: 6px; align-self: flex-start; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-seo-text { font-size: 0.75rem !important; }

/* ============================================================
   FLOATING CALL BUTTON
   ============================================================ */
.float-call {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--amber);
  color: var(--brown-dark);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,160,32,0.50);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-call:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(232,160,32,0.60); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 900px) {
  :root { --section-py: 60px; }

  .main-nav { display: none; }
  .header-cta .btn-secondary { display: none; }
  .hamburger { display: flex; }

  /* Mobile nav open state */
  .main-nav.nav-open {
    display: block;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(44,24,16,0.12);
    padding: 20px 24px 28px;
    z-index: 999;
  }
  .main-nav.nav-open ul { flex-direction: column; gap: 2px; }
  .main-nav.nav-open a { display: block; padding: 12px 16px; font-size: 1rem; }

  .vineyard-inner { grid-template-columns: 1fr; gap: 36px; }
  .vineyard-visual { position: static; }

  .area-inner { grid-template-columns: 1fr; gap: 36px; }
  .area-visual { display: none; }

  .contact-inner { grid-template-columns: 1fr; gap: 36px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --section-py: 48px; }

  .header-cta { display: none; }

  h1 { font-size: 2.2rem; }

  .hero-content { padding: 60px 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 24px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }

  /* Show floating call button on mobile */
  .float-call { display: flex; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.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;
}
