/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #EC4699;
  --secondary-foreground: #111827;
  --accent: #dc2626;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #000000;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Open Sans', sans-serif;
  --radius: 1rem;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem 0;
}

ul, ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

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

a:hover {
  text-decoration: underline;
}

/* Layout Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  border-bottom: 3px solid var(--accent);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  border-bottom: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
}

.btn-primary-white {
  background: var(--primary-foreground);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.btn-primary-white:hover {
  border-bottom: 3px solid var(--accent);
  text-decoration: none;
}

.btn-outline-white {
  background: transparent;
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-foreground);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  border-bottom: 3px solid var(--primary-foreground);
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: var(--primary-foreground);
  color: var(--primary);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
}

.btn-link-white {
  background: transparent;
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.btn-link-white:hover {
  border-bottom: 3px solid var(--primary-foreground);
  text-decoration: none;
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 1rem;
  background: var(--background);
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Icons */
.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-xl {
  width: 3rem;
  height: 3rem;
}

.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

/* Navigation */
.nav-container {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding-bottom: 1rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding-bottom: 0.25rem;
  transition: border-bottom 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom: 3px solid var(--primary);
}

.timecryw_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.timecryw_mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.timecryw_mobile-menu a {
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .timecryw_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #fff;
  .9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 3rem 0;
}

section:nth-child(even) {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

section:nth-child(odd) {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

/* Cards */
.service-card,
.pricing-card,
.category-card,
.value-card,
.industry-card,
.project-card,
.outcome-card,
.testimonial-card,
.option-card,
.achievement-item,
.expertise-item,
.contact-card,
.business-hours-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card h3,
.category-card h3,
.value-card h3,
.industry-card h3,
.outcome-card h3,
.option-card h3 {
  margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card.featured {
  border-color: var(--primary);
  position: relative;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Service Rows */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.service-pricing {
  margin-bottom: 1.5rem;
}

.price-label {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  display: block;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  text-align: center;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Timeline */
.process-timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.process-timeline:before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-marker {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-marker i {
  color: var(--primary-foreground);
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-large {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-large blockquote {
  font-size: 1.5rem;
  font-style: italic;
  margin: 0;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.testimonial-large cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  font-style: normal;
}

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

.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
}

.testimonial-card cite {
  display: block;
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-style: normal;
  font-size: 0.9rem;
}

/* Newsletter */
.newsletter {
  background: var(--muted);
  padding: 3rem 0;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.form-inline {
  display: flex;
  gap: 1rem;
}

.form-inline .form-input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .form-inline {
    flex-direction: column;
  }
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #fff;
  .9;
  margin-bottom: 2rem;
}

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

/* Footer */
footer {
  background: transparent;
  border-top: 1px solid var(--border);
  color: var(--foreground);
  padding: 3rem 0 1rem 0;
}

footer a {
  color: var(--primary);
}

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

.footer-column h3 {
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

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

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Contact Page */
.contact-section {
  padding: 3rem 0;
}

.timecryw_contact-form-container h2,
.contact-info-container h2 {
  margin-bottom: 1rem;
}

.contact-methods {
  margin-top: 2rem;
}

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

.method-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.method-content p {
  margin-bottom: 0.25rem;
}

.method-note {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.contact-link {
  font-weight: 600;
  color: var(--primary);
}

.hours-list {
  margin-bottom: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-note {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.contact-options {
  background: var(--muted);
}

.map-container {
  margin-top: 2rem;
}

.map-placeholder {
  background: var(--muted);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  max-width: 400px;
}

.map-description {
  color: var(--muted-foreground);
  margin-top: 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio Page */
.portfolio-filter {
  padding: 2rem 0;
  text-align: center;
}

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

.filter-btn {
  background: transparent;
  border: 2px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-category {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tag {
  background: var(--muted);
  color: var(--muted-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* About Page */
.company-story,
.achievements,
.location-contact {
  padding: 3rem 0;
}

.story-content,
.achievement-content,
.location-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-image,
.achievement-image,
.location-image {
  text-align: center;
}

.story-image img,
.achievement-image img,
.location-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.achievement-stats {
  margin-top: 2rem;
}

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

.stat-content h4,
.contact-info strong {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.expertise-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  
  .expertise-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Legal Pages */
.legal-content {
  padding: 3rem 0;
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.last-updated {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  font-style: italic;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.contact-details {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* Cookie Table */
.cookie-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--muted);
  font-weight: 600;
}

/* Cookie Consent */
.timecryw_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--border);
  padding: 1rem 0;
  z-index: 10000;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timecryw_cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.timecryw_cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.timecryw_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.timecryw_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timecryw_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.timecryw_cookie-modal-content {
  position: relative;
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cookie-toggles {
  margin-bottom: 2rem;
}

.timecryw_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.timecryw_cookie-toggle-row:last-child {
  border-bottom: none;
}

.timecryw_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .timecryw_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .timecryw_cookie-banner-actions {
    justify-content: center;
  }
  
  .timecryw_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Success Message */
.success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-content h3 {
  margin: 0;
  color: #155724;
}

.success-content p {
  margin: 0;
  color: #155724;
}

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

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.mb-4 {
  margin-bottom: 1rem;
}

.rounded-image {
  border-radius: var(--radius);
}

.link-primary {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}

.link-primary:hover {
  border-bottom: 2px solid var(--primary);
  text-decoration: none;
}

/* Animation Classes */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Focus Styles */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .timecryw_cookie-banner,
  .timecryw_cookie-modal,
  nav,
  footer {
    display: none;
  }
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#timecryw_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#timecryw_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#timecryw_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
