/**
 * Pretty Mow'd Lawns - Combined Site Stylesheet
 */

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
:root {
  --nav-font: "Open Sans", sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #535d6b;
  --heading-color: #344761;
  --accent-color: #5c99ee;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: rgba(83, 93, 107, 0.875);
  --nav-hover-color: #0b1e38;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #535d6b;
  --nav-dropdown-hover-color: #5c99ee;
}

.light-background {
  --background-color: #f8fbff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  white-space: pre-line;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header {
  --background-color: #ffffff;
}

/*--------------------------------------------------------------
# Navigation Menu – Desktop only
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu > ul > li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 14px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 1px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 60px;
  }
}


/* ==========================================================================
   Pretty Mow'd Lawns custom styles
   ========================================================================== */

/**
 * Pretty Mow'd Lawns – Custom Stylesheet
 * Sits on top of the Devin template's main.css.
 * All brand colors and custom components are defined here.
 *
 * Color Palette:
 *   --pml-green-dark:  #2d6a2d  (primary dark green)
 *   --pml-green-mid:   #3d8b3d  (primary mid green – buttons, accents)
 *   --pml-green-light: #6ab04c  (secondary / hover)
 *   --pml-green-pale:  #eaf4ea  (light background tint)
 *   --pml-white:       #ffffff
 *   --pml-off-white:   #f8fdf8
 *   --pml-text:        #2c3e2c  (body text, dark green-tinted)
 *   --pml-text-muted:  #5a6e5a
 *   --pml-heading:     #1a3d1a  (very dark green for headings)
 */

/* ================================================================
   CSS VARIABLES
================================================================ */
:root {
  --pml-green-dark:  #2d6a2d;
  --pml-green-mid:   #3d8b3d;
  --pml-green-light: #6ab04c;
  --pml-green-pale:  #eaf4ea;
  --pml-white:       #ffffff;
  --pml-off-white:   #f8fdf8;
  --pml-text:        #2c3e2c;
  --pml-text-muted:  #5a6e5a;
  --pml-heading:     #1a3d1a;
  --pml-border:      #d0e8d0;

  /* Override template accent */
  --accent-color:    #3d8b3d;
  --heading-color:   #1a3d1a;
  --default-color:   #2c3e2c;

  /* Fonts */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Lato', system-ui, sans-serif;
  --font-nav:      'Open Sans', system-ui, sans-serif;

  /* Transitions */
  --transition: 0.3s ease;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(45, 106, 45, 0.08);
  --shadow-md: 0 6px 28px rgba(45, 106, 45, 0.14);
  --shadow-lg: 0 12px 48px rgba(45, 106, 45, 0.18);
}

/* ================================================================
   BASE OVERRIDES
================================================================ */
body {
  font-family: var(--font-body);
  color: var(--pml-text);
  background-color: var(--pml-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--pml-heading);
  line-height: 1.25;
}

h1 em, h2 em {
  font-style: italic;
  color: var(--pml-green-mid);
}

p {
  line-height: 1.75;
}

a {
  color: var(--pml-green-mid);
  transition: color var(--transition);
}
a:hover {
  color: var(--pml-green-dark);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--pml-green-dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 9999;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 1rem;
}

/* ================================================================
   HEADER / NAV
================================================================ */
.header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
  padding: 14px 0;
}

.scrolled .header,
.header.scrolled {
  background: rgba(255,255,255,0.99);
  border-bottom-color: var(--pml-border);
  box-shadow: var(--shadow-sm);
}

/* Logo */
.pml-logo-icon {
  height: 40px;
  width: auto;
  margin-right: 10px;
  flex-shrink: 0;
}

.header .sitename {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pml-heading);
  line-height: 1.2;
}

/* Nav links */
.navmenu a {
  font-family: var(--font-nav);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pml-text);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.navmenu a:hover,
.navmenu a.active {
  color: var(--pml-green-mid);
  background: var(--pml-green-pale);
}

/* Mobile nav toggle */
.mobile-nav-toggle {
  background: none;
  border: none;
  color: var(--pml-heading);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition);
}
.mobile-nav-toggle:hover {
  background: var(--pml-green-pale);
}

@media (min-width: 1200px) {
  .navmenu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
  }
}

