:root {
    --leaf: #2f7d13;
    --leaf-dark: #17451f;
    --lime: #a8cf45;
    --soft: #f7faf3;
    --paper: #ffffff;
    --ink: #111914;
    --muted: #5d665f;
    --line: #dbe7cf;
    --danger: #b42318;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

button,
input,
select,
textarea {
    font: inherit;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background:
        linear-gradient(90deg, rgba(247, 250, 243, 0.92), rgba(255, 255, 255, 0) 36%),
        #fff;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0 26%, rgba(255, 255, 255, 0.72) 26% 58%, rgba(245, 250, 235, 0.9) 58% 100%),
        url("../img/menu-bambu-natural.png") 43% center / cover no-repeat;
    border-right: 1px solid var(--line);
    box-shadow: 10px 0 30px rgba(30, 72, 31, 0.08);
}

.sidebar::before,
.sidebar::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sidebar::before {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.94) 0 18%, rgba(255,255,255,0.58) 48%, rgba(255,255,255,0.78) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.68) 0 25%, rgba(255,255,255,0.2) 25% 55%, rgba(255,255,255,0.88) 55% 100%);
    opacity: 1;
}

.sidebar::after {
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0 62%, rgba(148, 180, 86, 0.12) 62% 100%);
    mix-blend-mode: multiply;
    opacity: 0.45;
}

.brand,
.main-nav,
.sidebar-leaves {
    position: relative;
    z-index: 1;
}

.brand {
    display: grid;
    justify-items: center;
    align-content: center;
    padding: 24px 22px 18px;
    text-align: center;
}

.brand-logo {
    width: 118px;
    aspect-ratio: 1;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    mix-blend-mode: multiply;
}

.brand-name {
    margin: 10px 0 8px;
    color: #31591b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.02;
    font-weight: 700;
}

.brand-copy {
    margin: 0;
    color: #253128;
    font-size: 15px;
    line-height: 1.28;
}

.main-nav {
    display: grid;
    gap: 10px;
    padding: 14px 18px 10px;
}

.nav-link {
    min-height: 70px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    color: var(--leaf-dark);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.08;
}

.nav-link:hover {
    background: var(--soft);
    border-color: var(--line);
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #b8d85b, #86b527);
    border-color: #9dc83b;
    box-shadow: 0 12px 22px rgba(74, 134, 23, 0.22);
}

.nav-icon,
.step-icon {
    position: relative;
    display: inline-block;
}

.nav-icon {
    width: 42px;
    height: 42px;
    color: currentColor;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-leaves {
    flex: 1;
    min-height: 80px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(241, 248, 229, 0.82));
}

.content {
    min-width: 0;
    padding: 22px clamp(24px, 4vw, 58px) 24px;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 260px;
    padding: 24px 28px 22px;
    border: 1px solid #dfe9d3;
    border-radius: 22px;
    margin-bottom: 14px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.99) 0 38%, rgba(255,255,255,0.72) 50%, rgba(255,255,255,0.18) 100%),
        url("../img/banner-rustico-ai.png") center right / cover no-repeat;
    box-shadow: 0 18px 42px rgba(51, 82, 37, 0.08);
    position: relative;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0 62%, rgba(255,255,255,0.58) 100%),
        linear-gradient(90deg, rgba(255,255,255,0.32) 0 42%, transparent 78%);
    opacity: 0.75;
    mix-blend-mode: multiply;
}

.hero::after {
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0 68%, rgba(255,255,255,0.5) 68% 100%);
    opacity: 0.68;
}

.hero-copy {
    width: 100%;
    max-width: 1220px;
    position: relative;
    z-index: 1;
}

