/* ================================================
   Pipe Masters Plumbing & Heating LLC
   Modern Responsive Stylesheet
   ================================================ */

/* -------------------- CSS Variables -------------------- */
:root {
  --primary-blue: #1a5f8a;
  --primary-blue-dark: #134a6d;
  --primary-blue-light: #2a7ab5;
  --secondary-blue: #2980b9;
  --accent-blue: #3498db;
  --gray-dark: #2c3e50;
  --gray-medium: #7f8c8d;
  --gray-light: #bdc3c7;
  --gray-lighter: #ecf0f1;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --error: #e74c3c;
  --success: #27ae60;
  --warning: #f39c12;
  
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --container-max: 1200px;
  --container-padding: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-blue-dark);
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-dark);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--gray-medium);
}

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

.container-fluid {
  width: 100%;
  padding: 0 var(--container-padding);
}

.section {
  padding: 4rem 0;
}

.section-sm {
  padding: 2rem 0;
}

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

/* -------------------- Navigation -------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  max-height: 50px;
  width: auto;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
}

.navbar-brand-tagline {
  font-size: 0.75rem;
  color: var(--gray-medium);
  letter-spacing: 0.5px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  font-weight: 500;
  color: var(--gray-dark);
  padding: 0.5rem 0;
  position: relative;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-base);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--primary-blue);
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

.navbar-cta {
  margin-left: 1rem;
}

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

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-dark);
  transition: all var(--transition-base);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
  }
  
  .navbar-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* -------------------- Hero Section -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  padding-top: 70px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 992px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-image {
    margin-top: 2rem;
    text-align: center;
  }
  
  .hero-image img {
    max-width: 350px;
  }
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--gray-lighter);
  color: var(--primary-blue-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* -------------------- Cards -------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--gray-medium);
  margin-bottom: 1rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-lighter);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  color: var(--primary-blue);
  font-size: 1.5rem;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
  padding: 2rem;
}

.service-card .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  color: var(--white);
  border-radius: 50%;
}

/* -------------------- Forms -------------------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-dark);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 138, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-light);
}

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

.form-error {
  border-color: var(--error) !important;
}

.form-error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary-blue);
}

.form-checkbox-label {
  font-size: 0.9rem;
  color: var(--gray-medium);
}

.form-checkbox-label a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.form-checkbox-label a:hover {
  color: var(--primary-blue-dark);
}

.success-message {
  background: var(--success);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  transition: opacity var(--transition-base);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 3rem;
  }
}

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

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

.contact-info-section .section-header {
  margin-bottom: 2rem;
}

.contact-info-section .section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.contact-form-section h3 {
  margin-bottom: 1.5rem;
}

/* Map Container */
.map-container {
  width: 100%;
  overflow: hidden;
}

.map-container iframe {
  display: block;
}

/* Footer Brand Text */
.footer-brand-text h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand-text p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact a {
  color: var(--gray-light);
  font-size: 0.9rem;
}

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

.footer-links-section {
  margin-bottom: 1rem;
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--gray-dark);
  color: var(--gray-lighter);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand img {
  max-height: 60px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--gray-light);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--primary-blue-light);
  margin-top: 0.25rem;
}

.footer-contact-item span {
  color: var(--gray-light);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--gray-light);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--gray-light);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--gray-light);
}

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

/* -------------------- Cookie Consent Banner -------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-dark);
  color: var(--white);
  padding: 1.25rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-lighter);
}

.cookie-banner-text a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

@media (max-width: 576px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* -------------------- Modal -------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.modal-overlay.show .modal {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-lighter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-lighter);
  border-radius: 50%;
  color: var(--gray-medium);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-light);
  color: var(--gray-dark);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-lighter);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Cookie Preferences Modal */
.cookie-preferences {
  padding: 0;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-lighter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.cookie-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-lighter);
  border-radius: 50%;
  color: var(--gray-medium);
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.cookie-modal-close:hover {
  background: var(--gray-light);
  color: var(--gray-dark);
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-lighter);
  display: flex;
  justify-content: flex-end;
}

.cookie-category {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-lighter);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cookie-category-header label:first-child {
  font-weight: 600;
  font-size: 1rem;
}

.cookie-always-on {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.cookie-category p {
  font-size: 0.875rem;
  color: var(--gray-medium);
  margin: 0;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-light);
  border-radius: 26px;
  transition: all var(--transition-fast);
}

