/*
Theme Name: PINTES Communities
Theme URI: https://pintes.com.ph
Author: PINTES Communities
Author URI: https://pintes.com.ph
Description: A custom WordPress theme for PINTES Communities — a mixed-use real estate developer in the Philippines. Built with a warm cream-and-clay palette, the registered red logo as a signature accent, and an institutional editorial design inspired by leading developer brands. Fully responsive, SEO-optimized, and built for content management.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pintes
Tags: real-estate, custom-colors, custom-logo, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
*/

/* ===== DESIGN TOKENS ===== */
:root {
  --cream: #F5EFE5;
  --cream-deep: #EDE6D8;
  --terracotta: #B5532A;
  --terracotta-dark: #8E3F1F;
  --red: #CC0000;
  --red-deep: #A00000;
  --sage: #7A8471;
  --brown: #4A3F35;
  --brown-soft: #6B5F52;
  --gold: #C9A84C;
  --shadow: 0 1px 2px rgba(74, 63, 53, 0.04), 0 8px 24px rgba(74, 63, 53, 0.06);
  --shadow-lg: 0 4px 12px rgba(74, 63, 53, 0.08), 0 24px 48px rgba(74, 63, 53, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

.serif { font-family: 'Cormorant Garamond', Georgia, serif; }

img { max-width: 100%; display: block; height: auto; }

a { color: var(--terracotta); transition: color 0.2s; }
a:hover { color: var(--red); }

/* ===== ACCESSIBILITY ===== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute; left: -9999px; top: 1em;
  background: var(--red); color: #fff;
  padding: 12px 20px; z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { left: 1em; }

/* ===== NAV ===== */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 239, 229, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(181, 83, 42, 0.15);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
}

.site-branding { display: flex; align-items: center; gap: 10px; }

.custom-logo-link { display: flex; align-items: center; text-decoration: none; }
.custom-logo { max-height: 40px; width: auto; }

.logo-mark {
  width: 36px; height: 36px; background: var(--red);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600; font-size: 22px;
  box-shadow: 0 2px 8px rgba(204, 0, 0, 0.2);
}

.site-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  letter-spacing: 0.18em; color: var(--brown);
  text-decoration: none; margin-left: 10px;
}

.primary-menu {
  display: flex; align-items: center; gap: 40px;
  list-style: none; margin: 0; padding: 0;
}

.primary-menu li { position: relative; }

.primary-menu a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown); text-decoration: none;
  transition: color 0.2s;
  position: relative; padding: 4px 0;
}

.primary-menu a:after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--terracotta);
  transition: width 0.3s ease;
}
.primary-menu a:hover { color: var(--terracotta); }
.primary-menu a:hover:after { width: 100%; }

.primary-menu .menu-cta a {
  background: var(--red); color: #fff !important;
  padding: 10px 22px; border-radius: 2px;
}
.primary-menu .menu-cta a:hover { background: var(--red-deep); }
.primary-menu .menu-cta a:after { display: none; }

.mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--brown); margin: 5px 0; transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 40px 80px;
  background:
    linear-gradient(135deg, rgba(74, 63, 53, 0.7) 0%, rgba(74, 63, 53, 0.4) 50%, rgba(181, 83, 42, 0.5) 100%),
    var(--brown);
  background-size: cover;
  background-position: center;
}

.hero.has-bg {
  background:
    linear-gradient(135deg, rgba(74, 63, 53, 0.7) 0%, rgba(74, 63, 53, 0.4) 50%, rgba(181, 83, 42, 0.5) 100%),
    var(--hero-bg-image, var(--brown));
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: ''; position: absolute; left: 40px; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 200px;
  background: var(--gold); opacity: 0.7;
}

