/*
Theme Name: Autumn Dynamic Startupzy Child
Theme URI: https://www.autumndynamic.com/
Author: Autumn Dynamic
Description: Startupzy child theme customized for Autumn Dynamic's red-orange technology brand and bilingual company website.
Template: startupzy
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: autumn-dynamic-startupzy
*/

:root {
  --ad-red: #f0442e;
  --ad-red-dark: #c92f1d;
  --ad-charcoal: #111827;
  --ad-slate: #64748b;
  --ad-border: #e2e8f0;
  --ad-surface: #f8fafc;
  --ad-white: #ffffff;
}

body {
  color: var(--ad-charcoal);
  background: var(--ad-white);
}

a {
  color: var(--ad-red-dark);
}

.ad-header {
  border-bottom: 1px solid var(--ad-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.ad-nav a {
  color: var(--ad-charcoal);
  font-weight: 600;
  text-decoration: none;
}

.ad-nav a:hover,
.ad-nav a:focus {
  color: var(--ad-red);
}

.ad-logo-mark {
  filter: drop-shadow(0 12px 28px rgba(240, 68, 46, 0.18));
}

.ad-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(240, 68, 46, 0.08), rgba(17, 24, 39, 0.02) 42%, rgba(255, 255, 255, 0) 72%),
    var(--ad-white);
}

.ad-hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -10rem auto;
  width: 28rem;
  height: 28rem;
  border: 1.5rem solid rgba(240, 68, 46, 0.08);
  transform: rotate(-28deg);
  pointer-events: none;
}

.ad-eyebrow {
  color: var(--ad-red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ad-lead {
  color: #334155;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.7;
}

.ad-button-primary .wp-block-button__link {
  border-radius: 0.45rem;
  background: var(--ad-red);
  color: var(--ad-white);
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(240, 68, 46, 0.24);
}

.ad-button-primary .wp-block-button__link:hover,
.ad-button-primary .wp-block-button__link:focus {
  background: var(--ad-red-dark);
}

.ad-button-secondary .wp-block-button__link {
  border: 1px solid var(--ad-border);
  border-radius: 0.45rem;
  background: var(--ad-white);
  color: var(--ad-charcoal);
  font-weight: 800;
}

.ad-section {
  padding-top: clamp(3.5rem, 8vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.ad-soft-section {
  background: var(--ad-surface);
}

.ad-card {
  height: 100%;
  border: 1px solid var(--ad-border);
  border-radius: 0.5rem;
  background: var(--ad-white);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.ad-card-accent {
  border-top: 4px solid var(--ad-red);
}

.ad-stat {
  border-left: 4px solid var(--ad-red);
  background: var(--ad-white);
}

.ad-muted {
  color: var(--ad-slate);
}

.ad-footer {
  border-top: 1px solid var(--ad-border);
  background: var(--ad-charcoal);
  color: #e5e7eb;
}

.ad-footer a {
  color: #ffffff;
}

body > div[style*="font-size:11px"][style*="clear:both"] {
  display: none !important;
}

@media (max-width: 781px) {
  .ad-hero .wp-block-columns {
    gap: 2rem;
  }

  .ad-logo-mark {
    max-width: 260px;
  }
}