.cookie-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.cookie-switch input:checked + .cookie-slider {
  background: var(--primary-blue);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(24px);
}

/* Cookie Buttons */
.cookie-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.cookie-btn-accept {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.cookie-btn-accept:hover {
  background: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--gray-light);
  border-color: var(--gray-light);
}

.cookie-btn-reject:hover {
  background: var(--gray-light);
  color: var(--gray-dark);
}

.cookie-btn-customize {
  background: transparent;
  color: var(--accent-blue);
  border-color: transparent;
}

.cookie-btn-customize:hover {
  color: var(--primary-blue-light);
}

.cookie-btn-save {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  padding: 0.75rem 1.5rem;
}

.cookie-btn-save:hover {
  background: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
}

/* Cookie Content */
.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-lighter);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 576px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* -------------------- Utility Classes -------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--gray-medium); }
.text-white { color: var(--white); }
.text-error { color: var(--error); }
.text-success { color: var(--success); }

.bg-primary { background-color: var(--primary-blue); }
.bg-light { background-color: var(--gray-lighter); }
.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--gray-dark); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 50%; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-none { box-shadow: none; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------- Responsive Visibility -------------------- */
@media (max-width: 575.98px) {
  .d-xs-none { display: none; }
  .d-xs-block { display: block; }
}

@media (min-width: 576px) {
  .d-sm-none { display: none; }
  .d-sm-block { display: block; }
}

@media (min-width: 768px) {
  .d-md-none { display: none; }
  .d-md-block { display: block; }
  .d-md-flex { display: flex; }
  .d-md-grid { display: grid; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none; }
  .d-lg-block { display: block; }
  .d-lg-flex { display: flex; }
  .d-lg-grid { display: grid; }
}

@media (min-width: 1200px) {
  .d-xl-none { display: none; }
  .d-xl-block { display: block; }
}

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

.section-subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray-medium);
  font-size: 1.1rem;
}

/* -------------------- Features Section -------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

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

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

.feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.feature-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  margin: 0;
}

/* -------------------- CTA Section -------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

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

.cta-section p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

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

/* -------------------- Services Page -------------------- */
.services-section {
  padding: 4rem 0;
}

.services-section .services-grid {
  gap: 3rem;
}

.services-section .service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  padding: 0;
  overflow: hidden;
}

.services-section .service-card__image {
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.services-section .service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.services-section .service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.services-section .service-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-section .service-card__content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.service-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-medium);
  font-size: 0.95rem;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--primary-blue);
  border-radius: 50%;
}

/* Portfolio Section */
.portfolio-section {
  padding: 4rem 0;
  background: var(--gray-lighter);
}

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

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

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

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

.portfolio-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.portfolio-item:hover .portfolio-item__overlay {
  transform: translateY(0);
}

.portfolio-item__overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .services-section .service-card {
    grid-template-columns: 1fr;
  }
  
  .services-section .service-card__image {
    min-height: 200px;
  }
}

/* -------------------- Hero Variants -------------------- */
.hero--services,
.hero--page {
  min-height: 50vh;
  padding: 140px 0 80px;
}

.hero--services .hero-content,
.hero--page .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* -------------------- Contact Info -------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-lighter);
  color: var(--primary-blue);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.contact-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-text p,
.contact-text a {
  font-size: 0.9rem;
  color: var(--gray-medium);
  margin: 0;
}

.contact-text a:hover {
  color: var(--primary-blue);
}

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

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

.contact-info-section .section-header {
  margin-bottom: 2rem;
}

.contact-info-section .section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.contact-form-section h3 {
  margin-bottom: 1.5rem;
}

/* Map Container */
.map-container {
  width: 100%;
  overflow: hidden;
}

.map-container iframe {
  display: block;
}

/* -------------------- Testimonials -------------------- */
.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-medium);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 3rem;
  color: var(--primary-blue);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h5 {
  font-size: 1rem;
  margin: 0;
}

.testimonial-author-info span {
  font-size: 0.875rem;
  color: var(--gray-medium);
}

/* -------------------- Stats Section -------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--gray-medium);
  margin: 0;
}

/* -------------------- Animations -------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-slide-in {
  animation: slideIn 0.6s ease forwards;
}

/* -------------------- Print Styles -------------------- */
@media print {
  .navbar,
  .cookie-banner,
  .modal-overlay,
  .footer-social {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
  }
}