.script-title {
    margin: 0 0 2px;
    color: var(--leaf);
    font-family: "Segoe Print", "Segoe Script", cursive;
    font-size: clamp(34px, 3.6vw, 56px);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

h1 {
    max-width: 1220px;
    margin: 0;
    color: #173b20;
    font-size: clamp(34px, 3.8vw, 56px);
    line-height: 1.02;
    letter-spacing: 0;
    white-space: nowrap;
}

.intro {
    max-width: 1180px;
    margin: 12px 0 0;
    color: #1c2520;
    font-size: clamp(17px, 1.2vw, 20px);
    line-height: 1.25;
}

.quote-card {
    width: min(1250px, 100%);
    margin: 0;
    padding: 20px 24px 14px;
    border: 1px solid #cfe1c1;
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 14px 36px rgba(42, 58, 34, 0.1);
}

.form-step {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 13px;
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f0f5df;
    color: var(--leaf);
    align-self: start;
}

.step-icon::before,
.step-icon::after {
    content: "";
    position: absolute;
}

.pin-icon::before {
    width: 21px;
    height: 21px;
    left: 16px;
    top: 12px;
    background: currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.pin-icon::after {
    width: 8px;
    height: 8px;
    left: 23px;
    top: 19px;
    background: #fff;
    border-radius: 50%;
}

.bamboo-icon::before {
    width: 8px;
    height: 32px;
    left: 20px;
    top: 11px;
    background: currentColor;
    box-shadow: 11px -5px 0 currentColor;
}

.bamboo-icon::after {
    width: 16px;
    height: 11px;
    right: 10px;
    top: 19px;
    border-radius: 20px 0;
    background: currentColor;
    transform: rotate(20deg);
}

.ruler-icon::before {
    width: 36px;
    height: 12px;
    left: 8px;
    top: 21px;
    border-radius: 4px;
    background: currentColor;
    transform: rotate(-42deg);
}

.ruler-icon::after {
    width: 3px;
    height: 3px;
    left: 21px;
    top: 23px;
    background: #fff;
    box-shadow: 8px -6px 0 #fff, 16px -12px 0 #fff;
}

.map-icon::before {
    width: 28px;
    height: 28px;
    left: 12px;
    top: 12px;
    border: 3px solid currentColor;
    clip-path: polygon(0 10%, 31% 0, 64% 16%, 100% 6%, 100% 90%, 68% 100%, 34% 84%, 0 94%);
}

.map-icon::after {
    width: 3px;
    height: 25px;
    left: 26px;
    top: 14px;
    background: currentColor;
}

.field-group h2 {
    margin: 2px 0 3px;
    font-size: 22px;
    line-height: 1.18;
}

.field-group p {
    margin: 0 0 8px;
    color: #303830;
    font-size: 15px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 15px;
    color: var(--ink);
    border: 1.5px solid #6a9b24;
    border-radius: 7px;
    background: #fff;
    outline: none;
}

textarea {
    min-height: 116px;
    padding: 12px 15px;
    resize: vertical;
    line-height: 1.4;
}

select {
    cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2c7f10;
    box-shadow: 0 0 0 4px rgba(97, 155, 29, 0.14);
}

input.invalid,
select.invalid,
textarea.invalid {
    border-color: var(--danger);
}

.autocomplete {
    position: relative;
}

.suggestions {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(28, 55, 28, 0.16);
}

.suggestions.open {
    display: block;
}

.suggestion-option {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: #18251b;
    border: 0;
    border-radius: 7px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.suggestion-option span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.suggestion-preview {
    width: 74px;
    height: 48px;
    flex: 0 0 74px;
    display: block;
    object-fit: cover;
    border: 1px solid #d8e5cf;
    border-radius: 7px;
    background: #eef4e8;
}

.suggestion-option:hover,
.suggestion-option:focus {
    background: #eff7e5;
    color: var(--leaf-dark);
}

.suggestion-empty {
    padding: 12px 12px;
    color: #4e5b50;
    font-size: 14px;
    line-height: 1.35;
    border-radius: 7px;
    background: #f8fbf4;
}

.material-reference {
    display: none;
    margin-top: 10px;
}

.material-reference.visible {
    display: block;
}

.material-reference-title {
    margin: 0 0 8px;
    color: #1e2d22;
    font-size: 14px;
    font-weight: 900;
}

.material-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.material-reference-grid figure {
    margin: 0;
    min-width: 0;
}

.material-reference-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border: 1px solid #d7e4cd;
    border-radius: 8px;
    background: #edf3e7;
    box-shadow: 0 10px 22px rgba(30, 61, 26, 0.08);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.field-error {
    display: block;
    min-height: 14px;
    margin-top: 3px;
    color: var(--danger);
    font-size: 14px;
}

.whatsapp-button {
    width: 100%;
    min-height: 72px;
    display: grid;
    grid-template-columns: 66px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    column-gap: 16px;
    padding: 9px 22px;
    color: #fff;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    background: linear-gradient(180deg, #28a914, #157a09);
    box-shadow: 0 13px 26px rgba(25, 110, 8, 0.22);
}

.whatsapp-button span:nth-child(2) {
    font-size: 22px;
    font-weight: 800;
}

.whatsapp-button strong {
    grid-column: 2;
    font-size: 34px;
    line-height: 0.95;
}

.whatsapp-icon {
    grid-row: 1 / span 2;
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
}

.whatsapp-mini {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.support-note {
    margin: 8px 0 0;
    color: #1f3525;
    text-align: center;
    font-size: 16px;
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

.about-page,
.contact-page,
.projects-page {
    width: min(1440px, 100%);
}

.about-hero {
    min-height: 150px;
    display: flex;
    align-items: center;
    padding: 36px 44px;
    margin-bottom: 16px;
    border: 1px solid #dfe9d3;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0 36%, rgba(255,255,255,0.76) 52%, rgba(255,255,255,0.12) 100%),
        url("../img/banner-rustico-ai.png") center right / cover no-repeat;
    box-shadow: 0 18px 42px rgba(51, 82, 37, 0.08);
}

.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.5));
}

.about-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #123a1c;
    font-size: clamp(44px, 5vw, 74px);
    line-height: 1;
    white-space: normal;
}

.about-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
    gap: clamp(28px, 3.4vw, 48px);
    align-items: center;
    min-height: 460px;
    padding: clamp(30px, 3.2vw, 46px) clamp(34px, 4.6vw, 68px);
    border: 1px solid #e0e8d7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(38, 50, 37, 0.08);
}

.about-copy {
    max-width: 660px;
}

.about-kicker {
    position: relative;
    margin: 0 0 8px;
    padding-left: 32px;
    color: #398c19;
    font-size: 17px;
    font-weight: 700;
}

.about-kicker::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 12px;
    left: 0;
    top: 5px;
    border-radius: 18px 0;
    background: #48a51a;
    transform: rotate(-24deg);
    box-shadow: 8px -4px 0 -2px #78bd28;
}

