/* ==========================================================================
   Date Palm Villas Ltd — Website Styles
   ========================================================================== */

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

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

:root {
  /* Brand colors */
  --green-900: #1c2e12;
  --green-800: #243c18;
  --green-700: #2e4a1f;
  --green-600: #3a5b29;
  --green-500: #4a6f36;
  --gold: #c9a961;
  --gold-light: #e0c689;
  --gold-dark: #a8893f;
  --cream: #f5f0e3;
  --cream-light: #faf6ec;
  --off-white: #fafaf7;
  --charcoal: #1a1a1a;
  --gray-700: #3a3a3a;
  --gray-500: #6a6a6a;
  --gray-300: #c8c8c8;
  --gray-200: #e5e5e0;
  --gray-100: #f2f2ee;
  --white: #ffffff;

  /* Fonts */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 960px;
  --nav-height: 72px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(28, 46, 18, 0.08);
  --shadow-md: 0 6px 20px rgba(28, 46, 18, 0.12);
  --shadow-lg: 0 12px 40px rgba(28, 46, 18, 0.18);

  /* Transitions */
  --t-fast: 0.18s ease;
  --t-med: 0.3s ease;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
  display: inline-block;
}

.eyebrow.on-dark {
  color: var(--gold-light);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 4rem 0;
}

.section-lg {
  padding: 5.5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
  .section-lg { padding: 7rem 0; }
}

.section-dark {
  background: var(--green-800);
  color: var(--cream);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--cream);
}

.section-cream {
  background: var(--cream-light);
}

/* Gold divider - decorative section break */
.divider-gold {
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
  border: none;
}

.divider-gold.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-900);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--green-700);
  color: var(--cream);
}

.btn-secondary:hover {
  background: var(--green-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--green-900);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-700);
}

.btn-outline-dark:hover {
  background: var(--green-700);
  color: var(--cream);
}

.btn-wa {
  background: #25d366;
  color: #fff;
}

.btn-wa:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--green-900);
  z-index: 1000;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
}

.nav-logo-text .tag {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--green-700);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--t-fast);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold);
  color: var(--green-900);
  padding: 0.6rem 1.1rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--t-fast);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all var(--t-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--green-900);
  transform: translateX(100%);
  transition: transform var(--t-med);
  z-index: 999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-menu-links a {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  transition: color var(--t-fast);
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--gold);
}

.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--green-900);
  padding: 1rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 1rem;
}

.mobile-menu-cta svg { width: 20px; height: 20px; }

@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  background: var(--green-900);
  color: var(--cream);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(74, 111, 54, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  color: var(--cream);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero .lede {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245, 240, 227, 0.85);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-stats {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(245, 240, 227, 0.75);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero { padding: 6rem 0 6.5rem; }
  .hero-stats { gap: 3rem; }
}

/* ---------- Page Hero (other pages) ---------- */
.page-hero {
  background: var(--green-800);
  color: var(--cream);
  padding: 3rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
}

.page-hero .container { position: relative; }

.page-hero h1 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.page-hero .divider-gold {
  margin: 1rem auto 1.25rem;
}

.page-hero p {
  color: rgba(245, 240, 227, 0.85);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .page-hero { padding: 4.5rem 0 5rem; }
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header.left {
  text-align: left;
  margin: 0 0 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.02rem;
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.why-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--cream-light);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  transition: all var(--t-fast);
}

.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  background: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.why-icon svg { width: 26px; height: 26px; }

.why-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--green-900);
}

.why-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Services Preview (Home) ---------- */
.services-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.service-preview-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2rem 1.5rem;
  border-radius: 6px;
  transition: all var(--t-fast);
  position: relative;
}