/* ================================================================
   BUTTONS
================================================================ */
.pml-btn-primary {
  background: var(--pml-green-mid);
  color: var(--pml-white) !important;
  border: 2px solid var(--pml-green-mid);
  padding: 13px 30px;
  border-radius: 8px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.pml-btn-primary:hover {
  background: var(--pml-green-dark);
  border-color: var(--pml-green-dark);
  color: var(--pml-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pml-btn-outline {
  background: transparent;
  color: var(--pml-white) !important;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 13px 30px;
  border-radius: 8px;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.pml-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: var(--pml-white) !important;
  transform: translateY(-2px);
}

/* ================================================================
   SHARED SECTION ELEMENTS
================================================================ */
.section {
  padding: 80px 0;
}

.pml-section-label {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pml-green-mid);
  background: var(--pml-green-pale);
  border: 1px solid var(--pml-border);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.pml-section-header {
  margin-bottom: 20px;
}
.pml-section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}
.pml-section-sub {
  color: var(--pml-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.pml-lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--pml-text);
  line-height: 1.75;
}

/* Image placeholders (swap with real <img> tags) */
.pml-img-placeholder {
  background: linear-gradient(135deg, var(--pml-green-pale) 0%, #d4ecd4 100%);
  border: 2px dashed var(--pml-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--pml-green-mid);
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pml-img-placeholder i {
  font-size: 2.5rem;
  opacity: 0.5;
}

.pml-about-placeholder { height: 480px; }
.pml-services-placeholder { height: 380px; }
.pml-why-placeholder { height: 460px; }

/* ================================================================
   HERO SECTION
================================================================ */
.pml-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--pml-green-dark);
  padding-top: 90px;
}

/* Hero background image area */
.pml-hero-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #1a3d1a 0%,
    #2d6a2d 40%,
    #3d8b3d 70%,
    #6ab04c 100%
  );
  z-index: 0;
}

.pml-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.pml-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(26, 61, 26, 0.88) 0%,
    rgba(26, 61, 26, 0.6) 60%,
    rgba(26, 61, 26, 0.2) 100%
  );
  z-index: 1;
}

.pml-hero .container {
  position: relative;
  z-index: 2;
}

.pml-hero-tagline {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--pml-green-light);
  border: 1px solid rgba(106, 176, 76, 0.4);
  background: rgba(106, 176, 76, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.pml-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 22px;
}
.pml-hero h1 em {
  color: var(--pml-green-light);
  font-style: italic;
}

.pml-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
}

.pml-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.pml-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-nav);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 14px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.pml-hero-badges i {
  color: var(--pml-green-light);
}

.pml-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ================================================================
   TRUST BAR
================================================================ */
.pml-trust-bar {
  background: var(--pml-green-dark);
  padding: 28px 0;
  border-bottom: 3px solid var(--pml-green-light);
}

.pml-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pml-trust-item i {
  font-size: 1.5rem;
  color: var(--pml-green-light);
}
.pml-trust-item p {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================================================================
   ABOUT SECTION
================================================================ */
.about {
  background: var(--pml-off-white);
}

.pml-about-img-wrap {
  position: relative;
}

.pml-about-img,
.pml-about-img-wrap .pml-img-placeholder {
  border-radius: 20px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.pml-about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--pml-green-mid);
  color: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  line-height: 1.2;
  font-family: var(--font-display);
}
.pml-about-badge strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}
.pml-about-badge span {
  font-size: 0.8rem;
  font-family: var(--font-nav);
  font-weight: 600;
  opacity: 0.9;
}

@media (max-width: 575px) {
  .pml-about-badge {
    bottom: -10px;
    right: 10px;
    padding: 12px 16px;
  }
  .pml-about-badge strong { font-size: 1.8rem; }
}