.about-copy h2 {
    margin: 0;
    color: #0f4a1b;
    font-size: clamp(34px, 3.3vw, 48px);
    line-height: 1.05;
}

.about-line {
    width: 54px;
    height: 3px;
    display: block;
    margin: 16px 0 22px;
    border-radius: 99px;
    background: #52a927;
}

.about-copy p {
    margin: 0 0 13px;
    color: #1e2633;
    font-size: 16px;
    line-height: 1.38;
}

.about-callout {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-top: 20px;
}

.about-leaf {
    width: 52px;
    height: 52px;
    position: relative;
    display: inline-block;
    border-radius: 50%;
    background: #f0f6e8;
}

.about-leaf::before,
.about-leaf::after {
    content: "";
    position: absolute;
    border-radius: 20px 0;
    background: #4b9d1e;
}

.about-leaf::before {
    width: 22px;
    height: 14px;
    left: 14px;
    top: 22px;
    transform: rotate(-28deg);
}

.about-leaf::after {
    width: 16px;
    height: 10px;
    left: 27px;
    top: 15px;
    transform: rotate(-18deg);
}

.about-callout strong {
    display: block;
    margin-bottom: 14px;
    color: #1c6c1f;
    font-size: 18px;
    line-height: 1.32;
}

.about-actions {
    display: grid;
    gap: 10px;
    justify-items: start;
}

.about-button {
    min-height: 46px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #2fa516, #1d8110);
    box-shadow: 0 12px 22px rgba(27, 116, 15, 0.22);
    font-weight: 800;
}

.about-button span {
    display: none;
}

.about-button-primary {
    background: linear-gradient(180deg, #35b919, #16840a);
}

.about-button-secondary {
    background: linear-gradient(180deg, #278c16, #146d0b);
}

.about-button:hover {
    background: linear-gradient(180deg, #35b919, #208d12);
}

.about-logo-panel {
    min-width: 0;
    min-height: 370px;
    display: grid;
    justify-items: center;
    align-content: center;
    padding: 34px 28px;
    border: 1px solid #edf2e8;
    border-radius: 10px;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.96), rgba(244,248,238,0.9)),
        #f7faf3;
    text-align: center;
}

.about-logo-image {
    width: min(250px, 76%);
    aspect-ratio: 1;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    mix-blend-mode: multiply;
}

.about-logo-name {
    margin: 14px 0 6px;
    color: #1d501f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 3.5vw, 52px);
    line-height: 1.06;
    font-weight: 700;
}

.about-logo-line {
    width: min(320px, 80%);
    height: 2px;
    display: block;
    margin: 8px 0 12px;
    background: #8bc43a;
}

.about-logo-copy {
    margin: 0;
    color: #253128;
    font-size: 20px;
    line-height: 1.22;
}

.contact-hero {
    min-height: 155px;
    display: flex;
    align-items: center;
    padding: 26px 44px;
    margin-bottom: 16px;
    border: 1px solid #dfe9d3;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.99) 0 38%, rgba(255,255,255,0.74) 54%, rgba(255,255,255,0.1) 100%),
        url("../img/banner-rustico.png") center right / cover no-repeat;
    box-shadow: 0 18px 42px rgba(51, 82, 37, 0.08);
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.44));
}

.contact-hero > div {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    margin: 0 0 8px;
    color: #123a1c;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 0.96;
    white-space: normal;
}

.contact-hero p {
    margin: 0;
    color: #38423b;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 12px;
}

.contact-card {
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid #e0e8d7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(38, 50, 37, 0.08);
}

.contact-heading {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 14px;
}

.contact-heading h2 {
    margin: 0 0 4px;
    color: #202637;
    font-size: 22px;
    line-height: 1.18;
}

.contact-heading p {
    margin: 0;
    color: #48524b;
    font-size: 14px;
}

.contact-pin,
.contact-people {
    width: 36px;
    height: 36px;
    position: relative;
    display: inline-block;
    color: #13691d;
}

.contact-pin::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 6px;
    top: 2px;
    border-radius: 50% 50% 50% 0;
    background: currentColor;
    transform: rotate(-45deg);
}

.contact-pin::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left: 14px;
    top: 10px;
    border-radius: 50%;
    background: #fff;
}

.contact-people::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    left: 12px;
    top: 2px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: -10px 4px 0 -2px currentColor, 10px 4px 0 -2px currentColor;
}

.contact-people::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 16px;
    left: 4px;
    top: 18px;
    border-radius: 16px 16px 4px 4px;
    background: currentColor;
    box-shadow: -10px 2px 0 -4px currentColor, 10px 2px 0 -4px currentColor;
}

.map-frame {
    height: 250px;
    overflow: hidden;
    border: 1px solid #d9e6d0;
    border-radius: 10px;
    background: #edf3e7;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.hours-card {
    min-height: 64px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 12px;
    padding: 12px 16px;
    color: #1f3525;
    text-decoration: none;
    border: 1px solid #dce9d4;
    border-radius: 10px;
    background: linear-gradient(90deg, #fbfdf8, #f3f8ed);
}

.hours-card strong,
.social-card strong {
    display: block;
    color: #1d6d1d;
    font-size: 16px;
}

.hours-card small,
.social-card small {
    display: block;
    color: #48524b;
    font-size: 13px;
    line-height: 1.35;
}

.hours-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #38911b;
    border: 3px solid currentColor;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}

.social-list {
    display: grid;
    gap: 12px;
}

