/* ============================================================
   TOP TUCSON IRRIGATION - Modern Epic Design System
   ============================================================ */

:root {
    --white: #ffffffff;
    --black: #000000ff;
    --evergreen: #132a13ff;
    --hunter-green: #31572cff;
    --fern: #4f772dff;
    --palm-leaf: #90a955ff;
    --lime-cream: #ecf39eff;

    /* Extended palette */
    --evergreen-rgb: 19, 42, 19;
    --hunter-green-rgb: 49, 87, 44;
    --fern-rgb: 79, 119, 45;
    --palm-leaf-rgb: 144, 169, 85;
    --lime-cream-rgb: 236, 243, 158;

    --gradient-dark: linear-gradient(135deg, var(--evergreen) 0%, var(--hunter-green) 50%, var(--fern) 100%);
    --gradient-light: linear-gradient(135deg, var(--lime-cream) 0%, var(--palm-leaf) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(19,42,19,0.7) 60%, rgba(19,42,19,0.95) 100%);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 60px rgba(19,42,19,0.25);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   BASE & TYPOGRAPHY
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--evergreen);
}

a {
  color: var(--fern);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--hunter-green);
}

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

/* ============================================================
   NAVBAR - Modern Sticky
   ============================================================ */

.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
  transition: all var(--transition);
  z-index: 1030;
}

.navbar .navbar-brand img {
  height: 48px;
  width: auto;
  transition: transform var(--transition);
}

.navbar .navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar .nav-link {
  color: var(--evergreen) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem !important;
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--white) !important;
  background: var(--gradient-dark);
}

.navbar .nav-link i {
  margin-right: 0.35rem;
}

.navbar-toggler {
  border: 2px solid var(--evergreen);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(var(--fern-rgb), 0.3);
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(19, 42, 19, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .navbar .nav-link {
    padding: 0.7rem 1.2rem !important;
    text-align: center;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px;
}

.hero .hero-badge,
.hero-inner .hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero .hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero .btn-primary,
.hero-inner .btn-primary {
  background: var(--gradient-light);
  color: var(--evergreen);
  border: none;
  padding: 0.85rem 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(var(--palm-leaf-rgb), 0.4);
}

.hero .btn-primary:hover,
.hero-inner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(var(--palm-leaf-rgb), 0.6);
  color: var(--evergreen);
}

.hero .btn-outline-light,
.hero-inner .btn-outline-light {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.hero .btn-outline-light:hover,
.hero-inner .btn-outline-light:hover {
  background: var(--white);
  color: var(--evergreen);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Hero for inner pages (shorter) */
.hero-inner {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(19,42,19,0.8) 100%);
  z-index: 1;
}

.hero-inner .hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 40px;
}

.hero-inner h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-inner .hero-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-badge {
  display: inline-block;
  background: var(--lime-cream);
  color: var(--evergreen);
  padding: 0.4rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--evergreen);
  margin-bottom: 1rem;
}

.section-header p {
  color: #555;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.bg-lime {
  background: var(--lime-cream);
}

.bg-dark-green {
  background: var(--gradient-dark);
  color: var(--white);
}

.bg-dark-green .section-header h2,
.bg-dark-green .section-header p {
  color: var(--white);
}

.bg-dark-green .section-header .section-badge {
  background: rgba(255,255,255,0.15);
  color: var(--lime-cream);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-dark);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--palm-leaf-rgb), 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--white);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(var(--evergreen-rgb), 0.4);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--evergreen);
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-card .btn-link {
  color: var(--fern);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.service-card .btn-link:hover {
  color: var(--hunter-green);
  gap: 0.75rem;
}

.service-card .btn-link i {
  transition: transform var(--transition);
}

.service-card .btn-link:hover i {
  transform: translateX(4px);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  background: var(--gradient-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(var(--palm-leaf-rgb), 0.1) 0%, transparent 50%);
  animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-section .btn-light {
  background: var(--white);
  color: var(--evergreen);
  border: none;
  padding: 0.9rem 3rem;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-section .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  background: var(--lime-cream);
}

.cta-section .phone-link {
  display: inline-block;
  color: var(--lime-cream);
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 1.5rem;
  transition: all var(--transition);
  text-decoration: none;
}

.cta-section .phone-link:hover {
  color: var(--white);
  transform: scale(1.05);
}

.cta-section .phone-link i {
  margin-right: 0.5rem;
  animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-5deg); }
  20%, 40%, 60%, 80% { transform: rotate(5deg); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--palm-leaf);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-family: Georgia, serif;
  line-height: 1;
}

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

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-card .testimonial-author {
  font-weight: 700;
  color: var(--evergreen);
  font-style: normal;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .testimonial-author i {
  color: var(--fern);
  font-size: 1.25rem;
}

.testimonial-card .stars {
  color: #f0a500;
  margin-bottom: 0.5rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  background: var(--white);
}

.about-feature:hover {
  box-shadow: var(--shadow-md);
}

.about-feature .feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: var(--radius-md);
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.about-feature h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--evergreen);
  margin-bottom: 0.4rem;
}

.about-feature p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--palm-leaf);
  border-radius: var(--radius-lg);
  transform: translate(15px, 15px);
  z-index: -1;
  opacity: 0.5;
}

