/* Dos Gardenias - Custom CSS v6 (mobile-optimized) */

/* === GLOBAL SERVICE PAGE FIXES === */
.uk-section-large { padding-top: 40px !important; padding-bottom: 40px !important; }
.uk-section-default + .uk-section-default { padding-top: 0 !important; }
.uk-section.uk-section-default { padding-top: 30px; padding-bottom: 30px; }
.uk-panel [style*="background:linear-gradient(135deg,#2e5339"] {
    margin: -30px -30px 25px -30px !important;
}
.uk-panel [style*="background:linear-gradient(135deg,#f0f7f2"] {
    transition: transform 0.2s ease;
}
.uk-panel [style*="background:linear-gradient(135deg,#f0f7f2"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46,83,57,0.15);
}

/* Service pages mobile */
@media (max-width: 768px) {
    .uk-section-large { padding-top: 25px !important; padding-bottom: 25px !important; }
    .uk-section.uk-section-default { padding-top: 20px; padding-bottom: 20px; }
    .uk-panel h1 { font-size: 1.5em !important; }
    .uk-panel h2 { font-size: 1.3em !important; }
    .uk-panel [style*="background:linear-gradient(135deg,#2e5339"] {
        margin: -20px -15px 20px -15px !important;
        padding: 25px 15px !important;
        border-radius: 8px !important;
    }
    .uk-panel [style*="background:linear-gradient(135deg,#f0f7f2"] {
        padding: 20px 15px !important;
        margin: 20px 0 10px !important;
    }
    .uk-section-xsmall { padding-top: 10px !important; padding-bottom: 10px !important; }
}
@media (max-width: 480px) {
    .uk-panel h1 { font-size: 1.3em !important; }
    .uk-panel h2 { font-size: 1.15em !important; }
    .uk-panel [style*="background:linear-gradient(135deg,#2e5339"] { padding: 20px 12px !important; }
    .uk-panel a[href^="tel"] {
        font-size: 1.3em !important;
        display: inline-block;
        padding: 8px 20px;
        background: #2e5339;
        color: #fff !important;
        border-radius: 8px;
        margin-top: 5px;
    }
}

/* === HOMEPAGE v3 (mobile-first rewrite) === */