.social-card {
    min-height: 78px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 36px;
    gap: 16px;
    align-items: center;
    padding: 13px 16px;
    color: #1f3525;
    text-decoration: none;
    border: 1px solid #dce9d4;
    border-radius: 10px;
    background: linear-gradient(90deg, #fbfdf8, #f3f8ed);
}

.social-card:hover,
.hours-card:hover {
    border-color: #a8cd78;
    box-shadow: 0 10px 24px rgba(34, 95, 24, 0.1);
}

.social-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #11631a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.facebook-icon {
    background: transparent;
}

.facebook-icon img {
    width: 46px;
    height: 46px;
    display: block;
    object-fit: contain;
}

.whatsapp-social {
    background: transparent;
}

.whatsapp-social img {
    width: 46px;
    height: 46px;
    display: block;
    object-fit: contain;
}

.social-card em {
    display: block;
    margin-top: 3px;
    color: #0d6419;
    font-style: normal;
    font-size: 15px;
    font-weight: 800;
}

.social-card b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #186f1c;
    border: 1px solid #cfe2c2;
    border-radius: 50%;
    background: #fbfff8;
    font-size: 20px;
}

.contact-question {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid #dce9d4;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfdf8, #f6faf1);
    text-align: center;
}

.contact-question h3 {
    margin: 0 0 6px;
    color: #145f1d;
    font-size: 18px;
}

.contact-question p {
    margin: 0 0 14px;
    color: #48524b;
    font-size: 15px;
}

.contact-whatsapp {
    min-height: 44px;
    width: min(320px, 100%);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #18950c, #0c7604);
    box-shadow: 0 12px 22px rgba(27, 116, 15, 0.22);
    font-weight: 900;
}

.contact-whatsapp img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #e0e8d7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(38, 50, 37, 0.07);
    overflow: hidden;
}

.contact-stats div {
    min-height: 64px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-content: center;
    column-gap: 14px;
    padding: 10px 20px;
    border-right: 1px solid #e8efe3;
}

.contact-stats div:last-child {
    border-right: 0;
}

.contact-stats span {
    grid-row: 1 / span 2;
    align-self: center;
}

.contact-stats strong {
    color: #1d6d1d;
    font-size: 15px;
}

.contact-stats small {
    color: #59645c;
    font-size: 13px;
}

.stat-medal,
.stat-globe,
.stat-leaf,
.stat-shield {
    width: 34px;
    height: 34px;
    position: relative;
    display: inline-block;
    color: #166a1f;
}

.stat-medal::before {
    content: "";
    position: absolute;
    inset: 6px 7px 8px;
    border: 4px solid currentColor;
    border-radius: 50%;
}

.stat-medal::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 14px;
    height: 12px;
    background: currentColor;
    clip-path: polygon(0 0, 45% 0, 50% 100%, 55% 0, 100% 0, 78% 100%, 50% 70%, 22% 100%);
}

.stat-globe::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.stat-globe::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    top: 15px;
    height: 3px;
    background: currentColor;
    box-shadow: 8px -11px 0 -1px currentColor, 8px 11px 0 -1px currentColor;
}

.stat-leaf::before,
.stat-leaf::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 24px 0;
}

.stat-leaf::before {
    width: 22px;
    height: 30px;
    left: 4px;
    top: 2px;
    transform: rotate(-18deg);
}

.stat-leaf::after {
    width: 16px;
    height: 22px;
    right: 3px;
    bottom: 2px;
    transform: rotate(34deg);
}

.stat-shield::before {
    content: "";
    position: absolute;
    inset: 3px 6px;
    background: currentColor;
    clip-path: polygon(50% 0, 100% 18%, 92% 68%, 50% 100%, 8% 68%, 0 18%);
}

.stat-shield::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 7px;
    left: 11px;
    top: 13px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
}

.projects-hero {
    min-height: 220px;
    display: flex;
    align-items: center;
    padding: 38px 44px;
    margin-bottom: 16px;
    border: 1px solid #dfe9d3;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.96) 0 35%, rgba(255,255,255,0.74) 52%, rgba(255,255,255,0.16) 100%),
        url("../img/banner-rustico.png") center right / cover no-repeat;
    box-shadow: 0 18px 42px rgba(51, 82, 37, 0.08);
}

.projects-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.58));
    mix-blend-mode: screen;
}

.projects-hero > div {
    position: relative;
    z-index: 1;
}

.projects-hero h1 {
    margin: 0 0 18px;
    color: #123a1c;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 0.95;
    white-space: normal;
}

.admin-entry {
    min-height: 52px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    color: var(--leaf-dark);
    text-decoration: none;
    border: 1.5px solid #70a92c;
    border-radius: 7px;
    background: rgba(255,255,255,0.78);
    font-weight: 700;
    cursor: pointer;
}

.admin-entry:hover {
    background: #f5faef;
}

.admin-icon {
    width: 28px;
    height: 28px;
    display: block;
    flex: 0 0 28px;
    border-radius: 50%;
    object-fit: cover;
}

.projects-list {
    display: grid;
    gap: 30px;
    padding-bottom: 18px;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(470px, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(28px, 3.4vw, 56px);
    align-items: center;
    padding: 28px 38px 30px 36px;
    border: 1.5px solid #cfe2c2;
    border-left: 6px solid #93c740;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(38, 50, 37, 0.1);
}

.project-gallery {
    position: relative;
    min-height: 330px;
    padding-bottom: 32px;
}

.project-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #d9e6d0;
    border-radius: 10px;
    background: #edf3e7;
}