.about h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.pml-about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pml-text);
  background: var(--pml-white);
  border: 1px solid var(--pml-border);
  border-radius: 10px;
  padding: 12px 16px;
}
.pml-about-feature i {
  color: var(--pml-green-mid);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ================================================================
   SERVICES SECTION
================================================================ */
.services {
  background: var(--pml-white);
}

.services h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.pml-services-img {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.pml-service-card {
  background: var(--pml-white);
  border: 1px solid var(--pml-border);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pml-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pml-green-mid), var(--pml-green-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.pml-service-card:hover {
  border-color: var(--pml-green-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pml-service-card:hover::before {
  opacity: 1;
}

.pml-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--pml-green-pale);
  border-radius: 12px;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.pml-service-icon i {
  font-size: 1.4rem;
  color: var(--pml-green-mid);
}
.pml-service-card:hover .pml-service-icon {
  background: var(--pml-green-mid);
}
.pml-service-card:hover .pml-service-icon i {
  color: #fff;
}

.pml-service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--pml-heading);
}

.pml-service-card p {
  font-size: 0.9rem;
  color: var(--pml-text-muted);
  line-height: 1.65;
  margin: 0;
}

.pml-services-cta p {
  font-size: 1.1rem;
  color: var(--pml-text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

/* ================================================================
   WHY US SECTION
================================================================ */
.pml-why {
  background: var(--pml-off-white);
}

.pml-why h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.pml-why-img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.pml-why-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.pml-why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pml-why-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--pml-green-pale);
  -webkit-text-stroke: 2px var(--pml-green-mid);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.pml-why-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--pml-heading);
}

.pml-why-item p {
  font-size: 0.9rem;
  color: var(--pml-text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ================================================================
   SERVICE AREA SECTION
================================================================ */
.pml-area {
  background: var(--pml-white);
}

.pml-area h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 14px;
}

.pml-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.pml-area-tags span {
  background: var(--pml-green-pale);
  border: 1px solid var(--pml-border);
  color: var(--pml-green-dark);
  font-family: var(--font-nav);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 30px;
  transition: all var(--transition);
  cursor: default;
}
.pml-area-tags span:hover {
  background: var(--pml-green-mid);
  border-color: var(--pml-green-mid);
  color: #fff;
  transform: translateY(-2px);
}

/* ================================================================
   CONTACT SECTION
================================================================ */
.contact {
  background: var(--pml-off-white);
}

.contact h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

/* Contact info panel */
.pml-contact-info {
  background: var(--pml-white);
  border: 1px solid var(--pml-border);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
}

.pml-contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--pml-green-pale);
}

.pml-contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.pml-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--pml-green-pale);
  border-radius: 10px;
  flex-shrink: 0;
}
.pml-contact-icon i {
  color: var(--pml-green-mid);
  font-size: 1.1rem;
}

.pml-method-label {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pml-text-muted);
  margin-bottom: 3px;
}

.pml-contact-method a,
.pml-contact-method p {
  font-size: 0.95rem;
  color: var(--pml-text);
  margin: 0;
  font-weight: 500;
}
.pml-contact-method a:hover {
  color: var(--pml-green-mid);
}

.pml-contact-social {
  border-top: 1px solid var(--pml-border);
  padding-top: 20px;
  margin-top: 8px;
}
.pml-contact-social > span {
  display: block;
  font-family: var(--font-nav);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pml-text-muted);
  margin-bottom: 12px;
}
.pml-contact-social > div {
  display: flex;
  gap: 10px;
}
.pml-contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--pml-green-pale);
  border: 1px solid var(--pml-border);
  border-radius: 10px;
  color: var(--pml-green-dark);
  font-size: 1.1rem;
  transition: all var(--transition);
}
.pml-contact-social a:hover {
  background: var(--pml-green-mid);
  border-color: var(--pml-green-mid);
  color: #fff;
  transform: translateY(-2px);
}

/* Contact form */
.pml-contact-form-wrap {
  background: var(--pml-white);
  border: 1px solid var(--pml-border);
  border-radius: 20px;
  padding: 36px;
}

.form-label {
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pml-heading);
  margin-bottom: 6px;
}

.pml-required {
  color: #c0392b;
  margin-left: 2px;
}

.form-control,
.form-select {
  border: 1.5px solid var(--pml-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--pml-text);
  background: var(--pml-off-white);
  transition: all var(--transition);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--pml-green-mid);
  box-shadow: 0 0 0 3px rgba(61, 139, 61, 0.12);
  background: var(--pml-white);
  outline: none;
}
.form-control::placeholder {
  color: #aab8aa;
}

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

.pml-btn-submit {
  padding: 14px 30px;
  font-size: 1rem;
  border-radius: 10px;
  margin-top: 8px;
  justify-content: center;
}

