/* Accountancy & Consulting page specific styles */
/* Variables defined in common.css */

/* Page-specific color variations to distinguish from main company */
:root {
  --ac-primary: #0a3d2a; /* Slightly different green tone */
  --ac-gold: #C7993A; /* Keep same gold */
  --ac-accent: #2c5f47; /* Lighter green for accents */
  --ac-light: #e8f4ed; /* Very light green background */
}

/* Hero Section - Using standard hero structure with cennik/o-nas height */
.ac-hero {
  background: #fff url('images/hero-bg.png') no-repeat center center;
  background-size: fill;
  border-radius: 44px 0 44px 44px;
  min-height: 550px;
}

.ac-hero .container {
  display: flex;
  padding: 30px clamp(40px, 5vw, 160px);
  border-radius: 44px 0 44px 44px;
  min-height: 550px;
  position: relative;
  overflow: hidden;
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
}

.ac-hero .hero-text {
  flex: 1;
  padding-right: 0;
  margin: 0;
  position: relative;
}

.ac-hero .hero-text h1 {
  color: var(--ac-primary);
  font-size: 9vh;
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 700;
}

.ac-hero .hero-text p {
  font-family: 'Roboto', serif;
  font-weight: 300;
  font-size: 20px;
  margin-bottom: 60px;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 28px;
}

@media (min-width: 1921px) {
  .ac-hero .hero-text h1 { font-size: 80px; }
  .ac-hero .container { min-height: 550px; }
  .ac-hero { min-height: 550px; }
  .ac-hero .hero-text p { font-size: 18px; }
}

.btn-outline {
  display: inline-block;
  padding: 12px 80px;
  border: 2px solid var(--ac-gold);
  color: var(--ac-gold);
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  margin-left: 16px;
  border-radius: 4px 10px 4px 20px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--ac-gold);
  color: #fff;
}

/* Company Info Section */
.company-info-section {
  background: #fff;
  padding: 40px 0;
  border-radius: 44px 0 44px 44px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.company-info-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-main {
  max-width: 1000px;
  text-align: center;
}

.company-main h2 {
  color: var(--ac-primary);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.company-subtitle {
  color: var(--ac-gold);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.company-description p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.company-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 30px;
}

.advantage-item {
  text-align: center;
  padding: 20px;
}

.advantage-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.advantage-item h4 {
  color: var(--ac-primary);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.advantage-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Services Section */
.services-section {
  background: #fff;
  padding: 40px 0;
  border-radius: 0 44px 44px 44px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  color: var(--ac-primary);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}

.section-header .highlight {
  color: var(--ac-gold);
  font-weight: 800;
}

.section-header p {
  color: #666;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--ac-primary);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.service-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.service-price {
  color: var(--ac-gold);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.no-vat {
  background: var(--ac-gold);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  margin-left: 8px;
  text-transform: uppercase;
}

/* Why Choose Us Section */
.why-choose-section {
  background: #fff;
  padding: 40px 0 60px 0;
  color: var(--ac-primary);
  border-radius: 44px 0 44px 44px;
  margin-top: 40px;
}

.why-choose-content {
  max-width: 800px;
  margin: 0 auto;
}

.why-choose-text h2 {
  color: var(--ac-primary);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-number {
  background: var(--ac-gold);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}

.benefit-content h4 {
  color: var(--ac-gold);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.benefit-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

/* Contact Form Section */
.contact-form-section {
  background: var(--ac-primary);
  padding: 40px 0 60px;
  border-radius: 0 44px 44px 44px;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: var(--ac-primary);
  color: #fff;
  border-radius: 16px;
  padding: 40px 35px;
}

.contact-card .section-title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.contact-subtitle {
  text-align: center;
  color: #e0e0e0;
  font-size: 16px;
  margin-bottom: 30px;
  font-style: italic;
}

.contact-card select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #fff;
  color: #333;
}

.contact-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 35px;
  color: var(--ac-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
}

.contact-info-card h3 {
  color: var(--ac-primary);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-item strong {
  color: var(--ac-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.contact-item p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.contact-item .phone {
  color: var(--ac-primary);
  font-weight: 500;
}

.contact-item .email {
  color: var(--ac-gold);
  font-weight: 500;
}

.company-highlight {
  background: var(--ac-light);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  position: relative;
}

.highlight-badge {
  background: var(--ac-gold);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.company-highlight p {
  margin: 0;
  font-size: 14px;
  color: var(--ac-primary);
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .company-advantages {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
  }
  
  .contact-info-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .ac-hero .hero-text h1 {
    font-size: 36px;
  }
  
  .hero-actions .btn-yellow-hero,
  .hero-actions .btn-outline {
    text-align: center;
    padding: 12px 24px;
  }
  
  .company-info-section {
    padding: 30px 0;
  }
  
  .company-main h2 {
    font-size: 36px;
  }
  
  .company-advantages {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .services-section {
    padding: 30px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-header h2 {
    font-size: 36px;
  }
  
  .why-choose-section {
    padding: 30px 0;
  }
  
  .why-choose-text h2 {
    font-size: 32px;
  }
  
  .benefits-list {
    gap: 20px;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .contact-form-section {
    padding: 30px 0 40px;
  }
}

@media (max-width: 480px) {
  .ac-hero .hero-text h1 {
    font-size: 28px;
  }
  
  .company-main h2 {
    font-size: 28px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .why-choose-text h2 {
    font-size: 26px;
  }
  
  .contact-card {
    padding: 25px 20px;
  }
  
  .contact-info-card {
    padding: 20px 15px;
  }
  
  .contact-card .section-title {
    font-size: 28px;
  }
}

/* Form styling overrides for this page */
.contact-card .form-row-sm .block {
  color: #fff;
  font-weight: 600;
}

.contact-card .btn-gold {
  background: var(--ac-gold);
  font-size: 16px;
  padding: 14px 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-card .btn-gold:hover {
  background: #dc9c1d;
}