/* ====== IRIS Global Styles ====== */
/* Applies to ALL pages: header, footer, buttons, modal, base typography */

/* ====== BASE (scoped to our components) ====== */
.top-bar, .top-bar *,
.site-header, .site-header *,
.site-footer, .site-footer *,
.modal-overlay, .modal-overlay *,
.section, .section *,
.lead-section, .lead-section *,
.hero, .hero * {
    box-sizing: border-box;
}
body { font-family: 'Montserrat', sans-serif; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.3; }

/* ====== LAYOUT ====== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; color: #1E306E; margin-bottom: 10px; }
.section-title p { color: #5a5a5a; font-size: 17px; max-width: 600px; margin: 0 auto; }

/* ====== BUTTONS ====== */
.btn { display: inline-block; padding: 14px 32px; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .25s; border: none; text-align: center; }
.btn-gold { background: #BE9661; color: #fff; }
.btn-gold:hover { background: #d4b48a; }
.btn-navy { background: #1E306E; color: #fff; }
.btn-navy:hover { background: #2a4494; }
.btn-outline { border: 2px solid #1E306E; color: #1E306E; background: transparent; }
.btn-outline:hover { background: #1E306E; color: #fff; }

/* ====== HEADER ====== */
.site-header { background: #fff; padding: 12px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 130px; height: auto; }
.header-info { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; color: #5a5a5a; line-height: 1.4; }
.header-info-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.header-info a { color: #1a2344; font-weight: 600; }
.header-info a:hover { color: #BE9661; }
.header-info svg { width: 14px; height: 14px; fill: #BE9661; flex-shrink: 0; }
.main-nav { display: flex; gap: 4px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li { list-style: none; }
.main-nav a,
.main-nav li a { padding: 8px 14px; font-size: 14px; font-weight: 600; color: #1a2344; border-radius: 6px; transition: all .2s; display: block; }
.main-nav a:hover,
.main-nav a.active,
.main-nav li a:hover,
.main-nav .current-menu-item > a { background: #f5f0eb; color: #BE9661; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #1a2344; border-radius: 2px; transition: all .3s; }

/* ====== FOOTER ====== */
.site-footer { background: #1a2344; color: rgba(255,255,255,.8); padding: 50px 0 0; }
.footer-inner { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: rgba(255,255,255,.7); padding: 3px 0; transition: color .2s; font-size: 14px; }
.footer-col a:hover { color: #BE9661; }
.footer-col p { font-size: 14px; line-height: 1.6; margin-bottom: 6px; color: rgba(255,255,255,.8); }
.footer-logo img { width: 120px; margin-bottom: 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; }
.footer-social a:hover { border-color: #BE9661; background: rgba(190,150,97,.15); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,.8); }
.footer-bottom { margin-top: 40px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }

/* ====== MODAL ====== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.55); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: #fff; border-radius: 16px; max-width: 460px; width: 100%; padding: 36px 32px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 26px; cursor: pointer; color: #999; line-height: 1; padding: 4px 8px; transition: color .2s; }
.modal-close:hover { color: #333; }
.modal h2 { font-size: 22px; color: #1E306E; margin-bottom: 6px; text-align: center; }
.modal > p { color: #5a5a5a; text-align: center; margin-bottom: 20px; font-size: 14px; }
.modal-form { display: flex; flex-direction: column; gap: 12px; }
.modal-form label { font-size: 13px; font-weight: 600; color: #1E306E; }
.modal-form input, .modal-form textarea { padding: 12px 14px; border: 1.5px solid #e0d6cb; border-radius: 8px; font-size: 15px; font-family: inherit; transition: border-color .2s; width: 100%; box-sizing: border-box; }
.modal-form input:focus, .modal-form textarea:focus { outline: none; border-color: #BE9661; }
.modal-form textarea { resize: vertical; min-height: 70px; }
.modal-form button { padding: 14px; background: #BE9661; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .2s; }
.modal-form button:hover { background: #d4b48a; }
.modal .form-msg { text-align: center; margin-top: 8px; font-size: 14px; font-weight: 600; min-height: 20px; }

/* ====== ASTRA CONTAINER WIDTH (match header 1100px) ====== */
@media (min-width: 922px) {
    .ast-container { max-width: 1100px; }
    .ast-woo-shop-archive .site-content > .ast-container { max-width: 1100px; }
    :root { --ast-normal-container-width: 1100px; }
}

/* ====== CONTACT PAGE ====== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.contact-info-card { background: #f8f6f3; border-radius: 12px; padding: 30px; }
.contact-info-card h3 { font-size: 18px; color: #1E306E; margin-bottom: 16px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 15px; color: #333; }
.contact-info-item svg { width: 20px; height: 20px; fill: #BE9661; flex-shrink: 0; margin-top: 2px; }
.contact-info-item a { color: #1a2344; font-weight: 600; }
.contact-info-item a:hover { color: #BE9661; }
.contact-form-card { background: #fff; border: 1.5px solid #e0d6cb; border-radius: 12px; padding: 30px; }
.contact-form-card h3 { font-size: 18px; color: #1E306E; margin-bottom: 16px; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form label { font-size: 13px; font-weight: 600; color: #1E306E; }
.contact-form input, .contact-form textarea { padding: 12px 14px; border: 1.5px solid #e0d6cb; border-radius: 8px; font-size: 15px; font-family: inherit; transition: border-color .2s; width: 100%; box-sizing: border-box; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #BE9661; }
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form button { padding: 14px; background: #BE9661; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .2s; }
.contact-form button:hover { background: #d4b48a; }
.contact-form-msg { text-align: center; margin-top: 8px; font-size: 14px; font-weight: 600; min-height: 20px; }

/* ====== ABOUT PAGE ====== */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 50px; }
.about-hero-text h1 { font-size: 32px; color: #1E306E; margin-bottom: 16px; line-height: 1.25; }
.about-hero-text h1 span { color: #BE9661; }
.about-hero-text p { font-size: 16px; color: #444; line-height: 1.7; margin-bottom: 14px; }
.about-hero-img { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-profile { background: #f8f6f3; border-radius: 16px; padding: 40px; margin-bottom: 50px; }
.about-profile h2 { font-size: 24px; color: #1E306E; margin-bottom: 16px; }
.about-profile p { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 12px; }

.about-advantages { margin-bottom: 50px; }
.about-advantages h2 { font-size: 26px; color: #1E306E; text-align: center; margin-bottom: 12px; }
.about-advantages > p { text-align: center; color: #5a5a5a; font-size: 16px; margin-bottom: 30px; }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-card { background: #fff; border: 1.5px solid #e8e0d5; border-radius: 12px; padding: 28px 20px; text-align: center; transition: box-shadow .25s, border-color .25s; }
.advantage-card:hover { border-color: #BE9661; box-shadow: 0 6px 24px rgba(190,150,97,.15); }
.advantage-card .adv-icon { width: 52px; height: 52px; background: #f5f0eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.advantage-card .adv-icon svg { width: 24px; height: 24px; fill: #BE9661; }
.advantage-card h3 { font-size: 16px; color: #1E306E; margin-bottom: 8px; }
.advantage-card p { font-size: 14px; color: #666; line-height: 1.5; }

.about-projects { margin-bottom: 50px; }
.about-projects h2 { font-size: 26px; color: #1E306E; text-align: center; margin-bottom: 12px; }
.about-projects > p { text-align: center; color: #5a5a5a; font-size: 16px; margin-bottom: 30px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { background: #fff; border: 1.5px solid #e8e0d5; border-radius: 12px; padding: 24px; transition: box-shadow .25s, border-color .25s; }
.project-card:hover { border-color: #BE9661; box-shadow: 0 6px 24px rgba(190,150,97,.15); }
.project-card .proj-num { font-size: 28px; font-weight: 800; color: #BE9661; opacity: .3; margin-bottom: 4px; }
.project-card h3 { font-size: 16px; color: #1E306E; margin-bottom: 8px; }
.project-card p { font-size: 14px; color: #666; line-height: 1.5; }

.about-stages { background: #1a2344; border-radius: 16px; padding: 50px 40px; margin-bottom: 50px; color: #fff; }
.about-stages h2 { font-size: 26px; color: #fff; text-align: center; margin-bottom: 12px; }
.about-stages > p { text-align: center; color: rgba(255,255,255,.7); font-size: 16px; margin-bottom: 36px; }
.stages-list { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.stage-item { display: flex; gap: 20px; align-items: flex-start; }
.stage-num { width: 44px; height: 44px; min-width: 44px; background: #BE9661; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: #fff; }
.stage-content h3 { font-size: 16px; color: #fff; margin-bottom: 4px; }
.stage-content p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; }

.about-cta { text-align: center; padding: 40px 0 20px; }
.about-cta h2 { font-size: 24px; color: #1E306E; margin-bottom: 10px; }
.about-cta p { color: #5a5a5a; font-size: 16px; margin-bottom: 24px; }
.about-photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 50px; }
.about-photo-row img { border-radius: 12px; width: 100%; height: 260px; object-fit: cover; box-shadow: 0 4px 16px rgba(0,0,0,.08); }

/* ====== CATALOG PAGE ====== */
.catalog-intro { text-align: center; margin-bottom: 50px; padding-top: 10px; }
.catalog-intro h1 { font-size: 36px; color: #1E306E; margin-bottom: 14px; letter-spacing: -0.5px; }
.catalog-intro h1 span { color: #BE9661; }
.catalog-intro > p { color: #5a5a5a; font-size: 17px; max-width: 620px; margin: 0 auto; line-height: 1.6; }

.catalog-block { padding: 50px 0; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); width: 100vw; }
.catalog-block:nth-child(odd) { background: #f9f7f4; }
.catalog-block .container { display: grid; grid-template-columns: 5fr 6fr; gap: 50px; align-items: center; }
.catalog-block.reverse .container { grid-template-columns: 6fr 5fr; }
.catalog-block.reverse .catalog-block-img { order: 2; }
.catalog-block.reverse .catalog-block-text { order: 1; }

.catalog-block-img { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.12); aspect-ratio: 4/3; }
.catalog-block-img img, .catalog-block-img p img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.catalog-block-img p { margin: 0; padding: 0; line-height: 0; font-size: 0; }
.catalog-block-img:hover img { transform: scale(1.03); }
.catalog-block-num { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; background: rgba(30,48,110,.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: #fff; z-index: 1; backdrop-filter: blur(4px); }

.catalog-block-text h2 { font-size: 26px; color: #1E306E; margin-bottom: 14px; line-height: 1.25; }
.catalog-block-text > p, .catalog-block-text > .catalog-desc { font-size: 15px; color: #555; line-height: 1.75; margin-bottom: 18px; }

.catalog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.catalog-tag { background: #fff; color: #1E306E; font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 24px; white-space: nowrap; border: 1.5px solid #e0d6cb; transition: all .2s; }
.catalog-tag:hover { background: #BE9661; color: #fff; border-color: #BE9661; }

.catalog-block-text p { margin-bottom: 0; }
.catalog-cta { text-align: center; padding: 60px 0 30px; }
.catalog-cta h2 { font-size: 26px; color: #1E306E; margin-bottom: 12px; }
.catalog-cta p { color: #5a5a5a; font-size: 16px; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ====== SUBPAGES (category pages) ====== */
.subpage-hero { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.subpage-hero-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.subpage-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.subpage-hero-text h1 { font-size: 32px; color: #1E306E; line-height: 1.25; margin-bottom: 14px; }
.subpage-hero-text h1 span { color: #BE9661; }
.subpage-lead { font-size: 17px; color: #555; line-height: 1.6; }

.subpage-intro { max-width: 820px; margin: 0 auto 40px; }
.subpage-intro p, .subpage-desc { font-size: 15px; color: #444; line-height: 1.75; margin-bottom: 14px; }

.subpage-accordion { margin-bottom: 40px; }
.subpage-details { border: 1.5px solid #e0d6cb; border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: border-color .2s; }
.subpage-details[open] { border-color: #BE9661; }
.subpage-summary { display: flex; align-items: center; gap: 16px; padding: 18px 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: #1E306E; transition: background .2s; }
.subpage-summary::-webkit-details-marker { display: none; }
.subpage-summary:hover { background: #f9f7f4; }
.subpage-summary-num { width: 36px; height: 36px; background: #1E306E; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.subpage-details[open] .subpage-summary-num { background: #BE9661; }
.subpage-summary-title { flex: 1; }
.subpage-summary-icon { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.subpage-summary-icon::before, .subpage-summary-icon::after { content: ""; position: absolute; background: #1E306E; border-radius: 2px; transition: transform .3s; }
.subpage-summary-icon::before { width: 16px; height: 2px; top: 11px; left: 4px; }
.subpage-summary-icon::after { width: 2px; height: 16px; top: 4px; left: 11px; }
.subpage-details[open] .subpage-summary-icon::after { transform: rotate(90deg); opacity: 0; }
.subpage-details-body { padding: 0 24px 20px 76px; }
.subpage-details-body h3 { font-size: 16px; color: #BE9661; margin-bottom: 8px; font-weight: 600; }
.subpage-details-body p { font-size: 15px; color: #555; line-height: 1.75; margin: 0; }

.subpage-section { margin-bottom: 50px; }
.subpage-section h2 { font-size: 28px; color: #1E306E; text-align: center; margin-bottom: 8px; }
.subpage-section h2 span { color: #BE9661; }
.subpage-subtitle { text-align: center; color: #777; font-size: 15px; margin-bottom: 32px; }

.subpage-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.subpage-adv-card { background: #f9f7f4; border-radius: 14px; padding: 28px 24px; text-align: center; transition: box-shadow .2s; }
.subpage-adv-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.subpage-adv-icon { display: block; width: 64px; height: 64px; margin: 0 auto 16px; }
.subpage-adv-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.subpage-adv-title { display: block; font-size: 17px; font-weight: 600; color: #1E306E; margin-bottom: 8px; }
.subpage-adv-text { display: block; font-size: 14px; color: #555; line-height: 1.6; }
.subpage-adv-card h3 { font-size: 17px; color: #1E306E; margin-bottom: 8px; }
.subpage-adv-card p { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }

.subpage-types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
a.subpage-type-card, .subpage-type-card { display: block; background: #fff; border: 1.5px solid #e0d6cb; border-radius: 14px; padding: 28px 20px; text-align: center; transition: all .2s; text-decoration: none; color: inherit; }
a.subpage-type-card:hover, .subpage-type-card:hover { border-color: #BE9661; box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-4px); }
.subpage-type-icon { display: block; width: 72px; height: 72px; margin: 0 auto 16px; }
.subpage-type-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.subpage-type-title { display: block; font-size: 16px; font-weight: 600; color: #1E306E; margin-bottom: 8px; }
.subpage-type-desc { display: block; font-size: 14px; color: #666; line-height: 1.5; }
.subpage-type-card h3 { font-size: 16px; color: #1E306E; margin-bottom: 8px; }
.subpage-type-card p { font-size: 14px; color: #666; line-height: 1.5; margin: 0; }

.subpage-cta { text-align: center; padding: 50px 0 30px; }
.subpage-cta h2 { font-size: 26px; color: #1E306E; margin-bottom: 12px; }
.subpage-cta p, .subpage-cta-text { color: #5a5a5a; font-size: 16px; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ====== BLOG ====== */
.post-thumb-img-content { overflow: hidden; aspect-ratio: 16/10; border-radius: 8px; }
.post-thumb-img-content img.wp-post-image { width: 100%; height: 100%; object-fit: cover; }

/* ====== MISC ====== */
.pre-loader, .loader3 { display: none !important; }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .header-info { display: none; }
    .main-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #1a2344; flex-direction: column; align-items: center; justify-content: center; z-index: 999; gap: 0; }
    .main-nav.active { display: flex; }
    .main-nav ul { display: flex; flex-direction: column; align-items: center; gap: 0; }
    .main-nav a, .main-nav li a { color: #fff; font-size: 20px; padding: 14px 0; }
    .main-nav a:hover, .main-nav li a:hover { background: transparent; color: #BE9661; }
    .menu-toggle { display: flex; z-index: 1000; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .footer-inner { flex-direction: column; gap: 30px; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-hero { grid-template-columns: 1fr; gap: 24px; }
    .about-hero-text h1 { font-size: 26px; }
    .advantages-grid { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .about-stages { padding: 36px 20px; }
    .about-photo-row { grid-template-columns: 1fr; }
    .about-photo-row img { height: 200px; }
    .catalog-block .container { grid-template-columns: 1fr; gap: 24px; }
    .catalog-block.reverse .catalog-block-img { order: 0; }
    .catalog-block.reverse .catalog-block-text { order: 0; }
    .catalog-block-img { aspect-ratio: 3/2; }
    .catalog-intro h1 { font-size: 28px; }
    .subpage-hero { grid-template-columns: 1fr; gap: 24px; }
    .subpage-hero-text h1 { font-size: 26px; }
    .subpage-details-body { padding: 0 16px 16px 16px; }
    .subpage-summary { padding: 14px 16px; font-size: 15px; gap: 12px; }
    .subpage-adv-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .subpage-types-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
    .section { padding: 40px 0; }
    .advantages-grid { grid-template-columns: 1fr; }
    .about-profile { padding: 24px; }
}