.service-preview-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-preview-card .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.service-preview-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.service-preview-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-preview-card .link {
  color: var(--green-700);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-preview-card .link:hover {
  color: var(--gold-dark);
}

/* ---------- Featured Property (Home) ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.featured-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-content .eyebrow {
  color: var(--gold-dark);
}

.featured-content h2 {
  margin-bottom: 1rem;
}

.featured-content .desc {
  color: var(--gray-700);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.featured-meta-item {
  min-width: 100px;
}

.featured-meta-item .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 0.2rem;
}

.featured-meta-item .val {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-900);
  font-size: 1rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--cream-light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.testimonial-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all var(--t-fast);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.testimonial-stars svg { width: 18px; height: 18px; }

.testimonial-text {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: var(--green-700);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author-info .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-900);
}

.testimonial-author-info .source {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--green-800);
  background-image: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--cream);
  text-align: center;
  padding: 4rem 1rem;
}

.cta-section h2 {
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.cta-section p {
  color: rgba(245, 240, 227, 0.85);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* ---------- About Page ---------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.overview-content p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.overview-highlight {
  background: var(--cream-light);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-top: 1.5rem;
}

.overview-highlight p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--green-900);
  font-style: italic;
  font-size: 1.02rem;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

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

.mv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2rem 1.75rem;
  border-radius: 6px;
  border-top: 5px solid var(--gold);
}

.mv-card .mv-label {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.mv-card h3 {
  color: var(--green-900);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.mv-card ul {
  list-style: none;
  padding: 0;
}

.mv-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 0.95rem;
}

.mv-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.mv-card.vision {
  background: var(--green-800);
  color: var(--cream);
  border-top-color: var(--gold);
  border-color: var(--green-800);
}

.mv-card.vision h3 { color: var(--cream); }
.mv-card.vision p { color: rgba(245, 240, 227, 0.9); font-size: 1rem; line-height: 1.7; }

/* Core Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

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

.value-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  transition: all var(--t-fast);
}

.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1rem;
}

.value-icon svg { width: 24px; height: 24px; }

.value-card h4 {
  margin-bottom: 0.4rem;
  color: var(--green-900);
}

.value-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* CEO Section */
.ceo-section {
  background: var(--green-800);
  color: var(--cream);
}

.ceo-section h2 { color: var(--cream); }

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

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

.ceo-portrait {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  margin: 0 auto;
}

.ceo-portrait::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  z-index: -1;
}

.ceo-body .eyebrow { color: var(--gold-light); }

.ceo-body h2 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.ceo-body .role {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.ceo-body p {
  color: rgba(245, 240, 227, 0.88);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.ceo-attributes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
}

.ceo-attr {
  text-align: left;
}

.ceo-attr-icon {
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.ceo-attr-icon svg { width: 22px; height: 22px; }

.ceo-attr strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ceo-attr span {
  font-size: 0.8rem;
  color: rgba(245, 240, 227, 0.7);
  line-height: 1.4;
}

/* Credentials */
.credentials {
  background: var(--cream-light);
}

.cred-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.cred-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.cred-icon {
  width: 46px;
  height: 46px;
  background: var(--green-700);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.cred-icon svg { width: 24px; height: 24px; }

.cred-card h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--green-900);
}

.cred-card .cred-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.cred-card .cred-meta {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ---------- Services Page ---------- */
.services-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.services-intro p {
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.75rem 1.5rem;
  border-radius: 6px;
  position: relative;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  min-width: 48px;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--green-900);
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.93rem;
  line-height: 1.55;
  margin: 0;
}

.service-card-icon {
  color: var(--green-700);
  margin-bottom: 0.9rem;
}

.service-card-icon svg { width: 32px; height: 32px; }

/* Roofing section */
.roofing-section {
  background: var(--green-900);
  color: var(--cream);
}

.roofing-section h2 { color: var(--cream); }
.roofing-section .eyebrow { color: var(--gold-light); }

.roofing-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  color: rgba(245, 240, 227, 0.85);
  font-size: 1rem;
  line-height: 1.7;
}

.roofing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

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

.roof-card {
  background: rgba(245, 240, 227, 0.05);
  border: 1px solid rgba(201, 169, 97, 0.3);
  padding: 1.5rem 1.25rem;
  border-radius: 6px;
  text-align: center;
  transition: all var(--t-fast);
}

.roof-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  background: rgba(245, 240, 227, 0.08);
}

.roof-card .badge {
  display: inline-block;
  background: var(--gold);
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.roof-card h3 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.roof-card .price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  margin: 0.75rem 0 0.2rem;
}

.roof-card .unit {
  font-size: 0.78rem;
  color: rgba(245, 240, 227, 0.6);
}

.roofing-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

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

.roof-feature {
  text-align: center;
  color: rgba(245, 240, 227, 0.85);
}