.project-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 180ms ease, transform 220ms ease;
}

.project-image.active {
    opacity: 1;
    transform: scale(1);
}

.project-arrow {
    position: absolute;
    top: calc(50% - 13px);
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--leaf-dark);
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.93);
    box-shadow: 0 8px 20px rgba(31, 48, 28, 0.18);
    cursor: pointer;
}

.project-arrow:hover {
    background: #f4faef;
}

.project-arrow-prev {
    left: 10px;
}

.project-arrow-next {
    right: 10px;
}

.project-arrow span {
    width: 13px;
    height: 13px;
    display: block;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
}

.project-arrow-prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.project-arrow-next span {
    transform: rotate(45deg);
    margin-right: 4px;
}

.project-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.project-dot {
    width: 13px;
    height: 13px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c7c9c7;
    cursor: pointer;
}

.project-dot.active {
    background: #0d761f;
}

.project-copy {
    min-width: 0;
}

.project-heading {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 16px;
}

.project-dot-mark {
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-top: 13px;
    border-radius: 50%;
    background: #2f7d13;
    box-shadow: 0 0 0 6px #edf6e5;
}

.project-heading h2 {
    margin: 4px 0 12px;
    color: #202637;
    font-size: 24px;
    line-height: 1.25;
}

.project-line {
    width: 58px;
    height: 4px;
    display: block;
    border-radius: 99px;
    background: #145a20;
}

.project-description {
    color: #1f2736;
    font-size: 18px;
    line-height: 1.48;
}

.project-description p {
    margin: 0 0 18px;
}

.project-description p:last-child {
    margin-bottom: 0;
}

.empty-description {
    min-height: 76px;
}

.admin-modal-open {
    overflow: hidden;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    place-items: center;
    padding: 22px;
}

.admin-modal.open {
    display: grid;
}

.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 27, 18, 0.44);
    backdrop-filter: blur(12px);
}

.admin-login-card {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    padding: 30px 30px 28px;
    border: 1px solid rgba(219, 231, 207, 0.95);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,243,0.98)),
        #fff;
    box-shadow: 0 28px 70px rgba(13, 36, 18, 0.28);
}

.admin-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid #d8e7ce;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.admin-modal-close::before,
.admin-modal-close::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 17px;
    width: 14px;
    height: 2px;
    border-radius: 99px;
    background: #23472a;
}

.admin-modal-close::before {
    transform: rotate(45deg);
}

.admin-modal-close::after {
    transform: rotate(-45deg);
}

.admin-login-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    color: #1d741d;
    border-radius: 50%;
    background: #eef7e7;
}

.admin-login-kicker {
    margin: 0 0 5px;
    color: #2f7d13;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-login-card h2 {
    margin: 0 0 8px;
    color: #123a1c;
    font-size: 34px;
    line-height: 1;
}

.admin-login-copy {
    margin: 0 0 20px;
    color: #4c5a50;
    font-size: 15px;
    line-height: 1.42;
}

.admin-login-form {
    display: grid;
    gap: 10px;
}

.admin-login-form label {
    color: #1f3525;
    font-size: 15px;
    font-weight: 800;
}

.admin-login-form input {
    min-height: 50px;
    border-color: #8db85b;
}

.admin-password-field {
    position: relative;
}

.admin-password-field input {
    padding-right: 54px;
}

.admin-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #38633d;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.admin-password-toggle:hover {
    background: #eef7e7;
}

.admin-password-toggle span {
    position: relative;
    width: 23px;
    height: 15px;
    display: block;
    border: 2px solid currentColor;
    border-radius: 70% 70% 58% 58%;
    transform: rotate(-2deg);
}

.admin-password-toggle span::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.admin-password-toggle span::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 2px;
    left: -4px;
    top: 6px;
    border-radius: 99px;
    background: currentColor;
    opacity: 0;
    transform: rotate(-38deg);
}

.admin-password-toggle.visible span::after {
    opacity: 1;
}

.admin-login-message {
    min-height: 20px;
    margin: 2px 0 0;
    color: var(--danger);
    font-size: 14px;
    line-height: 1.35;
}

.admin-login-message[data-type="success"] {
    color: #11631a;
}

.admin-login-message[data-type="info"] {
    color: #4d612d;
}

.admin-login-submit {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #35b919, #16840a);
    box-shadow: 0 12px 22px rgba(27, 116, 15, 0.22);
    font-weight: 900;
    cursor: pointer;
}

.admin-login-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.admin-dashboard-body {
    min-height: 100vh;
    background:
        linear-gradient(120deg, rgba(247, 250, 243, 0.96), rgba(255, 255, 255, 0.92)),
        url("../img/banner-rustico-ai.png") center / cover fixed no-repeat;
}

.admin-dashboard {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 42px;
}

.admin-dashboard-hero {
    min-height: 170px;
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    padding: 28px 32px;
    border: 1px solid #dfe9d3;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0 46%, rgba(255,255,255,0.72) 100%),
        url("../img/banner-rustico.png") center right / cover no-repeat;
    box-shadow: 0 18px 42px rgba(51, 82, 37, 0.11);
}