.hero-content { max-width: 1400px; width: 100%; margin: 0 auto; position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400; font-style: italic;
  line-height: 1.05; color: #fff;
  margin-bottom: 28px; max-width: 900px;
}
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-body {
  font-size: 16px; line-height: 1.7;
  color: rgba(245, 239, 229, 0.85);
  max-width: 540px; margin-bottom: 40px; font-weight: 300;
}

.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer; border: none; font-family: inherit;
}

.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 4px 16px rgba(204, 0, 0, 0.25);
}
.btn-primary:hover {
  background: var(--red-deep); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204, 0, 0, 0.35); color: #fff;
}

.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(245, 239, 229, 0.4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-terra { background: var(--terracotta); color: #fff; }
.btn-terra:hover { background: var(--terracotta-dark); transform: translateY(-2px); color: #fff; }

/* ===== HERO NEWS CARD ===== */
.hero-news {
  position: absolute; right: 40px; bottom: 60px;
  background: rgba(245, 239, 229, 0.95);
  backdrop-filter: blur(12px);
  padding: 24px; max-width: 360px;
  border-left: 3px solid var(--red);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.hero-news .news-tag {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--terracotta);
  font-weight: 500; margin-bottom: 8px;
}

.hero-news h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 500;
  line-height: 1.3; color: var(--brown); margin-bottom: 12px;
}

.hero-news .news-meta {
  font-size: 11px; color: var(--brown-soft);
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 8px;
}
.hero-news .news-meta::after {
  content: '→'; margin-left: auto;
  color: var(--red); font-size: 14px;
}

/* ===== SECTIONS ===== */
section { padding: 120px 40px; position: relative; }
.container { max-width: 1400px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--terracotta); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400; line-height: 1.1;
  color: var(--brown); margin-bottom: 24px; max-width: 900px;
}
.section-title em { font-style: italic; color: var(--terracotta); }

.section-intro {
  font-size: 17px; line-height: 1.7;
  color: var(--brown-soft); max-width: 640px; font-weight: 300;
}

/* ===== ABOUT ===== */
.about { background: var(--cream); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}

.about-image {
  position: relative; aspect-ratio: 4/5;
  background-color: var(--cream-deep);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: ''; position: absolute;
  right: -20px; bottom: -20px;
  width: 60%; height: 50%;
  border: 2px solid var(--gold); z-index: -1;
}

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 40px; padding-top: 40px;
  border-top: 1px solid rgba(181, 83, 42, 0.2);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 500;
  color: var(--terracotta); line-height: 1; margin-bottom: 8px;
}

.stat-label {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brown-soft);
  font-weight: 500;
}

/* ===== DEVELOPMENTS ===== */
.developments { background: var(--cream-deep); }

.dev-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 24px; margin-top: 60px;
}

.dev-card {
  position: relative; background: var(--cream);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow);
  text-decoration: none; color: inherit; display: block;
}
.dev-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: inherit; }

.dev-card-image {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background-color: var(--cream-deep);
}
.dev-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.dev-card:hover .dev-card-image img { transform: scale(1.06); }

.dev-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74, 63, 53, 0.6), transparent 50%);
}

.dev-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; padding: 6px 12px;
  text-transform: uppercase; z-index: 2;
}
.dev-card-badge.terra { background: var(--terracotta); }
.dev-card-badge.gold { background: var(--gold); color: var(--brown); }

.dev-card-body { padding: 28px; }

.dev-card-location {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--terracotta);
  font-weight: 500; margin-bottom: 8px;
}

.dev-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500;
  color: var(--brown); margin-bottom: 12px; line-height: 1.2;
}

.dev-card-desc {
  font-size: 14px; color: var(--brown-soft);
  line-height: 1.6; margin-bottom: 20px; font-weight: 300;
}

.dev-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid rgba(181, 83, 42, 0.15);
}

.dev-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; color: var(--brown);
}
.dev-card-price span {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--brown-soft);
  font-family: 'Inter', sans-serif; font-weight: 500;
  display: block; margin-bottom: 2px;
}