/* Honeypot – hide completely from users */
.pml-honeypot {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* ================================================================
   FOOTER
================================================================ */
.pml-footer {
  background: var(--pml-heading);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
}

.pml-footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
}
.pml-footer-logo .logo-icon {
  background: var(--pml-green-mid);
  margin-right: 10px;
}

.pml-footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
  line-height: 1.6;
}

.pml-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
}
.pml-footer-nav a {
  font-family: var(--font-nav);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  text-decoration: none;
}
.pml-footer-nav a:hover {
  color: var(--pml-green-light);
}

.pml-footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 992px) {
  .pml-footer-social {
    align-items: flex-end;
  }
}
.pml-footer-social > span {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.pml-social-icons {
  display: flex;
  gap: 10px;
}
.pml-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  transition: all var(--transition);
  text-decoration: none;
}
.pml-social-icons a:hover {
  background: var(--pml-green-mid);
  border-color: var(--pml-green-mid);
  color: #fff;
  transform: translateY(-2px);
}

.pml-footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
}
.pml-footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* ================================================================
   SCROLL TOP BUTTON
================================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--pml-green-mid);
  color: #fff;
  border-radius: 10px;
  font-size: 1.4rem;
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.scroll-top.active {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--pml-green-dark);
  color: #fff;
  transform: translateY(-3px);
}

/* ================================================================
   PRELOADER
================================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--pml-green-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
#preloader::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--pml-green-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================================================================
   AOS (Animate On Scroll) – basic fade-up fallback
================================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="250"] { transition-delay: 0.25s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-aos-delay="350"] { transition-delay: 0.35s; }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"]  { transform: translateX(24px); }
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* ================================================================
   RESPONSIVE TWEAKS
================================================================ */
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .pml-hero { min-height: auto; padding: 130px 0 70px; }
  .pml-about-badge { display: none; }
  .pml-contact-form-wrap { padding: 24px 18px; }
  .pml-contact-info { padding: 24px 18px; }
  .pml-hero-ctas { flex-direction: column; align-items: flex-start; }
  .pml-hero-ctas .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .pml-hero h1 { font-size: 2rem; }
  .pml-hero-badges { gap: 8px; }
  .pml-hero-badges span { font-size: 0.75rem; padding: 6px 10px; }
}

/* ================================================================
   FOCUS STYLES – Accessibility
================================================================ */
*:focus-visible {
  outline: 3px solid var(--pml-green-mid);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ================================================================
   PRINT STYLES
================================================================ */
@media print {
  .header, .scroll-top, #preloader { display: none !important; }
  .pml-hero { min-height: auto; background: none; color: #000; }
  .pml-hero-overlay, .pml-hero-img-placeholder { display: none; }
  .pml-hero h1, .pml-hero p { color: #000; }
  body { color: #000; }
}

/* ================================================================
   CLEAN MOBILE NAV - single source of truth
   The hamburger button lives inside #navmenu in index.html, so #navmenu
   must remain visible on mobile. Only the menu list is hidden until the
   body receives .mobile-nav-active from pml-main.js.
================================================================ */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--pml-heading);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-toggle:hover {
  background: var(--pml-green-pale);
}

@media (min-width: 1200px) {
  .mobile-nav-toggle {
    display: none !important;
  }

  .navmenu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    align-items: center;
  }
}

@media (max-width: 1199px) {
  .navmenu {
    display: block !important;
    position: static !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 9997;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--pml-heading);
    margin-right: 0;
    position: relative;
    z-index: 10000;
  }

  .navmenu ul {
    display: none !important;
    list-style: none;
    margin: 0;
    padding: 14px;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--pml-heading) !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    z-index: 10000;
  }

  .mobile-nav-active .navmenu {
    position: fixed !important;
    inset: 0 !important;
    overflow: hidden;
    background: rgba(26, 61, 26, 0.72) !important;
    transition: 0.3s;
    z-index: 9997;
  }

  .mobile-nav-active .navmenu > ul {
    display: block !important;
    position: fixed !important;
    top: 78px;
    left: 20px;
    right: 20px;
    bottom: auto;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: var(--pml-white);
    border: 1px solid var(--pml-border);
    border-top: 3px solid var(--pml-green-mid);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.95rem !important;
    color: var(--pml-text);
    background: transparent;
  }

  .navmenu a:hover,
  .navmenu a.active,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--pml-green-mid);
    background: var(--pml-green-pale);
  }
}
