/* custom.css — ciaodott.org overrides */
/* Announcement bar */
.announcement-bar {
  width: 100%;
  background: #059669;
  color: #fff;
  text-align: center;
  padding: 0.6rem 5%;
  font-size: 0.85rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1002;
}
.announcement-bar a { color: #fff; text-decoration: underline; }
.announcement-bar .bar-close {
  position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; cursor: pointer; font-size: 1rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #131e2e;
  border-top: 1px solid rgba(5,150,105,0.3);
  padding: 1.25rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  font-family: 'Archivo', sans-serif;
  font-size: 0.9rem;
  color: #8ba0b8;
  flex-wrap: wrap;
}
.cookie-banner a { color: #059669; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept {
  padding: 0.5rem 1.5rem;
  background: #059669;
  color: #fff;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.cookie-decline {
  padding: 0.5rem 1.5rem;
  background: transparent;
  color: #8ba0b8;
  border: 1px solid rgba(255,255,255,0.15);
  font-family: 'Archivo', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Trust strip (stats bar) */
.trust-strip {
  background: #131e2e;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 5%;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.trust-stat { text-align: center; }
.trust-stat .stat-value {
  font-family: 'Crimson Pro', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #059669;
  display: block;
}
.trust-stat .stat-label {
  font-size: 0.85rem;
  color: #8ba0b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Feature section (product page) */
.feature-section {
  padding: 100px 5%;
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.feature-section.reverse { flex-direction: row-reverse; }
.feature-content { flex: 1; }
.feature-visual { flex: 1; }
.feature-visual-placeholder {
  aspect-ratio: 4/3;
  background: #22304a;
  border: 1px solid rgba(5,150,105,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ba0b8;
  font-size: 0.9rem;
}
.feature-icon {
  width: 60px; height: 60px;
  background: rgba(5,150,105,0.1);
  border: 1px solid rgba(5,150,105,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #059669;
  margin-bottom: 1.5rem;
}
.feature-content h2 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.feature-content p {
  font-family: 'Crimson Pro', serif;
  font-size: 1.2rem;
  color: #8ba0b8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.feature-list { list-style: none; margin-bottom: 2rem; }
.feature-list li {
  color: #8ba0b8;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 1rem;
}
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: #059669;
}

/* Blog card grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 5rem;
}
.blog-card {
  background: #22304a;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5,150,105,0.4);
}
.blog-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #131e2e; display: block; }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
  font-size: 0.8rem;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.blog-card-title a { color: #f0f4f8; text-decoration: none; }
.blog-card-title a:hover { color: #059669; }
.blog-card-excerpt {
  font-size: 0.95rem;
  color: #8ba0b8;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card-readmore {
  font-size: 0.85rem;
  color: #059669;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-readmore:hover { color: #047857; }

/* Page hero (inner pages) */
.page-hero {
  min-height: 35vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 5% 4rem;
  background: #1a2332;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-hero-content { max-width: 800px; }
.page-hero h1 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 1rem;
}
.page-hero p {
  font-family: 'Crimson Pro', serif;
  font-size: 1.3rem;
  color: #8ba0b8;
  max-width: 600px;
  line-height: 1.7;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 5%;
}
.team-card {
  background: #22304a;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-align: center;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5,150,105,0.3);
}
.team-card.featured {
  border-color: rgba(5,150,105,0.4);
}
.team-photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  background: #131e2e;
  display: block;
}
.team-card-body { padding: 1.5rem; }
.team-name {
  font-family: 'Crimson Pro', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.team-title {
  font-size: 0.85rem;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.team-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(5,150,105,0.1);
  border: 1px solid rgba(5,150,105,0.3);
  color: #059669;
  text-decoration: none;
  transition: background 0.3s ease;
}
.team-linkedin:hover { background: #059669; color: #fff; }

.integrations-padded { padding: 5rem 5%; }
.integrations-header { text-align: center; margin-bottom: 3rem; }
.integrations-h2 { font-family: 'Crimson Pro', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; letter-spacing: -1px; }
.integrations-subtext { font-family: 'Crimson Pro', serif; font-size: 1.2rem; color: #8ba0b8; }

.contact-section-page { min-height: auto; padding-top: 60px; }
.trust-strip-contact { gap: 3rem; }
.stat-icon-sm { font-size: 1.5rem; }
.stat-label-mt { margin-top: 0.5rem; display: block; }
.team-bio { color: #8ba0b8; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.gdpr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
.gdpr-card {
  padding: 2.5rem;
  background: #22304a;
  border: 1px solid rgba(5,150,105,0.2);
  text-align: center;
}
.gdpr-icon {
  font-size: 2rem; color: #059669;
  margin-bottom: 1rem;
}
.gdpr-card h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.gdpr-card p { color: #8ba0b8; font-size: 0.95rem; line-height: 1.6; }

/* VC / backed-by section */
.vc-section {
  text-align: center;
  padding: 5rem 5%;
  background: #22304a;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vc-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #8ba0b8;
  margin-bottom: 1rem;
}
.vc-name {
  font-family: 'Crimson Pro', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.vc-desc { color: #8ba0b8; font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* CTA section */
.cta-section {
  text-align: center;
  padding: 6rem 5%;
  background: #1a2332;
}
.cta-section h2 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.cta-section p {
  font-size: 1.2rem;
  color: #8ba0b8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* Buttons */
.btn-accent {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #059669;
  color: #fff;
  border: 2px solid #059669;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.btn-accent:hover { background: #047857; border-color: #047857; color: #fff; }

.btn-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: #f0f4f8;
  border: 2px solid #f0f4f8;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover { background: #059669; border-color: #059669; color: #fff; }

/* Full-width footer */
.site-footer {
  background: #131e2e;
  padding: 4rem 5% 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.footer-brand p {
  color: #8ba0b8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 300px;
}
.footer-col h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8ba0b8;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: #8ba0b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: #059669; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #8ba0b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: #059669; border-color: #059669; color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #8ba0b8;
}
.footer-bottom a { color: #8ba0b8; text-decoration: none; }
.footer-bottom a:hover { color: #059669; }

/* Integrations strip */
.integrations-section {
  padding: 4rem 5%;
  text-align: center;
  background: #22304a;
}
.integrations-section h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #8ba0b8;
  margin-bottom: 2rem;
}
.integration-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.integration-logo {
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'Archivo', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #8ba0b8;
  letter-spacing: 0.5px;
}

/* Careers CTA */
.careers-section {
  padding: 5rem 5%;
  text-align: center;
  background: #22304a;
}
.careers-section h2 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.careers-section p {
  color: #8ba0b8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}

/* Setup steps */
.setup-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
.setup-step {
  padding: 2.5rem 2rem;
  background: #22304a;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.setup-step-number {
  font-family: 'Crimson Pro', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(5,150,105,0.2);
  display: block;
  margin-bottom: 0.5rem;
}
.setup-step h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.setup-step p { color: #8ba0b8; font-size: 0.95rem; line-height: 1.6; }

/* FAQ */
.faq-section { padding: 5rem 5%; max-width: 860px; margin: 0 auto; }
.faq-section h2 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -1px;
  text-align: center;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}
.faq-question {
  font-family: 'Crimson Pro', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  cursor: pointer;
}
.faq-answer { color: #8ba0b8; font-size: 1rem; line-height: 1.7; }

/* Nav CTA button */
.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: #059669;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: #047857; color: #fff; }

/* Header offset for announcement bar */
header { top: 40px; }
body.no-announcement header { top: 0; }

/* Pagination */
.pagination {
  display: flex; justify-content: center;
  gap: 0.75rem;
  padding: 2rem 0 4rem;
}
.pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  color: #8ba0b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.pagination a:hover, .pagination a.active {
  background: #059669; border-color: #059669; color: #fff;
}

/* Responsive feature section */
@media (max-width: 900px) {
  .feature-section { flex-direction: column; gap: 3rem; padding: 60px 5%; }
  .feature-section.reverse { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-strip { gap: 2rem; }
}
/* Testimonial card bottom alignment */
.testimonial-card {
    display: flex;
    flex-direction: column;
}
.testimonial-card .testimonial-text {
    flex-grow: 1;
}
.testimonial-card .testimonial-author {
    margin-top: auto;
}

/* Blog card uniform layout */
.blog-card {
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px;
}
.blog-card-excerpt {
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-body .blog-read-more,
.blog-card-body a[class*="read"] {
    margin-top: auto;
}