.dg-home *, .dg-home *::before, .dg-home *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.dg-home {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
/* HERO */
.dg-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2e5339 0%, #3d6b4e 40%, #4a8a62 100%);
}
.dg-hero-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}
.dg-hero-content {
    position: relative;
    z-index: 2;
    padding: 50px 40px;
    max-width: 600px;
}
.dg-hero h1 {
    font-size: 2.4em;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.dg-hero h1 span { color: #FFD700; }
.dg-hero p {
    font-size: 1.15em;
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
    margin-bottom: 25px;
}
.dg-hero-btn {
    display: inline-block;
    background: #FFD700;
    color: #2e5339;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.dg-hero-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* TRUST BAR */
.dg-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}
.dg-trust-item {
    text-align: center;
    padding: 25px 15px;
    background: #f8faf8;
    border-radius: 12px;
    border: 1px solid #e8f0ea;
    transition: transform 0.3s;
}
.dg-trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.dg-trust-icon { font-size: 2.2em; margin-bottom: 10px; display: block; }
.dg-trust-item h3 { font-size: 1em; color: #2e5339; margin-bottom: 6px; }
.dg-trust-item p { font-size: 0.85em; color: #666; line-height: 1.4; }

/* SECTION TITLES */
.dg-section-title { text-align: center; margin-bottom: 35px; }
.dg-section-title h2 { font-size: 2em; color: #2e5339; margin-bottom: 10px; }
.dg-section-title p { font-size: 1.05em; color: #666; max-width: 600px; margin: 0 auto; }

/* SERVICES */
.dg-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}
.dg-service-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.dg-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.dg-service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.dg-service-card-body { padding: 20px; }
.dg-service-card h3 { font-size: 1.1em; color: #2e5339; margin-bottom: 8px; }
.dg-service-card p { font-size: 0.9em; color: #666; line-height: 1.5; }
.dg-service-link {
    display: inline-block;
    margin-top: 10px;
    color: #3d6b4e;
    font-weight: 600;
    font-size: 0.9em;
}

/* GALLERY */
.dg-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
    margin-bottom: 45px;
}
.dg-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}
.dg-gallery img:hover { transform: scale(1.03); }
.dg-gallery img:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}
/* ABOUT */
.dg-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 45px;
    padding: 35px;
    background: linear-gradient(135deg, #f0f7f2, #e8f0ea);
    border-radius: 16px;
}
.dg-about img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.dg-about h2 { font-size: 1.8em; color: #2e5339; margin-bottom: 15px; }
.dg-about p { font-size: 1em; color: #555; line-height: 1.7; margin-bottom: 12px; }
.dg-check-list { list-style: none; padding: 0; margin: 15px 0; }
.dg-check-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    font-size: 0.95em;
    color: #444;
}
.dg-check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #3d6b4e;
    font-weight: bold;
    font-size: 1.2em;
}

/* CTA */
.dg-cta {
    text-align: center;
    padding: 45px 30px;
    background: linear-gradient(135deg, #2e5339, #3d6b4e);
    border-radius: 16px;
    margin-bottom: 45px;
}
.dg-cta h2 { font-size: 2em; color: #fff; margin-bottom: 12px; }
.dg-cta p {
    font-size: 1.1em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.dg-cta-phone {
    display: inline-block;
    background: #FFD700;
    color: #2e5339;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3em;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.dg-cta-phone:hover { background: #fff; transform: translateY(-2px); }
.dg-cta-sub {
    display: block;
    margin-top: 15px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9em;
}

/* LOCATION */
.dg-location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.dg-location img { width: 100%; border-radius: 12px; }
.dg-location h2 { font-size: 1.6em; color: #2e5339; margin-bottom: 12px; }
.dg-location p { font-size: 0.95em; color: #555; line-height: 1.6; margin-bottom: 10px; }
.dg-location-detail { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.dg-location-detail span { font-size: 1.3em; }

/* INSTAGRAM CTA */
.dg-ig {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f0f7f2, #e8f0ea);
    border-radius: 16px;
    margin-bottom: 20px;
}
.dg-ig h3 { font-size: 1.3em; color: #2e5339; margin-bottom: 8px; }
.dg-ig a {
    display: inline-block;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: transform 0.3s;
}
.dg-ig a:hover { transform: translateY(-2px); }

/* === RESPONSIVE: TABLET (max-width: 900px) === */
@media (max-width: 900px) {
    .dg-trust { grid-template-columns: repeat(2, 1fr); }
    .dg-services { grid-template-columns: repeat(2, 1fr); }
    .dg-gallery { grid-template-columns: repeat(2, 1fr); }
    .dg-gallery img:first-child {
        grid-column: span 2;
        grid-row: span 1;
        height: 220px;
    }
    .dg-about { grid-template-columns: 1fr; gap: 25px; }
    .dg-location { grid-template-columns: 1fr; }
    .dg-hero h1 { font-size: 1.8em; }
    .dg-hero-content { padding: 40px 30px; }
}
/* === RESPONSIVE: MOBILE (max-width: 600px) === */
@media (max-width: 600px) {
    .dg-home { padding: 0 12px; }

    /* Hero: full background, stacked */
    .dg-hero {
        min-height: 320px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    .dg-hero-img {
        width: 100%;
        opacity: 0.2;
    }
    .dg-hero-content {
        padding: 28px 20px;
        max-width: 100%;
    }
    .dg-hero h1 { font-size: 1.6em; margin-bottom: 12px; }
    .dg-hero p { font-size: 0.95em; margin-bottom: 20px; }
    .dg-hero-btn {
        display: block;
        text-align: center;
        padding: 14px 24px;
        font-size: 1.05em;
        width: 100%;
    }

    /* Trust bar: 2x2 compact */
    .dg-trust {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 30px;
    }
    .dg-trust-item { padding: 16px 10px; border-radius: 10px; }
    .dg-trust-icon { font-size: 1.8em; margin-bottom: 6px; }
    .dg-trust-item h3 { font-size: 0.9em; }
    .dg-trust-item p { font-size: 0.78em; }

    /* Section titles */
    .dg-section-title { margin-bottom: 20px; }
    .dg-section-title h2 { font-size: 1.4em; }
    .dg-section-title p { font-size: 0.92em; }

    /* Services: single column */
    .dg-services {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 30px;
    }
    .dg-service-card { border-radius: 12px; }
    .dg-service-card img { height: 160px; }
    .dg-service-card-body { padding: 16px; }
    .dg-service-card h3 { font-size: 1.05em; }
    .dg-service-card p { font-size: 0.88em; }

    /* Gallery: 2 columns tight */
    .dg-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 30px;
    }
    .dg-gallery img {
        height: 130px;
        border-radius: 8px;
    }
    .dg-gallery img:first-child {
        grid-column: span 2;
        grid-row: span 1;
        height: 180px;
    }

    /* About */
    .dg-about {
        padding: 22px 16px;
        gap: 20px;
        border-radius: 12px;
        margin-bottom: 30px;
    }
    .dg-about h2 { font-size: 1.35em; }
    .dg-about p { font-size: 0.92em; }
    .dg-about img { border-radius: 10px; }
    .dg-check-list li { font-size: 0.9em; padding-left: 26px; }

    /* CTA */
    .dg-cta {
        padding: 30px 18px;
        border-radius: 12px;
        margin-bottom: 30px;
    }
    .dg-cta h2 { font-size: 1.4em; }
    .dg-cta p { font-size: 0.95em; margin-bottom: 20px; }
    .dg-cta-phone {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.15em;
        padding: 15px 20px;
    }
    .dg-cta-sub { font-size: 0.85em; margin-top: 12px; }

    /* Location */
    .dg-location {
        padding: 18px 16px;
        gap: 18px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    .dg-location h2 { font-size: 1.3em; }
    .dg-location p { font-size: 0.9em; }
    .dg-location img { border-radius: 10px; }

    /* Instagram */
    .dg-ig {
        padding: 22px 16px;
        border-radius: 12px;
        margin-bottom: 15px;
    }
    .dg-ig h3 { font-size: 1.15em; }
    .dg-ig a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

/* === RESPONSIVE: SMALL PHONES (max-width: 380px) === */
@media (max-width: 380px) {
    .dg-home { padding: 0 10px; }
    .dg-hero { min-height: 280px; }
    .dg-hero-content { padding: 22px 16px; }
    .dg-hero h1 { font-size: 1.35em; }
    .dg-hero p { font-size: 0.9em; }
    .dg-trust-item { padding: 12px 8px; }
    .dg-trust-icon { font-size: 1.5em; }
    .dg-trust-item h3 { font-size: 0.82em; }
    .dg-trust-item p { font-size: 0.72em; }
    .dg-gallery img { height: 110px; }
    .dg-gallery img:first-child { height: 150px; }
    .dg-cta h2 { font-size: 1.25em; }
    .dg-section-title h2 { font-size: 1.25em; }
}

/* === LOGO MOBILE FIX (v7) === */
/* Desktop: limit logo to reasonable size */
.tm-header .uk-navbar-left .uk-logo img,
.uk-navbar-item.uk-logo img {
  max-width: 180px !important;
  height: auto !important;
}

/* Tablet */
@media (max-width: 900px) {
  .tm-header .uk-navbar-left .uk-logo img,
  .uk-navbar-item.uk-logo img {
    max-width: 130px !important;
    height: auto !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .tm-header .uk-navbar-left .uk-logo img,
  .uk-navbar-item.uk-logo img {
    max-width: 90px !important;
    height: auto !important;
  }
  .tm-header .uk-navbar-container,
  .tm-header-mobile .uk-navbar-container {
    min-height: auto !important;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .tm-header .uk-navbar-left .uk-logo img,
  .uk-navbar-item.uk-logo img {
    max-width: 70px !important;
    height: auto !important;
  }
}
/* === IMAGE HEIGHT FIX v8 === */
.uk-panel img[src*="images/dg/"] {
  max-height: 420px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}
@media (max-width: 768px) {
  .uk-panel img[src*="images/dg/"] {
    max-height: 300px !important;
  }
}
@media (max-width: 480px) {
  .uk-panel img[src*="images/dg/"] {
    max-height: 250px !important;
  }
}


/* === MOBILE OFFCANVAS MENU v7 === */
.uk-offcanvas-bar {
  background: linear-gradient(180deg, #2E5339 0%, #3d6b4e 100%) !important;
  padding: 30px 25px !important;
}
.uk-offcanvas-bar .uk-nav-default > li > a {
  color: rgba(255,255,255,0.92) !important;
  font-size: 1.05em !important;
  padding: 12px 8px !important;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: all 0.2s ease;
}
.uk-offcanvas-bar .uk-nav-default > li > a:hover,
.uk-offcanvas-bar .uk-nav-default > li.uk-active > a {
  color: #FFD700 !important;
  background: rgba(255,255,255,0.08) !important;
  border-radius: 8px;
  padding-left: 14px !important;
}
.uk-offcanvas-bar .uk-offcanvas-close {
  color: rgba(255,255,255,0.85) !important;
}
.uk-offcanvas-bar .uk-offcanvas-close:hover {
  color: #FFD700 !important;
}
.uk-offcanvas-overlay::before {
  background: rgba(46,83,57,0.35) !important;
}

/* === DESIGN UPGRADES v7 === */
html { scroll-behavior: smooth; }
.uk-article, .uk-panel { font-size: 1.02em; line-height: 1.72; color: #444; }
.uk-article h1, .uk-panel h1 { color: #2E5339; letter-spacing: -0.02em; line-height: 1.15; }
.uk-article h2, .uk-panel h2 { color: #2E5339; font-size: 1.6em; margin-top: 1.4em; margin-bottom: 0.6em; }
.uk-panel img[src*="images/dg/"] {
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(46,83,57,0.13);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.uk-panel img[src*="images/dg/"]:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 30px rgba(46,83,57,0.18);
}
a[href^="tel"] { color: #2E5339 !important; font-weight: 700; text-decoration: none; }
a[href^="tel"]:hover { color: #3d6b4e !important; }
.uk-section-default:nth-child(even) { background: #f8faf8; }
.tm-header .uk-navbar-container { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.tm-footer a:hover, footer a:hover { color: #FFD700 !important; }
@media (max-width: 768px) {
  .uk-panel img[src*="images/dg/"] { border-radius: 10px; margin: 12px 0; }
  .uk-article h2, .uk-panel h2 { font-size: 1.35em; }
}


/* === HERO FIX v9 - Full image + gradient overlay === */
.dg-hero {
  position: relative !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  margin-bottom: 40px !important;
  min-height: 440px !important;
  display: flex !important;
  align-items: center !important;
  background: #1a3a25 !important;
}
.dg-hero-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
}
.dg-hero::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    rgba(26,58,37,0.95) 0%,
    rgba(26,58,37,0.88) 35%,
    rgba(26,58,37,0.45) 65%,
    rgba(26,58,37,0.15) 100%
  ) !important;
  z-index: 1 !important;
}
.dg-hero-content {
  position: relative !important;
  z-index: 2 !important;
  padding: 55px 45px !important;
  max-width: 580px !important;
}
.dg-hero h1 {
  font-size: 2.6em !important;
  color: #FFFFFF !important;
  line-height: 1.18 !important;
  margin-bottom: 18px !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.dg-hero h1 span {
  color: #FFD700 !important;
}
.dg-hero p {
  font-size: 1.15em !important;
  color: rgba(255,255,255,0.95) !important;
  line-height: 1.65 !important;
  margin-bottom: 28px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}
.dg-hero-btn {
  display: inline-block !important;
  background: #FFD700 !important;
  color: #1a3a25 !important;
  padding: 16px 36px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 1.08em !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
  transition: all 0.3s !important;
  border: none !important;
}
.dg-hero-btn:hover {
  background: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(0,0,0,0.3) !important;
}

/* === TRUST BAR v9 - Professional icons === */
.dg-trust-item {
  text-align: center !important;
  padding: 28px 18px !important;
  background: #fff !important;
  border-radius: 14px !important;
  border: 1px solid #e0ebe3 !important;
  box-shadow: 0 2px 12px rgba(46,83,57,0.06) !important;
  transition: all 0.3s !important;
}
.dg-trust-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(46,83,57,0.12) !important;
  border-color: #3d6b4e !important;
}
.dg-trust-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 14px !important;
  background: linear-gradient(135deg, #2E5339, #4a8a62) !important;
  border-radius: 14px !important;
  font-size: 0 !important;
}
.dg-trust-icon svg {
  width: 28px !important;
  height: 28px !important;
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.dg-trust-item h3 {
  font-size: 1.05em !important;
  color: #1a3a25 !important;
  margin-bottom: 6px !important;
  font-weight: 700 !important;
}
.dg-trust-item p {
  font-size: 0.88em !important;
  color: #666 !important;
  line-height: 1.45 !important;
}

/* === GOOGLE MAPS === */
.dg-map {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-top: 15px;
}
.dg-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* === CTA v9 — Better contrast === */
.dg-cta {
  background: linear-gradient(135deg, #1a3a25 0%, #2E5339 50%, #3d6b4e 100%) !important;
  border: 2px solid rgba(255,215,0,0.2) !important;
}
.dg-cta h2 {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}
.dg-cta p {
  color: rgba(255,255,255,0.92) !important;
}

/* === SECTION TITLES v9 === */
.dg-section-title h2 {
  font-size: 2.1em !important;
  color: #1a3a25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

/* === SERVICE CARDS v9 === */
.dg-service-card {
  border: 1px solid #e8f0ea !important;
  border-radius: 16px !important;
}
.dg-service-card:hover {
  border-color: #3d6b4e !important;
}
.dg-service-card h3 {
  color: #1a3a25 !important;
  font-weight: 700 !important;
}
.dg-service-link {
  color: #2E5339 !important;
  font-weight: 700 !important;
}

/* === ABOUT SECTION v9 === */
.dg-about {
  background: linear-gradient(135deg, #f0f7f2 0%, #e4efe6 100%) !important;
  border: 1px solid #d4e4d8 !important;
}
.dg-about h2 { color: #1a3a25 !important; font-weight: 700 !important; }

/* === LOCATION v9 === */
.dg-location {
  border: 1px solid #e0ebe3 !important;
}
.dg-location h2 { color: #1a3a25 !important; }

/* === RESPONSIVE v9 === */
@media (max-width: 900px) {
  .dg-hero { min-height: 380px !important; }
  .dg-hero-content { padding: 40px 30px !important; max-width: 100% !important; }
  .dg-hero h1 { font-size: 2em !important; }
  .dg-hero::after {
    background: linear-gradient(
      180deg,
      rgba(26,58,37,0.92) 0%,
      rgba(26,58,37,0.75) 50%,
      rgba(26,58,37,0.4) 100%
    ) !important;
  }
}
@media (max-width: 600px) {
  .dg-hero { min-height: 320px !important; }
  .dg-hero-content { padding: 28px 20px !important; }
  .dg-hero h1 { font-size: 1.65em !important; }
  .dg-hero p { font-size: 0.95em !important; }
  .dg-hero-btn { display: block !important; text-align: center !important; width: 100% !important; }
  .dg-trust-icon { width: 46px !important; height: 46px !important; border-radius: 12px !important; }
  .dg-trust-icon svg { width: 22px !important; height: 22px !important; }
  .dg-map iframe { height: 220px; }
}

/* === BODY SCROLL FIX + SPACING v10 === */
body { overflow-y: auto !important; overflow-x: hidden !important; }
.uk-section.uk-section-small { padding-top: 10px !important; padding-bottom: 10px !important; }
.dg-home { padding-top: 0 !important; }
.dg-hero { margin-bottom: 30px !important; }
.dg-trust { margin-bottom: 30px !important; }
.dg-section-title { margin-bottom: 22px !important; }
.dg-services { margin-bottom: 30px !important; }
.dg-gallery { margin-bottom: 30px !important; }
.dg-about { margin-bottom: 30px !important; }
.dg-cta { margin-bottom: 30px !important; }
.dg-location { margin-bottom: 22px !important; }


/* =============================================
   V13 — COMPREHENSIVE FIX (correct selectors)
   ============================================= */

.dg-trust-item {
  background: #fff !important;
  border-radius: 14px !important;
  padding: 28px 18px 22px !important;
  text-align: center !important;
  box-shadow: 0 3px 15px rgba(46,83,57,0.08) !important;
  border: 1px solid rgba(46,83,57,0.08) !important;
  transition: all 0.3s !important;
}
.dg-trust-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(46,83,57,0.15) !important;
  border-color: rgba(46,83,57,0.2) !important;
}
.dg-trust-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(135deg, #2E5339, #4a8a62) !important;
  border-radius: 14px !important;
  margin-bottom: 14px !important;
}
.dg-trust-icon svg {
  width: 28px !important;
  height: 28px !important;
  stroke: #fff !important;
  stroke-width: 2 !important;
  fill: none !important;
}
.dg-trust-item h3 {
  color: #1a3a25 !important;
  font-size: 1em !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
}
.dg-trust-item p {
  color: #666 !important;
  font-size: 0.88em !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.dg-location {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 35px !important;
  box-shadow: 0 4px 20px rgba(46,83,57,0.08) !important;
  border: 1px solid rgba(46,83,57,0.06) !important;
}
.dg-location h2 {
  color: #1a3a25 !important;
  position: relative !important;
  padding-bottom: 12px !important;
  margin-bottom: 25px !important;
}
.dg-location h2::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 50px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #2E5339, #4a8a62) !important;
  border-radius: 2px !important;
}
.dg-location-detail {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 18px !important;
  padding: 12px 15px !important;
  background: rgba(46,83,57,0.04) !important;
  border-radius: 10px !important;
  transition: background 0.3s !important;
}
.dg-location-detail:hover {
  background: rgba(46,83,57,0.08) !important;
}
.dg-location-detail svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #fff !important;
  fill: none !important;
  flex-shrink: 0 !important;
}
.dg-location-detail .dg-loc-icon,
.dg-location-detail > span:first-child,
.dg-location-detail > div:first-child {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  background: linear-gradient(135deg, #2E5339, #4a8a62) !important;
  border-radius: 12px !important;
}
.dg-location-detail strong,
.dg-location-detail b {
  color: #1a3a25 !important;
  font-size: 0.95em !important;
}
.dg-location-detail span:not(:first-child),
.dg-location-detail p {
  color: #555 !important;
  font-size: 0.92em !important;
}
.dg-map {
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1) !important;
  margin-top: 20px !important;
}
.dg-map iframe {
  border-radius: 12px !important;
}
.uk-section-secondary,
[class*="uk-section-secondary"] {
  background: linear-gradient(135deg, #1a3a25 0%, #2E5339 60%, #1a3a25 100%) !important;
  padding: 40px 30px 25px !important;
}
.uk-section-secondary *,
.uk-section-secondary a {
  color: rgba(255,255,255,0.9) !important;
}
.uk-section-secondary a:hover {
  color: #FFD700 !important;
  text-decoration: none !important;
}
.uk-section-secondary .uk-icon {
  color: #FFD700 !important;
  transition: all 0.3s !important;
}
.uk-section-secondary .uk-icon:hover {
  transform: scale(1.15) !important;
}
.uk-logo ~ span,
.tm-header-mobile .uk-logo ~ *,
a.uk-navbar-item[href*="tel"] {
  font-size: 0.85em !important;
}
@media (max-width: 900px) {
  .dg-trust { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .dg-location { padding: 22px !important; }
}
@media (max-width: 600px) {
  .dg-trust { grid-template-columns: 1fr !important; gap: 10px !important; }
  .dg-trust-item { padding: 18px 15px !important; }
  .dg-trust-icon { width: 46px !important; height: 46px !important; border-radius: 12px !important; }
  .dg-trust-icon svg { width: 22px !important; height: 22px !important; }
  .dg-location { padding: 16px !important; }
  .dg-location-detail { padding: 10px 12px !important; gap: 12px !important; }
  .dg-location-detail > span:first-child,
  .dg-location-detail > div:first-child { width: 38px !important; height: 38px !important; min-width: 38px !important; border-radius: 10px !important; }
  .uk-section-secondary { padding: 25px 15px 20px !important; }
  .uk-logo ~ span,
  .tm-header-mobile a[href*="tel"] { font-size: 0.72em !important; }
}
@media (max-width: 380px) {
  .dg-trust-item { padding: 14px 12px !important; }
  .dg-trust-item h3 { font-size: 0.9em !important; }
  .dg-trust-item p { font-size: 0.8em !important; }
}

/* ============================================
   V14 — VISITENOS UPGRADE + FOOTER + MOBILE
   ============================================ */

.dg-location {
  background: #fff !important;
  border-radius: 20px !important;
  padding: 40px 35px !important;
  box-shadow: 0 8px 35px rgba(46,83,57,0.12) !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 35px !important;
  border-left: 5px solid #2E5339 !important;
  margin: 0 auto !important;
  max-width: 1100px !important;
}
.dg-location-wrapper,
.dg-home > .dg-location {
  position: relative;
}
.dg-home > .dg-location {
  background: #fff !important;
}
.dg-location h2 {
  font-size: 1.75em !important;
  font-weight: 800 !important;
  color: #1a3a25 !important;
  margin-bottom: 8px !important;
  padding-bottom: 12px !important;
  border-bottom: 3px solid #D4A843 !important;
  display: inline-block !important;
}
.dg-location .dg-location-detail {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 16px 20px !important;
  background: linear-gradient(135deg, rgba(46,83,57,0.06) 0%, rgba(46,83,57,0.02) 100%) !important;
  border-radius: 12px !important;
  margin-bottom: 10px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.dg-location .dg-location-detail:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(46,83,57,0.1);
}
.dg-location .dg-location-detail .dg-trust-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  background: linear-gradient(135deg, #2E5339, #4a8a62) !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 10px rgba(46,83,57,0.2) !important;
}
.dg-location .dg-location-detail .dg-trust-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #fff !important;
  fill: none !important;
}
.dg-location .dg-location-detail p {
  font-size: 1.05em !important;
  color: #2d2d2d !important;
  font-weight: 500 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}
.dg-location .dg-map {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
  border: 2px solid rgba(46,83,57,0.15) !important;
  margin-top: 15px !important;
}
.dg-location .dg-map iframe {
  width: 100% !important;
  height: 250px !important;
  border: 0 !important;
  display: block !important;
}
.dg-location > img {
  border-radius: 16px !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 480px !important;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12) !important;
}
.uk-section-secondary {
  background: linear-gradient(135deg, #1a3a25 0%, #2E5339 50%, #1a3a25 100%) !important;
  padding: 45px 30px 35px !important;
  border-top: 3px solid #D4A843 !important;
}
.uk-section-secondary,
.uk-section-secondary p,
.uk-section-secondary span,
.uk-section-secondary li {
  color: rgba(255,255,255,0.9) !important;
}
.uk-section-secondary a {
  color: #D4A843 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
.uk-section-secondary a:hover {
  color: #e8c45a !important;
  text-decoration: underline !important;
}
.uk-section-secondary h3,
.uk-section-secondary h4,
.uk-section-secondary .uk-h3,
.uk-section-secondary .uk-h4 {
  color: #fff !important;
  font-weight: 700 !important;
}
@media (max-width: 900px) {
  .dg-location {
    grid-template-columns: 1fr !important;
    padding: 30px 22px !important;
    border-left: 4px solid #2E5339 !important;
  }
  .dg-location > img {
    max-height: 300px !important;
    order: -1 !important;
  }
  .dg-location h2 { font-size: 1.5em !important; }
}
@media (max-width: 600px) {
  .dg-hero a[href*="tel"] { font-size: 0.95em !important; padding: 8px 16px !important; }
  .dg-cta a[href*="tel"] { font-size: 1em !important; }
  .dg-location {
    padding: 22px 16px !important;
    margin: 0 10px !important;
    border-radius: 14px !important;
  }
  .dg-location .dg-location-detail { padding: 12px 14px !important; gap: 12px !important; }
  .dg-location .dg-location-detail .dg-trust-icon { width: 40px !important; height: 40px !important; min-width: 40px !important; }
  .dg-location .dg-location-detail .dg-trust-icon svg { width: 18px !important; height: 18px !important; }
  .dg-location .dg-map iframe { height: 200px !important; }
  .dg-location > img { max-height: 220px !important; }
  .uk-section-secondary { padding: 30px 18px 25px !important; text-align: center !important; }
}
@media (max-width: 480px) {
  .dg-hero a[href*="tel"] { font-size: 0.85em !important; padding: 7px 12px !important; }
  .dg-location h2 { font-size: 1.3em !important; }
  .dg-location .dg-location-detail p { font-size: 0.95em !important; }
}

/* ============================================
   V14d — FLAT LOOK + 2-COL SERVICES MOBILE
   ============================================ */

.dg-location {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 40px 20px !important;
  max-width: none !important;
}
.dg-trust-item { border: none !important; box-shadow: none !important; }
.dg-cta { border: none !important; }
.dg-service-card { box-shadow: none !important; border: none !important; }
.tm-page-container { background: #fff !important; }
.dg-location .dg-map { border: none !important; box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important; }
.dg-location > img { box-shadow: none !important; }
@media (max-width: 900px) {
  .dg-services { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 15px !important; }
  .dg-services > .dg-section-title, .dg-services > h2, .dg-services > h3 { grid-column: 1 / -1 !important; }
  .dg-service-card { margin-bottom: 0 !important; }
  .dg-service-card img { height: 140px !important; object-fit: cover !important; }
  .dg-service-card h3, .dg-service-card h4 { font-size: 0.95em !important; }
}
@media (max-width: 480px) {
  .dg-services { gap: 10px !important; }
  .dg-service-card img { height: 110px !important; }
  .dg-service-card h3, .dg-service-card h4 { font-size: 0.85em !important; }
}

/* === V16 — FOOTER OVERRIDE (Apr 2026) === */
.uk-card-primary {
  background: linear-gradient(135deg, #1a6b3c 0%, #145a32 100%) !important;
  padding: 2rem 1.5rem !important;
}
.dg-new-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; max-width: 900px; margin: 0 auto; }
.dg-footer-col { flex: 1; }
.dg-footer-brand { font-size: 1.15rem; font-weight: 700; color: #fff !important; margin-bottom: 0.5rem; }
.dg-footer-addr, .dg-footer-hours { font-size: 0.9rem; color: rgba(255,255,255,0.88) !important; margin-bottom: 0.3rem; line-height: 1.5; }
.dg-footer-phone { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.dg-footer-phone a { color: #fff !important; text-decoration: none; }
.dg-footer-phone a:hover { text-decoration: underline; }
.dg-footer-links, .dg-footer-social { font-size: 0.9rem; margin-bottom: 0.3rem; }
.dg-footer-links a, .dg-footer-social a { color: rgba(255,255,255,0.88) !important; text-decoration: none; }
.dg-footer-links a:hover, .dg-footer-social a:hover { color: #fff !important; text-decoration: underline; }
.dg-footer-copy { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.6) !important; margin-top: 1.2rem; padding-top: 0.8rem; border-top: 1px solid rgba(255,255,255,0.15); }
@media (max-width: 640px) { .dg-new-footer { flex-direction: column; gap: 1rem; text-align: center; } }

/* === V17b — VISITENOS FIXES: icon alignment + image size (Apr 2026) === */
.dg-location .dg-location-detail .dg-trust-icon,
.dg-location .dg-location-detail > span:first-child,
.dg-location .dg-location-detail > div:first-child {
  display: flex !important; margin: 0 !important; width: 50px !important; height: 50px !important; min-width: 50px !important; flex-shrink: 0 !important;
}
.dg-location .dg-location-detail {
  display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important;
}
.dg-location { align-items: stretch !important; }
.dg-location > img { max-height: none !important; height: 100% !important; min-height: 400px !important; object-fit: cover !important; align-self: stretch !important; }
.dg-location .dg-map iframe { height: 200px !important; }
@media (max-width: 900px) {
  .dg-location > img { max-height: 300px !important; min-height: auto !important; height: auto !important; align-self: auto !important; }
  .dg-location { align-items: start !important; }
}
@media (max-width: 480px) {
  .dg-location > img { max-height: 220px !important; }
}

/* === V17c — Phone link mobile visibility fix (Apr 2026) === */
.dg-location .dg-location-detail a[href*="tel"],
.dg-location .dg-location-detail a[href^="tel"] {
  color: #1a3a25 !important; -webkit-text-fill-color: #1a3a25 !important;
  background: none !important; background-color: transparent !important;
  text-decoration: none !important; display: inline !important;
  border: none !important; padding: 0 !important; margin: 0 !important;
  box-shadow: none !important; -webkit-appearance: none !important;
  font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important;
}
@media (max-width: 900px) {
  .dg-location .dg-location-detail a[href*="tel"],
  .dg-location .dg-location-detail a[href^="tel"] {
    color: #ffffff !important; -webkit-text-fill-color: #ffffff !important;
    background: none !important; background-color: transparent !important;
    text-decoration: underline !important; border: none !important;
    padding: 0 !important; box-shadow: none !important;
  }
}

/* === V18 — Phone near map fix === */
.dg-location-detail a[href*="tel:"] {
  color: #2d6a4f !important;
  font-weight: 700 !important;
  font-size: 1.15em !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #f0f7f2, #e8f5e9) !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  border: 2px solid #2d6a4f !important;
  display: inline-block !important;
  margin-top: 4px !important;
  transition: all 0.3s ease !important;
}
.dg-location-detail a[href*="tel:"]:hover {
  background: #2d6a4f !important;
  color: #fff !important;
}
@media (max-width: 959px) {
  .dg-location-detail a[href*="tel:"] {
    font-size: 1.1em !important;
    padding: 8px 16px !important;
    display: block !important;
    text-align: center !important;
    margin-top: 8px !important;
  }
}


/* =====================================================
   V21 — SUBPAGE REDESIGN v2 (Landing-style, all fixes)
   Replaces V20 + V20-FIX
   Scoped to .dg-subpage to protect homepage
   Fixes: photo framing, footer rectangles, flowers bg,
          section design, whitespace gaps
   ===================================================== */

/* --- V21.1: H1 Hero Banner --- */
.dg-subpage .uk-section h1 {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
  color: #fff !important;
  padding: 28px 36px !important;
  border-radius: 14px !important;
  text-align: center !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 16px rgba(27,67,50,0.18) !important;
  letter-spacing: 0.3px !important;
  line-height: 1.35 !important;
  max-width: 100% !important;
}

/* --- V21.2: H2 Headings — green underline accent --- */
.dg-subpage .uk-section h2 {
  color: #1b4332 !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  position: relative !important;
  padding-bottom: 14px !important;
  margin-top: 32px !important;
  margin-bottom: 18px !important;
}
.dg-subpage .uk-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #2d6a4f;
  border-radius: 2px;
}

/* --- V21.3: First section light bg --- */
.dg-subpage .tm-page > div:nth-child(4) {
  background: #f7faf8 !important;
}

/* --- V21.4: Paragraphs --- */
.dg-subpage .uk-section p {
  line-height: 1.75 !important;
  color: #374151 !important;
  font-size: 1.02rem !important;
}

/* --- V21.5: IMAGES — natural proportions, NO forced height --- */
.dg-subpage .uk-section img.el-image {
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08) !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

/* --- V21.6: Image gallery items — ONLY main content, NOT footer --- */
.dg-subpage .tm-page > div:not(:last-child) .el-item {
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.dg-subpage .tm-page > div:not(:last-child) .el-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(45,106,79,0.13) !important;
}
.dg-subpage .tm-page > div:not(:last-child) .el-item img {
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* --- V21.7: Text sections — card-style container --- */
.dg-subpage .tm-page > div:not(:last-child) .uk-section .uk-panel {
  background: #fff !important;
  border-radius: 14px !important;
  padding: 32px 36px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(45,106,79,0.08) !important;
}

/* --- V21.8: Flowers background overlay (Acerca) --- */
.dg-subpage [class*="uk-background-image"] {
  position: relative !important;
}
.dg-subpage [class*="uk-background-image"]::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(255,255,255,0.82) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.dg-subpage [class*="uk-background-image"] > * {
  position: relative !important;
  z-index: 1 !important;
}
.dg-subpage [class*="uk-background-image"] h2 {
  color: #1b4332 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6) !important;
}
.dg-subpage [class*="uk-background-image"] p {
  color: #1f2937 !important;
}

/* --- V21.9: H3 inside content --- */
.dg-subpage .uk-section h3 {
  color: #2d6a4f !important;
  font-weight: 600 !important;
  font-size: 1.12rem !important;
}

/* --- V21.10: Buttons / CTAs --- */
.dg-subpage .uk-section .uk-button-primary,
.dg-subpage .uk-section a.el-link {
  background: #2d6a4f !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 11px 26px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: background 0.3s !important;
  display: inline-block !important;
}
.dg-subpage .uk-section .uk-button-primary:hover,
.dg-subpage .uk-section a.el-link:hover {
  background: #1b4332 !important;
}

/* --- V21.11: Accordion (FAQ) --- */
.dg-subpage .uk-accordion-title {
  background: #f7faf8 !important;
  padding: 16px 22px !important;
  border-radius: 10px !important;
  border-left: 4px solid #2d6a4f !important;
  color: #1b4332 !important;
  font-weight: 600 !important;
  font-size: 1.03rem !important;
  transition: background 0.2s !important;
}
.dg-subpage .uk-accordion-title:hover {
  background: #edf5f0 !important;
}
.dg-subpage .uk-accordion-content {
  padding: 14px 22px !important;
  background: #fff !important;
  border-left: 4px solid #e8ede9 !important;
  border-radius: 0 0 10px 10px !important;
}

/* --- V21.13: Reduce excessive whitespace --- */
.dg-subpage .uk-section-large {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.dg-subpage .uk-section-xlarge {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}
.dg-subpage .uk-section-small {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

/* --- V21.14: Cards --- */
.dg-subpage .uk-card {
  border-radius: 14px !important;
  border: 1px solid #e8ede9 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
  overflow: hidden !important;
}

/* --- V21.16: Mobile --- */
@media (max-width: 767px) {
  .dg-subpage .uk-section h1 {
    font-size: 1.4rem !important;
    padding: 20px 18px !important;
  }
  .dg-subpage .uk-section h2 {
    font-size: 1.25rem !important;
  }
  .dg-subpage .uk-section p {
    font-size: 0.97rem !important;
  }
  .dg-subpage .tm-page > div:not(:last-child) .uk-section .uk-panel {
    padding: 20px 18px !important;
  }
  .dg-subpage .uk-section-large,
  .dg-subpage .uk-section-xlarge {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}

/* ========== END V21 ========== */

/* =====================================================
   V21b — LAYOUT TRANSFORMATION (v3 — single float fix)
   ===================================================== */

/* --- V21b.1: H1 banner --- */
.dg-subpage .uk-panel > div:first-child {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%) !important;
  padding: 36px 40px 28px !important;
  border-radius: 16px !important;
  margin: 0 -20px 28px !important;
  box-shadow: 0 6px 24px rgba(27,67,50,0.22) !important;
}
.dg-subpage .uk-panel > div:first-child h1 {
  margin-bottom: 8px !important;
  box-shadow: none !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.dg-subpage .uk-panel > div:first-child p {
  color: rgba(255,255,255,0.88) !important;
  font-size: 1.08rem !important;
  text-align: center !important;
  margin: 0 !important;
  font-style: italic !important;
}

/* --- V21b.2: FIRST image — float with contained height --- */
.dg-subpage .uk-panel > .dg-content-img {
  float: left !important;
  width: 38% !important;
  max-height: 260px !important;
  overflow: hidden !important;
  margin: 4px 28px 20px 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 28px rgba(0,0,0,0.12) !important;
}
.dg-subpage .uk-panel > .dg-content-img img {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.dg-subpage .uk-panel > .dg-content-img figcaption,
.dg-subpage .uk-panel > .dg-content-img > div:last-child {
  display: none !important;
}

/* --- V21b.2b: SECOND+ image — centered block, no float --- */
.dg-subpage .uk-panel > .dg-content-img ~ .dg-content-img {
  float: none !important;
  clear: both !important;
  width: 65% !important;
  max-height: 300px !important;
  margin: 24px auto !important;
  display: block !important;
}
.dg-subpage .uk-panel > .dg-content-img ~ .dg-content-img img {
  height: 300px !important;
}

/* --- V21b.3: H2 — section divider --- */
.dg-subpage .uk-panel > h2 {
  background: #f0f7f2 !important;
  padding: 18px 24px !important;
  border-radius: 12px !important;
  border-left: 5px solid #2d6a4f !important;
  margin-top: 28px !important;
  margin-bottom: 18px !important;
  font-size: 1.35rem !important;
}
.dg-subpage .uk-panel > h2::after {
  display: none !important;
}

/* --- V21b.4: UL/OL — feature cards grid --- */
.dg-subpage .uk-panel > ul,
.dg-subpage .uk-panel > ol {
  clear: both !important;
  list-style: none !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 14px !important;
  margin: 16px 0 28px !important;
}
.dg-subpage .uk-panel > ul > li,
.dg-subpage .uk-panel > ol > li {
  background: #fff !important;
  border: 1px solid #e0e7e2 !important;
  border-radius: 12px !important;
  padding: 16px 20px 16px 44px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  position: relative !important;
  line-height: 1.6 !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}
.dg-subpage .uk-panel > ul > li:hover,
.dg-subpage .uk-panel > ol > li:hover {
  box-shadow: 0 4px 16px rgba(45,106,79,0.1) !important;
  transform: translateY(-2px) !important;
}
.dg-subpage .uk-panel > ul > li::before,
.dg-subpage .uk-panel > ol > li::before {
  content: '\2713' !important;
  position: absolute !important;
  left: 16px !important;
  top: 16px !important;
  color: #2d6a4f !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

/* --- V21b.5: Last div (CTA) --- */
.dg-subpage .uk-panel > div:last-child {
  clear: both !important;
  background: linear-gradient(135deg, #f0f7f2 0%, #e8f5e9 100%) !important;
  border: 2px solid #2d6a4f !important;
  border-radius: 16px !important;
  padding: 28px 32px !important;
  margin-top: 32px !important;
  text-align: center !important;
  box-shadow: 0 4px 16px rgba(45,106,79,0.08) !important;
}
.dg-subpage .uk-panel > div:last-child h3,
.dg-subpage .uk-panel > div:last-child strong {
  color: #1b4332 !important;
  font-size: 1.2rem !important;
}

/* --- V21b.6: Paragraph flow --- */
.dg-subpage .uk-panel > p {
  overflow: hidden !important;
}

/* --- V21b.7: Clearfix --- */
.dg-subpage .uk-panel::after {
  content: '' !important;
  display: table !important;
  clear: both !important;
}

/* --- V21b.8: Mobile --- */
@media (max-width: 767px) {
  .dg-subpage .uk-panel > .dg-content-img {
    float: none !important;
    width: 100% !important;
    max-height: 220px !important;
    margin: 16px 0 !important;
  }
  .dg-subpage .uk-panel > .dg-content-img ~ .dg-content-img {
    width: 100% !important;
    max-height: 220px !important;
    margin: 16px 0 !important;
  }
  .dg-subpage .uk-panel > .dg-content-img img,
  .dg-subpage .uk-panel > .dg-content-img ~ .dg-content-img img {
    height: 220px !important;
  }
  .dg-subpage .uk-panel > div:first-child {
    margin: 0 -10px 20px !important;
    padding: 24px 20px 18px !important;
  }
  .dg-subpage .uk-panel > h2 {
    font-size: 1.15rem !important;
    padding: 14px 18px !important;
  }
  .dg-subpage .uk-panel > ul,
  .dg-subpage .uk-panel > ol {
    grid-template-columns: 1fr !important;
  }
  .dg-subpage .uk-panel > div:last-child {
    padding: 20px 18px !important;
  }
}

/* --- V21b.9: Clear after grid --- */
.dg-subpage .uk-panel > ul + h2,
.dg-subpage .uk-panel > ol + h2 {
  clear: both !important;
}

/* ========== END V21b ========== */

/* === SOCIAL ICON BUTTONS (footer) === */
.dg-footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.dg-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.3s, transform 0.2s;
}
.dg-social-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
  color: #fff !important;
}
.dg-social-btn svg {
  display: block;
}

/* === CLEAN UP GREEN BORDERS === */
.dg-trust-item {
  border: none !important;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
.dg-trust-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10) !important;
  border: none !important;
}
.dg-trust-icon {
  background: #4a7c59 !important;
  color: #fff !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.dg-trust-icon svg {
  color: #fff !important;
  fill: #fff !important;
}
.dg-about {
  background: #fff !important;
  border: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  border-radius: 12px !important;
}
.dg-service-card {
  border: none !important;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
.dg-service-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.10) !important;
  border: none !important;
}


/* =============================================
   FOOTER REDESIGN v2 — compact, clean
   ============================================= */

/* Hide old footer classes */
.dg-new-footer, .dg-footer-col, .dg-footer-brand,
.dg-footer-addr, .dg-footer-hours, .dg-footer-phone,
.dg-footer-links, .dg-footer-social, .dg-footer-copy,
.dg-footer-social-icons, .dg-social-btn { display: none !important; }

/* New footer layout */
.dg-ft {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  font-size: 12px !important;
  line-height: 1.5;
  color: rgba(255,255,255,0.85) !important;
}
.dg-ft * {
  font-size: 12px !important;
  box-sizing: border-box;
}
.dg-ft-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 10px;
}
.dg-ft-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dg-ft-brand {
  font-size: 13px !important;
  font-weight: 600;
  color: #fff !important;
  margin-bottom: 2px;
}
.dg-ft a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
}
.dg-ft a:hover {
  color: #ffd700 !important;
}
.dg-ft-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.dg-ft-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  transition: background 0.2s;
}
.dg-ft-social a:hover {
  background: rgba(255,255,255,0.25);
}
.dg-ft-social svg { display: block; }
.dg-ft-copy {
  text-align: center;
  font-size: 11px !important;
  color: rgba(255,255,255,0.5) !important;
  padding: 0;
  margin: 0;
  border: none !important;
}

/* Hide YOOtheme duplicate social icons below footer */
.tm-footer-mobile-icons,
.uk-section-primary + .uk-section .uk-icon-button,
footer .uk-icon-button,
.tm-footer .uk-icon-button,
.uk-card-primary ~ div .uk-icon-button,
.el-link.uk-icon-button {
  display: none !important;
}

/* Footer section: less green, darker, slimmer */
.uk-card-primary {
  background: #2c3e2d !important;
  padding: 20px 30px !important;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .dg-ft-main {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: center;
  }
  .dg-ft-social { justify-content: center; }
  .dg-ft-col { align-items: center; }
}

/* =============================================
   GLOBAL CLEANUP — less green, cleaner
   ============================================= */

/* Service cards: white, no green borders */
.dg-trust-item {
  border: none !important;
  background: #fff !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05) !important;
  border-radius: 10px !important;
}
.dg-trust-item:hover {
  box-shadow: 0 3px 16px rgba(0,0,0,0.08) !important;
  border: none !important;
}

/* Trust icons: smaller, subtler green */
.dg-trust-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #4a7c59 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.dg-trust-icon svg {
  width: 22px !important;
  height: 22px !important;
  color: #fff !important;
  fill: #fff !important;
}

/* About section: clean white */
.dg-about {
  background: #fff !important;
  border: none !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05) !important;
  border-radius: 10px !important;
}

/* Service cards */
.dg-service-card {
  border: none !important;
  background: #fff !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05) !important;
}
.dg-service-card:hover {
  box-shadow: 0 3px 16px rgba(0,0,0,0.08) !important;
}

/* Subpage cards */
.dg-subpage .uk-card {
  border: none !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05) !important;
}

/* Location section */
.dg-location {
  background: #f9faf9 !important;
  border: none !important;
}

/* Footer v3 - taller with more spacing */
.dg-ft { padding: 40px 24px 28px !important; }
.dg-ft-main { gap: 28px !important; }
.dg-ft-col { gap: 8px !important; }
.dg-ft-brand { font-size: 15px !important; margin-bottom: 4px !important; }
.dg-ft-copy { margin-top: 24px !important; padding-top: 16px !important; }
.dg-ft-social { margin-top: 8px !important; }
.dg-ft-social a { width: 36px !important; height: 36px !important; }
@media(max-width:768px){ .dg-ft { padding: 32px 16px 24px !important; } .dg-ft-main { gap: 24px !important; } }
/* Social Section (Instagram + Facebook) */
.dg-social-section { text-align:center; padding:40px 24px; background:#f8f7f5; border-top:1px solid #e8e5e0; }
.dg-social-section h3 { font-size:1.3em; color:#2c3e2d; margin:0 0 8px; font-weight:600; }
.dg-social-section p { font-size:0.95em; color:#666; margin:0 0 20px; }
.dg-social-links { display:flex; justify-content:center; gap:24px; flex-wrap:wrap; }
.dg-social-links a { display:inline-flex; align-items:center; gap:8px; color:#2c3e2d; text-decoration:none; font-size:0.95em; font-weight:500; padding:10px 20px; border:1px solid #2c3e2d; border-radius:24px; transition:all .2s; }
.dg-social-links a:hover { background:#2c3e2d; color:#fff; }
.dg-social-links a svg { flex-shrink:0; }
@media(max-width:768px){ .dg-social-links { flex-direction:column; align-items:center; gap:12px; } }
/* Footer v4 - fix column split + uppercase + sizing */
.uk-card-primary .el-content { column-count:1 !important; -webkit-column-count:1 !important; -moz-column-count:1 !important; text-transform:none !important; font-size:13px !important; font-weight:400 !important; letter-spacing:normal !important; }
.uk-card-primary .el-content.uk-h6 { font-size:13px !important; text-transform:none !important; font-weight:400 !important; }
.dg-ft { padding:36px 32px 24px !important; }
.dg-ft-main { display:flex !important; justify-content:space-between !important; align-items:flex-start !important; gap:32px !important; flex-wrap:wrap !important; }
.dg-ft-col { display:flex !important; flex-direction:column !important; gap:6px !important; min-width:180px !important; }
.dg-ft-brand { font-size:14px !important; font-weight:700 !important; text-transform:none !important; letter-spacing:0.3px !important; color:#fff !important; margin-bottom:4px !important; }
.dg-ft span, .dg-ft a { font-size:13px !important; text-transform:none !important; color:rgba(255,255,255,0.85) !important; line-height:1.5 !important; }
.dg-ft a:hover { color:#fff !important; }
.dg-ft-copy { margin-top:20px !important; padding-top:14px !important; border-top:1px solid rgba(255,255,255,0.15) !important; text-align:center !important; font-size:11px !important; color:rgba(255,255,255,0.5) !important; text-transform:none !important; }
.dg-ft-social { display:flex !important; gap:10px !important; margin-top:6px !important; }
.dg-ft-social a { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:34px !important; height:34px !important; border-radius:50% !important; border:1px solid rgba(255,255,255,0.3) !important; color:rgba(255,255,255,0.85) !important; background:transparent !important; text-decoration:none !important; transition:all .2s !important; font-size:0 !important; }
.dg-ft-social a:hover { background:rgba(255,255,255,0.1) !important; border-color:rgba(255,255,255,0.6) !important; color:#fff !important; }
@media(max-width:768px){ .dg-ft-main { flex-direction:column !important; align-items:center !important; text-align:center !important; gap:20px !important; } .dg-ft { padding:28px 20px 20px !important; } }
/* Footer v5 - warm sage color for adult daycare */
.uk-card-primary { background-color: #5a8c6f !important; }
.uk-card-primary .uk-card-body { background-color: #5a8c6f !important; }
.dg-social-section { background: #4d7e62 !important; }
.dg-social-section h3 { color: #fff !important; }
.dg-social-section p { color: rgba(255,255,255,0.85) !important; }
.dg-social-links a { background: rgba(255,255,255,0.15) !important; color: #fff !important; border-color: rgba(255,255,255,0.3) !important; }
.dg-social-links a:hover { background: rgba(255,255,255,0.25) !important; }

/* Footer v6 - full-width clean footer, no YOOtheme card */
.dg-footer-v6 { background: #5a8c6f; width: 100%; padding: 0; margin: 0; }
.dg-ft-inner { max-width: 1100px; margin: 0 auto; padding: 40px 30px 20px; }
.dg-ft-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.dg-ft-col { display: flex; flex-direction: column; gap: 4px; }
.dg-ft-col strong { color: #fff; font-size: 15px; margin-bottom: 4px; }
.dg-ft-col span, .dg-ft-col a { color: rgba(255,255,255,0.85); font-size: 13px; text-decoration: none; }
.dg-ft-col a:hover { color: #fff; }
.dg-ft-links { margin-top: 6px; }
.dg-ft-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 13px; }
.dg-ft-links a:hover { color: #fff; }
.dg-ft-social { display: flex; gap: 10px; margin-top: 8px; }
.dg-ft-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); color: #fff; transition: background 0.2s; }
.dg-ft-social a:hover { background: rgba(255,255,255,0.15); }
.dg-ft-copy { text-align: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 11px; color: rgba(255,255,255,0.5); }
@media(max-width:640px){ .dg-ft-row { flex-direction: column; gap: 24px; } .dg-ft-inner { padding: 30px 20px 16px; } }


/* === MENU MOBILE FIX v8 (11 abril 2026) === */
.uk-offcanvas-bar {
  background: #2E5339 !important;
  background-image: none !important;
  padding: 30px 20px !important;
  width: 280px !important;
}
.uk-offcanvas-bar .uk-nav-default > li > a {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  padding: 14px 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  display: block !important;
}
.uk-offcanvas-bar .uk-nav-default > li > a:hover,
.uk-offcanvas-bar .uk-nav-default > li.uk-active > a {
  color: #FFD700 !important;
  background: rgba(255,255,255,0.1) !important;
  padding-left: 16px !important;
}
.uk-offcanvas-bar .uk-offcanvas-close {
  color: #fff !important;
  top: 12px !important;
  right: 12px !important;
}

/* === IMAGE FIX v8 - Service cards & gallery === */
.dg-svc-img {
  height: 180px !important;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.dg-svc-img img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  object-position: center 30% !important;
}
.dg-gallery img,
.dg-gal img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 12px !important;
}
.dg-hero img,
.dg-hero-bg {
  object-position: center 35% !important;
}
@media (max-width: 600px) {
  .dg-svc-img, .dg-svc-img img {
    height: 160px !important;
  }
  .dg-gallery img, .dg-gal img {
    height: 180px !important;
  }
  .uk-offcanvas-bar .uk-nav-default > li > a {
    font-size: 16px !important;
    padding: 15px 12px !important;
  }
}


/* === OFFCANVAS STABILITY FIX v8 === */
#tm-mobile {
  z-index: 10000 !important;
}
#tm-mobile .uk-offcanvas-bar {
  z-index: 10001 !important;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  max-height: 100vh;
}
.uk-offcanvas-container {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}
#tm-mobile .uk-offcanvas-bar .uk-nav-default > li {
  min-height: 44px;
  display: flex;
  align-items: center;
}