.dev-card-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta); font-size: 18px;
  transition: all 0.3s;
}
.dev-card:hover .dev-card-arrow { background: var(--red); color: #fff; }

/* ===== PHILOSOPHY ===== */
.philosophy {
  background: var(--brown); color: var(--cream);
  text-align: center; padding: 140px 40px;
  position: relative; overflow: hidden;
}

.philosophy::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15), transparent 70%);
}
.philosophy::after {
  content: ''; position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 83, 42, 0.2), transparent 70%);
}

.philosophy .container { position: relative; z-index: 2; }
.philosophy .section-eyebrow { color: var(--gold); justify-content: center; }
.philosophy .section-eyebrow::before { background: var(--gold); }

.philosophy h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400; font-style: italic;
  line-height: 1.15; color: var(--cream);
  margin-bottom: 32px; max-width: 1000px;
  margin-left: auto; margin-right: auto;
}
.philosophy h2 em { font-style: normal; color: var(--gold); }

.philosophy-body {
  font-size: 17px; line-height: 1.8;
  color: rgba(245, 239, 229, 0.8);
  max-width: 720px; margin: 0 auto 48px; font-weight: 300;
}

.philosophy-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 60px; margin-top: 80px; text-align: left;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}

.pillar { border-top: 1px solid rgba(201, 168, 76, 0.3); padding-top: 24px; }

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; color: var(--gold);
  margin-bottom: 12px; letter-spacing: 0.1em;
}

.pillar h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  color: var(--cream); margin-bottom: 12px;
}

.pillar p {
  font-size: 14px; color: rgba(245, 239, 229, 0.7);
  line-height: 1.7; font-weight: 300;
}

/* ===== NEWS ===== */
.news { background: var(--cream); }

.news-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; flex-wrap: wrap; gap: 20px;
}

.news-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
}

.news-card { transition: transform 0.4s ease; text-decoration: none; color: inherit; display: block; }
.news-card:hover { transform: translateY(-4px); color: inherit; }

.news-card-image {
  aspect-ratio: 4/3; background: var(--cream-deep);
  overflow: hidden; margin-bottom: 24px; position: relative;
}
.news-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card:hover .news-card-image img { transform: scale(1.05); }

.news-card-meta {
  display: flex; gap: 16px;
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brown-soft);
  margin-bottom: 12px; font-weight: 500;
}
.news-card-meta .news-cat { color: var(--terracotta); }

.news-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  line-height: 1.25; color: var(--brown); margin-bottom: 12px;
}
.news-card.featured h3 { font-size: 34px; }

.news-card p {
  font-size: 14px; color: var(--brown-soft);
  line-height: 1.6; font-weight: 300;
}

/* ===== CONTACT FORM (Contact Form 7 compatible) ===== */
.contact { background: var(--cream-deep); padding: 120px 40px; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; margin-top: 60px; align-items: start;
}

.contact-info p {
  font-size: 15px; color: var(--brown-soft);
  line-height: 1.7; margin-bottom: 32px;
}

.contact-block { margin-bottom: 32px; }

.contact-block h5 {
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--terracotta);
  font-weight: 500; margin-bottom: 10px;
}

.contact-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--brown);
  font-weight: 500; line-height: 1.4;
}

.contact-block a { color: var(--brown); text-decoration: none; }
.contact-block a:hover { color: var(--terracotta); }

.contact-form-wrapper {
  background: var(--cream); padding: 48px; box-shadow: var(--shadow);
}

/* Contact Form 7 styling */
.wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.wpcf7-form .form-group { margin-bottom: 20px; }

.wpcf7-form label {
  display: block; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brown-soft); font-weight: 500;
  margin-bottom: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 14px 16px;
  background: var(--cream-deep); border: 1px solid transparent;
  font-size: 14px; color: var(--brown);
  font-family: inherit;
  transition: all 0.2s; border-radius: 2px;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none; border-color: var(--terracotta);
  background: var(--cream);
}