/* ============================================================
   PORTFOLIO GALLERY
   ============================================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,42,19,0.85) 0%, rgba(19,42,19,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay .overlay-text {
  color: var(--white);
}

.portfolio-overlay .overlay-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.portfolio-overlay .overlay-text span {
  font-size: 0.85rem;
  color: var(--lime-cream);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper .form-label {
  color: var(--evergreen);
  font-size: 0.9rem;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
  border-color: var(--fern);
  box-shadow: 0 0 0 4px rgba(var(--fern-rgb), 0.15);
  outline: none;
}

.contact-form-wrapper .btn-submit {
  background: var(--gradient-dark);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  transition: all var(--transition);
  width: 100%;
}

.contact-form-wrapper .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-section {
  padding-bottom: 2rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-info-card .info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-card .info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.contact-info-card h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--palm-leaf);
  margin-bottom: 0.25rem;
}

.contact-info-card p,
.contact-info-card a {
  color: #444;
  font-size: 0.95rem;
  margin: 0;
}

.contact-map-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-map-card iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius-md);
}

@media (max-width: 767px) {
  .contact-map-card iframe {
    height: 280px;
  }
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */

.area-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.area-list li {
  background: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--evergreen);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}

.area-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gradient-dark);
  color: var(--white);
}

.area-list li i {
  color: var(--fern);
}

.area-list li:hover i {
  color: var(--lime-cream);
}

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */

.service-detail-content {
  padding: 60px 0;
}

.service-detail-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--evergreen);
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-detail-content .detail-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.feature-list li {
  padding: 0.6rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: #444;
}

.feature-list li i {
  color: var(--fern);
  font-size: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ============================================================
   STATS COUNTER
   ============================================================ */

.stats-section {
  background: var(--gradient-dark);
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item .stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--lime-cream);
  display: block;
}

.stat-item .stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   404 PAGE
   ============================================================ */

.error-404 {
  padding: 120px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--lime-cream);
}

.error-404 .error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  background: var(--gradient-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-404 h2 {
  color: var(--evergreen);
  font-weight: 700;
}

.error-404 .btn-primary {
  background: var(--gradient-dark);
  border: none;
  padding: 0.85rem 2.5rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all var(--transition);
}

.error-404 .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.error-404 .bi-arrow-left {
  transition: transform 0.2s ease;
}

.error-404 .btn-primary:hover .bi-arrow-left {
  transform: translateX(-4px);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--evergreen);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}

.site-footer .footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
}

.site-footer .footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.site-footer h5 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--palm-leaf);
  border-radius: 2px;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-links li {
  margin-bottom: 0.6rem;
}

.site-footer .footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer .footer-links a:hover {
  color: var(--lime-cream);
  transform: translateX(4px);
}

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

.site-footer .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition);
  text-decoration: none;
}

.site-footer .social-links a:hover {
  background: var(--palm-leaf);
  color: var(--evergreen);
  transform: translateY(-3px);
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.site-footer .footer-bottom a {
  color: var(--lime-cream);
  text-decoration: none;
  font-weight: 600;
}

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

.footer-info {
  margin-top: 2rem;
}

.footer-info-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.footer-info-top {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 1.25rem;
}

.footer-info-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-info-title i {
  font-size: 1.55rem;
  color: var(--lime-cream);
}

.footer-info-title h5 {
  margin: 0;
  color: var(--white);
  font-size: 1.15rem;
}

.footer-info-copy {
  margin: 0;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
}

.footer-info-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem 1.5rem;
  padding: 0;
  margin: 0;
}

.footer-info-links li {
  list-style: none;
}

.footer-info-links li a,
.footer-info-links li span {
  color: rgba(255,255,255,0.84);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-info-links li a:hover {
  color: var(--lime-cream);
}

.footer-info-actions .btn {
  min-width: 140px;
}

.footer-info-actions .btn-outline-light {
  border-color: rgba(255,255,255,0.35);
}

.footer-info-actions .btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   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;
  border-radius: var(--radius-sm);
}

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

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

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

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

/* ============================================================
   ANIMATIONS
   ============================================================ */

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 767px) {
  .section {
    padding: 50px 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-inner {
    min-height: 35vh;
  }

  .service-card {
    padding: 1.75rem 1.25rem;
  }

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

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

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

  .site-footer {
    text-align: center;
  }

  .site-footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .site-footer .footer-links a:hover {
    transform: none;
  }

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

/* ============================================================
   VIDEO WRAPPER
   ============================================================ */

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* ============================================================
   UTILITY
   ============================================================ */

.text-gradient {
  background: var(--gradient-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rounded-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   REVIEW BADGE
   ============================================================ */

.review-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-sm);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  color: #555;
}

.review-badge .stars {
  color: #f0a500;
  letter-spacing: 2px;
}

/* ============================================================
   HONEYPOT FIELD (spam trap)
   ============================================================ */

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   MOBILE STICKY CALL BAR
   ============================================================ */

.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1045;
  display: flex;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -6px 24px rgba(19,42,19,0.18);
}

.mobile-call-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
}

.mobile-call-btn {
  background: var(--gradient-dark);
  color: var(--white);
}

.mobile-call-btn:hover {
  color: var(--lime-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-quote-btn {
  background: var(--lime-cream);
  color: var(--evergreen);
}

.mobile-quote-btn:hover {
  color: var(--evergreen);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 991px) {
  body {
    padding-bottom: 84px;
  }
}