/* Modern polish layer — Elhan brand: orange + charcoal, soft & airy */
:root {
    --brand: #ff8a2b;
    --brand-deep: #e8690f;
    --charcoal: #1f2124;
    --shadow-soft: 0 10px 30px -12px rgba(31, 33, 36, 0.18);
    --shadow-lift: 0 22px 44px -18px rgba(232, 105, 15, 0.28);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.nav-wrap { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 #f1e8de; }
.main-nav a { transition: color 0.25s var(--ease); }
.main-nav a:hover { color: var(--brand-deep); }

.button, .nav-cta {
    border-radius: 999px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.button:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.hero .button:first-child, .hero-actions .button:first-child {
    background: linear-gradient(135deg, #ffa14d, var(--brand-deep));
    color: #fff;
    border: 0;
}
.nav-cta { background: var(--charcoal); }
.nav-cta:hover { background: var(--brand-deep); }

.service-card, .project-card {
    border-radius: 22px;
    border: 1px solid #f1e8de;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover, .project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.service-image, .project-image, .hero-photo-card, .hero-visual { border-radius: 18px; }
.service-image img, .project-image img { transition: transform 0.8s var(--ease); }
.service-card:hover .service-image img, .project-card:hover .project-image img { transform: scale(1.04); }

input, textarea, select { border-radius: 12px; transition: border-color 0.25s, box-shadow 0.25s; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255, 138, 43, 0.15); outline: none; }

.footer { background: var(--charcoal); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Logo: no white box / border ---------- */
.brand-has-logo .brand-icon {
    width: auto;
    height: 64px;
    max-width: 150px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.12);
    mix-blend-mode: multiply; /* blends the logo's light background into the white header */
}
.nav-wrap .brand-has-logo { padding: 4px 0; }
.footer-brand.brand-has-logo .brand-icon {
    mix-blend-mode: normal;
    height: 62px;
    padding: 6px 10px;
    border-radius: 14px;
    background: #f4f1ed; /* soft pill matching the logo's own background, no border */
}
.logo-preview { border: 0; background: #f4f1ed; }

/* ---------- About: Our point of view ---------- */
.about-feature {
    position: relative;
    overflow: hidden;
    align-items: center;
    gap: clamp(32px, 6vw, 90px);
    background: linear-gradient(135deg, #fffaf4 0%, #fbf3ea 100%);
}
.about-feature::before {
    content: "";
    position: absolute;
    width: 420px; height: 420px;
    right: -120px; top: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 43, 0.22), transparent 70%);
    pointer-events: none;
}
.about-copy, .about-photo { position: relative; z-index: 1; }
.about-copy h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; margin: 16px 0 18px; }
.about-copy > p { max-width: 460px; font-size: 14px; color: #5a5d62; margin-bottom: 28px; }

.about-photo {
    height: clamp(320px, 42vw, 520px);
    border: 0;
    border-radius: 28px;
    box-shadow: none;
    clip-path: inset(0 100% 0 0 round 28px);
}
.about-photo.image-revealed, .image-revealed .about-photo { clip-path: inset(0 round 28px); }
.about-photo img { border-radius: 0; filter: saturate(0.95); }
.about-photo.image-revealed img { transform: scale(1); }
.about-photo::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(31, 33, 36, 0.55));
    pointer-events: none;
}
.about-photo span {
    z-index: 2;
    left: 20px; bottom: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--charcoal);
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 9px;
}
.values {
    border: 0;
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.values div {
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px;
    border: 1px solid #f1e3d3;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-soft);
    font-size: 13px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.values div:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.values b {
    display: grid; place-items: center;
    width: 32px; height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffa14d, var(--brand-deep));
    color: #fff;
    font-size: 11px;
}
.values small { font-size: 11px; line-height: 1.5; color: #6b6e73; }

/* about story heading: tidy alignment */
.about-story-heading { align-items: start; }
.about-story-heading h2 { font-size: clamp(30px, 4vw, 48px); }
.about-story-heading p { font-size: 14px; color: #5a5d62; }
.about-story-cards p { font-size: 13px; }
.about-story-cards article { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.about-story-cards article:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .about-feature { grid-template-columns: 1fr; padding: 48px 6% 56px; border-radius: 0 0 26px 26px; }
    .about-photo { order: -1; grid-column: auto; grid-row: auto; }
    .about-copy > p { max-width: none; }
    .about-story-heading { grid-template-columns: 1fr; gap: 14px; }
    .about-story-cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .brand-has-logo .brand-icon { height: 50px; max-width: 120px; width: auto; flex: 0 0 auto; padding: 0; }
    .footer-brand.brand-has-logo .brand-icon { height: 52px; padding: 5px 8px; }
    .values { grid-template-columns: 1fr; }
    .values div { flex-direction: row; align-items: center; gap: 14px; }
    .about-photo { border-radius: 22px; clip-path: inset(0 100% 0 0 round 22px); }
    .about-photo.image-revealed, .image-revealed .about-photo { clip-path: inset(0 round 22px); }
}
@media (max-width: 380px) {
    .brand-has-logo .brand-icon { height: 44px; max-width: 104px; width: auto; flex-basis: auto; }
}