.roof-feature svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.roof-feature span {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Quarry section */
.quarry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

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

.quarry-content h2 { margin-bottom: 1rem; }

.quarry-content p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.quarry-materials {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 1.25rem 0 2rem;
}

.quarry-materials li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.quarry-materials li svg {
  width: 18px;
  height: 18px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.quarry-pricing {
  background: var(--cream-light);
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 2rem 1.75rem;
}

.quarry-pricing .eyebrow { color: var(--gold-dark); }

.quarry-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.quarry-price-row:last-of-type { border-bottom: none; }

.quarry-price-label {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.quarry-price-val {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green-700);
  font-size: 1.35rem;
}

.quarry-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ---------- Properties Page ---------- */
.properties-intro {
  background: var(--cream-light);
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.properties-intro p {
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.65;
}

.flyer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 640px) { .flyer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .flyer-grid { grid-template-columns: repeat(3, 1fr); gap: 2.25rem; } }

.flyer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
}

.flyer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.flyer-image {
  position: relative;
  overflow: hidden;
  background: var(--cream-light);
  cursor: zoom-in;
}

.flyer-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.flyer-card:hover .flyer-image img {
  transform: scale(1.02);
}

.flyer-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 48px;
  height: 48px;
  background: rgba(46, 74, 31, 0.9);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a961'%3E%3Cpath d='M15 3l2.3 2.3-2.89 2.87 1.42 1.42L18.7 6.7 21 9V3zM3 9l2.3-2.3 2.87 2.89 1.42-1.42L6.7 5.3 9 3H3zm6 12l-2.3-2.3 2.89-2.87-1.42-1.42L5.3 17.3 3 15v6zm12-6l-2.3 2.3-2.87-2.89-1.42 1.42 2.89 2.87L15 21h6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
  opacity: 0;
  transition: all var(--t-fast);
  pointer-events: none;
}

.flyer-card:hover .flyer-image::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.flyer-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.flyer-tag {
  display: inline-block;
  background: var(--green-700);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.flyer-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.flyer-desc {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex-grow: 1;
}

.flyer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem;
  background: var(--green-700);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 4px;
  transition: all var(--t-fast);
}

.flyer-cta:hover {
  background: var(--gold);
  color: var(--green-900);
}

.flyer-cta svg { width: 17px; height: 17px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 15, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 95vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(245, 240, 227, 0.15);
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--green-900);
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

.contact-info h2 { margin-bottom: 0.5rem; }

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-methods {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  background: var(--cream-light);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  color: var(--charcoal);
  transition: all var(--t-fast);
}

.contact-method:hover {
  border-color: var(--gold);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.contact-method-icon {
  width: 46px;
  height: 46px;
  background: var(--green-700);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-method-icon svg { width: 22px; height: 22px; }

.contact-method-body {
  flex: 1;
  min-width: 0;
}

.contact-method-body .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.1rem;
}

.contact-method-body .val {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-900);
  font-size: 0.98rem;
  word-break: break-word;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
  color: var(--green-900);
  margin-bottom: 0.35rem;
}

.contact-form-wrap p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--green-900);
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream-light);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  transition: all var(--t-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.form-message {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  display: none;
}

.form-message.success {
  background: #e8f4e1;
  color: #3a5b29;
  border: 1px solid #a7c396;
  display: block;
}

.form-message.error {
  background: #fbe8e8;
  color: #8c2626;
  border: 1px solid #e8a8a8;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-900);
  color: var(--cream);
  padding: 3.5rem 0 1.5rem;
}

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

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

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; }
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 42px;
  height: 42px;
  background: var(--cream);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer-logo-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--green-700);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
  font-size: 1.02rem;
}

.footer-logo-text .tag {
  font-size: 0.66rem;
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: rgba(245, 240, 227, 0.7);
  line-height: 1.6;
  margin: 0;
}

.footer h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(245, 240, 227, 0.75);
  font-size: 0.92rem;
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(245, 240, 227, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-list li svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a {
  color: rgba(245, 240, 227, 0.8);
  word-break: break-word;
}

.footer-contact-list a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(245, 240, 227, 0.6);
}

.footer-bottom a:hover { color: var(--gold); }

/* ---------- Reveal on scroll ---------- */
/* Uses .js-ready class added by JS to progressively enhance.
   Without JS, content is always visible (graceful degradation). */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Mining & Quarry Equipment section (added) ---------- */
.mining-section {
  background: var(--cream-light);
  position: relative;
}

.mining-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 0.6rem;
}

.mining-intro {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
}

.mining-intro strong {
  color: var(--green-900);
}

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

@media (min-width: 640px) {
  .equipment-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.equipment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.equipment-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.equipment-icon {
  width: 56px;
  height: 56px;
  background: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.equipment-icon svg { width: 28px; height: 28px; }

.equipment-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-900);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
}

.equipment-showcase {
  margin: 2.5rem 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.equipment-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

.equipment-showcase-caption {
  background: var(--green-800);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  text-align: center;
  letter-spacing: 0.02em;
}