.admin-dashboard-hero p {
    margin: 0 0 8px;
    color: #2f7d13;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-dashboard-hero h1 {
    margin: 0 0 8px;
    color: #123a1c;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1;
    white-space: normal;
}

.admin-dashboard-hero span {
    color: #344339;
    font-size: 16px;
    font-weight: 700;
}

.admin-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.admin-dashboard-actions a,
.admin-dashboard-actions button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.admin-dashboard-actions a {
    color: #17451f;
    border: 1.5px solid #70a92c;
    background: rgba(255,255,255,0.86);
}

.admin-dashboard-actions button {
    color: #fff;
    border: 0;
    background: linear-gradient(180deg, #35b919, #16840a);
    box-shadow: 0 12px 22px rgba(27, 116, 15, 0.22);
}

.admin-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0;
}

.admin-dashboard-stats article {
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid #dce9d4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(38, 50, 37, 0.07);
}

.admin-dashboard-stats span {
    display: block;
    color: #5a665e;
    font-size: 14px;
    font-weight: 800;
}

.admin-dashboard-stats strong {
    display: block;
    margin-top: 5px;
    color: #145f1d;
    font-size: 34px;
    line-height: 1;
}

.admin-project-panel {
    border: 1px solid #e0e8d7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(38, 50, 37, 0.08);
    overflow: hidden;
}