.wpcf7-form textarea { resize: vertical; min-height: 120px; }

.wpcf7-form .wpcf7-submit,
.wpcf7-form input[type="submit"] {
  width: 100%; padding: 18px;
  background: var(--red); color: #fff;
  border: none; cursor: pointer;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  font-family: inherit; border-radius: 2px;
  transition: all 0.3s ease;
  margin-top: 12px;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--red-deep); transform: translateY(-2px); }

.wpcf7-response-output {
  padding: 14px 18px !important; border-radius: 2px;
  margin-top: 20px !important; font-size: 14px;
  border-left: 3px solid var(--terracotta) !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(122, 132, 113, 0.15) !important;
  border-color: var(--sage) !important; color: #3D4836 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: rgba(204, 0, 0, 0.08) !important;
  border-color: var(--red) !important; color: var(--red-deep) !important;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--terracotta); padding: 80px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 40px; background: var(--gold);
}

.cta-strip h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400; font-style: italic;
  color: var(--cream); margin-bottom: 12px; line-height: 1.2;
}

.cta-strip p {
  color: rgba(245, 239, 229, 0.9);
  margin-bottom: 32px; font-size: 16px; font-weight: 300;
}

.cta-strip .btn { background: var(--cream); color: var(--terracotta); }
.cta-strip .btn:hover { background: var(--brown); color: var(--cream); }

/* ===== FOOTER ===== */
.site-footer { background: var(--brown); color: var(--cream); padding: 80px 40px 40px; }

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
  max-width: 1400px; margin-left: auto; margin-right: auto;
}

.footer-brand .logo-mark { width: 44px; height: 44px; font-size: 26px; }
.footer-brand .site-title { color: var(--cream); font-size: 26px; }

.footer-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 18px; color: rgba(245, 239, 229, 0.8);
  margin-top: 20px; line-height: 1.5; max-width: 320px;
}

.footer-col h5 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
  color: rgba(245, 239, 229, 0.75); text-decoration: none;
  font-size: 14px; transition: color 0.2s; font-weight: 300;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1400px; margin: 0 auto;
  flex-wrap: wrap; gap: 16px;
}

.footer-bottom p {
  font-size: 12px; color: rgba(245, 239, 229, 0.5);
  letter-spacing: 0.04em;
}

.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 14px;
  transition: all 0.2s; text-decoration: none;
}
.footer-social a:hover {
  background: var(--gold); color: var(--brown); border-color: var(--gold);
}

/* ===== SINGLE PAGES ===== */
.single-page-hero {
  background: var(--brown);
  padding: 180px 40px 100px;
  color: var(--cream);
  text-align: center;
}

.single-page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400; font-style: italic;
  color: var(--cream); margin-bottom: 16px;
}

.single-content {
  max-width: 800px; margin: 0 auto;
  padding: 80px 40px;
}

.single-content h2, .single-content h3, .single-content h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--brown); margin: 32px 0 16px;
}

.single-content p { margin-bottom: 20px; font-size: 16px; color: var(--brown-soft); }
.single-content img { margin: 24px 0; border-radius: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .primary-menu { gap: 20px; }
  .about-grid, .news-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .dev-grid { grid-template-columns: 1fr 1fr; }
  .philosophy-pillars { grid-template-columns: 1fr; gap: 32px; }
  .hero-news { display: none; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .primary-menu { display: none; }
  .primary-menu.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 20px; gap: 20px;
    box-shadow: var(--shadow);
  }
  .mobile-toggle { display: block; }

  section { padding: 80px 20px; }
  .hero { padding: 110px 20px 60px; }
  .hero::before { display: none; }

  .about-grid, .dev-grid, .news-grid, .footer-grid, .contact-grid {
    grid-template-columns: 1fr; gap: 40px;
  }

  .wpcf7-form .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 32px 24px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .news-header { flex-direction: column; align-items: flex-start; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