.admin-project-panel-heading {
    padding: 20px 22px;
    border-bottom: 1px solid #e8efe3;
    background: linear-gradient(90deg, #fbfdf8, #f3f8ed);
}

.admin-project-panel-tools {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.admin-project-panel-heading h2 {
    margin: 0 0 4px;
    color: #202637;
    font-size: 24px;
}

.admin-project-panel-heading p {
    margin: 0;
    color: #59645c;
    font-size: 14px;
}

.admin-project-table {
    display: grid;
}

.admin-project-row {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 130px 110px 90px;
    gap: 14px;
    align-items: center;
    min-height: 82px;
    padding: 12px 22px;
    border-bottom: 1px solid #eef3ea;
}

.admin-project-row-actions {
    grid-template-columns: minmax(320px, 1fr) 120px 90px minmax(330px, auto);
}

.admin-project-row:last-child {
    border-bottom: 0;
}

.admin-project-head {
    min-height: 48px;
    color: #59645c;
    background: #fbfdf8;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-project-main {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.admin-project-main img,
.admin-project-empty-image {
    width: 76px;
    height: 54px;
    display: block;
    border: 1px solid #d9e6d0;
    border-radius: 8px;
    background: #edf3e7;
    object-fit: cover;
}

.admin-project-main h3 {
    margin: 0 0 4px;
    color: #1f2736;
    font-size: 17px;
    line-height: 1.2;
}

.admin-project-main p {
    margin: 0;
    color: #657069;
    font-size: 13px;
}

.admin-project-status {
    width: fit-content;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: capitalize;
}

.admin-project-status.active {
    color: #11631a;
    background: #eef8e7;
}

.admin-project-status.inactive {
    color: #7a311f;
    background: #fff0e8;
}

.admin-flash {
    margin: 16px 0 0;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #dce9d4;
    background: #fff;
    color: #1f3525;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(34, 95, 24, 0.08);
}

.admin-flash.success {
    color: #11631a;
    background: #eef8e7;
    border-color: #cfe7bf;
}

.admin-flash.error {
    color: var(--danger);
    background: #fff4f2;
    border-color: #f2c6bf;
}

.admin-create-panel {
    margin-bottom: 16px;
}

.admin-project-form,
.admin-upload-form {
    display: grid;
    gap: 14px;
    padding: 20px 22px;
}

.admin-project-form label,
.admin-upload-form label {
    display: grid;
    gap: 7px;
    color: #1f3525;
    font-size: 14px;
    font-weight: 900;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.admin-primary-action,
.admin-secondary-action,
.admin-upload-form button,
.admin-card-actions button,
.admin-image-grid button,
.admin-row-buttons button {
    min-height: 42px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
}

.admin-primary-action,
.admin-upload-form button {
    color: #fff;
    border: 0;
    background: linear-gradient(180deg, #35b919, #16840a);
    box-shadow: 0 12px 22px rgba(27, 116, 15, 0.18);
}

.admin-card-actions button {
    color: #17451f;
    border: 1.5px solid #70a92c;
    background: #fff;
}

.admin-secondary-action {
    color: #17451f;
    border: 1.5px solid #70a92c;
    background: #fff;
}

.admin-row-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-row-buttons form {
    margin: 0;
}

.admin-row-buttons button {
    min-height: 38px;
    color: #17451f;
    border: 1.5px solid #70a92c;
    background: #fff;
    font-size: 13px;
}

.admin-danger-action {
    color: #fff !important;
    border: 0 !important;
    background: linear-gradient(180deg, #c33b2f, #96261d) !important;
    box-shadow: 0 10px 20px rgba(154, 40, 30, 0.16);
}

.admin-edit-list {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.admin-edit-card {
    border: 1px solid #dce9d4;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.admin-edit-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #eef3ea;
    background: linear-gradient(90deg, #fbfdf8, #f3f8ed);
}

.admin-image-manager {
    padding: 18px 22px;
    border-top: 1px solid #eef3ea;
}

.admin-image-manager h4 {
    margin: 0 0 12px;
    color: #202637;
    font-size: 18px;
}

.admin-empty-note {
    margin: 0 0 14px;
    color: #657069;
    font-size: 14px;
}

.admin-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 120px;
}

.admin-image-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.admin-file-input {
    display: none;
}

.admin-image-plus {
    min-height: 120px;
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    place-items: center;
    align-items: center;
    justify-content: center;
    align-self: start;
    color: #68706b;
    border: 2px dashed #aeb8b0;
    border-radius: 10px;
    background: #f1f3f0;
    font-size: 42px;
    line-height: 1;
    font-weight: 500;
    cursor: pointer;
}

.admin-image-plus span {
    display: block;
    font-size: 44px;
    line-height: 0.78;
}

.admin-image-plus small {
    display: block;
    max-width: 86px;
    color: #777f79;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.admin-image-plus:hover {
    background: #e8ece8;
    border-color: #8f9a92;
}

.admin-image-grid figure,
.admin-preview-grid figure {
    margin: 0;
    padding: 10px;
    width: 120px;
    border: 1px solid #e0e8d7;
    border-radius: 10px;
    background: #fbfdf8;
}

.admin-image-grid figure.pending-delete {
    opacity: 0.58;
    border-color: #efb4aa;
    background: #fff4f2;
}

.admin-image-grid figure.pending-delete img {
    filter: grayscale(1);
}

.admin-image-grid img,
.admin-preview-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d9e6d0;
    background: #edf3e7;
}

.admin-image-grid figcaption,
.admin-preview-grid figcaption {
    margin: 8px 0;
    color: #657069;
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-image-grid form {
    display: grid;
}

.admin-image-grid button {
    width: 100%;
    min-height: 34px;
    font-size: 12px;
}

.admin-preview-grid button {
    width: 100%;
    min-height: 34px;
    margin-top: 8px;
    font-size: 12px;
}

.admin-upload-form {
    padding: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.admin-upload-form .admin-preview-grid {
    grid-column: 1 / -1;
}

.admin-edit-images {
    display: grid;
    gap: 12px;
}

.admin-edit-images h3 {
    margin: 0;
    color: #202637;
    font-size: 18px;
}

.admin-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.admin-upload-form .admin-dialog-actions {
    grid-column: 1 / -1;
}

.admin-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 22px 20px;
}

.admin-crud-dialog {
    width: min(680px, 100%);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
}

.admin-crud-dialog .admin-project-form {
    padding: 0;
}

.admin-images-dialog {
    width: min(860px, 100%);
}

.admin-delete-dialog {
    width: min(480px, 100%);
}

.admin-delete-dialog .admin-card-actions {
    padding: 0;
}

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: 240px minmax(0, 1fr);
        background: #fff;
    }

    .brand-name {
        font-size: 30px;
    }

    .brand-copy {
        font-size: 14px;
    }

    .nav-link {
        grid-template-columns: 38px 1fr;
        min-height: 64px;
        padding: 10px 12px;
        font-size: 17px;
    }

    .content {
        padding: 28px 28px 38px;
    }

    .about-card {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .about-copy {
        max-width: 760px;
    }

    .about-logo-panel {
        min-height: 360px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-frame {
        height: 340px;
    }

    .contact-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-stats div:nth-child(2) {
        border-right: 0;
    }

    .contact-stats div:nth-child(-n + 2) {
        border-bottom: 1px solid #e8efe3;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px;
    }

    .project-track {
        aspect-ratio: 16 / 9;
    }

    .project-gallery {
        min-height: 0;
    }

    .admin-dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-dashboard-actions {
        justify-content: flex-start;
    }

    .admin-project-row {
        grid-template-columns: minmax(280px, 1fr) 110px 92px 72px;
        padding: 12px 16px;
    }

    .admin-project-row-actions {
        grid-template-columns: minmax(280px, 1fr) 110px 82px minmax(300px, auto);
    }
}

@media (max-width: 820px) {
    body {
        padding-top: 0;
    }

    .app-shell {
        display: block;
    }

    .sidebar {
        display: contents;
    }

    .sidebar::before,
    .sidebar::after {
        display: none;
    }

    .brand {
        position: relative;
        z-index: 1;
        padding: 18px 16px 12px;
        background:
            linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,251,239,0.9)),
            url("../img/menu-bambu-natural.png") center 38% / cover no-repeat;
    }

    .brand-logo {
        width: 128px;
    }

    .brand-name {
        font-size: 30px;
    }

    .main-nav {
        position: sticky;
        left: 0;
        right: 0;
        top: 0;
        z-index: 100;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 10px;
        border-bottom: 1px solid var(--line);
        background: rgba(251, 253, 248, 0.96);
        box-shadow: 0 12px 28px rgba(27, 65, 22, 0.14);
        backdrop-filter: blur(10px);
    }

    .nav-link {
        min-height: 62px;
        display: flex;
        justify-content: center;
        gap: 7px;
        padding: 8px 6px;
        text-align: center;
        font-size: 12px;
        border-radius: 10px;
    }

    .nav-icon {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
    }

    .nav-icon::before,
    .nav-icon::after {
        transform-origin: center;
        scale: 0.55;
    }

    .sidebar-leaves {
        display: none;
    }

    .content {
        padding: 18px 16px 30px;
    }

    .hero {
        min-height: 190px;
        padding: 18px 16px;
        background:
            linear-gradient(90deg, rgba(255,255,255,0.98) 0 58%, rgba(255,255,255,0.72) 100%),
            url("../img/banner-rustico-ai.png") center right / cover no-repeat;
    }

    .script-title {
        font-size: 36px;
        white-space: normal;
    }

    h1 {
        font-size: 34px;
        line-height: 1;
        white-space: normal;
    }

    .intro {
        margin-top: 14px;
        font-size: 18px;
    }

    .quote-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .about-hero {
        min-height: 170px;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .about-hero h1 {
        font-size: 42px;
    }

    .about-card {
        padding: 28px 18px;
        border-radius: 12px;
    }

    .about-copy p {
        font-size: 16px;
    }

    .about-callout {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
    }

    .about-leaf {
        width: 44px;
        height: 44px;
    }

    .about-callout strong {
        font-size: 17px;
    }

    .about-button {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 0 14px;
        text-align: center;
    }

    .about-logo-panel {
        min-height: 330px;
        padding: 32px 18px;
    }

    .about-logo-image {
        width: min(230px, 82%);
    }

    .about-logo-name {
        font-size: 42px;
    }

    .about-logo-copy {
        font-size: 20px;
    }

    .contact-hero {
        min-height: 170px;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .contact-hero h1 {
        font-size: 42px;
    }

    .contact-hero p {
        font-size: 18px;
    }

    .contact-card {
        padding: 18px;
        border-radius: 12px;
    }

    .contact-heading {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
    }

    .contact-heading h2 {
        font-size: 20px;
    }

    .map-frame {
        height: 280px;
    }

    .social-card {
        grid-template-columns: 52px minmax(0, 1fr) 32px;
        gap: 12px;
        padding: 14px;
    }

    .social-icon,
    .social-icon img,
    .whatsapp-social img {
        width: 46px;
        height: 46px;
    }

    .contact-question {
        padding: 18px 14px;
    }

    .contact-stats {
        grid-template-columns: 1fr;
    }

    .contact-stats div,
    .contact-stats div:nth-child(2),
    .contact-stats div:nth-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #e8efe3;
    }

    .contact-stats div:last-child {
        border-bottom: 0;
    }

    .projects-hero {
        min-height: 180px;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .projects-hero h1 {
        font-size: 40px;
    }

    .admin-entry {
        min-height: 48px;
        padding: 0 16px;
        font-size: 14px;
    }

    .project-card {
        padding: 14px;
        border-radius: 10px;
        border-left-width: 1.5px;
    }

    .project-gallery {
        min-height: 0;
        padding-bottom: 24px;
    }

    .project-track {
        aspect-ratio: 1.65 / 1;
    }

    .project-arrow {
        width: 42px;
        height: 42px;
    }

    .project-heading {
        grid-template-columns: 16px minmax(0, 1fr);
        gap: 12px;
    }

    .project-heading h2 {
        font-size: 20px;
    }

    .project-dot-mark {
        width: 10px;
        height: 10px;
        margin-top: 11px;
        box-shadow: 0 0 0 5px #edf6e5;
    }

    .project-description {
        font-size: 16px;
    }

    .form-step {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 12px;
    }

    .step-icon {
        width: 48px;
        height: 48px;
        scale: 0.78;
        transform-origin: top left;
    }

    .field-group h2 {
        font-size: 20px;
    }

    .field-group p {
        font-size: 14px;
    }

    input,
    select {
        min-height: 50px;
    }

    .suggestion-option {
        min-height: 58px;
        padding: 8px 10px;
    }

    .suggestion-preview {
        width: 66px;
        height: 44px;
        flex-basis: 66px;
    }

    .material-reference-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .whatsapp-button {
        min-height: 80px;
        grid-template-columns: 50px 1fr;
        padding: 12px;
    }

    .whatsapp-icon {
        width: 46px;
        height: 46px;
        border-width: 4px;
    }

    .whatsapp-button span:nth-child(2) {
        font-size: 18px;
    }

    .whatsapp-button strong {
        font-size: 28px;
    }

    .admin-dashboard {
        width: min(100% - 24px, 1180px);
        padding-top: 18px;
    }

    .admin-dashboard-hero {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .admin-dashboard-actions,
    .admin-dashboard-actions form,
    .admin-dashboard-actions a,
    .admin-dashboard-actions button {
        width: 100%;
    }

    .admin-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .admin-project-table {
        overflow-x: auto;
    }

    .admin-project-row {
        width: 760px;
    }

    .admin-project-row-actions {
        width: 850px;
    }

    .admin-project-panel-tools {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-project-panel-tools .admin-primary-action {
        width: 100%;
    }

    .admin-form-grid,
    .admin-upload-form {
        grid-template-columns: 1fr;
    }

    .admin-edit-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-project-form,
    .admin-image-manager {
        padding: 16px;
    }

    .admin-card-actions {
        padding: 0 16px 16px;
    }

    .admin-image-picker {
        grid-template-columns: 1fr;
    }

    .admin-image-plus {
        width: 100%;
    }
}

@media (max-width: 430px) {
    body {
        padding-top: 0;
    }

    .main-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-link {
        min-height: 56px;
        font-size: 13px;
    }

    h1 {
        font-size: 34px;
    }

    .script-title {
        font-size: 36px;
    }

    .form-step {
        grid-template-columns: 1fr;
    }
}
